aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux
diff options
context:
space:
mode:
authorINAGAKI Hiroshi <musashino.open@gmail.com>2018-06-27 14:51:25 +0900
committerMathias Kresin <dev@kresin.me>2018-06-27 08:42:54 +0200
commit0efd0308a0927e446e1f8535c1e244e5ed3193b3 (patch)
tree2369be8db4f330ff31f9ad9245dbf94f104c66ea /target/linux
parente13d9cd07f934c3e2a2cbee411cccec6cc4379c2 (diff)
downloadupstream-0efd0308a0927e446e1f8535c1e244e5ed3193b3.tar.gz
upstream-0efd0308a0927e446e1f8535c1e244e5ed3193b3.tar.bz2
upstream-0efd0308a0927e446e1f8535c1e244e5ed3193b3.zip
ramips: add switch port index for I-O DATA WN-GX300GR
WN-GX300GR has 5x RJ45 ports (port 0-4), and these ports are orderd on the device as follows: 4 3 2 1 0 1-4: lan 0: wan Signed-off-by: INAGAKI Hiroshi <musashino.open@gmail.com>
Diffstat (limited to 'target/linux')
-rwxr-xr-xtarget/linux/ramips/base-files/etc/board.d/02_network4
1 files changed, 2 insertions, 2 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 c5e5549e25..e878752fb6 100755
--- a/target/linux/ramips/base-files/etc/board.d/02_network
+++ b/target/linux/ramips/base-files/etc/board.d/02_network
@@ -195,7 +195,6 @@ ramips_setup_interfaces()
gl-mt300n|\
gl-mt750|\
hg255d|\
- iodata,wn-gx300gr|\
jhr-n805r|\
jhr-n825r|\
jhr-n926r|\
@@ -228,7 +227,8 @@ ramips_setup_interfaces()
"1:lan:3" "2:lan:4" "3:lan:1" "4:lan:2" "0:wan" "6@eth0"
;;
dir-860l-b1|\
- elecom,wrc-1167ghbk2-s)
+ elecom,wrc-1167ghbk2-s|\
+ iodata,wn-gx300gr)
ucidef_add_switch "switch0" \
"1:lan:4" "2:lan:3" "3:lan:2" "4:lan:1" "0:wan" "6@eth0"
;;