diff options
author | Alexey Belyaev <spider@spider.vc> | 2017-04-23 02:46:23 +0600 |
---|---|---|
committer | Mathias Kresin <dev@kresin.me> | 2017-04-25 19:29:59 +0200 |
commit | 3549bad8147f7795dc6334cd8f73ea389b1a62e0 (patch) | |
tree | be84809bdb13078b9eb9a45ca7a1c196e58948cc /target | |
parent | 42120bd7f323ff7170b32a5fd4674babd8b184bc (diff) | |
download | upstream-3549bad8147f7795dc6334cd8f73ea389b1a62e0.tar.gz upstream-3549bad8147f7795dc6334cd8f73ea389b1a62e0.tar.bz2 upstream-3549bad8147f7795dc6334cd8f73ea389b1a62e0.zip |
ramips: fix ZyXEL Keenetic Omni switch config
The wan port is connected to switch port 0. Fix the mediatek,portmap as
well as the default switch config.
Signed-off-by: Alexey Belyaev <spider@spider.vc>
Diffstat (limited to 'target')
-rwxr-xr-x | target/linux/ramips/base-files/etc/board.d/02_network | 2 | ||||
-rw-r--r-- | target/linux/ramips/dts/kn_rc.dts | 2 |
2 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 99c3ad6644..ecfa8a66e6 100755 --- a/target/linux/ramips/base-files/etc/board.d/02_network +++ b/target/linux/ramips/base-files/etc/board.d/02_network @@ -85,6 +85,7 @@ ramips_setup_interfaces() hc5661a|\ hc5962|\ hlk-rm04|\ + kn_rc|\ mac1200rv2|\ miwifi-mini|\ miwifi-nano|\ @@ -227,7 +228,6 @@ ramips_setup_interfaces() ucidef_add_switch "switch0" \ "1:lan" "2:lan" "3:lan" "4:lan" "5:lan" "0:wan" "6@eth0" ;; - kn_rc|\ kn_rf) ucidef_add_switch "switch0" \ "0:wan" "1:lan" "2:lan" "3:lan" "4:lan" "6@eth0" diff --git a/target/linux/ramips/dts/kn_rc.dts b/target/linux/ramips/dts/kn_rc.dts index e25783f685..3c9dfb4d24 100644 --- a/target/linux/ramips/dts/kn_rc.dts +++ b/target/linux/ramips/dts/kn_rc.dts @@ -115,7 +115,7 @@ ðernet { mtd-mac-address = <&factory 0x4>; - mediatek,portmap = "wllll"; + mediatek,portmap = "llllw"; }; &wmac { |