aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ar71xx/files
Commit message (Collapse)AuthorAgeFilesLines
* ar71xx: D-Link DIR-825 B1 eth1 MAC address is garbageGabor Juhos2010-11-191-1/+1
| | | | | | | | | r22700 contained a copy-and-paste error that set eth0's MAC address twice and never set eth1's. Signed-off-by: Mark Mentovai <mark@moxienet.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24036 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: drivers/ar71xx_wdt: fix size argument passed to copy_to_user()Gabor Juhos2010-11-121-1/+1
| | | | | | Signed-off-by: Arnaud Lacombe <lacombar@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23983 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: drivers/ag71xx: remove deprecated usage of IRQF_SAMPLE_RANDOMGabor Juhos2010-11-121-1/+1
| | | | | | Signed-off-by: Arnaud Lacombe <lacombar@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23982 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: use pr_* functions in driversGabor Juhos2010-11-122-10/+4
| | | | | | Signed-off-by: Arnaud Lacombe <lacombar@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23981 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: drivers/rb4xx_nand: remove C++ comment usageGabor Juhos2010-11-121-1/+3
| | | | | | Signed-off-by: Arnaud Lacombe <lacombar@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23980 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: return statements does not need parenthesisGabor Juhos2010-11-123-8/+8
| | | | | | Signed-off-by: Arnaud Lacombe <lacombar@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23979 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: fix inline attribute locationGabor Juhos2010-11-123-6/+6
| | | | | | Signed-off-by: Arnaud Lacombe <lacombar@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23978 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: wrap long linesGabor Juhos2010-11-1210-19/+29
| | | | | | | | (build errors has been fixed - juhosg) Signed-off-by: Arnaud Lacombe <lacombar@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23977 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: fix trailing statements locationGabor Juhos2010-11-122-4/+8
| | | | | | Signed-off-by: Arnaud Lacombe <lacombar@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23976 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: fix whitespaces nitsGabor Juhos2010-11-1258-340/+340
| | | | | | | | (build error has been fixed - juhosg) Signed-off-by: Arnaud Lacombe <lacombar@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23975 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [ar71xx] Add support for Ubiquiti UniFi APClaudio Mignanti2010-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 WNDR3700Felix Fietkau2010-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 ↵Felix Fietkau2010-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 ↵Felix Fietkau2010-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.Felix Fietkau2010-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 wellFelix Fietkau2010-10-212-14/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23576 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: fix more section mismatchesFelix Fietkau2010-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 ↵Felix Fietkau2010-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 TintelJo-Philipp Wich2010-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 ↵Felix Fietkau2010-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)Felix Fietkau2010-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)Felix Fietkau2010-10-071-1/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23293 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: initial support for jjPlus JWAP003Gabor Juhos2010-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 setupFelix Fietkau2010-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 boardGabor Juhos2010-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 setupGabor Juhos2010-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 ar7241Gabor Juhos2010-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 fileGabor Juhos2010-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] SoCsGabor Juhos2010-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 boardFelix Fietkau2010-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 ↵Felix Fietkau2010-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 boardsGabor Juhos2010-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 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 git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22863 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: change mac address initializationGabor Juhos2010-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.Felix Fietkau2010-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 ↵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 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 ↵Felix Fietkau2010-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 AR724xFelix Fietkau2010-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 filesGabor Juhos2010-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-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> 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 ↵Felix Fietkau2010-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 ↵Felix Fietkau2010-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 ↵Felix Fietkau2010-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.34Gabor Juhos2010-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 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21837 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: avoid duplicated 'board' parameter in kernel command lineGabor Juhos2010-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 machtypeGabor Juhos2010-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 RB450Gabor Juhos2010-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/35Gabor Juhos2010-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 driverGabor Juhos2010-06-081-4/+7
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21728 3c298f89-4303-0410-b956-a3cf2f4a3e73