juhosg
db38ac7711
ar71xx: Fix mac address offset for AR934x
...
Signed-off-by: Vasanthakumar Thiagarajan <vasanth@atheros.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26557 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-04-09 18:47:42 +00:00
juhosg
b1f3482e70
ar71xx: add DB120 board specific PCI initialization
...
Signed-off-by: Jaiganesh Narayanan <jnarayanan@atheros.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26523 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-04-07 20:53:41 +00:00
juhosg
004690a661
ar71xx: register WMAC device on the DB120 board
...
Signed-off-by: Jaiganesh Narayanan <jnarayanan@atheros.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26522 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-04-07 20:53:37 +00:00
juhosg
ce9abcca4a
ar71xx: add support for the built-in WMAC of the AR934x
...
Signed-off-by: Jaiganesh Narayanan <jnarayanan@atheros.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26521 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-04-07 20:53:34 +00:00
juhosg
e018221576
ar71xx: add initial support for the Atheros DB120 board
...
Signed-off-by: Jaiganesh Narayanan <jnarayanan@atheros.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26518 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-04-07 20:53:19 +00:00
juhosg
b21a1fabc6
ar71xx: enable PCI for the AR934[24] SoCs
...
Signed-off-by: Jaiganesh Narayanan <jnarayanan@atheros.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26515 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-04-07 20:53:05 +00:00
juhosg
d6c448b131
ar71xx: enable USB support for the AR934x SoCs
...
Signed-off-by: Jaiganesh Narayanan <jnarayanan@atheros.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26514 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-04-07 20:53:03 +00:00
juhosg
3167111b62
ar71xx: enable GPIO support for the AR934x SoCs
...
Signed-off-by: Jaiganesh Narayanan <jnarayanan@atheros.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26513 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-04-07 20:53:00 +00:00
juhosg
7763501529
ar71xx: add AR934x specific glue for ar7100_device{start,stop}
...
Signed-off-by: Jaiganesh Narayanan <jnarayanan@atheros.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26512 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-04-07 20:52:57 +00:00
juhosg
2c08ed8f8b
ar71xx: add AR934x specific UART clock initialization
...
Signed-off-by: Jaiganesh Narayanan <jnarayanan@atheros.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26511 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-04-07 20:52:53 +00:00
juhosg
c5000fc993
ar71xx: add AR934x specific glue for IRQ initialization
...
Signed-off-by: Jaiganesh Narayanan <jnarayanan@atheros.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26510 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-04-07 20:52:49 +00:00
juhosg
a5bba4d8fb
ar71xx: add initial support for the AR934x SoCs
...
Signed-off-by: Jaiganesh Narayanan <jnarayanan@atheros.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26509 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-04-07 20:52:45 +00:00
nbd
abc719ecfd
ar71xx: enable access to the WAN port PHY on a few devices, adds WAN link detection
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26394 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-04-02 00:47:33 +00:00
juhosg
ae81dbbb22
ar71xx: add support for the TP-Link TL-WA901ND v2 board
...
Patch-by: Jonathan Benett <jbscience87@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26119 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-03-13 15:08:31 +00:00
nbd
ea0082e3de
Revert "ar71xx: add missing gpio_set_debounce function" - wrong target
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25854 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-03-03 16:21:23 +00:00
nbd
097b43c34c
ar71xx: add missing gpio_set_debounce function
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25848 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-03-03 10:33:35 +00:00
juhosg
8ac5cf45e8
ar71xx: add rtl8366s initvals for the DIR-825 board
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25121 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-01-26 20:35:47 +00:00
juhosg
9e07cb05fa
ar71xx: add support for the WNDR3700v2 board
...
Based on a patch by Mark Mentovai <mark@moxienet.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25118 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-01-26 20:35:42 +00:00
jow
7141d869e6
[ar71xx] fix null pointer access in mach-dir-600-a1.c machine setup ( #8671 )
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25043 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-01-18 18:04:50 +00:00
juhosg
77e1ad2c5f
ar71xx: fix wlan LED on the TL-WR741 board
...
* Patch from #8630
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24963 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-01-11 08:20:47 +00:00
juhosg
0ecedcb900
ar71xx: fix wrong names of the WPS LED/button
...
Reported-by: Nuno Gonçalves
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24961 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-01-10 18:15:47 +00:00
juhosg
a241f3c34a
ar71xx: use spinlock in ar71xx_device_{start,stop}
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24929 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-01-08 11:28:32 +00:00
nbd
ee10caa56c
ar71xx: enable ar7240 switch support on the UBNT NanoStation M
...
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
2010-12-19 11:56:42 +00:00
juhosg
1f36168c60
ar71xx: remove stray semicolons
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24651 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-12-17 17:57:20 +00:00
juhosg
1eb912f20a
ar71xx: fix WLAN LEDs on the DIR-825 board
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24650 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-12-17 17:10:21 +00:00
juhosg
3e6bf9586d
ar71xx: add helper function to setup ath9k LED/GPIO on the AP94 based boards
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24649 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-12-17 17:10:19 +00:00
juhosg
579e608a9b
ar71xx: UBNT Secondary MAC address duplicate fix
...
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
2010-12-17 17:10:01 +00:00
juhosg
2427a1a5f9
ar71xx: add wlan led for the TL-WR941ND
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24612 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-12-15 19:55:50 +00:00
juhosg
786449614f
ar71xx: UBNT M-Series MAC address fix
...
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
2010-12-15 19:55:47 +00:00
juhosg
5270be5f80
ar71xx: init the LED pin for ath9k on the TL-MR3[24]20 boards
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24569 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-12-14 18:01:04 +00:00
juhosg
6cc1945af5
ar71xx: add helper function to setup LED pin and GPIO on the AP91 based boards
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24568 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-12-14 18:01:00 +00:00
juhosg
29d3358e2b
ar71xx: add missing files for the JA76PF board
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24444 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-12-10 19:55:28 +00:00
juhosg
9bdc5b83af
ar71xx: add support for the jjPlus JA79PF
...
Patch-by: Cezary Jackiewicz
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24440 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-12-10 17:57:51 +00:00
juhosg
ddbca99fbc
ar71xx: add support for the TP-LINK TL-MR3220 v1 board
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24439 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-12-10 17:57:48 +00:00
nbd
cb875ff79e
ar71xx: work around a PCI controller bug which causes reads to the 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
2010-12-04 01:32:15 +00:00
juhosg
c80f4f97c6
ar71xx: D-Link DIR-825 B1 eth1 MAC address is garbage
...
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
2010-11-19 07:24:00 +00:00
juhosg
c0734b8ffe
ar71xx: return statements does not need parenthesis
...
Signed-off-by: Arnaud Lacombe <lacombar@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23979 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-11-12 18:51:38 +00:00
juhosg
74ed307c1e
ar71xx: fix inline attribute location
...
Signed-off-by: Arnaud Lacombe <lacombar@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23978 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-11-12 18:51:21 +00:00
juhosg
2adda3cec6
ar71xx: wrap long lines
...
(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
2010-11-12 18:51:04 +00:00
juhosg
6be076283d
ar71xx: fix trailing statements location
...
Signed-off-by: Arnaud Lacombe <lacombar@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23976 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-11-12 18:50:47 +00:00
juhosg
b6dbd83901
ar71xx: fix whitespaces nits
...
(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
2010-11-12 18:50:29 +00:00
claudio
b59add4dfd
[ar71xx] Add support for Ubiquiti UniFi AP
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23904 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-11-06 21:08:48 +00:00
nbd
11c1641bac
ar71xx: Set eth1 MAC address from EEPROM for WNDR3700
...
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
2010-11-04 18:46:07 +00:00
nbd
6f13c00b0a
ar71xx: fix the wndr3700 antenna group setting for the first wireless chip (thx, Mark Mentovai)
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23875 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-11-04 18:39:49 +00:00
nbd
4f69a1b329
ar71xx: improve the wndr3700 quirks - move most of the code out of ath9k and 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
2010-11-03 14:55:53 +00:00
nbd
2ec79a75b2
ar71xx: use the new ar7240 switch driver for tl-wa901nd as well
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23576 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-10-21 18:42:22 +00:00
jow
f3367a8563
[ar71xx] remove remaining references to dev-ap91-eth.h, patch by Stijn Tintel
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23451 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-10-14 23:08:10 +00:00
nbd
a63bf2580b
ar71xx: remove dev-ap91-eth.c. switch its only user (RB-750) to the new switch driver
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23439 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-10-14 13:41:42 +00:00
nbd
c952d82a6c
ar71xx: use the new ar7240 switch driver on the DIR-600-A1 as well ( fixes #7563 )
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23432 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-10-14 00:14:59 +00:00
juhosg
97627d06c5
ar71xx: initial support for jjPlus JWAP003
...
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
2010-10-01 07:09:29 +00:00