[source] lantiq: board.d: apply alphabetical order
LEDE Commits
lede-commits at lists.infradead.org
Sat Sep 10 06:40:18 PDT 2016
mkresin pushed a commit to source.git, branch master:
https://git.lede-project.org/64d72880bc0b6c22742d466e7dd82de0c85d77f2
commit 64d72880bc0b6c22742d466e7dd82de0c85d77f2
Author: Mathias Kresin <dev at kresin.me>
AuthorDate: Thu Aug 25 22:19:00 2016 +0200
lantiq: board.d: apply alphabetical order
Signed-off-by: Mathias Kresin <dev at kresin.me>
---
.../linux/lantiq/base-files/etc/board.d/02_network | 86 +++++++++++-----------
1 file changed, 43 insertions(+), 43 deletions(-)
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 3f61326..c2ccf97 100755
--- a/target/linux/lantiq/base-files/etc/board.d/02_network
+++ b/target/linux/lantiq/base-files/etc/board.d/02_network
@@ -21,6 +21,11 @@ interface_wan=""
board=$(lantiq_board_name)
case "$board" in
+ACMP252|GIGASX76X)
+ ucidef_add_switch "switch0" \
+ "1:lan:4" "2:lan:3" "3:lan:2" "4:lan:1" "5t at eth0"
+ ;;
+
ARV4510PW)
lan_mac=$(mtd_get_mac_ascii uboot_env ethaddr)
wan_mac=$(macaddr_add "$lan_mac" 1)
@@ -28,19 +33,14 @@ ARV4510PW)
"0:lan:4" "2:lan:2" "1:lan:3" "3:lan:1" "5t at eth0"
;;
-ARV4520PW)
- ucidef_add_switch "switch0" \
- "0:lan:4" "1:lan:3" "2:lan:2" "3:lan:1" "5t at eth0"
- ;;
-
-ACMP252|GIGASX76X)
+ARV4519PW|ARV7510PW22|ARV7518PW|ARV752DPW22|ARV8539PW22)
ucidef_add_switch "switch0" \
- "1:lan:4" "2:lan:3" "3:lan:2" "4:lan:1" "5t at eth0"
+ "0t at eth0" "2:lan" "3:lan" "4:lan" "5:lan"
;;
-ARV4519PW|ARV7510PW22|ARV7518PW|ARV752DPW22|ARV8539PW22)
+ARV4520PW)
ucidef_add_switch "switch0" \
- "0t at eth0" "2:lan" "3:lan" "4:lan" "5:lan"
+ "0:lan:4" "1:lan:3" "2:lan:2" "3:lan:1" "5t at eth0"
;;
ARV7506PW11)
@@ -55,9 +55,29 @@ ARV7519PW)
"0:lan" "1:lan" "2:lan" "3:lan" "4t at eth0"
;;
-WBMR)
+ARV7519RW22)
+ wan_mac=$(macaddr_add "$(mtd_get_mac_binary boardconfig 22)" 1)
ucidef_add_switch "switch0" \
- "0t at eth0" "2:lan" "3:lan" "4:lan" "5:lan"
+ "0:lan" "2:lan" "3:lan" "4:lan" "5:lan" "6t at eth0"
+ ;;
+
+BTHOMEHUBV2B)
+ lan_mac=$(mtd_get_mac_ascii uboot_env ethaddr)
+ wan_mac=$(macaddr_add "$lan_mac" 1)
+ ucidef_add_switch "switch0" \
+ "1:lan" "2:lan" "3:lan" "4:lan" "5t at eth0"
+ ;;
+
+BTHOMEHUBV3A)
+ lan_mac=$(mtd_get_mac_ascii uboot_env ethaddr)
+ wan_mac=$(macaddr_add "$lan_mac" 1)
+ ucidef_set_interface_lan 'eth0'
+ ;;
+
+BTHOMEHUBV5A)
+ wan_mac=$(macaddr_add "$(mtd_get_mac_binary caldata 4364)" 1)
+ ucidef_add_switch "switch0" \
+ "0:lan:3" "1:lan:4" "2:lan:2" "4:lan:1" "6t at eth0"
;;
DGN3500*)
@@ -65,6 +85,13 @@ DGN3500*)
"0:lan:4" "1:lan:3" "2:lan:2" "3:lan:1" "5t at eth0"
;;
+EASY80920NAND|EASY80920NOR)
+ lan_mac=$(mtd_get_mac_ascii uboot_env ethaddr)
+ wan_mac=$(macaddr_add "$lan_mac" 1)
+ ucidef_add_switch "switch0" \
+ "0:lan:4" "1:lan:3" "2:lan:2" "4:lan:1" "5:wan:5" "6t at eth0"
+ ;;
+
FRITZ7360SL)
ucidef_add_switch "switch0" \
"0:lan:3" "1:lan:4" "2:lan:2" "4:lan:1" "6t at eth0"
@@ -99,29 +126,10 @@ VR200v)
"0:lan" "2:lan" "4:lan" "5:lan" "6t at eth0"
;;
-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"
- ;;
-
-BTHOMEHUBV2B)
- lan_mac=$(mtd_get_mac_ascii uboot_env ethaddr)
- wan_mac=$(macaddr_add "$lan_mac" 1)
- ucidef_add_switch "switch0" \
- "1:lan" "2:lan" "3:lan" "4:lan" "5t at eth0"
- ;;
-
-BTHOMEHUBV3A)
- lan_mac=$(mtd_get_mac_ascii uboot_env ethaddr)
- wan_mac=$(macaddr_add "$lan_mac" 1)
- ucidef_set_interface_lan 'eth0'
- ;;
-
-BTHOMEHUBV5A)
- wan_mac=$(macaddr_add "$(mtd_get_mac_binary caldata 4364)" 1)
+VGV7510KW22)
+ wan_mac=$(macaddr_add "$(mtd_get_mac_binary board_config 22)" 1)
ucidef_add_switch "switch0" \
- "0:lan:3" "1:lan:4" "2:lan:2" "4:lan:1" "6t at eth0"
+ "2:lan:2" "3:lan:1" "4:lan:4" "5:lan:3" "6t at eth0"
;;
VGV7519)
@@ -130,10 +138,9 @@ VGV7519)
"0:lan:4" "1:lan:3" "2:lan:2" "4:lan:1" "6t at eth0"
;;
-VGV7510KW22)
- wan_mac=$(macaddr_add "$(mtd_get_mac_binary board_config 22)" 1)
+WBMR)
ucidef_add_switch "switch0" \
- "2:lan:2" "3:lan:1" "4:lan:4" "5:lan:3" "6t at eth0"
+ "0t at eth0" "2:lan" "3:lan" "4:lan" "5:lan"
;;
WBMR300)
@@ -143,13 +150,6 @@ WBMR300)
"2:lan:2" "3:lan:3" "5:lan:4" "4:wan:1" "6t at eth0"
;;
-EASY80920NAND|EASY80920NOR)
- lan_mac=$(mtd_get_mac_ascii uboot_env ethaddr)
- wan_mac=$(macaddr_add "$lan_mac" 1)
- ucidef_add_switch "switch0" \
- "0:lan:4" "1:lan:3" "2:lan:2" "4:lan:1" "5:wan:5" "6t at eth0"
- ;;
-
*)
ucidef_set_interface_lan 'eth0'
;;
More information about the lede-commits
mailing list