summaryrefslogtreecommitdiffstats
path: root/target/linux/ar71xx/files
Commit message (Collapse)AuthorAgeFilesLines
* [ar71xx] Add support for Ubiquiti UniFi APclaudio2010-11-062-0/+38
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23904 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: Set eth1 MAC address from EEPROM for WNDR3700nbd2010-11-041-2/+7
| | | | | | | | | | | | | The WNDR3700's art/caldata partition contains three MAC addresses at offsets 0, 6, and 12, used for eth0/wlan0 (shared), eth1, and wlan1, respectively. The existing code configures eth1's MAC address by adding 1 to eth0's instead of using the value stored in the EEPROM. This patch causes the stored value to be used directly. (On my WNDR3700s, the three stored addresses are all sequential anyway.) Signed-off-by: Mark Mentovai <mark@moxienet.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23876 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: fix the wndr3700 antenna group setting for the first wireless chip ↵nbd2010-11-041-1/+1
| | | | | | (thx, Mark Mentovai) git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23875 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: improve the wndr3700 quirks - move most of the code out of ath9k and ↵nbd2010-11-034-12/+39
| | | | | | instead allow the platform device to specify gpio overrides - fixes 5ghz signal strength issues git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23822 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: the ar7240 dsa driver is no longer used, remove it.nbd2010-10-212-863/+0
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23577 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: use the new ar7240 switch driver for tl-wa901nd as wellnbd2010-10-212-14/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23576 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: fix more section mismatchesnbd2010-10-214-9/+9
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23575 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: improve 2.6.36 compatibility. also, instead of adding a forward port ↵nbd2010-10-213-8/+8
| | | | | | patch to the 2.6.36 patches, add a backport patch to 2.6.32 git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23574 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [ar71xx] remove remaining references to dev-ap91-eth.h, patch by Stijn Tinteljow2010-10-141-1/+0
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23451 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: remove dev-ap91-eth.c. switch its only user (RB-750) to the new ↵nbd2010-10-147-102/+15
| | | | | | switch driver git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23439 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: use the new ar7240 switch driver on the DIR-600-A1 as well (fixes #7563)nbd2010-10-141-1/+18
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23432 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: increase rb4xx nand kernel partition size (patch by danimo)nbd2010-10-071-1/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23293 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: initial support for jjPlus JWAP003juhosg2010-10-014-0/+91
| | | | | | | | | Patch-by: Cezary Jackiewicz <cezary@eko.one.pl> (the GPIODEV code has been removed, the sysfs interface can be used to control the GPIO lines instead - juhosg) git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23165 3c298f89-4303-0410-b956-a3cf2f4a3e73
* AP96: Fix LAN/WAN setupnbd2010-09-281-4/+8
| | | | | | | | | LAN (eth0) is behind a switch and the fixed speed/duplex was supposed to be for it, not WAN (eth1). Signed-off-by: Jouni Malinen <jouni.malinen@atheros.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23147 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: add support for the TL-MR3420 v1 boardjuhosg2010-09-274-0/+160
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23136 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: AR724[12] requires different USB setupjuhosg2010-09-272-11/+27
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23135 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: use the MDIO interface of the 2nd MAC on the ar7241juhosg2010-09-271-0/+6
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23132 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: move ath9k specific PCI fixup into a separate filejuhosg2010-09-276-148/+140
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23131 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: use different address in ap91_pci_fixup for the AR724[012] SoCsjuhosg2010-09-271-1/+14
| | | | | | | With this change ath9k can handle the wireless chip on the TL-WR841N v7 board which is based on the AR7241 SoC. git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23130 3c298f89-4303-0410-b956-a3cf2f4a3e73
* Add support for Atheros AP96 reference boardnbd2010-09-274-0/+186
| | | | | | | | | | | | This is still preliminary and not really tested much. Anyway, this version seems to be enough to get both wired and wireless interfaces working. Buttons and leds are also working. mach-ap96.c is based on mach-wndr3700.c. Signed-off-by: Jouni Malinen <jouni.malinen@atheros.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23125 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: select AR71XX_DEV_DSA when AR71XX_DEV_AP91_ETH is selected, do not ↵nbd2010-09-051-2/+1
| | | | | | select AR71XX_DEV_AP91_ETH for TL-WA901ND and TL-WR741ND git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22935 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: add support for the Zcomax ZCN-1523H-2-8/5-16 boardsjuhosg2010-09-034-1/+223
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22882 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: rewrite SPI drivers for the RB4xx boardsjuhosg2010-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 git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22863 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: change mac address initializationjuhosg2010-08-1831-61/+101
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22700 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: add a new driver for the ar7240 switch using swconfig.nbd2010-08-166-3/+893
| | | | | | | | hooks 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 git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22675 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: remove the fifo cfg overrides for the ap91 ethernet code - these ↵nbd2010-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 git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22401 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: add support for the tp-link tl-wa901nd devices (patch by Pieter ↵nbd2010-07-224-0/+154
| | | | | | "Fate" Hollants, from #7528, without the ethernet fifo cfg values) git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22353 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: set default values for the fifo cfg registers on AR724xnbd2010-07-201-0/+7
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22303 3c298f89-4303-0410-b956-a3cf2f4a3e73
* generic: move ath5k_platform.h from ar71xx to generic filesjuhosg2010-07-151-30/+0
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22189 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: in-flash macs and eeprom for mach-eap7660djuhosg2010-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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22187 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: only reinit the ethernet MAC at .open() on ar724x for now, until ↵nbd2010-07-061-1/+3
| | | | | | we've figured out what part of it causes the issue described in #7563 git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22075 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ag71xx: reset the hardware during open(), this improves recovery from tx ↵nbd2010-07-041-0/+2
| | | | | | timeouts on ar724x considerably git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22055 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ag71xx: fix a memory corruption bug that happens if you flood the interface ↵nbd2010-07-041-0/+6
| | | | | | | | with packets while it's being brought down fixes boot time crashes under load reported by matteo git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22054 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: fix leds-rb750 build failure on 2.6.34juhosg2010-07-011-0/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22016 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: add support for the Senao EAP7660D boardjuhosg2010-06-184-0/+99
| | | | | | | | | This patch adds support for the Senao EAP7660D board to trunk. Signed-off-by: Daniel Golle <daniel.golle@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21837 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: avoid duplicated 'board' parameter in kernel command linejuhosg2010-06-141-8/+31
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21805 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: nuke AR71XX_MACH_UBNT_AR71XX machtypejuhosg2010-06-122-4/+0
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21764 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: fix phy_mask for the RB450juhosg2010-06-091-5/+7
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21743 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: fix build error in the rb{4xx,750}_nand drivers on 2.6.34/35juhosg2010-06-092-0/+2
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21736 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: fix phy_mask on the RB433 for the IP17xx driverjuhosg2010-06-081-4/+7
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21728 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: fix 2.6.34 build errorsjuhosg2010-06-073-0/+3
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21698 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: fix nbg460n mtd partitionsjuhosg2010-05-141-5/+12
| | | | | | | | | This fixes the NBG460N/550N/550NH mtd partitions. Signed-off-by: Michael Kurz <michi.kurz@googlemail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21443 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: remove config partition from the mtd map on the MZK-W300NH boardjuhosg2010-04-261-6/+2
| | | | | | | This space can be used to extend the rootfs_data partition. git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21173 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: fix firmware partition size on the MZK-W04NU boardjuhosg2010-04-261-1/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21172 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ag71xx: remove rx alignment code for small packets, it seems to break ipv6 ↵nbd2010-04-261-24/+0
| | | | | | for some reason (fixes #7236) git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21166 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: fix a wifi card stability issuenbd2010-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. git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21143 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: reduce button threshold value on the NBG460 boardjuhosg2010-04-211-2/+2
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21076 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: use KEY_RESTART and KEY_WPS_BUTTON code for the appropriate buttonsjuhosg2010-04-2121-40/+40
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21075 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: adding support for zyxel nbg460n/550n/550nh boardsjuhosg2010-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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20990 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: fix up alignment handlingnbd2010-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 git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20892 3c298f89-4303-0410-b956-a3cf2f4a3e73