1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-11-24 05:48:05 +02:00

ar71xx: fix the AP/Router LED definitons on MZK-W300NH

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29897 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
juhosg 2012-01-24 18:40:38 +00:00
parent 280177d53b
commit f2dce5bf3d
2 changed files with 12 additions and 16 deletions

View File

@ -21,8 +21,8 @@
#define MZK_W300NH_GPIO_LED_STATUS 1 #define MZK_W300NH_GPIO_LED_STATUS 1
#define MZK_W300NH_GPIO_LED_WPS 3 #define MZK_W300NH_GPIO_LED_WPS 3
#define MZK_W300NH_GPIO_LED_WLAN 6 #define MZK_W300NH_GPIO_LED_WLAN 6
#define MZK_W300NH_GPIO_LED_AP 15 #define MZK_W300NH_GPIO_LED_AP_GREEN 15
#define MZK_W300NH_GPIO_LED_ROUTER 16 #define MZK_W300NH_GPIO_LED_AP_AMBER 16
#define MZK_W300NH_GPIO_BTN_APROUTER 5 #define MZK_W300NH_GPIO_BTN_APROUTER 5
#define MZK_W300NH_GPIO_BTN_WPS 12 #define MZK_W300NH_GPIO_BTN_WPS 12
@ -45,13 +45,11 @@ static struct gpio_led mzk_w300nh_leds_gpio[] __initdata = {
.gpio = MZK_W300NH_GPIO_LED_WLAN, .gpio = MZK_W300NH_GPIO_LED_WLAN,
.active_low = 1, .active_low = 1,
}, { }, {
.name = "planex:green:ap", .name = "planex:green:aprouter",
.gpio = MZK_W300NH_GPIO_LED_AP, .gpio = MZK_W300NH_GPIO_LED_AP_GREEN,
.active_low = 1,
}, { }, {
.name = "planex:green:router", .name = "planex:amber:aprouter",
.gpio = MZK_W300NH_GPIO_LED_ROUTER, .gpio = MZK_W300NH_GPIO_LED_AP_AMBER,
.active_low = 1,
} }
}; };

View File

@ -21,8 +21,8 @@
#define MZK_W300NH_GPIO_LED_STATUS 1 #define MZK_W300NH_GPIO_LED_STATUS 1
#define MZK_W300NH_GPIO_LED_WPS 3 #define MZK_W300NH_GPIO_LED_WPS 3
#define MZK_W300NH_GPIO_LED_WLAN 6 #define MZK_W300NH_GPIO_LED_WLAN 6
#define MZK_W300NH_GPIO_LED_AP 15 #define MZK_W300NH_GPIO_LED_AP_GREEN 15
#define MZK_W300NH_GPIO_LED_ROUTER 16 #define MZK_W300NH_GPIO_LED_AP_AMBER 16
#define MZK_W300NH_GPIO_BTN_APROUTER 5 #define MZK_W300NH_GPIO_BTN_APROUTER 5
#define MZK_W300NH_GPIO_BTN_WPS 12 #define MZK_W300NH_GPIO_BTN_WPS 12
@ -45,13 +45,11 @@ static struct gpio_led mzk_w300nh_leds_gpio[] __initdata = {
.gpio = MZK_W300NH_GPIO_LED_WLAN, .gpio = MZK_W300NH_GPIO_LED_WLAN,
.active_low = 1, .active_low = 1,
}, { }, {
.name = "planex:green:ap", .name = "planex:green:aprouter",
.gpio = MZK_W300NH_GPIO_LED_AP, .gpio = MZK_W300NH_GPIO_LED_AP_GREEN,
.active_low = 1,
}, { }, {
.name = "planex:green:router", .name = "planex:amber:aprouter",
.gpio = MZK_W300NH_GPIO_LED_ROUTER, .gpio = MZK_W300NH_GPIO_LED_AP_AMBER,
.active_low = 1,
} }
}; };