[source] lantiq: use the P2812HNUF* wan port as wan

LEDE Commits lede-commits at lists.infradead.org
Sat Jun 3 10:30:25 PDT 2017

hauke pushed a commit to source.git, branch lede-17.01:

commit 4186d737f60a39659bd85ae0cacdc00da77cf476
Author: Mathias Kresin <dev at kresin.me>
AuthorDate: Sat Mar 11 13:23:01 2017 +0100

    lantiq: use the P2812HNUF* wan port as wan
    The port is labeled as wan and was only used as lan port because of the
    "tx ring full" issues fixed with 8f02f7c.
    Signed-off-by: Mathias Kresin <dev at kresin.me>
 target/linux/lantiq/base-files/etc/board.d/02_network | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/target/linux/lantiq/base-files/etc/board.d/02_network b/target/linux/lantiq/base-files/etc/board.d/02_network
index ff62c44..058fbd5 100755
--- a/target/linux/lantiq/base-files/etc/board.d/02_network
+++ b/target/linux/lantiq/base-files/etc/board.d/02_network
@@ -121,7 +121,7 @@ P2812HNUF*)
 	lan_mac=$(mtd_get_mac_ascii uboot-env ethaddr)
 	wan_mac=$(macaddr_add "$lan_mac" 1)
 	ucidef_add_switch "switch0" \
-		"0:lan" "1:lan" "2:lan" "4:lan" "5:lan" "6t at eth0"
+		"0:lan" "1:lan" "2:lan" "4:lan" "5:wan" "6t at eth0"

More information about the lede-commits mailing list