diff options
Diffstat (limited to 'target/linux/ar71xx/base-files/etc')
-rwxr-xr-x | target/linux/ar71xx/base-files/etc/board.d/01_leds | 9 | ||||
-rwxr-xr-x | target/linux/ar71xx/base-files/etc/board.d/02_network | 3 | ||||
-rw-r--r-- | target/linux/ar71xx/base-files/etc/diag.sh | 3 |
3 files changed, 14 insertions, 1 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 d731130540..cf05859813 100755 --- a/target/linux/ar71xx/base-files/etc/board.d/01_leds +++ b/target/linux/ar71xx/base-files/etc/board.d/01_leds @@ -813,6 +813,15 @@ wzr-hp-g300nh) ucidef_set_led_usbdev "usb" "USB" "buffalo:blue:usb" "1-1" ;; +zbt-we1526) + ucidef_set_led_netdev "wan" "WAN" "zbt-we1526:green:wan" "eth1" + ucidef_set_led_switch "lan1" "LAN1" "zbt-we1526:green:lan1" "switch0" "0x10" + ucidef_set_led_switch "lan2" "LAN2" "zbt-we1526:green:lan2" "switch0" "0x08" + ucidef_set_led_switch "lan3" "LAN3" "zbt-we1526:green:lan3" "switch0" "0x04" + ucidef_set_led_switch "lan4" "LAN4" "zbt-we1526:green:lan4" "switch0" "0x02" + ucidef_set_led_wlan "wlan" "WLAN" "zbt-we1526:green:wlan" "phy0tpt" + ;; + zcn-1523h-2) ucidef_set_led_netdev "lan1" "lan1" "zcn-1523h:green:lan1" "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 11e78a687c..f185e059b2 100755 --- a/target/linux/ar71xx/base-files/etc/board.d/02_network +++ b/target/linux/ar71xx/base-files/etc/board.d/02_network @@ -479,7 +479,8 @@ tl-wr842n-v3 |\ whr-g301n |\ whr-hp-g300n |\ whr-hp-gn |\ -wzr-hp-ag300h) +wzr-hp-ag300h |\ +zbt-we1526) ucidef_set_interfaces_lan_wan "eth0" "eth1" ucidef_add_switch "switch0" \ "0@eth0" "1:lan:4" "2:lan:3" "3:lan:2" "4:lan:1" diff --git a/target/linux/ar71xx/base-files/etc/diag.sh b/target/linux/ar71xx/base-files/etc/diag.sh index 71ebf89cd9..69ef609332 100644 --- a/target/linux/ar71xx/base-files/etc/diag.sh +++ b/target/linux/ar71xx/base-files/etc/diag.sh @@ -426,6 +426,9 @@ get_status_led() { wrt160nl) status_led="wrt160nl:blue:wps" ;; + zbt-we1526) + status_led="zbt-we1526:green:status" + ;; zcn-1523h-2 | zcn-1523h-5) status_led="zcn-1523h:amber:init" ;; |