summaryrefslogtreecommitdiff
path: root/target/linux/ar71xx/base-files/etc
diff options
context:
space:
mode:
authorGabor Juhos <juhosg@openwrt.org>2012-01-31 20:49:34 +0000
committerGabor Juhos <juhosg@openwrt.org>2012-01-31 20:49:34 +0000
commit41bd6bd282aa75e357c9a4eaf27518726301b4dc (patch)
tree1b3c5ab6a43739951baeaa1652e02b1e281f84e0 /target/linux/ar71xx/base-files/etc
parentc315ce403bad47c55f162805b258091a3b8164e5 (diff)
downloadmtk-20170518-41bd6bd282aa75e357c9a4eaf27518726301b4dc.zip
mtk-20170518-41bd6bd282aa75e357c9a4eaf27518726301b4dc.tar.gz
mtk-20170518-41bd6bd282aa75e357c9a4eaf27518726301b4dc.tar.bz2
ar71xx: fix ethernet LEDs on the WHR-{G301N,HP-G300N,HP-GN} boards
SVN-Revision: 29978
Diffstat (limited to 'target/linux/ar71xx/base-files/etc')
-rwxr-xr-xtarget/linux/ar71xx/base-files/etc/uci-defaults/leds10
1 files changed, 10 insertions, 0 deletions
diff --git a/target/linux/ar71xx/base-files/etc/uci-defaults/leds b/target/linux/ar71xx/base-files/etc/uci-defaults/leds
index 05c2f27..450cbc7 100755
--- a/target/linux/ar71xx/base-files/etc/uci-defaults/leds
+++ b/target/linux/ar71xx/base-files/etc/uci-defaults/leds
@@ -209,6 +209,16 @@ wndr3700)
set_led_usbdev "usb" "USB" "wndr3700:green:usb" "1-1"
;;
+whr-g301n |\
+whr-hp-g300n |\
+whr-hp-gn)
+ set_led_netdev "wan" "WAN" "buffalo:green:wan" "eth1"
+ set_led_switch "lan1" "LAN1" "buffalo:green:lan1" "switch0" "0x02"
+ set_led_switch "lan2" "LAN2" "buffalo:green:lan2" "switch0" "0x04"
+ set_led_switch "lan3" "LAN3" "buffalo:green:lan3" "switch0" "0x08"
+ set_led_switch "lan4" "LAN4" "buffalo:green:lan4" "switch0" "0x10"
+ ;;
+
wzr-hp-g300nh)
set_led_wlan "wlan" "Wireless" "buffalo:green:wireless" "phy0tpt"
set_led_netdev "router" "Router" "buffalo:green:router" "eth1"