Commit graph

923 commits

Author SHA1 Message Date
Gabor Juhos
8390b7dc9b 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>

SVN-Revision: 24643
2010-12-17 17:10:01 +00:00
Gabor Juhos
a26c3e60e2 ar71xx: populate LED configuration for WZR-HP-G300NH
Signed-off-by: Dave Lichterman <laviddichterman@gmail.com>

[nand-disk trigger has been removed - juhosg]

SVN-Revision: 24642
2010-12-17 17:09:57 +00:00
Gabor Juhos
a2a5598c00 ar71xx: add wlan led for the TL-WR941ND
SVN-Revision: 24612
2010-12-15 19:55:50 +00:00
Gabor Juhos
e421d2575f 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>

SVN-Revision: 24611
2010-12-15 19:55:47 +00:00
Gabor Juhos
6c1ace2f28 ar71xx: init the LED pin for ath9k on the TL-MR3[24]20 boards
SVN-Revision: 24569
2010-12-14 18:01:04 +00:00
Gabor Juhos
a7750dae90 ar71xx: add helper function to setup LED pin and GPIO on the AP91 based boards
SVN-Revision: 24568
2010-12-14 18:01:00 +00:00
Hauke Mehrtens
b8ab3d34eb kernel: update kernel versions Update kernel 2.6.32.26 to 2.6.32.27 Update kenrel 2.6.36.1 to 2.6.36.2
SVN-Revision: 24486
2010-12-11 16:07:21 +00:00
Gabor Juhos
9f38f9bf76 ar71xx: add missing files for the JA76PF board
SVN-Revision: 24444
2010-12-10 19:55:28 +00:00
Gabor Juhos
b680f088ba ar71xx: add support for the jjPlus JA79PF
Patch-by: Cezary Jackiewicz

SVN-Revision: 24440
2010-12-10 17:57:51 +00:00
Gabor Juhos
5b0c83edd9 ar71xx: add support for the TP-LINK TL-MR3220 v1 board
SVN-Revision: 24439
2010-12-10 17:57:48 +00:00
Gabor Juhos
83834da33b ar71xx: add default network configuration file for the TL-MR3420
SVN-Revision: 24437
2010-12-10 17:57:40 +00:00
Felix Fietkau
1fa3e7a941 ar71xx: do not throw compile errors if the nbg460n uboot is not selected
SVN-Revision: 24426
2010-12-10 16:07:27 +00:00
Gabor Juhos
d9c68341ef ar71xx: select u-boot for the NBG460N in the Default/Minimal profiles as well
SVN-Revision: 24421
2010-12-10 15:17:08 +00:00
Gabor Juhos
081796fe47 ar71xx: add nbg460n image generation
This adds image generation for NBG460N/550N/550NH boards.

Signed-off-by: Michael Kurz <michi.kurz@googlemail.com>

SVN-Revision: 24419
2010-12-10 15:17:03 +00:00
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