brcm47xx: fix switch handling
authorHauke Mehrtens <hauke@openwrt.org>
Sun, 14 Jul 2013 13:19:58 +0000 (13:19 +0000)
committerHauke Mehrtens <hauke@openwrt.org>
Sun, 14 Jul 2013 13:19:58 +0000 (13:19 +0000)
commit652844194b32dc902d40b7a34a4f37b39727b627
tree6f8774e1d6a23d27dc8be19355ba30c287aa806a
parent5c482f63ea69a110e4a5178181ad5c486521d405
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]