diff options
author | Gabor Juhos <juhosg@openwrt.org> | 2012-05-05 17:02:35 +0000 |
---|---|---|
committer | Gabor Juhos <juhosg@openwrt.org> | 2012-05-05 17:02:35 +0000 |
commit | ab897ab04e6795c7b23860505cdae92d5641c312 (patch) | |
tree | ed9b7282eb95f99818daea4827af360c290efc2e /target/linux/ar71xx/base-files/etc | |
parent | 73383c252ee0ff1bb66c576a180a43547ca7f6b5 (diff) | |
download | mtk-20170518-ab897ab04e6795c7b23860505cdae92d5641c312.zip mtk-20170518-ab897ab04e6795c7b23860505cdae92d5641c312.tar.gz mtk-20170518-ab897ab04e6795c7b23860505cdae92d5641c312.tar.bz2 |
ar71xx: add support for the TP-Link TL-WR1041N v2 board
Patch-by: Vince Huang <axishero@foxmail.com>
SVN-Revision: 31608
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/leds | 3 | ||||
-rwxr-xr-x | target/linux/ar71xx/base-files/etc/uci-defaults/network | 7 |
3 files changed, 10 insertions, 1 deletions
diff --git a/target/linux/ar71xx/base-files/etc/diag.sh b/target/linux/ar71xx/base-files/etc/diag.sh index c6f2cf7..6cee29f 100755 --- a/target/linux/ar71xx/base-files/etc/diag.sh +++ b/target/linux/ar71xx/base-files/etc/diag.sh @@ -112,6 +112,7 @@ get_status_led() { tl-mr3420 | \ tl-wa901nd | \ tl-wa901nd-v2 | \ + tl-wr1041n-v2 | \ tl-wr1043nd | \ tl-wr741nd | \ tl-wr741nd-v4 | \ diff --git a/target/linux/ar71xx/base-files/etc/uci-defaults/leds b/target/linux/ar71xx/base-files/etc/uci-defaults/leds index c8edcae..2ec67cb 100755 --- a/target/linux/ar71xx/base-files/etc/uci-defaults/leds +++ b/target/linux/ar71xx/base-files/etc/uci-defaults/leds @@ -188,7 +188,8 @@ tl-wr741nd-v4) set_led_wlan "wlan" "WLAN" "tp-link:green:wlan" "phy0tpt" ;; -tl-wr941nd) +tl-wr941nd | \ +tl-wr1041n-v2) set_led_wlan "wlan" "WLAN" "tp-link:green:wlan" "phy0tpt" ;; diff --git a/target/linux/ar71xx/base-files/etc/uci-defaults/network b/target/linux/ar71xx/base-files/etc/uci-defaults/network index 3863705..3fbb9fc 100755 --- a/target/linux/ar71xx/base-files/etc/uci-defaults/network +++ b/target/linux/ar71xx/base-files/etc/uci-defaults/network @@ -89,6 +89,13 @@ ap113) ucidef_add_switch_vlan "eth0" "2" "0t 2" ;; +tl-wr1041n-v2) + ucidef_set_interfaces_lan_wan "eth0.1" "eth0.2" + ucidef_add_switch "eth0" "1" "1" + ucidef_add_switch_vlan "eth0" "1" "0t 2 3 4 5" + ucidef_add_switch_vlan "eth0" "2" "0t 1" + ;; + tl-wr1043nd) ucidef_set_interfaces_lan_wan "eth0.1" "eth0.2" ucidef_add_switch "rtl8366rb" "1" "1" |