Commit Graph

1018 Commits

Author SHA1 Message Date
Matteo Croce
17e257925f ar71xx: don't probe the LAN PHY
SVN-Revision: 26924
2011-05-17 11:15:24 +00:00
Matteo Croce
4deecea26b ar71xx: detect link on LAN ports
SVN-Revision: 26922
2011-05-17 11:12:56 +00:00
Matteo Croce
2ea528d1d0 ar71xx: add link detection on Ubiquiti devices WAN port
SVN-Revision: 26891
2011-05-14 23:31:50 +00:00
Matteo Croce
c0c2e18452 use correct macros and frame size in ag71xx
SVN-Revision: 26890
2011-05-14 23:10:06 +00:00
Matteo Croce
99d1d4f795 ar71xx: cosmetic fixes
SVN-Revision: 26889
2011-05-14 23:08:00 +00:00
Gabor Juhos
9b5036a29d ar71xx: populate LED3 on the JA76PF board
Patch-by: Cezary Jackiewicz <cezary@eko.one.pl>

SVN-Revision: 26862
2011-05-08 21:38:51 +00:00
Gabor Juhos
b39eebdf1e ar71xx: add uci config for the WLAN LED on the WRT160NL
Based on a patch by Magyar Szabolcs <mszabi@freemail.hu>

SVN-Revision: 26861
2011-05-08 21:38:49 +00:00
Gabor Juhos
858e2e719b ar71xx: use phy0tpt trigger for the WLAN LEDs
SVN-Revision: 26860
2011-05-08 21:38:48 +00:00
Gabor Juhos
869f3cb718 ar71xx: remove superfluous fifo_cfg overrides
SVN-Revision: 26859
2011-05-08 21:38:46 +00:00
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
2011-05-08 16:32:53 +00:00
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
2011-05-08 13:30:36 +00:00
Gabor Juhos
ef53029870 ar71xx: ag71xx: fix build error if debugfs is enabled
SVN-Revision: 26854
2011-05-08 13:30:26 +00:00
Gabor Juhos
8b67d748cb ar71xx: ag71xx: add debugfs entry for [rt]x_ring
SVN-Revision: 26845
2011-05-07 12:40:34 +00:00
Gabor Juhos
2166432ba0 ar71xx: ag71xx: add timestamps to ag71xx_buf
SVN-Revision: 26844
2011-05-07 12:40:28 +00:00
Gabor Juhos
896e1d1ab4 ar71xx: ag71xx: use dynamically allocated buffer for napi_stats
SVN-Revision: 26843
2011-05-07 12:40:26 +00:00
Gabor Juhos
a6708d20d1 ar71xx: ag71xx: use debugfs_remove_recursive
SVN-Revision: 26842
2011-05-07 12:40:25 +00:00
Gabor Juhos
c39e5b9360 ar71xx: override wmac device name for the AR934x SoCs
SVN-Revision: 26840
2011-05-07 09:23:32 +00:00
Alexandros C. Couloumbis
7fb06ce6cd linux/ar71xx: add some missing symbols for nand/yaffs targets
SVN-Revision: 26827
2011-05-05 07:19:46 +00:00
Felix Fietkau
cbc75a9c70 ar71xx: use the ar8316 switch driver on the PB92 board and add a matching default network config
SVN-Revision: 26779
2011-04-28 21:27:42 +00:00
Felix Fietkau
36aecb08b8 ar71xx: fix MDIO access on ar7242 (based on a patch by Jess Zhu)
SVN-Revision: 26777
2011-04-28 19:30:49 +00:00
Alexandros C. Couloumbis
f13581eedb linux/ar71xx: update wget2nand script
SVN-Revision: 26747
2011-04-21 12:38:25 +00:00
Alexandros C. Couloumbis
015b010f90 linux/ar71xx: add 2.6.38 preliminary support
SVN-Revision: 26746
2011-04-21 11:45:23 +00:00
Felix Fietkau
cddc775ee8 ar71xx: enable the ip17xx PHY driver (fixes #5193, #8027)
SVN-Revision: 26670
2011-04-14 23:51:12 +00:00
Felix Fietkau
92bd56fea1 ar71xx: replace the madwifi profile with an ath5k profile
SVN-Revision: 26626
2011-04-12 21:10:45 +00:00
Gabor Juhos
fa9f45f345 ar71xx: fix build error w/o CONFIG_PCI
SVN-Revision: 26606
2011-04-12 13:14:56 +00:00
Gabor Juhos
adb6217471 ar71xx: don't hardcode console parameters in kernel config
SVN-Revision: 26605
2011-04-12 13:14:53 +00:00
Gabor Juhos
e193547733 ar71xx: use the gpio_keys_polled driver instead of gpio_buttons
SVN-Revision: 26603
2011-04-12 09:29:21 +00:00
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
2011-04-12 09:29:10 +00:00
Gabor Juhos
ef4c1d49a6 ar71xx: merge dev-ar9{13,34}x-wmac into dev-ar9xxx-wmac
SVN-Revision: 26595
2011-04-11 17:37:08 +00:00
Gabor Juhos
4711dea8ff ar71xx: fix AR934X_WMAC_SIZE
SVN-Revision: 26594
2011-04-11 17:37:03 +00:00
Gabor Juhos
8586e61b00 ar71xx: fix section mismatch
SVN-Revision: 26562
2011-04-09 18:47:55 +00:00
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
2011-04-09 18:47:52 +00:00
Gabor Juhos
5573d6eb28 ar71xx: show the SoC type earlier
SVN-Revision: 26560
2011-04-09 18:47:50 +00:00
Gabor Juhos
ab4c3b3a1c ar71xx: cleanup SoC detection code
SVN-Revision: 26559
2011-04-09 18:47:49 +00:00
Gabor Juhos
694d9059c9 ar71xx: sync kernel configuration
SVN-Revision: 26558
2011-04-09 18:47:45 +00:00
Gabor Juhos
3310c70702 ar71xx: Fix mac address offset for AR934x
Signed-off-by: Vasanthakumar Thiagarajan <vasanth@atheros.com>

SVN-Revision: 26557
2011-04-09 18:47:42 +00:00
Gabor Juhos
8f889f9250 ar71xx: add DB120 board specific PCI initialization
Signed-off-by: Jaiganesh Narayanan <jnarayanan@atheros.com>

SVN-Revision: 26523
2011-04-07 20:53:41 +00:00
Gabor Juhos
a0c3d49064 ar71xx: register WMAC device on the DB120 board
Signed-off-by: Jaiganesh Narayanan <jnarayanan@atheros.com>

SVN-Revision: 26522
2011-04-07 20:53:37 +00:00
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
2011-04-07 20:53:34 +00:00
Gabor Juhos
13b1bd2ec2 ar71xx: create a separate profile for the Atheros DB120 board
Signed-off-by: Jaiganesh Narayanan <jnarayanan@atheros.com>

SVN-Revision: 26520
2011-04-07 20:53:25 +00:00
Gabor Juhos
72c84e6876 ar71xx: build firmware image for the Atheros DB120 board
Signed-off-by: Jaiganesh Narayanan <jnarayanan@atheros.com>

SVN-Revision: 26519
2011-04-07 20:53:23 +00:00
Gabor Juhos
14b42c44ec ar71xx: add initial support for the Atheros DB120 board
Signed-off-by: Jaiganesh Narayanan <jnarayanan@atheros.com>

SVN-Revision: 26518
2011-04-07 20:53:19 +00:00
Gabor Juhos
f6ae4bf15f ar71xx: indicate AR934x support in menuconfig
Signed-off-by: Jaiganesh Narayanan <jnarayanan@atheros.com>

SVN-Revision: 26517
2011-04-07 20:53:14 +00:00
Gabor Juhos
2b064bb398 ar71xx: add support for the watchdog of the AR934x SoCs
Signed-off-by: Jaiganesh Narayanan <jnarayanan@atheros.com>

SVN-Revision: 26516
2011-04-07 20:53:10 +00:00
Gabor Juhos
e4555809c7 ar71xx: enable PCI for the AR934[24] SoCs
Signed-off-by: Jaiganesh Narayanan <jnarayanan@atheros.com>

SVN-Revision: 26515
2011-04-07 20:53:05 +00:00
Gabor Juhos
4f395745af ar71xx: enable USB support for the AR934x SoCs
Signed-off-by: Jaiganesh Narayanan <jnarayanan@atheros.com>

SVN-Revision: 26514
2011-04-07 20:53:03 +00:00
Gabor Juhos
25693b4769 ar71xx: enable GPIO support for the AR934x SoCs
Signed-off-by: Jaiganesh Narayanan <jnarayanan@atheros.com>

SVN-Revision: 26513
2011-04-07 20:53:00 +00:00
Gabor Juhos
334a5ec36e ar71xx: add AR934x specific glue for ar7100_device{start,stop}
Signed-off-by: Jaiganesh Narayanan <jnarayanan@atheros.com>

SVN-Revision: 26512
2011-04-07 20:52:57 +00:00
Gabor Juhos
ccd3ebd309 ar71xx: add AR934x specific UART clock initialization
Signed-off-by: Jaiganesh Narayanan <jnarayanan@atheros.com>

SVN-Revision: 26511
2011-04-07 20:52:53 +00:00
Gabor Juhos
91470edada ar71xx: add AR934x specific glue for IRQ initialization
Signed-off-by: Jaiganesh Narayanan <jnarayanan@atheros.com>

SVN-Revision: 26510
2011-04-07 20:52:49 +00:00