Commit graph

909 commits

Author SHA1 Message Date
Felix Fietkau
8067f3f3cc 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
SVN-Revision: 24236
2010-12-04 01:32:15 +00:00
Jo-Philipp Wich
6f7e2d4ce8 tune rtl8366s default config, make vlan 1 cpu port tagged and use eth0.1 for the lan interface - this brings the configuration more in line with other switch setups
SVN-Revision: 24215
2010-12-02 20:19:55 +00:00
Gabor Juhos
79c24b2cb0 ar71xx: refresh patches
SVN-Revision: 24210
2010-12-01 18:40:01 +00:00
Jo-Philipp Wich
30b950154b add a new image for the TEW-652BRP which can be used with the bootloader recovery option
SVN-Revision: 24196
2010-11-30 02:04:57 +00:00
Imre Kaloz
ead8ab8403 update to the latest stable kernels
SVN-Revision: 24136
2010-11-24 18:50:11 +00:00
Gabor Juhos
9971dfe059 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>

SVN-Revision: 24036
2010-11-19 07:24:00 +00:00
Gabor Juhos
920a34c0ce ar71xx: drivers/ar71xx_wdt: fix size argument passed to copy_to_user()
Signed-off-by: Arnaud Lacombe <lacombar@gmail.com>

SVN-Revision: 23983
2010-11-12 18:52:45 +00:00
Gabor Juhos
3106aea40b ar71xx: drivers/ag71xx: remove deprecated usage of IRQF_SAMPLE_RANDOM
Signed-off-by: Arnaud Lacombe <lacombar@gmail.com>

SVN-Revision: 23982
2010-11-12 18:52:28 +00:00
Gabor Juhos
30ef7d55fc ar71xx: use pr_* functions in drivers
Signed-off-by: Arnaud Lacombe <lacombar@gmail.com>

SVN-Revision: 23981
2010-11-12 18:52:12 +00:00
Gabor Juhos
fddf3b8dac ar71xx: drivers/rb4xx_nand: remove C++ comment usage
Signed-off-by: Arnaud Lacombe <lacombar@gmail.com>

SVN-Revision: 23980
2010-11-12 18:51:55 +00:00
Gabor Juhos
f4d5c885e4 ar71xx: return statements does not need parenthesis
Signed-off-by: Arnaud Lacombe <lacombar@gmail.com>

SVN-Revision: 23979
2010-11-12 18:51:38 +00:00
Gabor Juhos
e244e1c7cd ar71xx: fix inline attribute location
Signed-off-by: Arnaud Lacombe <lacombar@gmail.com>

SVN-Revision: 23978
2010-11-12 18:51:21 +00:00
Gabor Juhos
acd8ad4de5 ar71xx: wrap long lines
(build errors has been fixed - juhosg)

Signed-off-by: Arnaud Lacombe <lacombar@gmail.com>

SVN-Revision: 23977
2010-11-12 18:51:04 +00:00
Gabor Juhos
eef802855a ar71xx: fix trailing statements location
Signed-off-by: Arnaud Lacombe <lacombar@gmail.com>

SVN-Revision: 23976
2010-11-12 18:50:47 +00:00
Gabor Juhos
500fac1735 ar71xx: fix whitespaces nits
(build error has been fixed - juhosg)

Signed-off-by: Arnaud Lacombe <lacombar@gmail.com>

SVN-Revision: 23975
2010-11-12 18:50:29 +00:00
Alexandros C. Couloumbis
0c66bb9c55 linux/ar71xx: add preliminary 2.6.37 kernel support
SVN-Revision: 23944
2010-11-10 16:23:42 +00:00
Claudio Mignanti
20b2a4417a Add support for Ubiquiti UniFi AP
SVN-Revision: 23904
2010-11-06 21:08:48 +00:00
Felix Fietkau
5f3f1b8cd8 ar71xx: Configure WNDR3700 switch LED colors properly (#8103)
For WNDR3700, use green for 1Gb/s and amber for 100Mb/s and 10Mb/s on
the four LAN port switch LEDs. The LEDs will be lit to indicate a link
and will blink to indicate activity. This matches the stock firmware
and the description printed on the label on the unit's underside.

Signed-off-by: Mark Mentovai <mark@moxienet.com>

SVN-Revision: 23879
2010-11-04 18:55:16 +00:00
Felix Fietkau
b3b2227869 Revert "ar71xx: WNDR3700 WiFi LEDs should blink for activity (#7984)" on submitter's request
SVN-Revision: 23878
2010-11-04 18:53:18 +00:00
Felix Fietkau
77eee74d56 ar71xx: WNDR3700 WiFi LEDs should blink for activity (#7984)
Make the WiFi LEDs blink for activity on the WNDR3700, matching the
stock firmware and user expectations. The green 2.4GHz and blue 5GHz
LEDs will illuminate with the radio on, and will blink to indicate
transmission and reception.

Signed-off-by: Mark Mentovai <mark@moxienet.com>

SVN-Revision: 23877
2010-11-04 18:48:22 +00:00
Felix Fietkau
91b6c63adc 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>

SVN-Revision: 23876
2010-11-04 18:46:07 +00:00
Felix Fietkau
fc28e1cd7d ar71xx: fix the wndr3700 antenna group setting for the first wireless chip (thx, Mark Mentovai)
SVN-Revision: 23875
2010-11-04 18:39:49 +00:00
Imre Kaloz
0a5da348d1 update kernels to 2.6.32.25 and 2.6.35.8
SVN-Revision: 23851
2010-11-04 09:01:08 +00:00
Felix Fietkau
b4e2c09b46 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
SVN-Revision: 23822
2010-11-03 14:55:53 +00:00
Felix Fietkau
b3e708acd7 ar71xx: remove some unnecessary patches
SVN-Revision: 23581
2010-10-22 01:31:47 +00:00
Felix Fietkau
0468a284dd move a few more 2.6.36 config options from ar71xx to generic
SVN-Revision: 23580
2010-10-21 18:42:52 +00:00
Felix Fietkau
f056c054b9 ar71xx: the ar7240 dsa driver is no longer used, remove it.
SVN-Revision: 23577
2010-10-21 18:42:28 +00:00
Felix Fietkau
9e2d1a194d ar71xx: use the new ar7240 switch driver for tl-wa901nd as well
SVN-Revision: 23576
2010-10-21 18:42:22 +00:00
Felix Fietkau
6656450c6d ar71xx: fix more section mismatches
SVN-Revision: 23575
2010-10-21 18:42:16 +00:00
Felix Fietkau
8858d90afe ar71xx: improve 2.6.36 compatibility. also, instead of adding a forward port patch to the 2.6.36 patches, add a backport patch to 2.6.32
SVN-Revision: 23574
2010-10-21 18:42:11 +00:00
Felix Fietkau
0ccae6ec9e ar71xx: refresh kernel config for 2.6.36
SVN-Revision: 23572
2010-10-21 18:41:57 +00:00
Felix Fietkau
d40b0f3529 ar71xx: remove unused kernel versions, 2.6.36 should be the next target
SVN-Revision: 23571
2010-10-21 18:41:52 +00:00
Jo-Philipp Wich
a680385396 remove remaining references to dev-ap91-eth.h, patch by Stijn Tintel
SVN-Revision: 23451
2010-10-14 23:08:10 +00:00
Felix Fietkau
fc035b3cb6 ar71xx: remove dev-ap91-eth.c. switch its only user (RB-750) to the new switch driver
SVN-Revision: 23439
2010-10-14 13:41:42 +00:00
Felix Fietkau
3941621dbc ar71xx: use the new ar7240 switch driver on the DIR-600-A1 as well (fixes #7563)
SVN-Revision: 23432
2010-10-14 00:14:59 +00:00
Alexandros C. Couloumbis
5717ca5ea9 linux/ar71xx: workaround an rb4xx hard-lock until we get a proper fix.
SVN-Revision: 23327
2010-10-08 16:52:35 +00:00
Alexandros C. Couloumbis
dc0e630123 linux/ar71xx: (2.6.36) add a missed patch
SVN-Revision: 23319
2010-10-08 12:15:18 +00:00
Alexandros C. Couloumbis
458e8736fc linux/ar71xx: add preliminary 2.6.36 kernel support (refresh patches)
SVN-Revision: 23317
2010-10-08 12:10:18 +00:00
Felix Fietkau
b61a804bf7 ar71xx: increase rb4xx nand kernel partition size (patch by danimo)
SVN-Revision: 23293
2010-10-07 14:27:34 +00:00
Imre Kaloz
5f9a6a5431 upgrade kernel versions to the latest stable ones
SVN-Revision: 23219
2010-10-04 10:40:41 +00:00
Gabor Juhos
697f5d0bdd 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)

SVN-Revision: 23165
2010-10-01 07:09:29 +00:00
Felix Fietkau
8511c6b16c AP96: Fix LAN/WAN setup
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>

SVN-Revision: 23147
2010-09-28 22:55:14 +00:00
Gabor Juhos
2fdc8aea04 ar71xx: build firmware image for the TL-MR3420 v1 board
SVN-Revision: 23138
2010-09-27 14:54:04 +00:00
Gabor Juhos
32d12d5e5c ar71xx: add support for the TL-MR3420 v1 board
SVN-Revision: 23136
2010-09-27 14:53:59 +00:00
Gabor Juhos
b831ebdde9 ar71xx: AR724[12] requires different USB setup
SVN-Revision: 23135
2010-09-27 14:53:57 +00:00
Gabor Juhos
ef54e93712 ar71xx: build firmware image for the TL-WR841N v7
SVN-Revision: 23134
2010-09-27 14:53:54 +00:00
Gabor Juhos
cda8655910 ar71xx: use the MDIO interface of the 2nd MAC on the ar7241
SVN-Revision: 23132
2010-09-27 14:53:49 +00:00
Gabor Juhos
b445943cdf ar71xx: move ath9k specific PCI fixup into a separate file
SVN-Revision: 23131
2010-09-27 14:53:46 +00:00
Gabor Juhos
4ae167959b ar71xx: use different address in ap91_pci_fixup for the AR724[012] SoCs
With this change ath9k can handle the wireless chip on the TL-WR841N v7
board which is based on the AR7241 SoC.

SVN-Revision: 23130
2010-09-27 14:53:43 +00:00
Felix Fietkau
a7bb7dd99e Add support for Atheros AP96 reference board
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>

SVN-Revision: 23125
2010-09-27 08:59:53 +00:00