summaryrefslogtreecommitdiffstats
path: root/target/linux/ar71xx/files
Commit message (Collapse)AuthorAgeFilesLines
* ar71xx: use ar933x_uart.h in the AR933X serial driverjuhosg2011-06-131-339/+75
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27166 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: update early_printk codejuhosg2011-06-132-44/+112
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27165 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: setup wdt_clock for AR913X to avoid a kernel bugjuhosg2011-06-041-0/+2
| | | | | | Signed-off-by: Jonas Gorski <jonas.gorski+openwrt@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27102 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: select the internal antenna by default on the ZCN-1523H boardsjuhosg2011-06-041-0/+2
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27101 3c298f89-4303-0410-b956-a3cf2f4a3e73
* Revert "ar71xx: only enable the rx engine after the link is up..."nbd2011-06-011-68/+67
| | | | | | It messes up the DMA state when the link goes down git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27088 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: init external_reset for AR933Xjuhosg2011-06-012-0/+31
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27083 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: add external_reset field to ath9k_platform_datajuhosg2011-06-011-0/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27082 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: init get_mac_revision on AR9330 rev 1juhosg2011-06-011-0/+8
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27081 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: add get_mac_revision to ath9k_platform_datajuhosg2011-06-011-0/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27080 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: export SoC revisionjuhosg2011-06-012-0/+6
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27079 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: add kernel support for the buffalo wzr-hp-ag300hnbd2011-06-014-0/+243
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27075 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: add support for the AP121/AP121-MINI reference boardsjuhosg2011-05-314-1/+259
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27067 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: register UART for the AR933X SoCsjuhosg2011-05-311-3/+33
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27066 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: add serial driver for the AR933X UARTjuhosg2011-05-312-0/+1300
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27065 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: add WMAC initialization code for the AR933X SoCsjuhosg2011-05-312-0/+16
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27064 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: add ethernet initialization for the AR933X SoCsjuhosg2011-05-312-0/+64
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27063 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: enable USB support for the AR933x SoCsjuhosg2011-05-311-0/+2
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27062 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: add AR933x specific glue for ar71xx_device{start,stop}juhosg2011-05-312-0/+24
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27061 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: the watchdog uses the reference clock on the AR933x SoCsjuhosg2011-05-311-2/+12
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27060 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: add AR933x specific glue code for IRQ initializationjuhosg2011-05-312-2/+21
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27059 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: don't register 8250 UART on the AR933x SoCsjuhosg2011-05-311-1/+6
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27058 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: enable GPIO support for the AR933x SoCsjuhosg2011-05-312-2/+9
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27057 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: add AR933x specific frequency initialization codejuhosg2011-05-312-0/+76
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27056 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: add AR933x specific early_printk supportjuhosg2011-05-312-5/+62
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27055 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: add preliminary support for the Atheros AR933x SoCsjuhosg2011-05-313-4/+20
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27054 3c298f89-4303-0410-b956-a3cf2f4a3e73
* 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-311-0/+54
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27048 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: 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: 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
* ar71xx: use the ar8316 switch driver on the PB92 board and add a matching ↵nbd2011-04-281-8/+3
| | | | | | default network config git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26779 3c298f89-4303-0410-b956-a3cf2f4a3e73