summaryrefslogtreecommitdiff
path: root/target/linux/ar71xx/files
Commit message (Collapse)AuthorAgeFilesLines
* ar71xx: ag71xx: make switch register access atomicGabor Juhos2011-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 SVN-Revision: 26856
* ar71xx: ag71xx: fix section mismatch warningsGabor Juhos2011-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. SVN-Revision: 26855
* ar71xx: ag71xx: fix build error if debugfs is enabledGabor Juhos2011-05-081-2/+3
| | | | SVN-Revision: 26854
* ar71xx: ag71xx: add debugfs entry for [rt]x_ringGabor Juhos2011-05-071-0/+92
| | | | SVN-Revision: 26845
* ar71xx: ag71xx: add timestamps to ag71xx_bufGabor Juhos2011-05-072-1/+2
| | | | SVN-Revision: 26844
* ar71xx: ag71xx: use dynamically allocated buffer for napi_statsGabor Juhos2011-05-071-9/+19
| | | | SVN-Revision: 26843
* ar71xx: ag71xx: use debugfs_remove_recursiveGabor Juhos2011-05-072-28/+7
| | | | SVN-Revision: 26842
* ar71xx: override wmac device name for the AR934x SoCsGabor Juhos2011-05-071-0/+1
| | | | SVN-Revision: 26840
* ar71xx: use the ar8316 switch driver on the PB92 board and add a matching ↵Felix Fietkau2011-04-281-8/+3
| | | | | | default network config SVN-Revision: 26779
* ar71xx: fix MDIO access on ar7242 (based on a patch by Jess Zhu)Felix Fietkau2011-04-282-25/+63
| | | | SVN-Revision: 26777
* ar71xx: fix build error w/o CONFIG_PCIGabor Juhos2011-04-123-1/+15
| | | | SVN-Revision: 26606
* ar71xx: use the gpio_keys_polled driver instead of gpio_buttonsGabor Juhos2011-04-1236-260/+297
| | | | SVN-Revision: 26603
* ar71xx: Add support for WZR-HP-G301NHGabor Juhos2011-04-122-7/+48
| | | | | | | | | | | | | | 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
* ar71xx: merge dev-ar9{13,34}x-wmac into dev-ar9xxx-wmacGabor Juhos2011-04-1122-220/+163
| | | | SVN-Revision: 26595
* ar71xx: fix AR934X_WMAC_SIZEGabor Juhos2011-04-111-1/+1
| | | | SVN-Revision: 26594
* ar71xx: fix section mismatchGabor Juhos2011-04-091-1/+1
| | | | SVN-Revision: 26562
* ar71xx: rename ar934x_ref_freq to ar71xx_ref_freqGabor Juhos2011-04-094-20/+25
| | | | | | | Also initialize that for each SoC and print its value along with the other frequencies. SVN-Revision: 26561
* ar71xx: show the SoC type earlierGabor Juhos2011-04-091-3/+2
| | | | SVN-Revision: 26560
* ar71xx: cleanup SoC detection codeGabor Juhos2011-04-091-9/+6
| | | | SVN-Revision: 26559
* ar71xx: Fix mac address offset for AR934xGabor Juhos2011-04-091-1/+1
| | | | | | Signed-off-by: Vasanthakumar Thiagarajan <vasanth@atheros.com> SVN-Revision: 26557
* ar71xx: add DB120 board specific PCI initializationGabor Juhos2011-04-075-0/+62
| | | | | | Signed-off-by: Jaiganesh Narayanan <jnarayanan@atheros.com> SVN-Revision: 26523
* ar71xx: register WMAC device on the DB120 boardGabor Juhos2011-04-072-0/+10
| | | | | | Signed-off-by: Jaiganesh Narayanan <jnarayanan@atheros.com> SVN-Revision: 26522
* ar71xx: add support for the built-in WMAC of the AR934xGabor Juhos2011-04-075-0/+89
| | | | | | Signed-off-by: Jaiganesh Narayanan <jnarayanan@atheros.com> SVN-Revision: 26521
* ar71xx: add initial support for the Atheros DB120 boardGabor Juhos2011-04-074-0/+130
| | | | | | Signed-off-by: Jaiganesh Narayanan <jnarayanan@atheros.com> SVN-Revision: 26518
* ar71xx: add support for the watchdog of the AR934x SoCsGabor Juhos2011-04-071-2/+20
| | | | | | Signed-off-by: Jaiganesh Narayanan <jnarayanan@atheros.com> SVN-Revision: 26516
* ar71xx: enable PCI for the AR934[24] SoCsGabor Juhos2011-04-071-0/+4
| | | | | | Signed-off-by: Jaiganesh Narayanan <jnarayanan@atheros.com> SVN-Revision: 26515
* ar71xx: enable USB support for the AR934x SoCsGabor Juhos2011-04-071-1/+4
| | | | | | Signed-off-by: Jaiganesh Narayanan <jnarayanan@atheros.com> SVN-Revision: 26514
* ar71xx: enable GPIO support for the AR934x SoCsGabor Juhos2011-04-072-0/+12
| | | | | | Signed-off-by: Jaiganesh Narayanan <jnarayanan@atheros.com> SVN-Revision: 26513
* ar71xx: add AR934x specific glue for ar7100_device{start,stop}Gabor Juhos2011-04-071-0/+26
| | | | | | Signed-off-by: Jaiganesh Narayanan <jnarayanan@atheros.com> SVN-Revision: 26512
* ar71xx: add AR934x specific UART clock initializationGabor Juhos2011-04-071-2/+25
| | | | | | Signed-off-by: Jaiganesh Narayanan <jnarayanan@atheros.com> SVN-Revision: 26511
* ar71xx: add AR934x specific glue for IRQ initializationGabor Juhos2011-04-073-5/+48
| | | | | | Signed-off-by: Jaiganesh Narayanan <jnarayanan@atheros.com> SVN-Revision: 26510
* ar71xx: add initial support for the AR934x SoCsGabor Juhos2011-04-072-3/+249
| | | | | | Signed-off-by: Jaiganesh Narayanan <jnarayanan@atheros.com> SVN-Revision: 26509
* ar71xx: enable access to the WAN port PHY on a few devices, adds WAN link ↵Felix Fietkau2011-04-024-0/+4
| | | | | | detection SVN-Revision: 26394
* ar71xx: only allow internal access to the ar7240 switch, export the MDIO bus ↵Felix Fietkau2011-04-023-76/+109
| | | | | | behind the switch instead SVN-Revision: 26393
* ar71xx: frequent ethernet mac resets upset the MDIO bus on ar7240, so do not ↵Felix Fietkau2011-04-021-4/+5
| | | | | | run them on every device open, only on tx timeouts SVN-Revision: 26392
* ar71xx: add support for the TP-Link TL-WA901ND v2 boardGabor Juhos2011-03-134-0/+141
| | | | | | Patch-by: Jonathan Benett <jbscience87@gmail.com> SVN-Revision: 26119
* Revert "ar71xx: add missing gpio_set_debounce function" - wrong targetFelix Fietkau2011-03-031-5/+0
| | | | SVN-Revision: 25854
* ar71xx: add missing gpio_set_debounce functionFelix Fietkau2011-03-031-0/+5
| | | | SVN-Revision: 25848
* ar71xx: add rtl8366s initvals for the DIR-825 boardGabor Juhos2011-01-261-2/+8
| | | | SVN-Revision: 25121
* ar71xx: add support for the WNDR3700v2 boardGabor Juhos2011-01-262-7/+75
| | | | | | Based on a patch by Mark Mentovai <mark@moxienet.com> SVN-Revision: 25118
* fix null pointer access in mach-dir-600-a1.c machine setup (#8671)Jo-Philipp Wich2011-01-181-2/+2
| | | | SVN-Revision: 25043
* ar71xx: fix wlan LED on the TL-WR741 boardGabor Juhos2011-01-111-0/+2
| | | | | | * Patch from #8630 SVN-Revision: 24963
* ar71xx: fix wrong names of the WPS LED/buttonGabor Juhos2011-01-101-7/+7
| | | | | | Reported-by: Nuno Gonçalves SVN-Revision: 24961
* ar71xx: use gpio_*_cansleep calls in the rb4xx NAND driverGabor Juhos2011-01-091-5/+8
| | | | SVN-Revision: 24944
* ar71xx: use spinlock in ar71xx_device_{start,stop}Gabor Juhos2011-01-081-18/+20
| | | | SVN-Revision: 24929
* ar71xx: enable ar7240 switch support on the UBNT NanoStation M Fixes ↵Felix Fietkau2010-12-191-0/+1
| | | | | | | | broadcast frames on the second ethernet MAC Signed-off-by: Alexander Couzens <lynxis@c-base.org> SVN-Revision: 24723
* ar71xx: remove stray semicolonsGabor Juhos2010-12-171-2/+2
| | | | SVN-Revision: 24651
* ar71xx: fix WLAN LEDs on the DIR-825 boardGabor Juhos2010-12-171-0/+3
| | | | SVN-Revision: 24650
* ar71xx: add helper function to setup ath9k LED/GPIO on the AP94 based boardsGabor Juhos2010-12-173-14/+36
| | | | SVN-Revision: 24649
* ar71xx: UBNT Secondary MAC address duplicate fixGabor Juhos2010-12-171-2/+13
| | | | | | | | | | | | | There is Secondary MAC address duplicate problem with some UBNT RouterStation and RouterStation Pro HW batches as Primary MAC addresses are not increased by 2 per device in board data. Fix is to use 'Locally Administrated bit' for Secondary MAC address instead of increasing Primary MAC addresses by 1 which could overlap with other device Primary MAC address. Signed-off-by: Kestutis Barkauskas<keba@devint.net> SVN-Revision: 24643