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
Showing
- package/base-files/files/lib/functions/uci-defaults-new.sh 50 additions, 60 deletionspackage/base-files/files/lib/functions/uci-defaults-new.sh
- target/linux/ar71xx/base-files/etc/board.d/02_network 44 additions, 87 deletionstarget/linux/ar71xx/base-files/etc/board.d/02_network
- target/linux/bcm53xx/base-files/etc/board.d/02_network 5 additions, 6 deletionstarget/linux/bcm53xx/base-files/etc/board.d/02_network
- target/linux/mpc85xx/base-files/etc/board.d/02_network 1 addition, 2 deletionstarget/linux/mpc85xx/base-files/etc/board.d/02_network
- target/linux/mvebu/base-files/etc/board.d/02_network 1 addition, 2 deletionstarget/linux/mvebu/base-files/etc/board.d/02_network
- target/linux/ramips/base-files/etc/board.d/02_network 20 additions, 40 deletionstarget/linux/ramips/base-files/etc/board.d/02_network
Loading
Please register or sign in to comment