summaryrefslogtreecommitdiffstats
path: root/target/linux/ar71xx/files/arch
Commit message (Collapse)AuthorAgeFilesLines
* ar71xx: fix wrong names of the WPS LED/buttonjuhosg2011-01-101-7/+7
| | | | | | Reported-by: Nuno Gonçalves git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24961 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: use spinlock in ar71xx_device_{start,stop}juhosg2011-01-081-18/+20
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24929 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: enable ar7240 switch support on the UBNT NanoStation Mnbd2010-12-191-0/+1
| | | | | | | | Fixes broadcast frames on the second ethernet MAC Signed-off-by: Alexander Couzens <lynxis@c-base.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24723 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: remove stray semicolonsjuhosg2010-12-171-2/+2
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24651 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: fix WLAN LEDs on the DIR-825 boardjuhosg2010-12-171-0/+3
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24650 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: add helper function to setup ath9k LED/GPIO on the AP94 based boardsjuhosg2010-12-173-14/+36
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24649 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: UBNT Secondary MAC address duplicate fixjuhosg2010-12-171-2/+13
| | | | | | | | | | | | | There is Secondary MAC address duplicate problem with some UBNT RouterStation and RouterStation Pro HW batches as Primary MAC addresses are not increased by 2 per device in board data. Fix is to use 'Locally Administrated bit' for Secondary MAC address instead of increasing Primary MAC addresses by 1 which could overlap with other device Primary MAC address. Signed-off-by: Kestutis Barkauskas<keba@devint.net> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24643 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: add wlan led for the TL-WR941NDjuhosg2010-12-151-0/+5
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24612 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: UBNT M-Series MAC address fixjuhosg2010-12-151-3/+4
| | | | | | | | | UBNT M-Series devices have 2 MAC addresses in board data. Fix is to use both entries from board data instead of one entry. Signed-off-by: Kestutis Barkauskas<keba@devint.net> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24611 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: init the LED pin for ath9k on the TL-MR3[24]20 boardsjuhosg2010-12-141-3/+16
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24569 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: add helper function to setup LED pin and GPIO on the AP91 based boardsjuhosg2010-12-142-0/+15
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24568 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: add missing files for the JA76PF boardjuhosg2010-12-101-0/+96
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24444 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: add support for the jjPlus JA79PFjuhosg2010-12-103-0/+11
| | | | | | Patch-by: Cezary Jackiewicz git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24440 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: add support for the TP-LINK TL-MR3220 v1 boardjuhosg2010-12-104-38/+42
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24439 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: work around a PCI controller bug which causes reads to the ↵nbd2010-12-041-0/+10
| | | | | | PCI_COMMAND register to return bogus values - properly fixes ath9k module reload issues git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24236 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: D-Link DIR-825 B1 eth1 MAC address is garbagejuhosg2010-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: return statements does not need parenthesisjuhosg2010-11-121-1/+1
| | | | | | 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 locationjuhosg2010-11-121-1/+1
| | | | | | 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 linesjuhosg2010-11-125-11/+17
| | | | | | | | (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 locationjuhosg2010-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 nitsjuhosg2010-11-1237-243/+243
| | | | | | | | (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 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-033-6/+23
| | | | | | 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: 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] 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: 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-312-59/+146
| | | | | | | | | | * 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-162-1/+18
| | | | | | | | 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
* ar71xx: in-flash macs and eeprom for mach-eap7660djuhosg2010-07-152-3/+79
| | | | | | | | | | 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: 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