summaryrefslogtreecommitdiff
path: root/target
diff options
context:
space:
mode:
authorGabor Juhos <juhosg@openwrt.org>2011-07-28 10:56:21 +0000
committerGabor Juhos <juhosg@openwrt.org>2011-07-28 10:56:21 +0000
commit42d3a55347f27e6da477574a0e5c1d7b69aba5a8 (patch)
treede42a5919bca44fd7ed95a7c0056a701c92ec8c5 /target
parent39689b648f3cebb0060a5a34905fbbb58bd9970a (diff)
downloadmtk-20170518-42d3a55347f27e6da477574a0e5c1d7b69aba5a8.zip
mtk-20170518-42d3a55347f27e6da477574a0e5c1d7b69aba5a8.tar.gz
mtk-20170518-42d3a55347f27e6da477574a0e5c1d7b69aba5a8.tar.bz2
ramips: rt305x: rename LEDs on the DIR-300-B1
SVN-Revision: 27806
Diffstat (limited to 'target')
-rwxr-xr-xtarget/linux/ramips/base-files/etc/diag.sh2
-rw-r--r--target/linux/ramips/files/arch/mips/ralink/rt305x/mach-dir-300-revb.c6
2 files changed, 4 insertions, 4 deletions
diff --git a/target/linux/ramips/base-files/etc/diag.sh b/target/linux/ramips/base-files/etc/diag.sh
index 1678460..f0bd63f 100755
--- a/target/linux/ramips/base-files/etc/diag.sh
+++ b/target/linux/ramips/base-files/etc/diag.sh
@@ -31,7 +31,7 @@ status_led_off() {
get_status_led() {
case $(ramips_board_name) in
dir-300-b1)
- status_led="dir-300b:green:status"
+ status_led="d-link:green:status"
;;
fonera20n)
status_led="fonera20n:green:power"
diff --git a/target/linux/ramips/files/arch/mips/ralink/rt305x/mach-dir-300-revb.c b/target/linux/ramips/files/arch/mips/ralink/rt305x/mach-dir-300-revb.c
index 5a947e8..7263389 100644
--- a/target/linux/ramips/files/arch/mips/ralink/rt305x/mach-dir-300-revb.c
+++ b/target/linux/ramips/files/arch/mips/ralink/rt305x/mach-dir-300-revb.c
@@ -73,15 +73,15 @@ static struct physmap_flash_data dir_300b_flash_data = {
static struct gpio_led dir_300b_leds_gpio[] __initdata = {
{
- .name = "dir-300b:amber:status",
+ .name = "d-link:amber:status",
.gpio = DIR_300B_GPIO_LED_STATUS_AMBER,
.active_low = 1,
}, {
- .name = "dir-300b:green:status",
+ .name = "d-link:green:status",
.gpio = DIR_300B_GPIO_LED_STATUS_GREEN,
.active_low = 1,
}, {
- .name = "dir-300b:blue:wps",
+ .name = "d-link:blue:wps",
.gpio = DIR_300B_GPIO_LED_WPS,
.active_low = 1,
}