aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Heimpold <mhei@heimpold.de>2019-09-21 00:15:24 +0200
committerRafał Miłecki <rafal@milecki.pl>2019-10-15 20:26:21 +0200
commit6179bf5be1366f067a3ef894989beaf4fe516f1c (patch)
tree265d7877799bd57046174a0d2020ba68dcf4ecdf
parente8308747a18b6f87d6a2f15e3d650c0df73e6132 (diff)
downloadupstream-6179bf5be1366f067a3ef894989beaf4fe516f1c.tar.gz
upstream-6179bf5be1366f067a3ef894989beaf4fe516f1c.tar.bz2
upstream-6179bf5be1366f067a3ef894989beaf4fe516f1c.zip
brcm47xx: fix switch port labels for Asus WL500GP V2
The switch port naming in LuCI does not fit the physical numbers on the front of this device. Since this is confusing, fix it. Signed-off-by: Michael Heimpold <mhei@heimpold.de> (cherry picked from commit e56e5a454e729f1067ba1fc8acfc18b99ccb88b4)
-rwxr-xr-xtarget/linux/brcm47xx/base-files/etc/board.d/01_network6
1 files changed, 5 insertions, 1 deletions
diff --git a/target/linux/brcm47xx/base-files/etc/board.d/01_network b/target/linux/brcm47xx/base-files/etc/board.d/01_network
index 8428b43dec..6fbd76fc10 100755
--- a/target/linux/brcm47xx/base-files/etc/board.d/01_network
+++ b/target/linux/brcm47xx/base-files/etc/board.d/01_network
@@ -143,8 +143,12 @@ configure_by_model() {
ucidef_set_interfaces_lan_wan "eth0" "eth1"
;;
+ "Asus WL500GP V2")
+ ucidef_add_switch "switch0" \
+ "0:lan:4" "1:lan:3" "2:lan:2" "3:lan:1" "4:wan" "5@eth0"
+ ;;
+
"Asus RT-N12"* | \
- "Asus WL500GP V2" | \
"Buffalo WHR-G125" | \
"D-Link DIR-330" | \
"Motorola WR850G" | \