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)
commit7ac44638de2c52c2591305502d0c75806e517842
tree2646044cba83ea1b38524f6558215cfde5540d5b
parent6db53db0eac4a745c2d2021000a2b9bb469433e4
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