aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ipq40xx/base-files/etc/board.d/02_network
diff options
context:
space:
mode:
authorChristian Lamparter <chunkeey@gmail.com>2019-01-31 22:29:32 +0100
committerChristian Lamparter <chunkeey@gmail.com>2019-02-05 16:28:12 +0100
commitd753a3ef0e8fde77221337c939644a81d835dbc6 (patch)
tree56eb9b24216ea64e00a3d8a4a0ff7a2b56e73531 /target/linux/ipq40xx/base-files/etc/board.d/02_network
parent775258c128dc4f7268858717dc9400d28b469c96 (diff)
downloadupstream-d753a3ef0e8fde77221337c939644a81d835dbc6.tar.gz
upstream-d753a3ef0e8fde77221337c939644a81d835dbc6.tar.bz2
upstream-d753a3ef0e8fde77221337c939644a81d835dbc6.zip
ipq40xx: fix ASUS RT-AC58U switch port numbering
This patch fixes the ASUS' RT-AC58U port order by unifying the configuration with the NBG6617. Reported-by: Roberto Socrates (rtac58u-user on the forum) Signed-off-by: Christian Lamparter <chunkeey@gmail.com>
Diffstat (limited to 'target/linux/ipq40xx/base-files/etc/board.d/02_network')
-rwxr-xr-xtarget/linux/ipq40xx/base-files/etc/board.d/02_network10
1 files changed, 5 insertions, 5 deletions
diff --git a/target/linux/ipq40xx/base-files/etc/board.d/02_network b/target/linux/ipq40xx/base-files/etc/board.d/02_network
index f9dd0f7d07..bcc5f4cec9 100755
--- a/target/linux/ipq40xx/base-files/etc/board.d/02_network
+++ b/target/linux/ipq40xx/base-files/etc/board.d/02_network
@@ -16,6 +16,11 @@ ipq40xx_setup_interfaces()
ucidef_set_interfaces_lan_wan "eth0" "eth1"
;;
asus,rt-ac58u|\
+ zyxel,nbg6617)
+ ucidef_set_interfaces_lan_wan "eth0" "eth1"
+ ucidef_add_switch "switch0" \
+ "0u@eth0" "1:lan:4" "2:lan:3" "3:lan:2" "4:lan:1"
+ ;;
avm,fritzbox-4040|\
linksys,ea6350v3)
ucidef_set_interfaces_lan_wan "eth0" "eth1"
@@ -41,11 +46,6 @@ ipq40xx_setup_interfaces()
openmesh,a62)
ucidef_set_interfaces_lan_wan "eth1" "eth0"
;;
- zyxel,nbg6617)
- ucidef_set_interfaces_lan_wan "eth0" "eth1"
- ucidef_add_switch "switch0" \
- "0u@eth0" "1:lan:4" "2:lan:3" "3:lan:2" "4:lan:1"
- ;;
*)
echo "Unsupported hardware. Network interfaces not initialized"
;;