lantiq: use the P2812HNUF* wan port as wan
authorMathias Kresin <dev@kresin.me>
Sat, 11 Mar 2017 12:23:01 +0000 (13:23 +0100)
committerMathias Kresin <dev@kresin.me>
Sat, 11 Mar 2017 12:45:06 +0000 (13:45 +0100)
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@kresin.me>
target/linux/lantiq/base-files/etc/board.d/02_network

index e88fd728c5718686b077e2bcbb750363952c1287..0af555fe6b1d6bea1fb641fd8c485dceb5bf1b58 100755 (executable)
@@ -119,7 +119,7 @@ P2812HNUF*)
        lan_mac=$(mtd_get_mac_ascii uboot-env ethaddr)
        wan_mac=$(macaddr_add "$lan_mac" 1)
        ucidef_add_switch "switch0" \
        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@eth0"
+               "0:lan" "1:lan" "2:lan" "4:lan" "5:wan" "6t@eth0"
        ;;
 
 TDW8970|TDW8980)
        ;;
 
 TDW8970|TDW8980)