unifi)
status_led="ubnt:green:dome"
;;
- whr-hp-g300n)
- status_led="whr-hp-g300n:green:router"
+ whr-hp-g300n | \
+ wzr-hp-g300nh)
+ status_led="buffalo:green:router"
;;
wndr3700 | wndr3700v2)
status_led="wndr3700:green:power"
wrt160nl)
status_led="wrt160nl:blue:wps"
;;
- wzr-hp-g300nh)
- status_led="wzr-hp-g300nh:green:router"
- ;;
zcn-1523h-2 | zcn-1523h-5)
status_led="zcn-1523h:amber:init"
;;
add system led
set system.@led[-1]='led'
set system.@led[-1].name='Wireless'
-set system.@led[-1].sysfs='wzr-hp-g300nh:green:wireless'
+set system.@led[-1].sysfs='buffalo:green:wireless'
set system.@led[-1].trigger='phy0tpt'
add system led
set system.@led[-1]='led'
set system.@led[-1].name='Router'
-set system.@led[-1].sysfs='wzr-hp-g300nh:green:router'
+set system.@led[-1].sysfs='buffalo:green:router'
set system.@led[-1].trigger='netdev'
set system.@led[-1].dev='eth1'
set system.@led[-1].mode='link tx rx'
add system led
set system.@led[-1]='led'
set system.@led[-1].name='USB'
-set system.@led[-1].sysfs='wzr-hp-g300nh:blue:usb'
+set system.@led[-1].sysfs='buffalo:blue:usb'
set system.@led[-1].trigger='usbdev'
set system.@led[-1].dev='1-1'
set system.@led[-1].interval='50'
static struct gpio_led whrhpg300n_leds_gpio[] __initdata = {
{
- .name = "whr-hp-g300n:orange:security",
+ .name = "buffalo:orange:security",
.gpio = WHRHPG300N_GPIO_LED_SECURITY,
.active_low = 1,
}, {
- .name = "whr-hp-g300n:red:diag",
+ .name = "buffalo:red:diag",
.gpio = WHRHPG300N_GPIO_LED_DIAG,
.active_low = 1,
}, {
- .name = "whr-hp-g300n:green:router",
+ .name = "buffalo:green:router",
.gpio = WHRHPG300N_GPIO_LED_ROUTER,
.active_low = 1,
}
static struct gpio_led wzrhpag300h_leds_gpio[] __initdata = {
{
- .name = "wzr-hp-ag300h:red:diag",
+ .name = "buffalo:red:diag",
.gpio = 1,
.active_low = 1,
},
static struct gpio_led wzrhpg300nh_leds_gpio[] __initdata = {
{
- .name = "wzr-hp-g300nh:orange:security",
+ .name = "buffalo:orange:security",
.gpio = WZRHPG300NH_GPIO_LED_SECURITY,
.active_low = 1,
}, {
- .name = "wzr-hp-g300nh:green:wireless",
+ .name = "buffalo:green:wireless",
.gpio = WZRHPG300NH_GPIO_LED_WIRELESS,
.active_low = 1,
}, {
- .name = "wzr-hp-g300nh:green:router",
+ .name = "buffalo:green:router",
.gpio = WZRHPG300NH_GPIO_LED_ROUTER,
.active_low = 1,
}, {
- .name = "wzr-hp-g300nh:red:diag",
+ .name = "buffalo:red:diag",
.gpio = WZRHPG300NH_GPIO_LED_DIAG,
.active_low = 1,
}, {
- .name = "wzr-hp-g300nh:blue:usb",
+ .name = "buffalo:blue:usb",
.gpio = WZRHPG300NH_GPIO_LED_USB,
.active_low = 1,
}