aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/mvebu
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2015-12-03 17:30:24 +0000
committerJo-Philipp Wich <jow@openwrt.org>2015-12-03 17:30:24 +0000
commit2bed435f6774c6160f1e8e8bd46a748ca4efc3fb (patch)
tree2646044cba83ea1b38524f6558215cfde5540d5b /target/linux/mvebu
parent605c909287c19a334fb7fe2dd363392dd8d59e13 (diff)
downloadmaster-187ad058-2bed435f6774c6160f1e8e8bd46a748ca4efc3fb.tar.gz
master-187ad058-2bed435f6774c6160f1e8e8bd46a748ca4efc3fb.tar.bz2
master-187ad058-2bed435f6774c6160f1e8e8bd46a748ca4efc3fb.zip
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 <jow@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47721 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/mvebu')
-rwxr-xr-xtarget/linux/mvebu/base-files/etc/board.d/02_network3
1 files changed, 1 insertions, 2 deletions
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)