Gabor Juhos
869f3cb718
ar71xx: remove superfluous fifo_cfg overrides
...
SVN-Revision: 26859
14 years ago
Gabor Juhos
5d77f370d6
ar71xx: ag71xx: make switch register access atomic
...
Reading of the PHY registers occasionally returns with bogus values
under heavy load. This misleads the PHY driver and thus causes false
link/speed change notifications which leads to performance loss.
This is easily noticable during an iperf session:
...
[ 3] 52.0-53.0 sec 11.3 MBytes 94.4 Mbits/sec
[ 3] 53.0-54.0 sec 11.4 MBytes 95.4 Mbits/sec
eth1: link down
br-lan: port 2(eth1) entering forwarding state
eth1: link up (100Mbps/Full duplex)
br-lan: port 2(eth1) entering forwarding state
br-lan: port 2(eth1) entering forwarding state
[ 3] 54.0-55.0 sec 6.75 MBytes 56.6 Mbits/sec
[ 3] 55.0-56.0 sec 0.00 Bytes 0.00 bits/sec
[ 3] 56.0-57.0 sec 10.5 MBytes 88.1 Mbits/sec
...
[ 3] 169.0-170.0 sec 11.4 MBytes 95.4 Mbits/sec
[ 3] 170.0-171.0 sec 11.4 MBytes 95.4 Mbits/sec
eth1: link up (10Mbps/Half duplex)
[ 3] 171.0-172.0 sec 7.63 MBytes 64.0 Mbits/sec
[ 3] 172.0-173.0 sec 9.38 MBytes 78.6 Mbits/sec
eth1: link up (100Mbps/Full duplex)
[ 3] 173.0-174.0 sec 11.3 MBytes 94.4 Mbits/sec
[ 3] 174.0-175.0 sec 11.4 MBytes 95.4 Mbits/sec
SVN-Revision: 26856
14 years ago
Gabor Juhos
3711658281
ar71xx: ag71xx: fix section mismatch warnings
...
The function __devinit ag71xx_probe() references
a function __devexit ag71xx_phy_disconnect().
This is often seen when error handling in the init function
uses functionality in the exit path.
The fix is often to remove the __devexit annotation of
ag71xx_phy_disconnect() so it may be used outside an exit section.
The function ag71xx_phy_disconnect() references a function in an exit
section.
Often the function ag71xx_ar7240_cleanup() has valid usage outside the
exit section
and the fix is to remove the __devexit annotation of
ag71xx_ar7240_cleanup.
SVN-Revision: 26855
14 years ago
Gabor Juhos
ef53029870
ar71xx: ag71xx: fix build error if debugfs is enabled
...
SVN-Revision: 26854
14 years ago
Gabor Juhos
8b67d748cb
ar71xx: ag71xx: add debugfs entry for [rt]x_ring
...
SVN-Revision: 26845
14 years ago
Gabor Juhos
2166432ba0
ar71xx: ag71xx: add timestamps to ag71xx_buf
...
SVN-Revision: 26844
14 years ago
Gabor Juhos
896e1d1ab4
ar71xx: ag71xx: use dynamically allocated buffer for napi_stats
...
SVN-Revision: 26843
14 years ago
Gabor Juhos
a6708d20d1
ar71xx: ag71xx: use debugfs_remove_recursive
...
SVN-Revision: 26842
14 years ago
Gabor Juhos
c39e5b9360
ar71xx: override wmac device name for the AR934x SoCs
...
SVN-Revision: 26840
14 years ago
Felix Fietkau
cbc75a9c70
ar71xx: use the ar8316 switch driver on the PB92 board and add a matching default network config
...
SVN-Revision: 26779
14 years ago
Felix Fietkau
36aecb08b8
ar71xx: fix MDIO access on ar7242 (based on a patch by Jess Zhu)
...
SVN-Revision: 26777
14 years ago
Gabor Juhos
fa9f45f345
ar71xx: fix build error w/o CONFIG_PCI
...
SVN-Revision: 26606
14 years ago
Gabor Juhos
e193547733
ar71xx: use the gpio_keys_polled driver instead of gpio_buttons
...
SVN-Revision: 26603
14 years ago
Gabor Juhos
54ede24829
ar71xx: Add support for WZR-HP-G301NH
...
Add support for the Buffalo WZR-HP-G301NH. The only difference between it
and the WZR-HP-G00NH is that it has a RTL8366RB instead of a RTL8366S.
Since we don't do runtime detection of the switch, we need a separate
machine definition for it.
While we are at it, also rename the profile to reflect that it now is for
more than one device.
Signed-off-by: Jonas Gorski <jonas.gorski+openwrt@gmail.com>
SVN-Revision: 26601
14 years ago
Gabor Juhos
ef4c1d49a6
ar71xx: merge dev-ar9{13,34}x-wmac into dev-ar9xxx-wmac
...
SVN-Revision: 26595
14 years ago
Gabor Juhos
4711dea8ff
ar71xx: fix AR934X_WMAC_SIZE
...
SVN-Revision: 26594
14 years ago
Gabor Juhos
8586e61b00
ar71xx: fix section mismatch
...
SVN-Revision: 26562
14 years ago
Gabor Juhos
a8bf5e3cdb
ar71xx: rename ar934x_ref_freq to ar71xx_ref_freq
...
Also initialize that for each SoC and print its value along with the
other frequencies.
SVN-Revision: 26561
14 years ago
Gabor Juhos
5573d6eb28
ar71xx: show the SoC type earlier
...
SVN-Revision: 26560
14 years ago
Gabor Juhos
ab4c3b3a1c
ar71xx: cleanup SoC detection code
...
SVN-Revision: 26559
14 years ago
Gabor Juhos
3310c70702
ar71xx: Fix mac address offset for AR934x
...
Signed-off-by: Vasanthakumar Thiagarajan <vasanth@atheros.com>
SVN-Revision: 26557
14 years ago
Gabor Juhos
8f889f9250
ar71xx: add DB120 board specific PCI initialization
...
Signed-off-by: Jaiganesh Narayanan <jnarayanan@atheros.com>
SVN-Revision: 26523
14 years ago
Gabor Juhos
a0c3d49064
ar71xx: register WMAC device on the DB120 board
...
Signed-off-by: Jaiganesh Narayanan <jnarayanan@atheros.com>
SVN-Revision: 26522
14 years ago
Gabor Juhos
428888faec
ar71xx: add support for the built-in WMAC of the AR934x
...
Signed-off-by: Jaiganesh Narayanan <jnarayanan@atheros.com>
SVN-Revision: 26521
14 years ago
Gabor Juhos
14b42c44ec
ar71xx: add initial support for the Atheros DB120 board
...
Signed-off-by: Jaiganesh Narayanan <jnarayanan@atheros.com>
SVN-Revision: 26518
14 years ago
Gabor Juhos
2b064bb398
ar71xx: add support for the watchdog of the AR934x SoCs
...
Signed-off-by: Jaiganesh Narayanan <jnarayanan@atheros.com>
SVN-Revision: 26516
14 years ago
Gabor Juhos
e4555809c7
ar71xx: enable PCI for the AR934[24] SoCs
...
Signed-off-by: Jaiganesh Narayanan <jnarayanan@atheros.com>
SVN-Revision: 26515
14 years ago
Gabor Juhos
4f395745af
ar71xx: enable USB support for the AR934x SoCs
...
Signed-off-by: Jaiganesh Narayanan <jnarayanan@atheros.com>
SVN-Revision: 26514
14 years ago
Gabor Juhos
25693b4769
ar71xx: enable GPIO support for the AR934x SoCs
...
Signed-off-by: Jaiganesh Narayanan <jnarayanan@atheros.com>
SVN-Revision: 26513
14 years ago
Gabor Juhos
334a5ec36e
ar71xx: add AR934x specific glue for ar7100_device{start,stop}
...
Signed-off-by: Jaiganesh Narayanan <jnarayanan@atheros.com>
SVN-Revision: 26512
14 years ago
Gabor Juhos
ccd3ebd309
ar71xx: add AR934x specific UART clock initialization
...
Signed-off-by: Jaiganesh Narayanan <jnarayanan@atheros.com>
SVN-Revision: 26511
14 years ago
Gabor Juhos
91470edada
ar71xx: add AR934x specific glue for IRQ initialization
...
Signed-off-by: Jaiganesh Narayanan <jnarayanan@atheros.com>
SVN-Revision: 26510
14 years ago
Gabor Juhos
3b209880bc
ar71xx: add initial support for the AR934x SoCs
...
Signed-off-by: Jaiganesh Narayanan <jnarayanan@atheros.com>
SVN-Revision: 26509
14 years ago
Felix Fietkau
98c78c13db
ar71xx: enable access to the WAN port PHY on a few devices, adds WAN link detection
...
SVN-Revision: 26394
14 years ago
Felix Fietkau
41ee4a283c
ar71xx: only allow internal access to the ar7240 switch, export the MDIO bus behind the switch instead
...
SVN-Revision: 26393
14 years ago
Felix Fietkau
acbb3e50e7
ar71xx: frequent ethernet mac resets upset the MDIO bus on ar7240, so do not run them on every device open, only on tx timeouts
...
SVN-Revision: 26392
14 years ago
Gabor Juhos
8eb616de82
ar71xx: add support for the TP-Link TL-WA901ND v2 board
...
Patch-by: Jonathan Benett <jbscience87@gmail.com>
SVN-Revision: 26119
14 years ago
Felix Fietkau
5bddd70a37
Revert "ar71xx: add missing gpio_set_debounce function" - wrong target
...
SVN-Revision: 25854
14 years ago
Felix Fietkau
57a14f4e15
ar71xx: add missing gpio_set_debounce function
...
SVN-Revision: 25848
14 years ago
Gabor Juhos
256169cbd0
ar71xx: add rtl8366s initvals for the DIR-825 board
...
SVN-Revision: 25121
14 years ago
Gabor Juhos
67c3e0bf7e
ar71xx: add support for the WNDR3700v2 board
...
Based on a patch by Mark Mentovai <mark@moxienet.com>
SVN-Revision: 25118
14 years ago
Jo-Philipp Wich
18ed5bca9b
fix null pointer access in mach-dir-600-a1.c machine setup ( #8671 )
...
SVN-Revision: 25043
14 years ago
Gabor Juhos
b67bbfe287
ar71xx: fix wlan LED on the TL-WR741 board
...
* Patch from #8630
SVN-Revision: 24963
14 years ago
Gabor Juhos
dd53effe15
ar71xx: fix wrong names of the WPS LED/button
...
Reported-by: Nuno Gonçalves
SVN-Revision: 24961
14 years ago
Gabor Juhos
23a6173099
ar71xx: use gpio_*_cansleep calls in the rb4xx NAND driver
...
SVN-Revision: 24944
14 years ago
Gabor Juhos
0de8689b70
ar71xx: use spinlock in ar71xx_device_{start,stop}
...
SVN-Revision: 24929
14 years ago
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
14 years ago
Gabor Juhos
cafe08a1b2
ar71xx: remove stray semicolons
...
SVN-Revision: 24651
14 years ago
Gabor Juhos
01c76bf128
ar71xx: fix WLAN LEDs on the DIR-825 board
...
SVN-Revision: 24650
14 years ago
Gabor Juhos
c1d3a23d19
ar71xx: add helper function to setup ath9k LED/GPIO on the AP94 based boards
...
SVN-Revision: 24649
14 years ago