aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ar71xx/base-files/etc
diff options
context:
space:
mode:
Diffstat (limited to 'target/linux/ar71xx/base-files/etc')
-rwxr-xr-xtarget/linux/ar71xx/base-files/etc/board.d/01_leds20
-rwxr-xr-xtarget/linux/ar71xx/base-files/etc/board.d/02_network3
-rw-r--r--target/linux/ar71xx/base-files/etc/diag.sh3
3 files changed, 23 insertions, 3 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 cfb42a590a..151eac2db8 100755
--- a/target/linux/ar71xx/base-files/etc/board.d/01_leds
+++ b/target/linux/ar71xx/base-files/etc/board.d/01_leds
@@ -684,7 +684,25 @@ wnr2000-v4)
ucidef_set_led_switch "lan3" "LAN3" "netgear:amber:lan3" "switch0" "0x08"
ucidef_set_led_switch "lan4" "LAN4" "netgear:amber:lan4" "switch0" "0x10"
ucidef_set_led_usbdev "usb" "USB" "netgear:amber:status" "1-1"
- ;;
+ ;;
+
+wpn824n)
+ ucidef_set_led_netdev "wan-amber" "WAN (amber)" "netgear:amber:wan" "eth0"
+ ucidef_set_led_wlan "wlan" "WLAN" "netgear:blue:wlan" "phy0tpt"
+ ucidef_set_led_switch "lan1amber" "LAN1 (amber)" "netgear:amber:lan1" "switch0" "0x02"
+ ucidef_set_led_switch "lan2amber" "LAN2 (amber)" "netgear:amber:lan2" "switch0" "0x04"
+ ucidef_set_led_switch "lan3amber" "LAN3 (amber)" "netgear:amber:lan3" "switch0" "0x08"
+ ucidef_set_led_switch "lan4amber" "LAN4 (amber)" "netgear:amber:lan4" "switch0" "0x10"
+ ucidef_set_led_default "lan1green" "LAN1 (green)" "netgear:green:lan1" "0"
+ ucidef_set_led_default "lan2green" "LAN2 (green)" "netgear:green:lan2" "0"
+ ucidef_set_led_default "lan3green" "LAN3 (green)" "netgear:green:lan3" "0"
+ ucidef_set_led_default "lan4green" "LAN4 (green)" "netgear:green:lan4" "0"
+ ucidef_set_led_default "wan-green" "WAN (green)" "netgear:green:wan" "0"
+ ucidef_set_led_default "wps1" "WPS1" "netgear:blue:wps1" "0"
+ ucidef_set_led_default "wps2" "WPS2" "netgear:blue:wps2" "0"
+ ucidef_set_led_default "status" "STATUS" "netgear:amber:status" "0"
+ ucidef_set_led_default "test" "TEST" "netgear:amber:test" "0"
+ ;;
wzr-hp-ag300h)
ucidef_set_led_default "diag" "DIAG" "buffalo:red:diag" "0"
diff --git a/target/linux/ar71xx/base-files/etc/board.d/02_network b/target/linux/ar71xx/base-files/etc/board.d/02_network
index 190b6932a9..944ced3a16 100755
--- a/target/linux/ar71xx/base-files/etc/board.d/02_network
+++ b/target/linux/ar71xx/base-files/etc/board.d/02_network
@@ -227,7 +227,8 @@ wnr2000-v3 |\
wnr2000-v4 |\
wnr2200 |\
wnr612-v2 |\
-wnr1000-v2)
+wnr1000-v2 |\
+wpn824n)
ucidef_set_interfaces_lan_wan "eth1" "eth0"
ucidef_add_switch "switch0" \
"0:lan:4" "1:lan:3" "2:lan:2" "3:lan:1" "4@eth1" # XXX: confirm!
diff --git a/target/linux/ar71xx/base-files/etc/diag.sh b/target/linux/ar71xx/base-files/etc/diag.sh
index 13a0a98d30..c0e73ad28b 100644
--- a/target/linux/ar71xx/base-files/etc/diag.sh
+++ b/target/linux/ar71xx/base-files/etc/diag.sh
@@ -370,7 +370,8 @@ get_status_led() {
wnr2000 | \
wnr2200 |\
wnr612-v2 |\
- wnr1000-v2)
+ wnr1000-v2 |\
+ wpn824n)
status_led="netgear:green:power"
;;
wp543)