aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ar71xx/files
Commit message (Collapse)AuthorAgeFilesLines
* ar71xx: rewrite SPI drivers for the RB4xx boardsGabor Juhos2010-08-315-367/+1172
| | | | | | | | | | * add a new SPI controller driver * add SPI driver for the CPLD chip * convert the NAND driver * enable the mikroSD slot * enable more LEDs SVN-Revision: 22863
* ar71xx: change mac address initializationGabor Juhos2010-08-1831-61/+101
| | | | SVN-Revision: 22700
* ar71xx: add a new driver for the ar7240 switch using swconfig. hooks ↵Felix Fietkau2010-08-166-3/+893
| | | | | | directly into the ethernet driver, as MAC resets also require switch reinitializations and the switch is part of the cpu core anyway switch only tl-wr741nd (and other devices using this board file, such as tl-wr841nd) over to using this by default, as other devices are still untested fixes #7563 SVN-Revision: 22675
* ar71xx: remove the fifo cfg overrides for the ap91 ethernet code - these ↵Felix Fietkau2010-07-271-6/+0
| | | | | | values have been wrong on every single device i've tested, falling back to the atheros values seems to be the right thing to do SVN-Revision: 22401
* ar71xx: add support for the tp-link tl-wa901nd devices (patch by Pieter ↵Felix Fietkau2010-07-224-0/+154
| | | | | | "Fate" Hollants, from #7528, without the ethernet fifo cfg values) SVN-Revision: 22353
* ar71xx: set default values for the fifo cfg registers on AR724xFelix Fietkau2010-07-201-0/+7
| | | | SVN-Revision: 22303
* generic: move ath5k_platform.h from ar71xx to generic filesGabor Juhos2010-07-151-30/+0
| | | | SVN-Revision: 22189
* ar71xx: in-flash macs and eeprom for mach-eap7660dGabor Juhos2010-07-153-3/+109
| | | | | | | | | 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
* ar71xx: only reinit the ethernet MAC at .open() on ar724x for now, until ↵Felix Fietkau2010-07-061-1/+3
| | | | | | we've figured out what part of it causes the issue described in #7563 SVN-Revision: 22075
* ag71xx: reset the hardware during open(), this improves recovery from tx ↵Felix Fietkau2010-07-041-0/+2
| | | | | | timeouts on ar724x considerably SVN-Revision: 22055
* ag71xx: fix a memory corruption bug that happens if you flood the interface ↵Felix Fietkau2010-07-041-0/+6
| | | | | | with packets while it's being brought down fixes boot time crashes under load reported by matteo SVN-Revision: 22054
* ar71xx: fix leds-rb750 build failure on 2.6.34Gabor Juhos2010-07-011-0/+1
| | | | SVN-Revision: 22016
* ar71xx: add support for the Senao EAP7660D boardGabor Juhos2010-06-184-0/+99
| | | | | | | | This patch adds support for the Senao EAP7660D board to trunk. Signed-off-by: Daniel Golle <daniel.golle@gmail.com> SVN-Revision: 21837
* ar71xx: avoid duplicated 'board' parameter in kernel command lineGabor Juhos2010-06-141-8/+31
| | | | SVN-Revision: 21805
* ar71xx: nuke AR71XX_MACH_UBNT_AR71XX machtypeGabor Juhos2010-06-122-4/+0
| | | | SVN-Revision: 21764
* ar71xx: fix phy_mask for the RB450Gabor Juhos2010-06-091-5/+7
| | | | SVN-Revision: 21743
* ar71xx: fix build error in the rb{4xx,750}_nand drivers on 2.6.34/35Gabor Juhos2010-06-092-0/+2
| | | | SVN-Revision: 21736
* ar71xx: fix phy_mask on the RB433 for the IP17xx driverGabor Juhos2010-06-081-4/+7
| | | | SVN-Revision: 21728
* ar71xx: fix 2.6.34 build errorsGabor Juhos2010-06-073-0/+3
| | | | SVN-Revision: 21698
* ar71xx: fix nbg460n mtd partitionsGabor Juhos2010-05-141-5/+12
| | | | | | | | This fixes the NBG460N/550N/550NH mtd partitions. Signed-off-by: Michael Kurz <michi.kurz@googlemail.com> SVN-Revision: 21443
* ar71xx: remove config partition from the mtd map on the MZK-W300NH boardGabor Juhos2010-04-261-6/+2
| | | | | | This space can be used to extend the rootfs_data partition. SVN-Revision: 21173
* ar71xx: fix firmware partition size on the MZK-W04NU boardGabor Juhos2010-04-261-1/+1
| | | | SVN-Revision: 21172
* ag71xx: remove rx alignment code for small packets, it seems to break ipv6 ↵Felix Fietkau2010-04-261-24/+0
| | | | | | for some reason (fixes #7236) SVN-Revision: 21166
* ar71xx: fix a wifi card stability issueFelix Fietkau2010-04-241-1/+26
| | | | | | | | 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
* ar71xx: reduce button threshold value on the NBG460 boardGabor Juhos2010-04-211-2/+2
| | | | SVN-Revision: 21076
* ar71xx: use KEY_RESTART and KEY_WPS_BUTTON code for the appropriate buttonsGabor Juhos2010-04-2121-40/+40
| | | | SVN-Revision: 21075
* ar71xx: adding support for zyxel nbg460n/550n/550nh boardsGabor Juhos2010-04-184-0/+225
| | | | | | | | | | 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
* ar71xx: fix up alignment handlingFelix Fietkau2010-04-152-26/+41
| | | | | | | | | | | - 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
* ar71xx: update phy masks for the Planex boardsGabor Juhos2010-04-092-4/+10
| | | | | | | | This avoids probing of the AR8216 chip on the eth0 interface. Cc: backfire@openwrt.org SVN-Revision: 20754
* ar71xx: make the AR8216 driver usable on the TEW-632BRP/DIR-615-Cx boardsGabor Juhos2010-04-092-8/+16
| | | | | | Cc: backfire@openwrt.org SVN-Revision: 20752
* ar71xx: ag71xx: avoid unalinged accesses when using the phy specific receive ↵Gabor Juhos2010-04-092-1/+8
| | | | | | | | functions Cc: backfire@openwrt.org SVN-Revision: 20751
* ar71xx: ag71xx: call the phy driver's netif_receive_skb()Gabor Juhos2010-04-092-3/+7
| | | | | | | | | | | | 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
* ar71xx: fix ethernet on final pb92 board (previous value was based on a ↵Felix Fietkau2010-04-061-1/+1
| | | | | | preliminary version) SVN-Revision: 20725
* Add support for the ar8316 switch. This patch enhances the ar8216 driver ↵Jo-Philipp Wich2010-04-052-0/+2
| | | | | | | | | | 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
* ar71xx: fix broken LAN ports on the boards with AR8216 switch (closes #7024)Gabor Juhos2010-04-033-8/+12
| | | | | | * cc: backfire@openwrt.org SVN-Revision: 20673
* ar71xx: fix pci on ar7241/ar7242Felix Fietkau2010-03-281-3/+11
| | | | SVN-Revision: 20530
* ar71xx: fix the wan port on pb92Felix Fietkau2010-03-281-9/+7
| | | | SVN-Revision: 20529
* ar71xx: reset the mdio bus on ar7241/ar7242Felix Fietkau2010-03-282-1/+6
| | | | SVN-Revision: 20528
* ar71xx: update image generation and trx header parsing for the WRT160NLGabor Juhos2010-03-271-6/+1
| | | | | | | * patch by Bernhard Loos * note: trailing whitespaces has been removed SVN-Revision: 20525
* ar71xx: ag71xx: copy received packet to avoid unaligned access in the IP stackGabor Juhos2010-03-271-0/+19
| | | | SVN-Revision: 20506
* ar71xx: ag71xx: introduce ag71xx_has_ar8216() helperGabor Juhos2010-03-273-16/+17
| | | | SVN-Revision: 20505
* ar71xx: ag71xx: reorganize ag71xx_rx_packet functionGabor Juhos2010-03-271-6/+7
| | | | SVN-Revision: 20504
* ar71xx: ag71xx: Add netpoll supportGabor Juhos2010-03-271-0/+17
| | | | | | | | | | | 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
* ar71xx: add basic kernel support for pb92Felix Fietkau2010-03-266-0/+180
| | | | SVN-Revision: 20495
* ar71xx: add support for ar7241 and ar7242Felix Fietkau2010-03-269-12/+73
| | | | SVN-Revision: 20494
* ar71xx: fix pci link detection for ar724xFelix Fietkau2010-03-262-2/+3
| | | | SVN-Revision: 20493
* wrt400n: lan ports don't need the ar8216 workaroundAndy Boyett2010-03-262-2/+1
| | | | SVN-Revision: 20491
* ar71xx: use the RB411 setup for the RB411UGabor Juhos2010-03-211-10/+1
| | | | SVN-Revision: 20359
* ar71xx: change PHY select logic, and update phy_masksGabor Juhos2010-03-2122-78/+37
| | | | SVN-Revision: 20358
* ar71xx: check returned value of ioremap in ar71xx_pcibios_setupGabor Juhos2010-03-181-0/+2
| | | | SVN-Revision: 20288