aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/apm821xx/base-files/etc/board.d/01_leds
diff options
context:
space:
mode:
authorChristian Lamparter <chunkeey@gmail.com>2022-06-24 20:55:15 +0200
committerChristian Lamparter <chunkeey@gmail.com>2022-06-25 00:06:46 +0200
commit36483600d337ab3ec8a6dabeaa160614d07f5588 (patch)
tree23161ee75178a9e5edf1ad4aadf076fd17b585a0 /target/linux/apm821xx/base-files/etc/board.d/01_leds
parent9fc2d58bf8b37f80e8027dc55b6007e0bfa66ebe (diff)
downloadupstream-36483600d337ab3ec8a6dabeaa160614d07f5588.tar.gz
upstream-36483600d337ab3ec8a6dabeaa160614d07f5588.tar.bz2
upstream-36483600d337ab3ec8a6dabeaa160614d07f5588.zip
apm821xx: WNDAP660: fix ethernet port ordering
Tim Small reported: | Viewing the 'Network' -> 'Switch' config page in LuCI: | | The LuCI LAN 1 port corresponds to the port physically | labelled 2 at the rear of the device. | [...] | | When a patch cord is attached to the port labelled 1 [...], | the LED labelled 2 illuminates. [...] => Ports, LuCI and LEDs are reversed/don't match. Reported-by: Tim Small Fixes: #10111 Signed-off-by: Christian Lamparter <chunkeey@gmail.com>
Diffstat (limited to 'target/linux/apm821xx/base-files/etc/board.d/01_leds')
-rw-r--r--target/linux/apm821xx/base-files/etc/board.d/01_leds8
1 files changed, 4 insertions, 4 deletions
diff --git a/target/linux/apm821xx/base-files/etc/board.d/01_leds b/target/linux/apm821xx/base-files/etc/board.d/01_leds
index 0b203fd8a7..c384d24a30 100644
--- a/target/linux/apm821xx/base-files/etc/board.d/01_leds
+++ b/target/linux/apm821xx/base-files/etc/board.d/01_leds
@@ -30,10 +30,10 @@ netgear,wndap620)
netgear,wndap660)
ucidef_set_led_netdev "lan_act" "LAN (Activity)" "green:activity" "eth0"
- ucidef_set_led_switch "lan1_100" "LAN 100Mbps" "amber:lan-0" "switch0" "0x04" "0x04" "link"
- ucidef_set_led_switch "lan1_1000" "LAN 1000Mbps" "green:lan-0" "switch0" "0x04" "0x08" "link"
- ucidef_set_led_switch "lan2_100" "LAN 100Mbps" "amber:lan-1" "switch0" "0x02" "0x04" "link"
- ucidef_set_led_switch "lan2_1000" "LAN 1000Mbps" "green:lan-1" "switch0" "0x02" "0x08" "link"
+ ucidef_set_led_switch "lan1_100" "LAN 100Mbps" "amber:lan-1" "switch0" "0x02" "0x04" "link"
+ ucidef_set_led_switch "lan1_1000" "LAN 1000Mbps" "green:lan-1" "switch0" "0x02" "0x08" "link"
+ ucidef_set_led_switch "lan2_100" "LAN 100Mbps" "amber:lan-2" "switch0" "0x04" "0x04" "link"
+ ucidef_set_led_switch "lan2_1000" "LAN 1000Mbps" "green:lan-2" "switch0" "0x04" "0x08" "link"
ucidef_set_led_wlan "wlan2g" "WLAN2G" "green:wlan-0" "phy0tpt"
ucidef_set_led_wlan "wlan5g" "WLAN5G" "green:wlan-1" "phy1tpt"
;;