ar71xx: fix LED configuration on the RB-750
authorGabor Juhos <juhosg@openwrt.org>
Thu, 5 Jan 2012 18:08:28 +0000 (18:08 +0000)
committerGabor Juhos <juhosg@openwrt.org>
Thu, 5 Jan 2012 18:08:28 +0000 (18:08 +0000)
SVN-Revision: 29666

target/linux/ar71xx/base-files/etc/uci-defaults/leds

index f3b67a391e258c32b5bbc769a7e1febee11d67a9..4d04dd7abe7f6f33f646721463679a5a87028a44 100755 (executable)
@@ -106,9 +106,13 @@ alfa-nx)
        set_led_netdev "lan" "LAN" "alfa:green:led_3" "eth1"
        ;;
 
        set_led_netdev "lan" "LAN" "alfa:green:led_3" "eth1"
        ;;
 
-rb750)
+rb-750)
        set_led_default "act" "act" "rb750:green:act" "1"
        set_led_netdev "port1" "port1" "rb750:green:port1" "eth1"
        set_led_default "act" "act" "rb750:green:act" "1"
        set_led_netdev "port1" "port1" "rb750:green:port1" "eth1"
+       set_led_switch "port2" "port2" "rb750:green:port2" "switch0" "0x10"
+       set_led_switch "port3" "port3" "rb750:green:port3" "switch0" "0x08"
+       set_led_switch "port4" "port4" "rb750:green:port4" "switch0" "0x04"
+       set_led_switch "port5" "port5" "rb750:green:port5" "switch0" "0x02"
        ;;
 
 dir-825-b1)
        ;;
 
 dir-825-b1)