You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
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
14 years ago
..
03_do_brcm63xx.sh brcm63xx: Added preinit board-type detection (currently only 96348GW - Tecom 6x00) 14 years ago
05_failsafe_config_switch_brcm63xx bcm63xx: Don't hardcode the switch ethernet interface in preinit. 14 years ago
05_init_interfaces_brcm63xx brcm63xx: Fixed vlan packet leakage in preinit for known devices with a switch on eth1 (currently only 96348GW - Tecom 6x00) 14 years ago
05_reset_button_brcm63xx brcm63xx: Added preinit reset button module loading for devices known to support it and for which /lib/brcm63xx.sh has the definitions (currently only 96348GW - Tecom 6x00) 14 years ago
15_set_preinit_interface_brcm63xx bcm63xx: Don't hardcode the switch ethernet interface in preinit. 14 years ago
20_failsafe_net_echo_brcm63xx brcm63xx: Fixed vlan packet leakage in preinit for known devices with a switch on eth1 (currently only 96348GW - Tecom 6x00) 14 years ago