openwrt-owl/target/linux/brcm63xx/base-files/lib/preinit
Daniel Dickinson fec30c8c80 bcm63xx: Don't hardcode the switch ethernet interface in preinit.
Currently eth1 is hardcoded as the expected interface switches in diagmode.
This patch replaces the eth1 with the ifname, and also directly tests if
the interface specified by ifname has a switch attached.

Signed-off-by: Jonas Gorski <jonas.gorski+openwrt@gmail.com>

SVN-Revision: 24186
2010-11-28 22:04:26 +00:00
..
03_do_brcm63xx.sh
05_failsafe_config_switch_brcm63xx
05_init_interfaces_brcm63xx
05_reset_button_brcm63xx
15_set_preinit_interface_brcm63xx
20_failsafe_net_echo_brcm63xx