diff options
author | Gabor Juhos <juhosg@openwrt.org> | 2014-02-19 12:15:34 +0000 |
---|---|---|
committer | Gabor Juhos <juhosg@openwrt.org> | 2014-02-19 12:15:34 +0000 |
commit | 35674d7b759fb124f777d0911150355c87aa9a4d (patch) | |
tree | 19823e7b396a00bf4de8ec19a9747cbd10f6114f /target/linux/ar71xx/base-files/etc | |
parent | 3375c8b727566039b8b816258f14b99de0348a8e (diff) | |
download | master-187ad058-35674d7b759fb124f777d0911150355c87aa9a4d.tar.gz master-187ad058-35674d7b759fb124f777d0911150355c87aa9a4d.tar.bz2 master-187ad058-35674d7b759fb124f777d0911150355c87aa9a4d.zip |
ar71xx: add user-space support for TP-Link TL-WDR4900 v2.0 board
Patch-by: TenNinjas <tenninjas@tenninjas.ca>
Patchwork: http://patchwork.openwrt.org/patch/4849/
[juhosg:
- use the Archer C7 specific LED setup instead of adding
identical code]
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39636 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/ar71xx/base-files/etc')
-rwxr-xr-x | target/linux/ar71xx/base-files/etc/diag.sh | 1 | ||||
-rwxr-xr-x | target/linux/ar71xx/base-files/etc/uci-defaults/01_leds | 3 | ||||
-rwxr-xr-x | target/linux/ar71xx/base-files/etc/uci-defaults/02_network | 3 |
3 files changed, 5 insertions, 2 deletions
diff --git a/target/linux/ar71xx/base-files/etc/diag.sh b/target/linux/ar71xx/base-files/etc/diag.sh index 6e4445f4fa..dea3f811e8 100755 --- a/target/linux/ar71xx/base-files/etc/diag.sh +++ b/target/linux/ar71xx/base-files/etc/diag.sh @@ -160,6 +160,7 @@ get_status_led() { status_led="tp-link:green:system" ;; archer-c7 | \ + tl-wdr4900-v2 | \ tl-mr10u | \ tl-mr13u | \ tl-wdr4300 | \ diff --git a/target/linux/ar71xx/base-files/etc/uci-defaults/01_leds b/target/linux/ar71xx/base-files/etc/uci-defaults/01_leds index 04ca3e26fb..a986dbcf54 100755 --- a/target/linux/ar71xx/base-files/etc/uci-defaults/01_leds +++ b/target/linux/ar71xx/base-files/etc/uci-defaults/01_leds @@ -228,7 +228,8 @@ tl-wdr4300) ucidef_set_led_wlan "wlan2g" "WLAN2G" "tp-link:blue:wlan2g" "phy0tpt" ;; -archer-c7) +archer-c7|\ +tl-wdr4900-v2) ucidef_set_led_usbdev "usb1" "USB1" "tp-link:green:usb1" "1-1" ucidef_set_led_usbdev "usb2" "USB2" "tp-link:green:usb2" "2-1" ucidef_set_led_wlan "wlan2g" "WLAN2G" "tp-link:blue:wlan2g" "phy0tpt" diff --git a/target/linux/ar71xx/base-files/etc/uci-defaults/02_network b/target/linux/ar71xx/base-files/etc/uci-defaults/02_network index dac75ae051..fd38ffa015 100755 --- a/target/linux/ar71xx/base-files/etc/uci-defaults/02_network +++ b/target/linux/ar71xx/base-files/etc/uci-defaults/02_network @@ -46,7 +46,8 @@ tl-wr1043nd-v2) ucidef_add_switch_vlan "switch0" "2" "5 6" ;; -archer-c7) +archer-c7 |\ +tl-wdr4900-v2) ucidef_set_interfaces_lan_wan "eth1" "eth0" ucidef_add_switch "switch0" "1" "1" ucidef_add_switch_vlan "switch0" "1" "0 2 3 4 5" |