aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ar71xx/files
Commit message (Collapse)AuthorAgeFilesLines
* ar71xx: add kernel support for BHU Networks BXU2000n-2 A1 boardGabor Juhos2013-10-301-0/+120
| | | | | | | | | | | | | | BXU2000n-2 A1 is a BHU Networks WLAN board, use ar9341 chip. Patchwork: http://patchwork.openwrt.org/patch/4183/ Signed-off-by: Terry Yang <yangbo@bhunetworks.com> [juhosg: - rename and refresh kernel patch, - fix some checkpatch warnings and adjust whitespaces in mach-bhu-bxu2000n2-a.c] Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 38591
* ar71xx: add kernel support for the Sitecom WLR-8100 wireless routerGabor Juhos2013-10-301-0/+222
| | | | | | | | | | | | - unsure about copyright message - based on AP136-010 Patchwork: http://patchwork.openwrt.org/patch/4147/ Signed-off-by: Dirk Neukirchen <dirkneukirchen@web.de> [juhosg: rename and refresh kernel patch] Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 38589
* ar71xx: add kernel support for DRAGINO2Gabor Juhos2013-10-301-0/+127
| | | | | | | | | | | | | | | | | | | This patch adds support for DRAGINO2 board (used by Meshpotato v2). Most of the files included can be found in the official svn repository provided by the company [1]. I have just adapt it to the last OpenWrt trunk revision (Fri Oct 4 10:49:47 2013). 1. http://svn.dragino.com/dragino2 Patchwork: http://patchwork.openwrt.org/patch/4234/ Signed-off-by: Pau Escrich <p4u@dabax.net> [juhosg: - rename and refresh kernel patch, - fix checkpatch warnings in mach-dragino2.c] Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 38587
* ar71xx: fix WLAN 5 GHz LED init on dir-825-c1Gabor Juhos2013-10-201-2/+1
| | | | | | | | | | | | Fixes the 5 GHz LED. The same function has no effect on the 2.4 GHz LED at all, so we might as well remove it. Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net> Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 38482
* ar71xx: ar934x-nfc: disable subpage write when hardware ECC is usedGabor Juhos2013-09-271-0/+6
| | | | | | | | It is not supported by the controller. Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 38234
* ar71xx: improve kernel support for the TL-MR3040 v2Gabor Juhos2013-09-251-0/+45
| | | | | | | | | | | This patch adds support for the hardware slide switch on the TL-MR3040 v2. Signed-off-by: Mads Hansen <d@taba.se> [juhosg: use EV_SW instead of EV_KEY] Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 38190
* ar71xx: add kernel support for the TEW-732BR boardGabor Juhos2013-09-231-0/+127
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 38131
* ar71xx: vanity changes for dir-825-c1Gabor Juhos2013-09-211-15/+15
| | | | | | | | | | | | | | | | | This patch - changes the color names from orange to amber - changes the name of GPIO 13 from WIFI_BGN (wifi_bgn) to WLAN_2G (wlan2g) to be more consistent with the other routers' files - changes the descriptions of the hardware keys to be a tad more explicit Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net> Patchwork: http://patchwork.openwrt.org/patch/4081/ [juhosg: update the LED migration script as well] Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 38105
* ar71xx: use netgear prefix for WNDAP360 LED namesGabor Juhos2013-09-211-2/+2
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 38102
* ar71xx: use netgear prefix for WNR612 v2 LED namesGabor Juhos2013-09-211-1/+1
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 38101
* ar71xx: use netgear prefix for WNR2200 LED namesGabor Juhos2013-09-211-13/+13
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 38100
* ar71xx: use netgear prefix for WNR2000 LED namesGabor Juhos2013-09-211-4/+4
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 38099
* ar71xx: use netgear prefix for WNDR3700 LED namesGabor Juhos2013-09-212-6/+6
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 38098
* ar71xx: let HW switch control WAN LED on dir-825-c1Gabor Juhos2013-09-211-4/+5
| | | | | | | | | | | | | Enable GPIO 20. This hands off control of the blue planet led to the integrated switch. Consequently, remove the led configuration for the blue planet led. Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net> Patchwork: http://patchwork.openwrt.org/patch/4080/ [juhosg: whitespace fixup] Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 38096
* ar71xx: fix LAN LEDs for dir-825-c1Gabor Juhos2013-09-211-4/+4
| | | | | | | | | | | This patches fixes the lan led configuration. The new configuration is identical to the one in mach-db120.c and it works. The previous one didn't work at all. Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net> Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 38094
* ar71xx: tew-712br: use ath79_parse_ascii_mac helperGabor Juhos2013-09-201-17/+7
| | | | | | | | | Remove the local MAC address parser function and use the generic one instead. Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 38090
* ar71xx: tew-673gru: use ath79_parse_ascii_mac helperGabor Juhos2013-09-201-14/+2
| | | | | | | | | Remove the local MAC address parser function and use the generic one instead. Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 38089
* ar71xx: dir-825-c1: use ath79_parse_ascii_mac helperGabor Juhos2013-09-201-14/+2
| | | | | | | | | Remove the local MAC address parser function and use the generic one instead. Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 38088
* ar71xx: dir-825-b1: use ath79_parse_ascii_mac helperGabor Juhos2013-09-201-14/+2
| | | | | | | | | Remove the local MAC address parser function and use the generic one instead. Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 38087
* ar71xx: dir-505-a1: use ath79_parse_ascii_mac helperGabor Juhos2013-09-201-17/+7
| | | | | | | | | Remove the local MAC address parser function and use the generic one instead. Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 38086
* ar71xx: rename ath79_parse_mac_addr to ath79_parse_ascii_macGabor Juhos2013-09-202-12/+19
| | | | | | | | | Rename the function and extend it in order to make it usable from board setup code. Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 38085
* ar71xx: add kernel support for the WD My Net N600 boardGabor Juhos2013-09-191-0/+191
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 38072
* ar71xx: wndr4300: enable HW ECC mode for the NAND controllerGabor Juhos2013-09-191-0/+4
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 38071
* ar71xx: add ath79_nfc_set_ecc_mode helperGabor Juhos2013-09-192-0/+8
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 38070
* ar71xx: ar934x_nfc: add experimental support for hardware ECCGabor Juhos2013-09-192-2/+346
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 38069
* ar71xx: ar934x_nfc: return error code from some low-level functionsGabor Juhos2013-09-191-10/+18
| | | | | | | | | | Change some flow-level unctions to return with an error code in order to be able to report errors to the core code. Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 38068
* ar71xx: ar934x_nfc: use devm_* functionsGabor Juhos2013-09-191-15/+6
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 38067
* ar71xx: add kernel support for TP-Link TL-MR13UGabor Juhos2013-09-191-0/+107
| | | | | | | | | | | | | | | | | | | | This patch adds support for TP-Link TL-MR13U router with built-in 10AH rechargeable battery. The patch is based on kamwanlai's patch: https://forum.openwrt.org/viewtopic.php?pid=206746#p206746 Updated to accommodate recent changes introduced with: ar71xx: remove fs_* variables from image/Makefile Signed-off-by: Oleg Titov <oleg.titov@gmail.com> Patchwork: http://patchwork.openwrt.org/patch/4063/ [juhosg: - refresh and rename rename 930-add-tl-mr13u-support.patch => 625-MIPS-ath79-add-tl-mr13u-support.patch] Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 38063
* ar71xx: wnr2200: fix a typo in a LED nameGabor Juhos2013-09-191-1/+1
| | | | | | | Reported-by: Roman A. aka BasicXP <x12ozmouse@ya.ru> Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 38062
* ar71xx: add kernel support for Netgear WNR2200 wireless routerGabor Juhos2013-09-191-0/+137
| | | | | | | | | | | | | | | | | | | | This patch adds OpenWRT support for the Netgear WNR2200 (N300) wireless router with USB. Technical details of this router can be found at http://www.netgear.com/home/products/wirelessrouters/work-and-play/WNR2200.aspx and http://wikidevi.com/wiki/Netgear_WNR2200 Signed-off-by: Aidan Kissane <aidankissane@googlemail.com> Signed-off-by: Dirk Neukirchen <dirkneukirchen@web.de> Patchwork: http://patchwork.openwrt.org/patch/4055/ [juhosg: - add commit message and SoB line from the original patch - remove dead code from mach-wnr2200.c - refresh 624-MIPS-ath79-WNR2200-support.patch] Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 38059
* ar71xx: add wireless bgn led support for dir-825-c1Gabor Juhos2013-09-131-0/+5
| | | | | | | | | | | | | I checked the GPL code drop from D-Link and tried to get the wireless and LAN switch LEDs to light up. I found some references in AthSDK/www/DIR-825_C1/bsp.h as well as AthSDK/www/DIR-825_C1/rootfs/etc/sysconfig/S2gpio.sh, but in the end I only got the led for 2.4GHz to work. Anyway, here's the patch. Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net> Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 37963
* ar71xx: configure OBS4 line on TL-WR841N-v8/MR3420v2Gabor Juhos2013-09-021-2/+8
| | | | | | | | | | | | | | It also fixes USB Power on MR3420v2. This time we took the information from the source of GPL: http://www.mail-archive.com/openwrt-devel@lists.openwrt.org/msg18970.html Confirmed and tested: https://dev.openwrt.org/ticket/13201#comment:41 Thanks to oguretsagressive for testing. Signed-off-by: Dmytro <dioptimizer@gmail.com> SVN-Revision: 37878
* ar71xx: don't register USB device on WNDAP360Gabor Juhos2013-08-271-3/+0
| | | | | | | | | | | | | | | | | Apparently registering usb device on newest trunk causes this AP not to boot... Since there is no USB socket in that device anyway this can be simply removed (and device boots then no problem). [juhosg: - tweak subject line and description, - remove #include "dev-usb.h", - remove 'select ATH79_DEV_USB' from Kconfig] Signed-off-by: Jacek Kikiewicz <jaceq@aol.pl> Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 37844
* 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