Gabor Juhos
a98df83f5f
ar71xx: dir-825-c1: use ath79_parse_ascii_mac helper
...
Remove the local MAC address parser function and use
the generic one instead.
Signed-off-by: Gabor Juhos <juhosg@openwrt.org >
SVN-Revision: 38088
2013-09-20 16:41:33 +00:00
Gabor Juhos
710314990a
ar71xx: dir-825-b1: use ath79_parse_ascii_mac helper
...
Remove the local MAC address parser function and use
the generic one instead.
Signed-off-by: Gabor Juhos <juhosg@openwrt.org >
SVN-Revision: 38087
2013-09-20 16:41:32 +00:00
Gabor Juhos
2a777a272c
ar71xx: dir-505-a1: use ath79_parse_ascii_mac helper
...
Remove the local MAC address parser function and use
the generic one instead.
Signed-off-by: Gabor Juhos <juhosg@openwrt.org >
SVN-Revision: 38086
2013-09-20 16:41:31 +00:00
Gabor Juhos
e312a917d3
ar71xx: rename ath79_parse_mac_addr to ath79_parse_ascii_mac
...
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
2013-09-20 16:41:30 +00:00
Gabor Juhos
9a2e94476a
ar71xx: add kernel support for the WD My Net N600 board
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org >
SVN-Revision: 38072
2013-09-19 22:36:39 +00:00
Gabor Juhos
9200807877
ar71xx: wndr4300: enable HW ECC mode for the NAND controller
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org >
SVN-Revision: 38071
2013-09-19 18:43:43 +00:00
Gabor Juhos
83915a8d78
ar71xx: add ath79_nfc_set_ecc_mode helper
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org >
SVN-Revision: 38070
2013-09-19 18:43:42 +00:00
Gabor Juhos
d6fef0cb39
ar71xx: ar934x_nfc: add experimental support for hardware ECC
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org >
SVN-Revision: 38069
2013-09-19 18:43:41 +00:00
Gabor Juhos
ceecdfb1c9
ar71xx: ar934x_nfc: return error code from some low-level functions
...
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
2013-09-19 18:43:40 +00:00
Gabor Juhos
df8485c7cb
ar71xx: ar934x_nfc: use devm_* functions
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org >
SVN-Revision: 38067
2013-09-19 18:43:38 +00:00
Gabor Juhos
e3e31835ae
ar71xx: add kernel support for TP-Link TL-MR13U
...
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
2013-09-19 17:52:41 +00:00
Gabor Juhos
5e23012c77
ar71xx: wnr2200: fix a typo in a LED name
...
Reported-by: Roman A. aka BasicXP <x12ozmouse@ya.ru >
Signed-off-by: Gabor Juhos <juhosg@openwrt.org >
SVN-Revision: 38062
2013-09-19 17:52:40 +00:00
Gabor Juhos
49ed06e36f
ar71xx: add kernel support for Netgear WNR2200 wireless router
...
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
2013-09-19 16:56:48 +00:00
Gabor Juhos
897c00c145
ar71xx: add wireless bgn led support for dir-825-c1
...
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
2013-09-13 15:01:40 +00:00
Gabor Juhos
122a61aa49
ar71xx: configure OBS4 line on TL-WR841N-v8/MR3420v2
...
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
2013-09-02 16:09:12 +00:00
Gabor Juhos
9af6a5a88f
ar71xx: don't register USB device on WNDAP360
...
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
2013-08-27 10:48:24 +00:00
Felix Fietkau
bbd4d4c8b8
ar71xx: ethernet: reduce tx dma ring size further to improve cache footprint
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org >
SVN-Revision: 37765
2013-08-13 10:35:10 +00:00
Felix Fietkau
58e049ea80
ar71xx: ethernet: reduce tx and rx DMA ring size to improve cache footprint
...
256 entries is a bit excessive, even for gigabit speeds
Signed-off-by: Felix Fietkau <nbd@openwrt.org >
SVN-Revision: 37762
2013-08-12 17:26:03 +00:00
Felix Fietkau
f43b4ea962
ar71xx: ethernet: cache skb->len in the tx function to avoid accessing it again in completion
...
Improves ethernet performance, especially during bridging
Signed-off-by: Felix Fietkau <nbd@openwrt.org >
SVN-Revision: 37761
2013-08-12 17:26:00 +00:00
Felix Fietkau
53c3b2a193
ar71xx: fix typo
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org >
SVN-Revision: 37759
2013-08-12 12:41:53 +00:00
Felix Fietkau
f18fd5512e
ar71xx: ethernet: skip calls to netdev_completed_queue and netif_wake_queue if no tx cleanup was done
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org >
SVN-Revision: 37758
2013-08-12 11:44:35 +00:00
Felix Fietkau
81cfb9e5ed
ar71xx: ethernet: do not update the unused dev->last_rx field
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org >
SVN-Revision: 37757
2013-08-12 11:44:31 +00:00
Felix Fietkau
104ff48e25
ar71xx: add missing return statement in ethernet mtu change op
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org >
SVN-Revision: 37756
2013-08-12 11:44:28 +00:00
Felix Fietkau
7b05fe59a4
ar71xx: allow mtu > 1500 based on the configured tx/rx mtu register value
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org >
SVN-Revision: 37748
2013-08-10 15:31:38 +00:00
John Crispin
553a469728
ar71xx: add support for dir 505 a1
...
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
2013-08-05 10:41:48 +00:00
Gabor Juhos
99a12119ca
ar71xx: fix tl-wa901nd buttons code
...
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
2013-08-05 09:09:39 +00:00
Gabor Juhos
6d8163505e
ar71xx: add kernel support for the Netgear WNR612 v2 board
...
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
2013-07-28 10:23:36 +00:00
Gabor Juhos
c5029c2ebf
ar71xx: add kernel support for the TP-LINK TL-WR710N v1 board
...
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
2013-07-28 10:23:32 +00:00
Gabor Juhos
b49dc036e8
ar71xx: TEW632BRP has buttons 'active low', fix board config
...
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
2013-07-28 10:23:22 +00:00
Gabor Juhos
ec7fe3fab7
ar71xx: add kernel support for the TL-MR10U board
...
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
2013-07-26 07:31:57 +00:00
Felix Fietkau
25d910a78f
ar71xx: use uimage split for WZR-HP-G300NH2
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org >
SVN-Revision: 37295
2013-07-14 14:05:31 +00:00
Felix Fietkau
6bff456212
ar71xx: enable uimage split for wzr-hp-ag300h/wzr-600dhp
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org >
SVN-Revision: 37294
2013-07-14 14:05:27 +00:00
Felix Fietkau
fbde376c53
ar71xx: use uimage split for WZR-HP-G300NH
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org >
SVN-Revision: 37293
2013-07-14 14:05:23 +00:00
Felix Fietkau
a7c5f6708b
ar71xx: use uimage split for WZR-HP-G450H
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org >
SVN-Revision: 37292
2013-07-14 14:05:19 +00:00
John Crispin
39531131a9
ar71xx: add carambola2 support
...
Signed-off-by: John Crispin <blogic@openwrt.org >
SVN-Revision: 37260
2013-07-11 21:16:53 +00:00
Felix Fietkau
64dde7d981
ar71xx: add linux 3.10
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org >
SVN-Revision: 37214
2013-07-09 12:52:18 +00:00
Gabor Juhos
e61a77a05c
ar71xx: disable JTAG on TL-WR841N-v8/MR3420v2
...
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
2013-07-08 08:40:21 +00:00
Gabor Juhos
ca02639d17
ar71xx: fix for wrong eth0 mac assignment on Netgear WNDAP360
...
Signed-off-by: Jacek Kikiewicz <jaceq@aol.pl >
Signed-off-by: Gabor Juhos <juhosg@openwrt.org >
SVN-Revision: 37192
2013-07-08 08:40:18 +00:00
Luka Perkov
c9926f77b4
ar71xx: Buffalo WZR-HP-AG300H (600DHP) change button type
...
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
2013-07-02 10:45:32 +00:00
Gabor Juhos
5bb2e8030d
ar71xx: add support for WIFI button on tp-link tl-mr3220v2
...
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
2013-06-04 13:25:54 +00:00
Gabor Juhos
da66ea52ec
ar71xx: register USB port for RB2011U* devices
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org >
SVN-Revision: 36801
2013-05-30 17:38:31 +00:00
Gabor Juhos
151dca0935
ar71xx: make the SFP port usable on RB2011*S boards
...
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
2013-05-30 17:38:28 +00:00
Gabor Juhos
3467b17e69
ar71xx: rb2011: add switch led control values
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org >
SVN-Revision: 36796
2013-05-30 17:38:21 +00:00
Gabor Juhos
4cf6e53ccc
ar71xx: rb2011: update RGMII RX/TX delay values
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org >
SVN-Revision: 36795
2013-05-30 17:38:20 +00:00
Gabor Juhos
6da63a8793
ar71xx: rb2011: move NAND nCE init to rb2011_nand_init
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org >
SVN-Revision: 36794
2013-05-30 17:38:17 +00:00
Gabor Juhos
d6554bf66a
ar71xx: add kernel support for the RB2011UAS
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org >
SVN-Revision: 36792
2013-05-30 17:38:13 +00:00
Gabor Juhos
91d7c3efc1
ar71xx: add kernel support for the TP-LINK Archer C7 board
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org >
SVN-Revision: 36788
2013-05-30 16:23:07 +00:00
Gabor Juhos
93ce462b7e
ar71xx: set eth0 mac address to match bottom label of the OM2P LC
...
Signed-off-by: marek@open-mesh.com
CC: Gabor Juhos <juhosg@openwrt.org >
Signed-off-by: Gabor Juhos <juhosg@openwrt.org >
SVN-Revision: 36723
2013-05-26 16:02:29 +00:00
Felix Fietkau
144cfb65a4
ar71xx: add hard_cfg offset detection for rb2011 support - fixes wlan on some newer devices
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org >
SVN-Revision: 36631
2013-05-13 19:13:33 +00:00
Gabor Juhos
10b3ca5ccb
ar71xx: add kernel support for Netgear WNDAP360
...
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
2013-05-08 17:03:34 +00:00