Gabor Juhos
08c2e29018
ar71xx: avoid duplicated 'board' parameter in kernel command line
...
SVN-Revision: 21805
15 years ago
Gabor Juhos
9789f0215a
ar71xx: nuke AR71XX_MACH_UBNT_AR71XX machtype
...
SVN-Revision: 21764
15 years ago
Gabor Juhos
adb0a95df1
ar71xx: fix phy_mask for the RB450
...
SVN-Revision: 21743
15 years ago
Gabor Juhos
6ce447427c
ar71xx: fix build error in the rb{4xx,750}_nand drivers on 2.6.34/35
...
SVN-Revision: 21736
15 years ago
Gabor Juhos
d55ebf3a8a
ar71xx: fix phy_mask on the RB433 for the IP17xx driver
...
SVN-Revision: 21728
15 years ago
Gabor Juhos
90e2b1ad6b
ar71xx: fix 2.6.34 build errors
...
SVN-Revision: 21698
15 years ago
Gabor Juhos
115f845e53
ar71xx: fix nbg460n mtd partitions
...
This fixes the NBG460N/550N/550NH mtd partitions.
Signed-off-by: Michael Kurz <michi.kurz@googlemail.com>
SVN-Revision: 21443
15 years ago
Gabor Juhos
fca9b7ebad
ar71xx: remove config partition from the mtd map on the MZK-W300NH board
...
This space can be used to extend the rootfs_data partition.
SVN-Revision: 21173
15 years ago
Gabor Juhos
77b2354fcd
ar71xx: fix firmware partition size on the MZK-W04NU board
...
SVN-Revision: 21172
15 years ago
Felix Fietkau
7966004d99
ag71xx: remove rx alignment code for small packets, it seems to break ipv6 for some reason ( fixes #7236 )
...
SVN-Revision: 21166
15 years ago
Felix Fietkau
9848d38aed
ar71xx: fix a wifi card stability issue
...
when we receive a pci/ahb interrupt, we need to flush pending data for dma
from the device, otherwise the tx path may get stuck if the completion flag
of the dma descriptor is not updated at the time the tx interrupt arrives.
SVN-Revision: 21143
15 years ago
Gabor Juhos
10ed3b23a6
ar71xx: reduce button threshold value on the NBG460 board
...
SVN-Revision: 21076
15 years ago
Gabor Juhos
9933d34770
ar71xx: use KEY_RESTART and KEY_WPS_BUTTON code for the appropriate buttons
...
SVN-Revision: 21075
15 years ago
Gabor Juhos
693ea524c1
ar71xx: adding support for zyxel nbg460n/550n/550nh boards
...
This patch adds support for the zyxel nbg460n/550n/550nh routers.
Currently this only works if a second stage bootloader is also flashed,
as the used switch needs extra initialization.
Signed-off-by: Michael Kurz <michi.kurz@googlemail.com>
SVN-Revision: 20990
15 years ago
Felix Fietkau
1c0e751391
ar71xx: fix up alignment handling
...
- on ar724x, rx buffers can be aligned with an offset of 2, which keeps the ip header aligned
- alignment offset is only added if the ar8216 workaround is not active and the phy driver does not advertise its own packet alignment
- ar71xx and ar91xx can not handle rx alignment offsets, however taking a hit on unaligned exceptions seems to have less overhead than re-aligning the data for large packets
- use memmove to re-align small packets, if necessary
tested on ar9132, ar7240 and ar7242 based devices without ar8216 headers
SVN-Revision: 20892
15 years ago
Gabor Juhos
dd7304ec6d
ar71xx: update phy masks for the Planex boards
...
This avoids probing of the AR8216 chip on the eth0 interface.
Cc: backfire@openwrt.org
SVN-Revision: 20754
15 years ago
Gabor Juhos
d6c0363884
ar71xx: make the AR8216 driver usable on the TEW-632BRP/DIR-615-Cx boards
...
Cc: backfire@openwrt.org
SVN-Revision: 20752
15 years ago
Gabor Juhos
4c29a2c263
ar71xx: ag71xx: avoid unalinged accesses when using the phy specific receive functions
...
Cc: backfire@openwrt.org
SVN-Revision: 20751
15 years ago
Gabor Juhos
4a28844d80
ar71xx: ag71xx: call the phy driver's netif_receive_skb()
...
Ag71xx needs to call the phy's netif_receive_skb() to allow phy drivers
to mangle rx packets. This patch fixes it.
This fixes the header mangling of the AR8216 driver.
Signed-off-by: Jonas Gorski <jonas.gorski+openwrt@gmail.com>
Cc:backfire@openwrt.org
SVN-Revision: 20750
15 years ago
Felix Fietkau
df463abb18
ar71xx: fix ethernet on final pb92 board (previous value was based on a preliminary version)
...
SVN-Revision: 20725
15 years ago
Jo-Philipp Wich
23bebe33a7
Add support for the ar8316 switch. This patch enhances the ar8216 driver with ar8316 support and fixes some minor issues with the ar8216 driver itself. It should not break anything, but isn't tested on ar8216 devices.
...
[PATCH 2/2] ar71xx: Add the ar8316 driver to rs pro/rb-450g.
Add the ar8216 driver to the ar71xx target, and add network
configurations for the RouterStation Pro and the RouterBoard RB-450G.
SVN-Revision: 20722
15 years ago
Gabor Juhos
c874513cfa
ar71xx: fix broken LAN ports on the boards with AR8216 switch ( closes #7024 )
...
* cc: backfire@openwrt.org
SVN-Revision: 20673
15 years ago
Felix Fietkau
7983e442e1
ar71xx: fix pci on ar7241/ar7242
...
SVN-Revision: 20530
15 years ago
Felix Fietkau
9c0f21a5b9
ar71xx: fix the wan port on pb92
...
SVN-Revision: 20529
15 years ago
Felix Fietkau
2cc215f121
ar71xx: reset the mdio bus on ar7241/ar7242
...
SVN-Revision: 20528
15 years ago
Gabor Juhos
905f2d62f9
ar71xx: update image generation and trx header parsing for the WRT160NL
...
* patch by Bernhard Loos
* note: trailing whitespaces has been removed
SVN-Revision: 20525
15 years ago
Gabor Juhos
b7ca043240
ar71xx: ag71xx: copy received packet to avoid unaligned access in the IP stack
...
SVN-Revision: 20506
15 years ago
Gabor Juhos
f9acf8ada1
ar71xx: ag71xx: introduce ag71xx_has_ar8216() helper
...
SVN-Revision: 20505
15 years ago
Gabor Juhos
200db5ebb5
ar71xx: ag71xx: reorganize ag71xx_rx_packet function
...
SVN-Revision: 20504
15 years ago
Gabor Juhos
245775a49f
ar71xx: ag71xx: Add netpoll support
...
This patch adds support for polling interrupts, used by
netconsole and the likes.
Tested on d-link dir-615 C1 using netconsole.
Signed-off-by: Pat Erley <pat-lkml@erley.org>
SVN-Revision: 20503
15 years ago
Felix Fietkau
0b6e32a7b0
ar71xx: add basic kernel support for pb92
...
SVN-Revision: 20495
15 years ago
Felix Fietkau
aa3ff31b95
ar71xx: add support for ar7241 and ar7242
...
SVN-Revision: 20494
15 years ago
Felix Fietkau
4e10c56551
ar71xx: fix pci link detection for ar724x
...
SVN-Revision: 20493
15 years ago
Andy Boyett
681054333e
wrt400n: lan ports don't need the ar8216 workaround
...
SVN-Revision: 20491
15 years ago
Gabor Juhos
120b1d8699
ar71xx: use the RB411 setup for the RB411U
...
SVN-Revision: 20359
15 years ago
Gabor Juhos
9a1031ce6d
ar71xx: change PHY select logic, and update phy_masks
...
SVN-Revision: 20358
15 years ago
Gabor Juhos
18aa68d368
ar71xx: check returned value of ioremap in ar71xx_pcibios_setup
...
SVN-Revision: 20288
15 years ago
Gabor Juhos
73f7a1c224
ar71xx: optimize register access in ar71xx_pci.c
...
SVN-Revision: 20287
15 years ago
Gabor Juhos
1dedaf30a6
ar71xx: optimize register access in irq.c
...
SVN-Revision: 20286
15 years ago
Gabor Juhos
2438a03ce4
ar71xx: optimize register access in ar724x_pci.c
...
SVN-Revision: 20285
15 years ago
Gabor Juhos
d02975eb0d
ar71xx: introduce global ar724x_pci_ctrl_base variable
...
SVN-Revision: 20284
15 years ago
Gabor Juhos
b051a3b784
ar71xx: add error handling to ar724x_pcibios_init
...
SVN-Revision: 20283
15 years ago
Gabor Juhos
695e989c6f
ar71xx: move ar724x_pci_* helpers to ar724x-pci.c
...
SVN-Revision: 20282
15 years ago
Gabor Juhos
5f109ef2f3
ar71xx: move PCI intterupt handling code to pci-ar7{1xx,24x}.c
...
SVN-Revision: 20281
15 years ago
Gabor Juhos
4d32460353
ar71xx: use set_irq_chained_handler for the PCI IRQs
...
SVN-Revision: 20280
15 years ago
Gabor Juhos
1b8137eefc
ar71xx: merge AR71XX_IRQ_CPU_{PCI,WMAC} into AR71XX_IRQ_CPU_IP2
...
SVN-Revision: 20279
15 years ago
Gabor Juhos
58911deda5
ar71xx: remove unnecessary includes from setup.c
...
SVN-Revision: 20278
15 years ago
Gabor Juhos
ca49e09c9a
ar71xx: fix ar724x_pci_wr{,_nf} helpers
...
SVN-Revision: 20277
15 years ago
Gabor Juhos
d350e4cf40
ar71xx: fix semantics error in the __ar71xx_gpio_get_value function.
...
* Thanks to Pascal Dornier
SVN-Revision: 20247
15 years ago
Gabor Juhos
74556519e3
ar71xx: optimize GPIO code
...
SVN-Revision: 20242
15 years ago