brcm47xx: fix switch handling
authorhauke <hauke@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Sun, 14 Jul 2013 13:19:58 +0000 (13:19 +0000)
committerhauke <hauke@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Sun, 14 Jul 2013 13:19:58 +0000 (13:19 +0000)
commit73ae2cd726a08be048725580c5abc492aa607aac
tree6f8774e1d6a23d27dc8be19355ba30c287aa806a
parent6f01875104208a155e728305a150dfbd665b7f04
brcm47xx: fix switch handling

This fixes some problems with the switch handling

 * It now send the messages again to indicate a button for failsafe mode should be pressed
 * it does not leak packages between wan and lan any more
 * the switch works again in normal mode

The Ethernet connection has to be up when the switch driver switch-robo
is insmoded therefor we just do it again.
Explicitly set enable_vlan to prevent leaking packages.

This should close #13869, #13868 and #13716

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37286 3c298f89-4303-0410-b956-a3cf2f4a3e73
target/linux/brcm47xx/base-files/lib/preinit/05_init_interfaces_brcm
target/linux/brcm47xx/base-files/lib/preinit/05_set_failsafe_switch_brcm
target/linux/brcm47xx/base-files/lib/preinit/15_set_preinit_interface_brcm
target/linux/brcm47xx/base-files/lib/preinit/20_failsafe_net_echo_brcm [deleted file]