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

LEDE Commits lede-commits at lists.infradead.org
Sat Mar 11 05:14:53 PST 2017


mkresin pushed a commit to source.git, branch master:
https://git.lede-project.org/73eb5c74a13bcc9d1ef0a61dad9835b0a3eb39a8

commit 73eb5c74a13bcc9d1ef0a61dad9835b0a3eb39a8
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 e88fd72..0af555f 100755
--- a/target/linux/lantiq/base-files/etc/board.d/02_network
+++ b/target/linux/lantiq/base-files/etc/board.d/02_network
@@ -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" \
-		"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"
 	;;
 
 TDW8970|TDW8980)



More information about the lede-commits mailing list