Gabor Juhos
256169cbd0
ar71xx: add rtl8366s initvals for the DIR-825 board
...
SVN-Revision: 25121
2011-01-26 20:35:47 +00:00
Gabor Juhos
67c3e0bf7e
ar71xx: add support for the WNDR3700v2 board
...
Based on a patch by Mark Mentovai <mark@moxienet.com>
SVN-Revision: 25118
2011-01-26 20:35:42 +00:00
Jo-Philipp Wich
18ed5bca9b
fix null pointer access in mach-dir-600-a1.c machine setup ( #8671 )
...
SVN-Revision: 25043
2011-01-18 18:04:50 +00:00
Gabor Juhos
b67bbfe287
ar71xx: fix wlan LED on the TL-WR741 board
...
* Patch from #8630
SVN-Revision: 24963
2011-01-11 08:20:47 +00:00
Gabor Juhos
dd53effe15
ar71xx: fix wrong names of the WPS LED/button
...
Reported-by: Nuno Gonçalves
SVN-Revision: 24961
2011-01-10 18:15:47 +00:00
Gabor Juhos
23a6173099
ar71xx: use gpio_*_cansleep calls in the rb4xx NAND driver
...
SVN-Revision: 24944
2011-01-09 09:29:45 +00:00
Gabor Juhos
0de8689b70
ar71xx: use spinlock in ar71xx_device_{start,stop}
...
SVN-Revision: 24929
2011-01-08 11:28:32 +00:00
Felix Fietkau
6acfae9379
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>
SVN-Revision: 24723
2010-12-19 11:56:42 +00:00
Gabor Juhos
cafe08a1b2
ar71xx: remove stray semicolons
...
SVN-Revision: 24651
2010-12-17 17:57:20 +00:00
Gabor Juhos
01c76bf128
ar71xx: fix WLAN LEDs on the DIR-825 board
...
SVN-Revision: 24650
2010-12-17 17:10:21 +00:00
Gabor Juhos
c1d3a23d19
ar71xx: add helper function to setup ath9k LED/GPIO on the AP94 based boards
...
SVN-Revision: 24649
2010-12-17 17:10:19 +00:00
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
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
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
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
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
Claudio Mignanti
20b2a4417a
Add support for Ubiquiti UniFi AP
...
SVN-Revision: 23904
2010-11-06 21:08:48 +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
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
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
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
Felix Fietkau
b61a804bf7
ar71xx: increase rb4xx nand kernel partition size (patch by danimo)
...
SVN-Revision: 23293
2010-10-07 14:27:34 +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
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
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
Felix Fietkau
0c6653c6e2
ar71xx: select AR71XX_DEV_DSA when AR71XX_DEV_AP91_ETH is selected, do not select AR71XX_DEV_AP91_ETH for TL-WA901ND and TL-WR741ND
...
SVN-Revision: 22935
2010-09-05 16:17:06 +00:00
Gabor Juhos
b4336a8e2d
ar71xx: add support for the Zcomax ZCN-1523H-2-8/5-16 boards
...
SVN-Revision: 22882
2010-09-03 18:14:37 +00:00
Gabor Juhos
47f8fd1dde
ar71xx: rewrite SPI drivers for the RB4xx boards
...
* add a new SPI controller driver
* add SPI driver for the CPLD chip
* convert the NAND driver
* enable the mikroSD slot
* enable more LEDs
SVN-Revision: 22863
2010-08-31 20:13:47 +00:00
Gabor Juhos
7bc5a672c1
ar71xx: change mac address initialization
...
SVN-Revision: 22700
2010-08-18 16:00:28 +00:00
Felix Fietkau
523fcf0497
ar71xx: add a new driver for the ar7240 switch using swconfig. 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
...
SVN-Revision: 22675
2010-08-16 19:21:57 +00:00
Felix Fietkau
65899cfa49
ar71xx: remove the fifo cfg overrides for the ap91 ethernet code - these 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
...
SVN-Revision: 22401
2010-07-27 21:04:43 +00:00
Felix Fietkau
900aaa919b
ar71xx: add support for the tp-link tl-wa901nd devices (patch by Pieter "Fate" Hollants, from #7528 , without the ethernet fifo cfg values)
...
SVN-Revision: 22353
2010-07-22 12:37:44 +00:00
Felix Fietkau
bced5d7d74
ar71xx: set default values for the fifo cfg registers on AR724x
...
SVN-Revision: 22303
2010-07-20 01:54:11 +00:00
Gabor Juhos
4bb11f9a39
generic: move ath5k_platform.h from ar71xx to generic files
...
SVN-Revision: 22189
2010-07-15 07:36:58 +00:00
Gabor Juhos
95e09cccd8
ar71xx: in-flash macs and eeprom for mach-eap7660d
...
This adds in-flash mac-addresses and calibration data for the Senao
EAP7660D board.
Signed-off-by: Daniel Golle <daniel.golle@gmail.com>
SVN-Revision: 22187
2010-07-15 07:36:52 +00:00
Felix Fietkau
a27ea45e76
ar71xx: only reinit the ethernet MAC at .open() on ar724x for now, until we've figured out what part of it causes the issue described in #7563
...
SVN-Revision: 22075
2010-07-06 12:40:07 +00:00
Felix Fietkau
15b209d09f
ag71xx: reset the hardware during open(), this improves recovery from tx timeouts on ar724x considerably
...
SVN-Revision: 22055
2010-07-04 02:15:08 +00:00
Felix Fietkau
89da22d1ea
ag71xx: fix a memory corruption bug that happens if you flood the interface with packets while it's being brought down fixes boot time crashes under load reported by matteo
...
SVN-Revision: 22054
2010-07-04 01:31:33 +00:00
Gabor Juhos
5a28fb88a4
ar71xx: fix leds-rb750 build failure on 2.6.34
...
SVN-Revision: 22016
2010-07-01 14:49:06 +00:00
Gabor Juhos
7bff9c0101
ar71xx: add support for the Senao EAP7660D board
...
This patch adds support for the Senao EAP7660D board to trunk.
Signed-off-by: Daniel Golle <daniel.golle@gmail.com>
SVN-Revision: 21837
2010-06-18 16:22:05 +00:00
Gabor Juhos
08c2e29018
ar71xx: avoid duplicated 'board' parameter in kernel command line
...
SVN-Revision: 21805
2010-06-14 20:02:44 +00:00
Gabor Juhos
9789f0215a
ar71xx: nuke AR71XX_MACH_UBNT_AR71XX machtype
...
SVN-Revision: 21764
2010-06-12 13:20:39 +00:00
Gabor Juhos
adb0a95df1
ar71xx: fix phy_mask for the RB450
...
SVN-Revision: 21743
2010-06-09 19:48:35 +00:00
Gabor Juhos
6ce447427c
ar71xx: fix build error in the rb{4xx,750}_nand drivers on 2.6.34/35
...
SVN-Revision: 21736
2010-06-09 15:31:34 +00:00
Gabor Juhos
d55ebf3a8a
ar71xx: fix phy_mask on the RB433 for the IP17xx driver
...
SVN-Revision: 21728
2010-06-08 20:19:18 +00:00
Gabor Juhos
90e2b1ad6b
ar71xx: fix 2.6.34 build errors
...
SVN-Revision: 21698
2010-06-07 09:18:13 +00:00
Gabor Juhos
115f845e53
ar71xx: fix nbg460n mtd partitions
...
This fixes the NBG460N/550N/550NH mtd partitions.
Signed-off-by: Michael Kurz <michi.kurz@googlemail.com>
SVN-Revision: 21443
2010-05-14 08:37:58 +00:00
Gabor Juhos
fca9b7ebad
ar71xx: remove config partition from the mtd map on the MZK-W300NH board
...
This space can be used to extend the rootfs_data partition.
SVN-Revision: 21173
2010-04-26 18:28:04 +00:00
Gabor Juhos
77b2354fcd
ar71xx: fix firmware partition size on the MZK-W04NU board
...
SVN-Revision: 21172
2010-04-26 18:28:01 +00:00
Felix Fietkau
7966004d99
ag71xx: remove rx alignment code for small packets, it seems to break ipv6 for some reason ( fixes #7236 )
...
SVN-Revision: 21166
2010-04-26 16:39:13 +00:00
Felix Fietkau
9848d38aed
ar71xx: fix a wifi card stability issue
...
when we receive a pci/ahb interrupt, we need to flush pending data for dma
from the device, otherwise the tx path may get stuck if the completion flag
of the dma descriptor is not updated at the time the tx interrupt arrives.
SVN-Revision: 21143
2010-04-24 17:24:11 +00:00
Gabor Juhos
10ed3b23a6
ar71xx: reduce button threshold value on the NBG460 board
...
SVN-Revision: 21076
2010-04-21 19:07:23 +00:00
Gabor Juhos
9933d34770
ar71xx: use KEY_RESTART and KEY_WPS_BUTTON code for the appropriate buttons
...
SVN-Revision: 21075
2010-04-21 19:07:19 +00:00
Gabor Juhos
693ea524c1
ar71xx: adding support for zyxel nbg460n/550n/550nh boards
...
This patch adds support for the zyxel nbg460n/550n/550nh routers.
Currently this only works if a second stage bootloader is also flashed,
as the used switch needs extra initialization.
Signed-off-by: Michael Kurz <michi.kurz@googlemail.com>
SVN-Revision: 20990
2010-04-18 16:24:12 +00:00
Felix Fietkau
1c0e751391
ar71xx: fix up alignment handling
...
- on ar724x, rx buffers can be aligned with an offset of 2, which keeps the ip header aligned
- alignment offset is only added if the ar8216 workaround is not active and the phy driver does not advertise its own packet alignment
- ar71xx and ar91xx can not handle rx alignment offsets, however taking a hit on unaligned exceptions seems to have less overhead than re-aligning the data for large packets
- use memmove to re-align small packets, if necessary
tested on ar9132, ar7240 and ar7242 based devices without ar8216 headers
SVN-Revision: 20892
2010-04-15 23:31:17 +00:00
Gabor Juhos
dd7304ec6d
ar71xx: update phy masks for the Planex boards
...
This avoids probing of the AR8216 chip on the eth0 interface.
Cc: backfire@openwrt.org
SVN-Revision: 20754
2010-04-09 08:40:14 +00:00
Gabor Juhos
d6c0363884
ar71xx: make the AR8216 driver usable on the TEW-632BRP/DIR-615-Cx boards
...
Cc: backfire@openwrt.org
SVN-Revision: 20752
2010-04-09 08:40:09 +00:00
Gabor Juhos
4c29a2c263
ar71xx: ag71xx: avoid unalinged accesses when using the phy specific receive functions
...
Cc: backfire@openwrt.org
SVN-Revision: 20751
2010-04-09 08:40:06 +00:00
Gabor Juhos
4a28844d80
ar71xx: ag71xx: call the phy driver's netif_receive_skb()
...
Ag71xx needs to call the phy's netif_receive_skb() to allow phy drivers
to mangle rx packets. This patch fixes it.
This fixes the header mangling of the AR8216 driver.
Signed-off-by: Jonas Gorski <jonas.gorski+openwrt@gmail.com>
Cc:backfire@openwrt.org
SVN-Revision: 20750
2010-04-09 08:38:46 +00:00
Felix Fietkau
df463abb18
ar71xx: fix ethernet on final pb92 board (previous value was based on a preliminary version)
...
SVN-Revision: 20725
2010-04-06 00:12:50 +00:00
Jo-Philipp Wich
23bebe33a7
Add support for the ar8316 switch. This patch enhances the ar8216 driver with ar8316 support and fixes some minor issues with the ar8216 driver itself. It should not break anything, but isn't tested on ar8216 devices.
...
[PATCH 2/2] ar71xx: Add the ar8316 driver to rs pro/rb-450g.
Add the ar8216 driver to the ar71xx target, and add network
configurations for the RouterStation Pro and the RouterBoard RB-450G.
SVN-Revision: 20722
2010-04-05 23:03:16 +00:00
Gabor Juhos
c874513cfa
ar71xx: fix broken LAN ports on the boards with AR8216 switch ( closes #7024 )
...
* cc: backfire@openwrt.org
SVN-Revision: 20673
2010-04-03 13:59:08 +00:00
Felix Fietkau
7983e442e1
ar71xx: fix pci on ar7241/ar7242
...
SVN-Revision: 20530
2010-03-28 00:36:37 +00:00
Felix Fietkau
9c0f21a5b9
ar71xx: fix the wan port on pb92
...
SVN-Revision: 20529
2010-03-28 00:36:04 +00:00
Felix Fietkau
2cc215f121
ar71xx: reset the mdio bus on ar7241/ar7242
...
SVN-Revision: 20528
2010-03-28 00:35:44 +00:00
Gabor Juhos
905f2d62f9
ar71xx: update image generation and trx header parsing for the WRT160NL
...
* patch by Bernhard Loos
* note: trailing whitespaces has been removed
SVN-Revision: 20525
2010-03-27 17:38:36 +00:00
Gabor Juhos
b7ca043240
ar71xx: ag71xx: copy received packet to avoid unaligned access in the IP stack
...
SVN-Revision: 20506
2010-03-27 13:05:27 +00:00
Gabor Juhos
f9acf8ada1
ar71xx: ag71xx: introduce ag71xx_has_ar8216() helper
...
SVN-Revision: 20505
2010-03-27 13:05:24 +00:00
Gabor Juhos
200db5ebb5
ar71xx: ag71xx: reorganize ag71xx_rx_packet function
...
SVN-Revision: 20504
2010-03-27 13:05:20 +00:00
Gabor Juhos
245775a49f
ar71xx: ag71xx: Add netpoll support
...
This patch adds support for polling interrupts, used by
netconsole and the likes.
Tested on d-link dir-615 C1 using netconsole.
Signed-off-by: Pat Erley <pat-lkml@erley.org>
SVN-Revision: 20503
2010-03-27 13:05:17 +00:00
Felix Fietkau
0b6e32a7b0
ar71xx: add basic kernel support for pb92
...
SVN-Revision: 20495
2010-03-26 22:35:52 +00:00
Felix Fietkau
aa3ff31b95
ar71xx: add support for ar7241 and ar7242
...
SVN-Revision: 20494
2010-03-26 22:35:41 +00:00
Felix Fietkau
4e10c56551
ar71xx: fix pci link detection for ar724x
...
SVN-Revision: 20493
2010-03-26 22:35:27 +00:00
Andy Boyett
681054333e
wrt400n: lan ports don't need the ar8216 workaround
...
SVN-Revision: 20491
2010-03-26 19:09:11 +00:00
Gabor Juhos
120b1d8699
ar71xx: use the RB411 setup for the RB411U
...
SVN-Revision: 20359
2010-03-21 18:16:24 +00:00
Gabor Juhos
9a1031ce6d
ar71xx: change PHY select logic, and update phy_masks
...
SVN-Revision: 20358
2010-03-21 18:16:07 +00:00
Gabor Juhos
18aa68d368
ar71xx: check returned value of ioremap in ar71xx_pcibios_setup
...
SVN-Revision: 20288
2010-03-18 19:19:19 +00:00
Gabor Juhos
73f7a1c224
ar71xx: optimize register access in ar71xx_pci.c
...
SVN-Revision: 20287
2010-03-18 19:19:16 +00:00
Gabor Juhos
1dedaf30a6
ar71xx: optimize register access in irq.c
...
SVN-Revision: 20286
2010-03-18 19:19:13 +00:00
Gabor Juhos
2438a03ce4
ar71xx: optimize register access in ar724x_pci.c
...
SVN-Revision: 20285
2010-03-18 19:19:10 +00:00
Gabor Juhos
d02975eb0d
ar71xx: introduce global ar724x_pci_ctrl_base variable
...
SVN-Revision: 20284
2010-03-18 19:19:07 +00:00
Gabor Juhos
b051a3b784
ar71xx: add error handling to ar724x_pcibios_init
...
SVN-Revision: 20283
2010-03-18 19:19:03 +00:00
Gabor Juhos
695e989c6f
ar71xx: move ar724x_pci_* helpers to ar724x-pci.c
...
SVN-Revision: 20282
2010-03-18 19:18:58 +00:00
Gabor Juhos
5f109ef2f3
ar71xx: move PCI intterupt handling code to pci-ar7{1xx,24x}.c
...
SVN-Revision: 20281
2010-03-18 19:18:54 +00:00
Gabor Juhos
4d32460353
ar71xx: use set_irq_chained_handler for the PCI IRQs
...
SVN-Revision: 20280
2010-03-18 19:18:50 +00:00
Gabor Juhos
1b8137eefc
ar71xx: merge AR71XX_IRQ_CPU_{PCI,WMAC} into AR71XX_IRQ_CPU_IP2
...
SVN-Revision: 20279
2010-03-18 19:18:46 +00:00
Gabor Juhos
58911deda5
ar71xx: remove unnecessary includes from setup.c
...
SVN-Revision: 20278
2010-03-18 19:18:41 +00:00
Gabor Juhos
ca49e09c9a
ar71xx: fix ar724x_pci_wr{,_nf} helpers
...
SVN-Revision: 20277
2010-03-18 19:18:36 +00:00
Gabor Juhos
d350e4cf40
ar71xx: fix semantics error in the __ar71xx_gpio_get_value function.
...
* Thanks to Pascal Dornier
SVN-Revision: 20247
2010-03-16 19:53:25 +00:00
Gabor Juhos
74556519e3
ar71xx: optimize GPIO code
...
SVN-Revision: 20242
2010-03-16 14:02:31 +00:00
Felix Fietkau
0849a208ce
ar71xx: fix oprofile support
...
SVN-Revision: 20150
2010-03-11 18:48:57 +00:00
Gabor Juhos
b21308313e
ar71xx: override lan port names on the RB750
...
SVN-Revision: 20096
2010-03-09 18:05:48 +00:00
Gabor Juhos
45ff7289fe
ar71xx: allow overriding of the lan port names on AP91 based boards
...
SVN-Revision: 20095
2010-03-09 18:05:45 +00:00
Gabor Juhos
9003a98d83
ar71xx: fix a typo in the ar7240 dsa driver
...
SVN-Revision: 20093
2010-03-09 18:05:39 +00:00
Gabor Juhos
2a818f388a
ar71xx: ag71xx: fix MAC address setup
...
SVN-Revision: 20092
2010-03-09 18:05:36 +00:00
Gabor Juhos
d58a367083
ar71xx: add NAND driver for the RB750
...
SVN-Revision: 20054
2010-03-08 12:10:23 +00:00
Gabor Juhos
6c1be20c2a
ar71xx: add ar71xx_gpio_function_setup
...
SVN-Revision: 20053
2010-03-08 12:10:14 +00:00
Gabor Juhos
6600fab893
ar71xx: add LED driver for the RB750
...
SVN-Revision: 20051
2010-03-08 12:10:01 +00:00
Gabor Juhos
a1a9727fbf
ar71xx: add latch handling code for the RB750
...
SVN-Revision: 20050
2010-03-08 12:09:49 +00:00
Gabor Juhos
5e8c8818ed
ar71xx: add preliminary support for the RouterBOARD 750
...
SVN-Revision: 20029
2010-03-07 05:41:01 +00:00
Gabor Juhos
10ad4ea96c
ar71xx: rename mach-rb-4xx.c to mach-rb4xx.c, and change Kconfig symbol
...
SVN-Revision: 20027
2010-03-07 05:40:56 +00:00
Gabor Juhos
97c35a7dde
ar71xx: don't init PCI irqs on the AR7240 if the PCIe subsystem are in reset
...
SVN-Revision: 20007
2010-03-05 20:29:29 +00:00
Gabor Juhos
2702ae4e8f
ar71xx: ag71xx: move calling ag71xx_phy_stop out from spinlock
...
SVN-Revision: 20004
2010-03-05 20:29:22 +00:00
Gabor Juhos
a4bccded57
ar71xx: ag71xx: move link update function
...
SVN-Revision: 20003
2010-03-05 20:29:18 +00:00
Gabor Juhos
eacf9a7614
ar71xx: ag71xx: don't use dev->trans_start
...
SVN-Revision: 20002
2010-03-05 20:29:14 +00:00
Gabor Juhos
ba288eeb84
ar71xx: ag71xx: use dma_unmap_single to unmap frames
...
SVN-Revision: 20001
2010-03-05 20:29:10 +00:00
Gabor Juhos
0e4eaea770
ar71xx: ag71xx: use correct device pointer for dma_map_single
...
SVN-Revision: 19951
2010-03-02 13:36:18 +00:00
Gabor Juhos
84823e1477
ar71xx: ag71xx: don't use virt_to_phys
...
SVN-Revision: 19950
2010-03-02 13:36:15 +00:00
Gabor Juhos
4a987d6008
ar71xx: ag71xx: simplify register access functions
...
SVN-Revision: 19949
2010-03-02 13:36:12 +00:00
Gabor Juhos
e157281c5d
ar71xx: ag71xx: use NETDEV_TX_OK
...
SVN-Revision: 19948
2010-03-02 13:36:09 +00:00
Gabor Juhos
347c5bc7fc
ar71xx: use COMMAND_LINE_SIZE
...
SVN-Revision: 19947
2010-03-02 13:36:04 +00:00
Gabor Juhos
b41c276df4
ar71xx: register DSA switch for the AP91 based boards
...
SVN-Revision: 19928
2010-03-01 07:34:43 +00:00
Gabor Juhos
6a702d127b
ar71xx: add DSA driver for the AR7240 built-in ethernet switch
...
SVN-Revision: 19927
2010-03-01 07:34:41 +00:00
Gabor Juhos
8e22134773
ar71xx: add QinQ tagging format for the DSA driver
...
SVN-Revision: 19926
2010-03-01 07:34:37 +00:00
Gabor Juhos
30a2da99a1
ar71xx: register RTL8366RB switch on the TL-WR1043NB board
...
Thanks to Andrew Tarabaras.
SVN-Revision: 19839
2010-02-24 13:39:18 +00:00
Gabor Juhos
f771c35033
ar71xx: fix pll value for the eth0 interface on the TL-WR1043ND board
...
Thanks to Andrew Tarabaras
SVN-Revision: 19835
2010-02-24 13:38:51 +00:00
Gabor Juhos
1612fd447d
ar71xx: enable TX/RX flow control on the AR7240
...
SVN-Revision: 19832
2010-02-24 13:38:41 +00:00
Gabor Juhos
f68a1d0a63
ar71xx: fix mac addresses on the DIR-600 rev. A1 board
...
SVN-Revision: 19752
2010-02-19 11:52:42 +00:00
Gabor Juhos
f792c3647e
ar71xx: fix wireless mac address on the TL-WR741ND
...
SVN-Revision: 19751
2010-02-19 11:52:39 +00:00
Gabor Juhos
ccbfcba859
ar71xx: move AP91 specific ethernet initialization into a separate file
...
SVN-Revision: 19750
2010-02-19 11:52:36 +00:00
Gabor Juhos
da5cacba76
ar71xx: add missing GPIO LED for the WNDR3700 board
...
Signed-off-by: Scott Dudley <spmsink@hotmail.com>
SVN-Revision: 19744
2010-02-19 11:52:19 +00:00
Gabor Juhos
b00fe580ed
ar71xx: fix polarity of GPIO buttons on the WNDR3700 board
...
Signed-off-by: Scott Dudley <spmsink@hotmail.com>
SVN-Revision: 19743
2010-02-19 11:52:15 +00:00
Gabor Juhos
0017e832cc
ar71xx: fix WLAN mac address on the TL-WR1043ND
...
SVN-Revision: 19573
2010-02-10 20:01:20 +00:00
Gabor Juhos
0cbc5f678d
ar71xx/mac80211: add a workaround for the bad signal strength on the WNDR3700
...
SVN-Revision: 19565
2010-02-09 16:27:35 +00:00
Gabor Juhos
c747902042
ar71xx: add missing fields to the ar71xx-ehci driver
...
SVN-Revision: 19534
2010-02-06 17:00:16 +00:00
Gabor Juhos
49c4df5487
rtl8366: make it available on all platforms
...
SVN-Revision: 19329
2010-01-25 15:13:38 +00:00
Gabor Juhos
97b983c8b9
rtl8366s: simplify mib counters handling
...
SVN-Revision: 19326
2010-01-25 14:24:53 +00:00
Gabor Juhos
20df2bf825
ar71xx: merge generic machine code into setup.c
...
SVN-Revision: 19325
2010-01-25 14:24:48 +00:00
Gabor Juhos
2b5ba9073f
rtl8366_smi: move RTL8366S driver into a separate file
...
SVN-Revision: 19279
2010-01-22 17:38:07 +00:00
Gabor Juhos
46b0e6643a
rtl8366_smi: rename rtl8366s specific functions and definitions
...
SVN-Revision: 19278
2010-01-22 17:37:58 +00:00
Gabor Juhos
08055fd6d1
rtl8366_smi: move chip specific stuff into its own struct
...
SVN-Revision: 19277
2010-01-22 17:37:53 +00:00
Gabor Juhos
de751af190
rtl8366_smi: separate gpio initialization
...
SVN-Revision: 19276
2010-01-22 17:37:50 +00:00
Gabor Juhos
a1247d2f83
rtl8366_smi: store GPIO numbers directly in the rtl8366_smi struct
...
SVN-Revision: 19275
2010-01-22 17:37:47 +00:00
Gabor Juhos
ab278275ee
rtl8366_smi: store device pointer instead of plaform_device
...
SVN-Revision: 19274
2010-01-22 17:37:41 +00:00
Gabor Juhos
edfa82ab60
rtl8366_smi: rename switch attribute handlers
...
SVN-Revision: 19254
2010-01-21 12:13:43 +00:00
Gabor Juhos
7aefde9f66
rtl8366_smi: simplify rtl8366_attr_get_port_link function
...
SVN-Revision: 19250
2010-01-20 20:36:30 +00:00
Gabor Juhos
83fb9f73e1
rtl8366_smi: make rtl8366_phy_config_{aneg,init} static
...
SVN-Revision: 19249
2010-01-20 20:36:27 +00:00
Gabor Juhos
cad07a09c1
rtl8366_smi: simplify rtl8366_{get,set}_port_vlan_index functions
...
SVN-Revision: 19248
2010-01-20 20:36:24 +00:00
Gabor Juhos
50849c6cff
rtl8366_smi: minor code optimalizations
...
SVN-Revision: 19247
2010-01-20 20:36:21 +00:00
Gabor Juhos
3e6b3ea088
rtl8366_smi: coding style cleanup
...
SVN-Revision: 19246
2010-01-20 17:40:39 +00:00
Gabor Juhos
5e5451a54d
rtl8366_smi: add Kconfig option for the debugfs stuff
...
SVN-Revision: 19243
2010-01-20 09:30:36 +00:00
Gabor Juhos
0d48b043b1
rtl8366_smi: fix error checking in rtl8366s_set_vlan_4k_entry
...
SVN-Revision: 19242
2010-01-20 09:30:32 +00:00
Gabor Juhos
0296b24f80
rtl8366_smi: fix parameter checking in rtl8366_attr_get_vlan_info
...
SVN-Revision: 19241
2010-01-20 09:30:25 +00:00
Gabor Juhos
743e7617b0
rtl8366_smi: fix return codes in rtl8366s_reset_vlan
...
SVN-Revision: 19240
2010-01-20 07:06:18 +00:00
Gabor Juhos
43815d730b
rtl8366_smi: move variable initialization out from the loop
...
SVN-Revision: 19239
2010-01-20 07:06:15 +00:00
Gabor Juhos
fbc389ae9d
rtl8366_smi: fix port->flags calculation in rtl8366_get_ports
...
SVN-Revision: 19237
2010-01-20 07:06:10 +00:00
Gabor Juhos
71d0a7a7bf
ar71xx: fix ethernet mac address on the WZR-HP-G300NH
...
SVN-Revision: 19216
2010-01-18 09:01:44 +00:00
Gabor Juhos
c4838a0f9e
rtl8366_smi: use inline function instead of a macro on top of container_of
...
SVN-Revision: 19215
2010-01-18 09:01:40 +00:00
Felix Fietkau
88ddc59655
rtl8366_smi: reset the vlan table when resetting the switch and use vlan get/set ports for vlan member lists
...
SVN-Revision: 19206
2010-01-18 00:12:12 +00:00
Felix Fietkau
b228fd428a
rtl8366_smi: fix excessive stack usage and buffer handling bugs
...
SVN-Revision: 19205
2010-01-18 00:12:07 +00:00
Felix Fietkau
8394a32815
ar71xx: fix return statement in the rtl8366 driver
...
SVN-Revision: 19204
2010-01-17 22:57:08 +00:00
Gabor Juhos
d2229cb1cc
rtl8366_smi: register the switch directly from the probe routine
...
SVN-Revision: 19202
2010-01-17 21:37:09 +00:00
Gabor Juhos
088ba7e1db
rtl8366_smi: use vlanmc name for all vlanconfig variables
...
SVN-Revision: 19201
2010-01-17 21:17:59 +00:00
Gabor Juhos
639212697d
rtl8366_smi: use vlan4k name for all vlan4kentry variables
...
SVN-Revision: 19200
2010-01-17 21:17:57 +00:00
Gabor Juhos
9cb11e2eef
rtl8366_smi: move memset into the rtl8366s_get_member_config function
...
SVN-Revision: 19199
2010-01-17 21:17:53 +00:00
Gabor Juhos
f55beb9e9b
rtl8366_smi: move memset into the rtl8366s_get_vlan_4k_entry function
...
SVN-Revision: 19198
2010-01-17 21:17:49 +00:00
Gabor Juhos
7f9b0eca90
rtl8366_smi: add vid parameter to the rtl8366s_get_vlan_4k_entry function
...
SVN-Revision: 19197
2010-01-17 21:17:46 +00:00
Gabor Juhos
a90792056c
ar71xx: upgrade rtl8366_smi driver
...
Thanks to Antti Seppälä.
Patch from https://forum.openwrt.org/viewtopic.php?pid=100150#p100150
SVN-Revision: 19196
2010-01-17 21:17:42 +00:00
Gabor Juhos
3789aa82ac
ar71xx: fix phy interface selection for the RB-450G
...
Patch from: https://forum.openwrt.org/viewtopic.php?pid=95865#p95865
SVN-Revision: 19185
2010-01-17 14:33:26 +00:00
Gabor Juhos
e02f1581d0
Fix Routerboard 411ar on board wireless
...
This patch adds the appropriate interrupt for slot 0 pin 1 of the Routerboard 411ar (RB411 with on board Atheros wireless).
Signed-off-by: Andrew Bates abates@omeganetserv.com
SVN-Revision: 19184
2010-01-17 14:33:23 +00:00
Gabor Juhos
cb80426641
ar71xx: add preliminary support for the Buffalo WZR-HP-G300NH
...
SVN-Revision: 19150
2010-01-15 12:08:03 +00:00
Gabor Juhos
e92c0c7830
ar71xx: add GPIO driver for the NXP 74HC153 chip
...
SVN-Revision: 19149
2010-01-15 12:07:58 +00:00
Gabor Juhos
3dc1073b53
ar71xx: reduce button threshold values
...
SVN-Revision: 19116
2010-01-13 10:18:30 +00:00
Gabor Juhos
58301cdeb8
ar71xx: add support for the D-Link DIR-600 rev. A1 board
...
SVN-Revision: 19100
2010-01-11 08:02:10 +00:00
Gabor Juhos
d8ace8978a
ar71xx: add NAPI statistics to the ag71xx driver
...
SVN-Revision: 19079
2010-01-08 20:22:55 +00:00
Gabor Juhos
a37ae4f128
ar71xx: add missing flash partition for the DIR-825
...
SVN-Revision: 19075
2010-01-08 13:35:25 +00:00
Jo-Philipp Wich
d8bd549d71
fix typo after r19054
...
SVN-Revision: 19059
2010-01-06 20:16:07 +00:00
Gabor Juhos
d2ff313775
ar71xx: don't include nvram.h for the WRT400N
...
SVN-Revision: 19055
2010-01-06 15:24:04 +00:00
Gabor Juhos
51c76750fc
ar71xx: add detailed interrupt statistics for the ag71xx driver
...
SVN-Revision: 19054
2010-01-06 15:24:01 +00:00
Gabor Juhos
de6bbad010
ar71xx: init PCI on the WRT400N board (thanks to Ben Pfountz for testing)
...
SVN-Revision: 19047
2010-01-05 20:12:12 +00:00
Gabor Juhos
46b572636b
ar71xx: update Kconfig of the ag71xx driver
...
SVN-Revision: 19032
2010-01-04 14:28:28 +00:00
Gabor Juhos
63a320c8f7
ar71xx: add dummy debugfs support for the ag71xx driver
...
SVN-Revision: 19031
2010-01-04 14:28:25 +00:00
Gabor Juhos
953ff0cf43
ar71xx: fix bi-color QSS LED on the TL-WR941ND v2 board
...
SVN-Revision: 18988
2010-01-01 19:40:04 +00:00
Gabor Juhos
f8b7b8ee41
ar71xx: update mips multi-machine stuff
...
SVN-Revision: 18985
2010-01-01 11:28:19 +00:00
Gabor Juhos
1a32a435f4
ar71xx: select AR71XX_NVRAM for the WRT160NL
...
SVN-Revision: 18984
2010-01-01 11:11:43 +00:00