aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ramips/mt7620/base-files
diff options
context:
space:
mode:
authorChih-Wei Chen <changeway@gmail.com>2019-10-16 14:34:14 +0800
committerAdrian Schmutzler <freifunk@adrianschmutzler.de>2019-11-03 00:30:20 +0100
commit3e88ab79b03917bc4b03b34db12edf622bde1de1 (patch)
tree6af1717787c22d7a7d60d5488b1335cebaccd51d /target/linux/ramips/mt7620/base-files
parent14d17306bc73a2ef512758c72af0f0f99aef7a2a (diff)
downloadupstream-3e88ab79b03917bc4b03b34db12edf622bde1de1.tar.gz
upstream-3e88ab79b03917bc4b03b34db12edf622bde1de1.tar.bz2
upstream-3e88ab79b03917bc4b03b34db12edf622bde1de1.zip
ramips: fix Xiaomi MiWiFi Mini switch definition
Based on OpenWRT Table of Hardware > Xiaomi > Xiaomi Mi WiFi Mini Switch Ports Defaults: 0, 1: LAN 4: WAN 6: CPU Port in Web GUI (word printed on bottom of case) WAN(Internet) map to switch port 4 LAN1(.) map to switch port 1 LAN2(..) map to switch port 0 CPU map to switch port 6 current setting is 1 WAN/ 4 LAN port, fix it. Signed-off-by: Chih-Wei Chen <changeway@gmail.com> [rebased after base-files split, fixed commit title] Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
Diffstat (limited to 'target/linux/ramips/mt7620/base-files')
-rwxr-xr-xtarget/linux/ramips/mt7620/base-files/etc/board.d/02_network4
1 files changed, 2 insertions, 2 deletions
diff --git a/target/linux/ramips/mt7620/base-files/etc/board.d/02_network b/target/linux/ramips/mt7620/base-files/etc/board.d/02_network
index db1f4de2a7..05877ddea7 100755
--- a/target/linux/ramips/mt7620/base-files/etc/board.d/02_network
+++ b/target/linux/ramips/mt7620/base-files/etc/board.d/02_network
@@ -22,7 +22,6 @@ ramips_setup_interfaces()
planex,db-wrt01|\
planex,mzk-750dhp|\
sanlinking,d240|\
- xiaomi,miwifi-mini|\
youku,yk1|\
zbtlink,zbt-ape522ii|\
zbtlink,zbt-we826-16m|\
@@ -145,7 +144,8 @@ ramips_setup_interfaces()
ucidef_add_switch "switch0" \
"1:lan" "2:lan" "3:lan" "4:lan" "5:wan" "0@eth0"
;;
- lenovo,newifi-y1)
+ lenovo,newifi-y1|\
+ xiaomi,miwifi-mini)
ucidef_add_switch "switch0" \
"0:lan:2" "1:lan:1" "4:wan" "6@eth0"
;;