summaryrefslogtreecommitdiffstats
path: root/target/linux/ar71xx
Commit message (Collapse)AuthorAgeFilesLines
* ar71xx: Fix header offset for newer WRT160NL modelsjuhosg2011-05-311-9/+16
| | | | | | | | | | | | 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27049 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: add SOC_AR{71XX,724X,913X,934X} config symbolsjuhosg2011-05-313-1/+63
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27048 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: reduce the size of the squashfs-4k binariesjuhosg2011-05-311-2/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27047 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: initialize is_clk_25mhz field for AR9340 WMACjuhosg2011-05-311-0/+4
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27045 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: sync ath9k_platform_data.h with compat-wirelessjuhosg2011-05-311-0/+2
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27044 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: use the diag LED for diagnostic on the WZR-HP-G30XNH boardsjuhosg2011-05-311-1/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27043 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: fix uci-defaults script for the WZR-HP-G30XNH boardsjuhosg2011-05-311-2/+2
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27042 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: ag71xx: make ring sizes configurable via ethtooljuhosg2011-05-312-0/+56
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27041 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: ag71xx: prepare to make ring sizes configurablejuhosg2011-05-313-35/+32
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27040 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: ag71xx: nuke unused AG71XX_TX_FIFO_LEN definejuhosg2011-05-311-1/+0
| | | | | | Reported-by: Dave Täht <dave.taht@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27039 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: only enable the rx engine after the link is up, fixes a race ↵nbd2011-05-301-67/+68
| | | | | | condition that got rx stuck when the interface is brought up during lots of inbound traffic (thx, matteo) git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27035 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: disable flow control for ar724x, it can get stuck in a loop of ↵nbd2011-05-301-5/+1
| | | | | | continously sending MAC pause frames git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27034 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: don't probe the LAN PHYmatteo2011-05-171-2/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26924 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: detect link on LAN portsmatteo2011-05-173-3/+32
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26922 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: add link detection on Ubiquiti devices WAN portmatteo2011-05-141-4/+9
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26891 3c298f89-4303-0410-b956-a3cf2f4a3e73
* use correct macros and frame size in ag71xxmatteo2011-05-141-3/+2
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26890 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: cosmetic fixesmatteo2011-05-141-5/+5
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26889 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: populate LED3 on the JA76PF boardjuhosg2011-05-081-0/+5
| | | | | | Patch-by: Cezary Jackiewicz <cezary@eko.one.pl> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26862 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: add uci config for the WLAN LED on the WRT160NLjuhosg2011-05-081-0/+11
| | | | | | Based on a patch by Magyar Szabolcs <mszabi@freemail.hu> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26861 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: use phy0tpt trigger for the WLAN LEDsjuhosg2011-05-082-2/+2
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26860 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: remove superfluous fifo_cfg overridesjuhosg2011-05-081-6/+0
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26859 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: ag71xx: make switch register access atomicjuhosg2011-05-081-6/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26856 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: ag71xx: fix section mismatch warningsjuhosg2011-05-082-2/+2
| | | | | | | | | | | | | | | | | | 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. git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26855 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: ag71xx: fix build error if debugfs is enabledjuhosg2011-05-081-2/+3
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26854 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: ag71xx: add debugfs entry for [rt]x_ringjuhosg2011-05-071-0/+92
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26845 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: ag71xx: add timestamps to ag71xx_bufjuhosg2011-05-072-1/+2
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26844 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: ag71xx: use dynamically allocated buffer for napi_statsjuhosg2011-05-071-9/+19
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26843 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: ag71xx: use debugfs_remove_recursivejuhosg2011-05-072-28/+7
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26842 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: override wmac device name for the AR934x SoCsjuhosg2011-05-071-0/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26840 3c298f89-4303-0410-b956-a3cf2f4a3e73
* linux/ar71xx: add some missing symbols for nand/yaffs targetsacoul2011-05-051-0/+5
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26827 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: use the ar8316 switch driver on the PB92 board and add a matching ↵nbd2011-04-283-8/+37
| | | | | | default network config git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26779 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: fix MDIO access on ar7242 (based on a patch by Jess Zhu)nbd2011-04-282-25/+63
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26777 3c298f89-4303-0410-b956-a3cf2f4a3e73
* linux/ar71xx: update wget2nand scriptacoul2011-04-211-2/+2
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26747 3c298f89-4303-0410-b956-a3cf2f4a3e73
* linux/ar71xx: add 2.6.38 preliminary support acoul2011-04-2134-0/+1141
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26746 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: enable the ip17xx PHY driver (fixes #5193, #8027)nbd2011-04-141-0/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26670 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: replace the madwifi profile with an ath5k profilenbd2011-04-122-16/+16
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26626 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: fix build error w/o CONFIG_PCIjuhosg2011-04-123-1/+15
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26606 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: don't hardcode console parameters in kernel configjuhosg2011-04-123-52/+101
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26605 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: use the gpio_keys_polled driver instead of gpio_buttonsjuhosg2011-04-1238-262/+299
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26603 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: Add support for WZR-HP-G301NHjuhosg2011-04-129-19/+90
| | | | | | | | | | | | | | 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26601 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: merge dev-ar9{13,34}x-wmac into dev-ar9xxx-wmacjuhosg2011-04-1123-222/+164
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26595 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: fix AR934X_WMAC_SIZEjuhosg2011-04-111-1/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26594 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: fix section mismatchjuhosg2011-04-091-1/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26562 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: rename ar934x_ref_freq to ar71xx_ref_freqjuhosg2011-04-094-20/+25
| | | | | | | Also initialize that for each SoC and print its value along with the other frequencies. git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26561 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: show the SoC type earlierjuhosg2011-04-091-3/+2
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26560 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: cleanup SoC detection codejuhosg2011-04-091-9/+6
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26559 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: sync kernel configurationjuhosg2011-04-091-0/+16
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26558 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: Fix mac address offset for AR934xjuhosg2011-04-091-1/+1
| | | | | | Signed-off-by: Vasanthakumar Thiagarajan <vasanth@atheros.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26557 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: add DB120 board specific PCI initializationjuhosg2011-04-076-0/+63
| | | | | | Signed-off-by: Jaiganesh Narayanan <jnarayanan@atheros.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26523 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: register WMAC device on the DB120 boardjuhosg2011-04-073-0/+11
| | | | | | Signed-off-by: Jaiganesh Narayanan <jnarayanan@atheros.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26522 3c298f89-4303-0410-b956-a3cf2f4a3e73