diff options
author | Felix Fietkau <nbd@openwrt.org> | 2016-03-05 09:45:10 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2016-03-05 09:45:10 +0000 |
commit | 94b8a6b5cfed94bea8b5d1baacceb3280bab8eac (patch) | |
tree | 91c47c4420e7260ef69c745ae662548dc105627a /target | |
parent | 53b3872ddf34fb6a972d4bf77d85bac9393c8b3f (diff) | |
download | mtk-20170518-94b8a6b5cfed94bea8b5d1baacceb3280bab8eac.zip mtk-20170518-94b8a6b5cfed94bea8b5d1baacceb3280bab8eac.tar.gz mtk-20170518-94b8a6b5cfed94bea8b5d1baacceb3280bab8eac.tar.bz2 |
ar71xx: WNR2000v3: add speed_mask to Ethernet port LED initialization
This patch add speed_mask parameter to Ethernet port LED initialization
during system startup. LEDs are configured to show amber light for 10 Mbps
link and green for 100 Mbps as described on device label.
Signed-off-by: Michal Cieslakiewicz <michal.cieslakiewicz@wp.pl>
SVN-Revision: 48923
Diffstat (limited to 'target')
-rwxr-xr-x | target/linux/ar71xx/base-files/etc/board.d/01_leds | 16 |
1 files changed, 8 insertions, 8 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 7374422..37ee3d3 100755 --- a/target/linux/ar71xx/base-files/etc/board.d/01_leds +++ b/target/linux/ar71xx/base-files/etc/board.d/01_leds @@ -680,14 +680,14 @@ wnr2000-v3) ucidef_set_led_netdev "wan-amber" "WAN (amber)" "netgear:amber:wan" "eth0" ucidef_set_led_default "wan-green" "WAN (green)" "netgear:green:wan" "0" ucidef_set_led_netdev "wlan" "WLAN" "netgear:blue:wlan" "wlan0" - ucidef_set_led_switch "lan1green" "LAN1 (green)" "netgear:green:lan1" "switch0" "0x02" - ucidef_set_led_switch "lan2green" "LAN2 (green)" "netgear:green:lan2" "switch0" "0x04" - ucidef_set_led_switch "lan3green" "LAN3 (green)" "netgear:green:lan3" "switch0" "0x08" - ucidef_set_led_switch "lan4green" "LAN4 (green)" "netgear:green:lan4" "switch0" "0x10" - ucidef_set_led_default "lan1amber" "LAN1 (amber)" "netgear:amber:lan1" "0" - ucidef_set_led_default "lan2amber" "LAN2 (amber)" "netgear:amber:lan2" "0" - ucidef_set_led_default "lan3amber" "LAN3 (amber)" "netgear:amber:lan3" "0" - ucidef_set_led_default "lan4amber" "LAN4 (amber)" "netgear:amber:lan4" "0" + ucidef_set_led_switch "lan1green" "LAN1 (green)" "netgear:green:lan1" "switch0" "0x02" "0x04" + ucidef_set_led_switch "lan2green" "LAN2 (green)" "netgear:green:lan2" "switch0" "0x04" "0x04" + ucidef_set_led_switch "lan3green" "LAN3 (green)" "netgear:green:lan3" "switch0" "0x08" "0x04" + ucidef_set_led_switch "lan4green" "LAN4 (green)" "netgear:green:lan4" "switch0" "0x10" "0x04" + ucidef_set_led_switch "lan1amber" "LAN1 (amber)" "netgear:amber:lan1" "switch0" "0x02" "0x02" + ucidef_set_led_switch "lan2amber" "LAN2 (amber)" "netgear:amber:lan2" "switch0" "0x04" "0x02" + ucidef_set_led_switch "lan3amber" "LAN3 (amber)" "netgear:amber:lan3" "switch0" "0x08" "0x02" + ucidef_set_led_switch "lan4amber" "LAN4 (amber)" "netgear:amber:lan4" "switch0" "0x10" "0x02" ;; wnr2000-v4) |