Gabor Juhos
c8d182406d
ar71xx: create factory images for the WZR-HP-G30{0,1}NH boards
...
SVN-Revision: 27051
14 years ago
Gabor Juhos
0677e16248
ar71xx: Fix header offset for newer WRT160NL models
...
Newer WRT160NLs have a flash chip with 4K erase blocks instead of 64K,
resulting in miscalculated partition sizes.
Since the actual sizes did not change, hardcode them to their current
sizes, and make sure they are at least one erase block big (in case Cisco
decides to start to use chips with 128K erase blocks).
Signed-off-by: Jonas Gorski <jonas.gorski+openwrt@gmail.com>
SVN-Revision: 27049
14 years ago
Gabor Juhos
be97e2a043
ar71xx: add SOC_AR{71XX,724X,913X,934X} config symbols
...
SVN-Revision: 27048
14 years ago
Gabor Juhos
ea2f6d0edf
ar71xx: reduce the size of the squashfs-4k binaries
...
SVN-Revision: 27047
14 years ago
Gabor Juhos
5d5f72415e
ar71xx: initialize is_clk_25mhz field for AR9340 WMAC
...
SVN-Revision: 27045
14 years ago
Gabor Juhos
f7b3c3dfd1
ar71xx: sync ath9k_platform_data.h with compat-wireless
...
SVN-Revision: 27044
14 years ago
Gabor Juhos
650c7cc2fd
ar71xx: use the diag LED for diagnostic on the WZR-HP-G30XNH boards
...
SVN-Revision: 27043
14 years ago
Gabor Juhos
4834fdaccd
ar71xx: fix uci-defaults script for the WZR-HP-G30XNH boards
...
SVN-Revision: 27042
14 years ago
Gabor Juhos
60d5abbc27
ar71xx: ag71xx: make ring sizes configurable via ethtool
...
SVN-Revision: 27041
14 years ago
Gabor Juhos
7a2651f633
ar71xx: ag71xx: prepare to make ring sizes configurable
...
SVN-Revision: 27040
14 years ago
Gabor Juhos
669aba3871
ar71xx: ag71xx: nuke unused AG71XX_TX_FIFO_LEN define
...
Reported-by: Dave Täht <dave.taht@gmail.com>
SVN-Revision: 27039
14 years ago
Felix Fietkau
2b5402d128
ar71xx: only enable the rx engine after the link is up, fixes a race condition that got rx stuck when the interface is brought up during lots of inbound traffic (thx, matteo)
...
SVN-Revision: 27035
14 years ago
Felix Fietkau
0ebc93831f
ar71xx: disable flow control for ar724x, it can get stuck in a loop of continously sending MAC pause frames
...
SVN-Revision: 27034
14 years ago
Matteo Croce
17e257925f
ar71xx: don't probe the LAN PHY
...
SVN-Revision: 26924
14 years ago
Matteo Croce
4deecea26b
ar71xx: detect link on LAN ports
...
SVN-Revision: 26922
14 years ago
Matteo Croce
2ea528d1d0
ar71xx: add link detection on Ubiquiti devices WAN port
...
SVN-Revision: 26891
14 years ago
Matteo Croce
c0c2e18452
use correct macros and frame size in ag71xx
...
SVN-Revision: 26890
14 years ago
Matteo Croce
99d1d4f795
ar71xx: cosmetic fixes
...
SVN-Revision: 26889
14 years ago
Gabor Juhos
9b5036a29d
ar71xx: populate LED3 on the JA76PF board
...
Patch-by: Cezary Jackiewicz <cezary@eko.one.pl>
SVN-Revision: 26862
14 years ago
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
14 years ago
Gabor Juhos
858e2e719b
ar71xx: use phy0tpt trigger for the WLAN LEDs
...
SVN-Revision: 26860
14 years ago
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
Alexandros C. Couloumbis
7fb06ce6cd
linux/ar71xx: add some missing symbols for nand/yaffs targets
...
SVN-Revision: 26827
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
Alexandros C. Couloumbis
f13581eedb
linux/ar71xx: update wget2nand script
...
SVN-Revision: 26747
14 years ago
Alexandros C. Couloumbis
015b010f90
linux/ar71xx: add 2.6.38 preliminary support
...
SVN-Revision: 26746
14 years ago
Felix Fietkau
cddc775ee8
ar71xx: enable the ip17xx PHY driver ( fixes #5193 , #8027 )
...
SVN-Revision: 26670
14 years ago
Felix Fietkau
92bd56fea1
ar71xx: replace the madwifi profile with an ath5k profile
...
SVN-Revision: 26626
14 years ago
Gabor Juhos
fa9f45f345
ar71xx: fix build error w/o CONFIG_PCI
...
SVN-Revision: 26606
14 years ago
Gabor Juhos
adb6217471
ar71xx: don't hardcode console parameters in kernel config
...
SVN-Revision: 26605
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
694d9059c9
ar71xx: sync kernel configuration
...
SVN-Revision: 26558
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