diff options
Diffstat (limited to 'target/linux/ar71xx/base-files')
5 files changed, 15 insertions, 0 deletions
diff --git a/target/linux/ar71xx/base-files/etc/board.d/01_leds b/target/linux/ar71xx/base-files/etc/board.d/01_leds index 24c71f2a3c..fa47461f64 100755 --- a/target/linux/ar71xx/base-files/etc/board.d/01_leds +++ b/target/linux/ar71xx/base-files/etc/board.d/01_leds @@ -542,6 +542,7 @@ r36a) ucidef_set_led_wlan "wlan" "WLAN" "$board:blue:wlan" "phy0tpt" ;; r602n|\ +t830|\ zbt-we1526) ucidef_set_led_netdev "wan" "WAN" "$board:green:wan" "eth1" ucidef_set_led_switch "lan1" "LAN1" "$board:green:lan1" "switch0" "0x10" @@ -549,6 +550,12 @@ zbt-we1526) ucidef_set_led_switch "lan3" "LAN3" "$board:green:lan3" "switch0" "0x04" ucidef_set_led_switch "lan4" "LAN4" "$board:green:lan4" "switch0" "0x02" ucidef_set_led_wlan "wlan" "WLAN" "$board:green:wlan" "phy0tpt" + + case "$board" in + t830) + ucidef_set_led_usbdev "usb" "USB" "$board:green:usb" "1-1" + ;; + esac ;; r6100) ucidef_set_led_netdev "wan" "WAN (green)" "netgear:green:wan" "eth0" diff --git a/target/linux/ar71xx/base-files/etc/board.d/02_network b/target/linux/ar71xx/base-files/etc/board.d/02_network index f4e113a814..6beb8fbfdb 100755 --- a/target/linux/ar71xx/base-files/etc/board.d/02_network +++ b/target/linux/ar71xx/base-files/etc/board.d/02_network @@ -34,6 +34,7 @@ ar71xx_setup_interfaces() rb-750|\ rb-751|\ som9331|\ + t830|\ tew-632brp|\ tew-712br|\ tew-732br|\ diff --git a/target/linux/ar71xx/base-files/etc/diag.sh b/target/linux/ar71xx/base-files/etc/diag.sh index f7f622d92b..41b6f09304 100644 --- a/target/linux/ar71xx/base-files/etc/diag.sh +++ b/target/linux/ar71xx/base-files/etc/diag.sh @@ -388,6 +388,9 @@ get_status_led() { qihoo-c301) status_led="qihoo:green:status" ;; + t830) + status_led="$board:green:usb" + ;; tellstick-znet-lite) status_led="tellstick:white:system" ;; diff --git a/target/linux/ar71xx/base-files/lib/ar71xx.sh b/target/linux/ar71xx/base-files/lib/ar71xx.sh index 034a3a435b..a041255c90 100755 --- a/target/linux/ar71xx/base-files/lib/ar71xx.sh +++ b/target/linux/ar71xx/base-files/lib/ar71xx.sh @@ -1064,6 +1064,9 @@ ar71xx_board_detect() { *"SR3200") name="sr3200" ;; + *"T830") + name="t830" + ;; *"TellStick ZNet Lite") name="tellstick-znet-lite" ;; diff --git a/target/linux/ar71xx/base-files/lib/upgrade/platform.sh b/target/linux/ar71xx/base-files/lib/upgrade/platform.sh index 2904535372..d7b4c63848 100755 --- a/target/linux/ar71xx/base-files/lib/upgrade/platform.sh +++ b/target/linux/ar71xx/base-files/lib/upgrade/platform.sh @@ -276,6 +276,7 @@ platform_check_image() { sc300m|\ sc450|\ sr3200|\ + t830|\ tew-632brp|\ tew-712br|\ tew-732br|\ |