فهرست منبع

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 <[email protected]>
Alexey Belyaev 8 سال پیش
والد
کامیت
3549bad814
2فایلهای تغییر یافته به همراه2 افزوده شده و 2 حذف شده
  1. 1 1
      target/linux/ramips/base-files/etc/board.d/02_network
  2. 1 1
      target/linux/ramips/dts/kn_rc.dts

+ 1 - 1
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"

+ 1 - 1
target/linux/ramips/dts/kn_rc.dts

@@ -115,7 +115,7 @@
 
 &ethernet {
 	mtd-mac-address = <&factory 0x4>;
-	mediatek,portmap = "wllll";
+	mediatek,portmap = "llllw";
 };
 
 &wmac {