board.d: merge ucidef_add_switch() and ucidef_add_switch_ports()
authorJo-Philipp Wich <jow@openwrt.org>
Thu, 3 Dec 2015 17:30:24 +0000 (17:30 +0000)
committerJo-Philipp Wich <jow@openwrt.org>
Thu, 3 Dec 2015 17:30:24 +0000 (17:30 +0000)
commit9b02e73188158829d48835906edbb8702fd95e28
treef7592cc1db8ad3aac0040b011b106c73048acb97
parentd17a64c7c01e2f0bb79123250ec6ea5f4fb8ec6e
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>
SVN-Revision: 47721
package/base-files/files/lib/functions/uci-defaults-new.sh
target/linux/ar71xx/base-files/etc/board.d/02_network
target/linux/bcm53xx/base-files/etc/board.d/02_network
target/linux/mpc85xx/base-files/etc/board.d/02_network
target/linux/mvebu/base-files/etc/board.d/02_network
target/linux/ramips/base-files/etc/board.d/02_network