Commit Graph

467 Commits (ae2c9dcb2b682a06e6e4d18246fa36b9c5214df1)

Author SHA1 Message Date
Felix Fietkau bced5d7d74 ar71xx: set default values for the fifo cfg registers on AR724x
SVN-Revision: 22303
14 years ago
Gabor Juhos 4bb11f9a39 generic: move ath5k_platform.h from ar71xx to generic files
SVN-Revision: 22189
14 years ago
Gabor Juhos 95e09cccd8 ar71xx: in-flash macs and eeprom for mach-eap7660d
This adds in-flash mac-addresses and calibration data for the Senao
EAP7660D board.

Signed-off-by: Daniel Golle <daniel.golle@gmail.com>

SVN-Revision: 22187
14 years ago
Felix Fietkau a27ea45e76 ar71xx: only reinit the ethernet MAC at .open() on ar724x for now, until we've figured out what part of it causes the issue described in #7563
SVN-Revision: 22075
14 years ago
Felix Fietkau 15b209d09f ag71xx: reset the hardware during open(), this improves recovery from tx timeouts on ar724x considerably
SVN-Revision: 22055
14 years ago
Felix Fietkau 89da22d1ea ag71xx: fix a memory corruption bug that happens if you flood the interface with packets while it's being brought down fixes boot time crashes under load reported by matteo
SVN-Revision: 22054
14 years ago
Gabor Juhos 5a28fb88a4 ar71xx: fix leds-rb750 build failure on 2.6.34
SVN-Revision: 22016
14 years ago
Gabor Juhos 7bff9c0101 ar71xx: add support for the Senao EAP7660D board
This patch adds support for the Senao EAP7660D board to trunk.

Signed-off-by: Daniel Golle <daniel.golle@gmail.com>

SVN-Revision: 21837
14 years ago
Gabor Juhos 08c2e29018 ar71xx: avoid duplicated 'board' parameter in kernel command line
SVN-Revision: 21805
14 years ago
Gabor Juhos 9789f0215a ar71xx: nuke AR71XX_MACH_UBNT_AR71XX machtype
SVN-Revision: 21764
14 years ago
Gabor Juhos adb0a95df1 ar71xx: fix phy_mask for the RB450
SVN-Revision: 21743
14 years ago
Gabor Juhos 6ce447427c ar71xx: fix build error in the rb{4xx,750}_nand drivers on 2.6.34/35
SVN-Revision: 21736
14 years ago
Gabor Juhos d55ebf3a8a ar71xx: fix phy_mask on the RB433 for the IP17xx driver
SVN-Revision: 21728
14 years ago
Gabor Juhos 90e2b1ad6b ar71xx: fix 2.6.34 build errors
SVN-Revision: 21698
14 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
14 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
14 years ago
Gabor Juhos 77b2354fcd ar71xx: fix firmware partition size on the MZK-W04NU board
SVN-Revision: 21172
14 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
14 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
14 years ago
Gabor Juhos 10ed3b23a6 ar71xx: reduce button threshold value on the NBG460 board
SVN-Revision: 21076
14 years ago
Gabor Juhos 9933d34770 ar71xx: use KEY_RESTART and KEY_WPS_BUTTON code for the appropriate buttons
SVN-Revision: 21075
14 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
14 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
14 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
14 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
14 years ago
Gabor Juhos 4c29a2c263 ar71xx: ag71xx: avoid unalinged accesses when using the phy specific receive functions
Cc: backfire@openwrt.org

SVN-Revision: 20751
14 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
14 years ago
Felix Fietkau df463abb18 ar71xx: fix ethernet on final pb92 board (previous value was based on a preliminary version)
SVN-Revision: 20725
14 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
14 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
14 years ago
Felix Fietkau 7983e442e1 ar71xx: fix pci on ar7241/ar7242
SVN-Revision: 20530
14 years ago
Felix Fietkau 9c0f21a5b9 ar71xx: fix the wan port on pb92
SVN-Revision: 20529
14 years ago
Felix Fietkau 2cc215f121 ar71xx: reset the mdio bus on ar7241/ar7242
SVN-Revision: 20528
14 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
14 years ago
Gabor Juhos b7ca043240 ar71xx: ag71xx: copy received packet to avoid unaligned access in the IP stack
SVN-Revision: 20506
14 years ago
Gabor Juhos f9acf8ada1 ar71xx: ag71xx: introduce ag71xx_has_ar8216() helper
SVN-Revision: 20505
14 years ago
Gabor Juhos 200db5ebb5 ar71xx: ag71xx: reorganize ag71xx_rx_packet function
SVN-Revision: 20504
14 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
14 years ago
Felix Fietkau 0b6e32a7b0 ar71xx: add basic kernel support for pb92
SVN-Revision: 20495
14 years ago
Felix Fietkau aa3ff31b95 ar71xx: add support for ar7241 and ar7242
SVN-Revision: 20494
14 years ago
Felix Fietkau 4e10c56551 ar71xx: fix pci link detection for ar724x
SVN-Revision: 20493
14 years ago
Andy Boyett 681054333e wrt400n: lan ports don't need the ar8216 workaround
SVN-Revision: 20491
14 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