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
This commit is contained in:
parent
53b3872ddf
commit
94b8a6b5cf
1 changed files with 8 additions and 8 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue