summaryrefslogtreecommitdiffstats
path: root/target/linux/ar71xx/files
Commit message (Collapse)AuthorAgeFilesLines
* ar71xx: ethernet: reduce tx dma ring size further to improve cache footprintFelix Fietkau2013-08-131-2/+2
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 37765
* ar71xx: ethernet: reduce tx and rx DMA ring size to improve cache footprintFelix Fietkau2013-08-121-2/+2
| | | | | | | | 256 entries is a bit excessive, even for gigabit speeds Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 37762
* ar71xx: ethernet: cache skb->len in the tx function to avoid accessing it ↵Felix Fietkau2013-08-122-5/+10
| | | | | | | | | | again in completion Improves ethernet performance, especially during bridging Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 37761
* ar71xx: fix typoFelix Fietkau2013-08-121-1/+1
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 37759
* ar71xx: ethernet: skip calls to netdev_completed_queue and netif_wake_queue ↵Felix Fietkau2013-08-121-0/+3
| | | | | | | | if no tx cleanup was done Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 37758
* ar71xx: ethernet: do not update the unused dev->last_rx fieldFelix Fietkau2013-08-121-1/+0
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 37757
* ar71xx: add missing return statement in ethernet mtu change opFelix Fietkau2013-08-121-0/+1
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 37756
* ar71xx: allow mtu > 1500 based on the configured tx/rx mtu register valueFelix Fietkau2013-08-101-1/+10
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 37748
* ar71xx: add support for dir 505 a1John Crispin2013-08-051-0/+126
| | | | | | | | | | this patch is based on ... -> https://forum.openwrt.org/viewtopic.php?pid=179902#p179902 Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 37703
* ar71xx: fix tl-wa901nd buttons codeGabor Juhos2013-08-051-2/+2
| | | | | | | | | This patch fixes the code of the buttons for TP-Link WA901ND. Signed-off-by: Rocco Folino <lordzen@autistici.org> Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 37696
* ar71xx: add kernel support for the Netgear WNR612 v2 boardGabor Juhos2013-07-281-3/+27
| | | | | | | | | | | | | | | | | Netgear WNR612 v2: - cpu Atheros AR7240 (Python) @400MHz - flash 4MB - ram 32MB - ethernet 10/100: 1xwan + 2xlan (only two) - radio AR9285 [juhosg: use a separate kernel patch] Signed-off-by: Cezary Jackiewicz <cezary.jackiewicz@gmail.com> Patchwork: http://patchwork.openwrt.org/patch/3876/ Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 37575
* ar71xx: add kernel support for the TP-LINK TL-WR710N v1 boardGabor Juhos2013-07-281-3/+17
| | | | | | | | | | | | | | | Small router sold in EU: AR9330@400MHz, 1x USB2.0, 2x ethernet, 8MB flash, 32MB ram, one led, one button. See: http://galeria.tech-blog.pl/TP-Link_TL-WR710N-EU/ [juhosg: use a separate kernel patch] Signed-off-by: Cezary Jackiewicz <cezary.jackiewicz@gmail.com> Patchwork: http://patchwork.openwrt.org/patch/3873/ Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 37572
* ar71xx: TEW632BRP has buttons 'active low', fix board configGabor Juhos2013-07-281-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | Looks like trunk@37090 has changed the logic that determines if router's button was pressed. This resulted in TEW632BRP always booting into failsafe mode because it detected pressed button (which was not pressed). Measure with voltmeter has shown that buttons on this router are actually active-low. This patch reflects this fact in board configuration and fixes 'load info failsafe mode' issue. Note: it looks like Trendnet TEW632BRP and a close relative to TEW-652BRP V1.0 and D-Link DIR-615C1, so same problem may exist on those routers as well. This patch doesn't affect routers other than 632BRP and unfortunately I do not have hardware to test this issue with other routers. This patch fixes #13893 and is tested on actuall Trendnet TEW632BRP. Signed-off-by: Nikolay Martynov <mar.kolya@gmail.com> Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 37569
* ar71xx: add kernel support for the TL-MR10U boardGabor Juhos2013-07-261-3/+18
| | | | | | | | | | | | | | Based on andelf's patch: http://andelf.diandian.com/post/2013-05-22/40050677370 [juhosg: extend WR703N code to handle the TL-MR10U instead of adding a separate mach-tl-mr10u file]] Signed-off-by: Oleg Titov <oleg.titov@gmail.com> Patchwork: http://patchwork.openwrt.org/patch/3840/ Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 37547
* ar71xx: use uimage split for WZR-HP-G300NH2Felix Fietkau2013-07-141-10/+2
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 37295
* ar71xx: enable uimage split for wzr-hp-ag300h/wzr-600dhpFelix Fietkau2013-07-141-10/+2
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 37294
* ar71xx: use uimage split for WZR-HP-G300NHFelix Fietkau2013-07-141-10/+2
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 37293
* ar71xx: use uimage split for WZR-HP-G450HFelix Fietkau2013-07-141-10/+2
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 37292
* ar71xx: add carambola2 supportJohn Crispin2013-07-111-0/+114
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 37260
* ar71xx: add linux 3.10Felix Fietkau2013-07-091-1/+1
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 37214
* ar71xx: disable JTAG on TL-WR841N-v8/MR3420v2Gabor Juhos2013-07-081-0/+3
| | | | | | | | | It also fixes USB Power on MR3420v2. Signed-off-by: Dmytro <dioptimizer@gmail.com> Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 37194
* ar71xx: fix for wrong eth0 mac assignment on Netgear WNDAP360Gabor Juhos2013-07-081-1/+3
| | | | | | | Signed-off-by: Jacek Kikiewicz <jaceq@aol.pl> Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 37192
* ar71xx: Buffalo WZR-HP-AG300H (600DHP) change button typeLuka Perkov2013-07-021-3/+3
| | | | | | | | | switch buttons should be declared as switch so the failsafe shell is not triggered by accident in procd Signed-off-by: Luka Perkov <luka@openwrt.org> SVN-Revision: 37131
* ar71xx: add support for WIFI button on tp-link tl-mr3220v2Gabor Juhos2013-06-041-3/+23
| | | | | | | | | | | The TP-LINK TL-MR3220 v2 has a button on the left side labeled "WIFI". This is GPIO 24. This patch adds the support for this button. Signed-off-by: Vittorio Gambaletta <openwrt@vittgam.net> Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 36848
* ar71xx: register USB port for RB2011U* devicesGabor Juhos2013-05-301-0/+5
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 36801
* ar71xx: make the SFP port usable on RB2011*S boardsGabor Juhos2013-05-301-0/+35
| | | | | | | | | | | The port 6 of the switch is connected to the SFP cage on the RB2011*S boards. Add a helper function to correctly initialize the switch configuration data on those boards to make the SFP port usable. Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 36799
* ar71xx: rb2011: add switch led control valuesGabor Juhos2013-05-301-1/+10
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 36796
* ar71xx: rb2011: update RGMII RX/TX delay valuesGabor Juhos2013-05-301-2/+2
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 36795
* ar71xx: rb2011: move NAND nCE init to rb2011_nand_initGabor Juhos2013-05-301-6/+2
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 36794
* ar71xx: add kernel support for the RB2011UASGabor Juhos2013-05-301-0/+8
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 36792
* ar71xx: add kernel support for the TP-LINK Archer C7 boardGabor Juhos2013-05-301-0/+241
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 36788
* ar71xx: set eth0 mac address to match bottom label of the OM2P LCGabor Juhos2013-05-261-2/+2
| | | | | | | | Signed-off-by: marek@open-mesh.com CC: Gabor Juhos <juhosg@openwrt.org> Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 36723
* ar71xx: add hard_cfg offset detection for rb2011 support - fixes wlan on ↵Felix Fietkau2013-05-133-7/+51
| | | | | | | | some newer devices Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 36631
* ar71xx: add kernel support for Netgear WNDAP360Gabor Juhos2013-05-081-0/+105
| | | | | | | | | | | | Here is corrected version (only thing not working are wifi LEDs). [juhosg: this has been created from the following patch: http://patchwork.openwrt.org/patch/3620/ ] Signed-off-by: Jacek Kikiewicz <jaceq@aol.pl> Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 36578
* ar71xx: Add Netgear WNR2000v3 supportGabor Juhos2013-04-261-0/+91
| | | | | | | | | | Network connectivity works fine (LAN and WAN). For GPIOs, only pwr led and the green wan leds are supported for now. Signed-off-by: Mathieu Olivari <mathieu.olivari@gmail.com> Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 36459
* ar71xx: add kernel support for TPLINK WR720N v3Gabor Juhos2013-04-261-0/+109
| | | | | | | | | | | | | | | Add support for TPLINK WR720N v3 which has 4MB flash, 32MB ram, 2 ethernet interfaces, 1 USB 2.0 port. The patch is mostly a modification from mach-tl-wr703n.c. GPIO numbers for the slider switch is from mach-tl-mr3020n.c. Tested on my device and they worked fine. Signed-off-by: yousong <yszhou4tech@gmail.com> Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 36456
* ar71xx: fix ethernet LEDs on the TL-WDR3500Gabor Juhos2013-03-251-0/+16
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 36122
* ar71xx: fix USB power GPIO on the TL-WDR3500Gabor Juhos2013-03-241-1/+1
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 36119
* ar71xx: remove numeric suffix of the TL-WDR3500 USB LEDGabor Juhos2013-03-241-6/+6
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 36118
* ar71xx: rw2458n - Use eeprom (art) from wifi cardGabor Juhos2013-03-151-4/+4
| | | | | | | | | Use eeprom (art) from included wifi card, not hard coded in flash. Signed-off-by: Cezary Jackiewicz <cezary.jackiewicz@gmail.com> Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 36037
* ar71xx: Error fix in Kernel for MR3420v2 Ethernet Switch configurationGabor Juhos2013-03-151-4/+2
| | | | | | | | | | | | | | Error in using another MDIO (AP123 platform using only one GE1 device for eth0 and eth1) for the router mr3420v2. ?onfirmed: https://forum.openwrt.org/viewtopic.php?pid=194779#p194779 Routers in this sense are the same and the only difference is: USB port, USB led, instead of the GPIO-switch we have GPIO-button. Signed-off-by: Dmytro <dioptimizer@gmail.com> Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 36036
* ar71xx: om2p-hs: use correct bit mask to disable JTAG functionalityGabor Juhos2013-03-111-1/+1
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 35966
* ar71xx: add kernel support for MR3420v2Gabor Juhos2013-03-111-12/+69
| | | | | | | | | [juhosg: use gpio_request_one to enable the USB power] Patch-by: Dmytro <dioptimizer@gmail.com> Signed-off-by: Gabor Juhos <juhosg@opewrt.org> SVN-Revision: 35961
* ar71xx: enabling control GPIO14 and GPIO15 on MR3040/MR11UGabor Juhos2013-03-111-0/+6
| | | | | | | | | | | | LAN1 and LAN2 LEDs not present (it pulled to ground via resistors) on MR3040 and MR11U devices. This little patch enabling ability to control GPIO14 and GPIO15. Patch-by: Dmytro <dioptimizer@gmail.com> Patchwork: http://patchwork.openwrt.org/patch/3439/ Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 35960
* ar71xx: add kernel support for dir-835-a1Gabor Juhos2013-03-111-8/+57
| | | | | | | | | | | | | | [juhosg: - remove custom mdio bus info and platform data for ar8327, clear the .led_cfg field from dir835a1_setup instead, - remove arguments of dir835c1_generic_setup function, register the LEDs directly from the board specific setup instead] Signed-off-by: Alexander Stadler <sa.maillists@univie.ac.at> Patchwork: http://patchwork.openwrt.org/patch/3426/ Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 35957
* ar71xx: use backported QCA955x patchesGabor Juhos2013-03-041-4/+4
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 35878
* ar71xx: rework changes from r35840Luka Perkov2013-03-031-5/+2
| | | | | | | Signed-off-by: Luka Perkov <luka@openwrt.org> Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 35865
* ar71xx: update MAC address assignment for dir-825-c1Gabor Juhos2013-03-031-9/+9
| | | | | | | Signed-off-by: Alexander Stadler <sa.maillists@univie.ac.at> Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 35855
* ar71xx: fixes leds for dir-825-c1Gabor Juhos2013-03-031-9/+20
| | | | | | | Signed-off-by: Alexander Stadler <sa.maillists@univie.ac.at> Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 35854
* ar71xx: add support for Buffalo WZR 600DHPLuka Perkov2013-03-011-1/+3
| | | | | | Signed-off-by: Luka Perkov <luka@openwrt.org> SVN-Revision: 35840