diff options
Diffstat (limited to 'target/linux')
-rwxr-xr-x | target/linux/ar71xx/base-files/etc/board.d/01_leds | 1 | ||||
-rw-r--r-- | target/linux/ar71xx/files/arch/mips/ath79/mach-gl-ar300m.c | 9 |
2 files changed, 2 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 170adaa7a2..183495e57f 100755 --- a/target/linux/ar71xx/base-files/etc/board.d/01_leds +++ b/target/linux/ar71xx/base-files/etc/board.d/01_leds @@ -412,6 +412,7 @@ fritz450e) ;; gl-ar300m) ucidef_set_led_wlan "wlan" "WLAN" "$board:red:wlan" "phy0tpt" + ucidef_set_led_netdev "lan" "LAN" "$board:green:lan" "eth1" ;; gl-ar750) ucidef_set_led_wlan "wlan2g" "WLAN2G" "$board:white:wlan2g" "phy1tpt" diff --git a/target/linux/ar71xx/files/arch/mips/ath79/mach-gl-ar300m.c b/target/linux/ar71xx/files/arch/mips/ath79/mach-gl-ar300m.c index 2a2d2702bc..d10a910129 100644 --- a/target/linux/ar71xx/files/arch/mips/ath79/mach-gl-ar300m.c +++ b/target/linux/ar71xx/files/arch/mips/ath79/mach-gl-ar300m.c @@ -29,7 +29,6 @@ #include "machtypes.h" #include "pci.h" -#define GL_AR300M_GPIO_LED_USB 2 #define GL_AR300M_GPIO_LED_WLAN 14 #define GL_AR300M_GPIO_LED_LAN 13 #define GL_AR300M_GPIO_LED_SYSTEM 12 @@ -47,13 +46,7 @@ static struct gpio_led gl_ar300m_leds_gpio[] __initdata = { { - .name = "gl-ar300m:green:usb", - .gpio = GL_AR300M_GPIO_LED_USB, - .active_low = 0, - .default_state = 1, - }, - { - .name = "gl-ar300m:green:wlan", + .name = "gl-ar300m:red:wlan", .gpio = GL_AR300M_GPIO_LED_WLAN, .active_low = 1, }, |