aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ramips/base-files/etc
diff options
context:
space:
mode:
authorChen Minqiang <ptpt52@gmail.com>2019-02-22 22:38:59 +0800
committerChristian Lamparter <chunkeey@gmail.com>2019-03-06 22:02:56 +0100
commite15bda603a9aad3564c46071c07b299703ec0f71 (patch)
tree5e1c3e167d9f0e4a5aedb2292c9394a6fb569939 /target/linux/ramips/base-files/etc
parentfe591f2fe2e15adf6a9c263fd86bb6924a803eb1 (diff)
downloadupstream-e15bda603a9aad3564c46071c07b299703ec0f71.tar.gz
upstream-e15bda603a9aad3564c46071c07b299703ec0f71.tar.bz2
upstream-e15bda603a9aad3564c46071c07b299703ec0f71.zip
ramips: rework network settings for HC5861
dts: disable port4 and leave it ephy mode because it connect to nothing switch port5 connected to GE port we use it as wan port Signed-off-by: Chen Minqiang <ptpt52@gmail.com>
Diffstat (limited to 'target/linux/ramips/base-files/etc')
-rwxr-xr-xtarget/linux/ramips/base-files/etc/board.d/02_network5
1 files changed, 4 insertions, 1 deletions
diff --git a/target/linux/ramips/base-files/etc/board.d/02_network b/target/linux/ramips/base-files/etc/board.d/02_network
index 8417ac68ab..6657b7273d 100755
--- a/target/linux/ramips/base-files/etc/board.d/02_network
+++ b/target/linux/ramips/base-files/etc/board.d/02_network
@@ -315,11 +315,14 @@ ramips_setup_interfaces()
"1:lan" "2:lan" "3:lan" "4:lan" "0:wan" "6@eth0"
;;
hc5661|\
- hc5861|\
y1s)
ucidef_add_switch "switch0" \
"1:lan" "2:lan" "3:lan" "4:lan" "5:lan" "0:wan" "6@eth0"
;;
+ hc5861)
+ ucidef_add_switch "switch0" \
+ "0:lan" "1:lan" "5:wan" "6@eth0"
+ ;;
iodata,wn-ac1167gr)
ucidef_add_switch "switch1" \
"1:lan:4" "2:lan:3" "3:lan:2" "4:lan:1" "0:wan" "6@eth0"