[OpenWrt-Devel] [PATCH] ramips: fix wizfi630a swapped lan/wan port

2018-06-26 Thread Lev
The order of the Ethernet ports were mixed up.
This commit fixes the order to be aligned with the physical layout.

Signed-off-by: Lev 
---
 target/linux/ramips/base-files/etc/board.d/02_network | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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..51ecd8dc67 100755
--- a/target/linux/ramips/base-files/etc/board.d/02_network
+++ b/target/linux/ramips/base-files/etc/board.d/02_network
@@ -376,7 +376,7 @@ ramips_setup_interfaces()
;;
wizfi630a)
ucidef_add_switch "switch0" \
-   "1:lan" "2:lan" "0:wan" "6@eth0"
+   "0:lan" "1:lan" "2:wan" "6@eth0"
;;
wt3020-4M|\
wt3020-8M)
-- 
2.11.0
___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/listinfo/openwrt-devel


[OpenWrt-Devel] [PATCH] ramips: fix wizfi630a swapped lan wan port

2018-06-30 Thread Lev
The order of the Ethernet ports were mixed up.
This commit fixes the order to be aligned with the physical layout.

Signed-off-by: Levente Kovacs 
---
 target/linux/ramips/base-files/etc/board.d/02_network | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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 e878752fb6..7b624090c3 100755
--- a/target/linux/ramips/base-files/etc/board.d/02_network
+++ b/target/linux/ramips/base-files/etc/board.d/02_network
@@ -376,7 +376,7 @@ ramips_setup_interfaces()
;;
wizfi630a)
ucidef_add_switch "switch0" \
-   "1:lan" "2:lan" "0:wan" "6@eth0"
+   "0:lan" "1:lan" "2:wan" "6@eth0"
;;
wt3020-4M|\
wt3020-8M)
-- 
2.11.0

___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel