[source] lantiq: fix ARV7519RW22 switch port indexing

LEDE Commits lede-commits at lists.infradead.org
Sat Feb 18 07:51:48 PST 2017


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

commit cfd16ecc4824d3c29f92827fc04f40baa30f61a5
Author: Mathias Kresin <dev at kresin.me>
AuthorDate: Fri Feb 3 00:59:16 2017 +0100

    lantiq: fix ARV7519RW22 switch port indexing
    
    Fixes FS#454.
    
    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 bc61a73..6ab5cb9 100755
--- a/target/linux/lantiq/base-files/etc/board.d/02_network
+++ b/target/linux/lantiq/base-files/etc/board.d/02_network
@@ -58,7 +58,7 @@ ARV7519PW)
 ARV7519RW22)
 	wan_mac=$(macaddr_add "$(mtd_get_mac_binary boardconfig 22)" 1)
 	ucidef_add_switch "switch0" \
-		"0:lan" "2:lan" "3:lan" "4:lan" "5:lan" "6t at eth0"
+		"0:lan:5" "2:lan:3" "3:lan:4" "4:lan:1" "5:lan:2" "6t at eth0"
 	;;
 
 BTHOMEHUBV2B)



More information about the lede-commits mailing list