From 9b02e73188158829d48835906edbb8702fd95e28 Mon Sep 17 00:00:00 2001 From: Jo-Philipp Wich Date: Thu, 3 Dec 2015 17:30:24 +0000 Subject: board.d: merge ucidef_add_switch() and ucidef_add_switch_ports() This changes uci-defaults-new.sh, config_generate and all relevant board.d files in order combine ucidef_add_switch() and ucidef_add_switch_ports() into a single function. Also removes now superfluous enable and reset arguments. Signed-off-by: Jo-Philipp Wich SVN-Revision: 47721 --- target/linux/mvebu/base-files/etc/board.d/02_network | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'target/linux/mvebu') diff --git a/target/linux/mvebu/base-files/etc/board.d/02_network b/target/linux/mvebu/base-files/etc/board.d/02_network index b07091d74f..20cc3f5ccf 100755 --- a/target/linux/mvebu/base-files/etc/board.d/02_network +++ b/target/linux/mvebu/base-files/etc/board.d/02_network @@ -24,8 +24,7 @@ armada-385-linksys-shelby) ;; armada-xp-linksys-mamba) ucidef_set_interfaces_lan_wan "eth0" "eth1" - ucidef_add_switch "switch0" "1" "1" - ucidef_add_switch_ports "switch0" \ + ucidef_add_switch "switch0" \ "0:lan:4" "1:lan:3" "2:lan:2" "3:lan:1" "5@eth0" "4:wan" "6@eth1" ;; armada-385-db-ap) -- cgit v1.2.3