1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-12-05 06:04:04 +02:00
openwrt-xburst/target/linux/brcm63xx/base-files/lib/preinit
cshore 74fd46691e 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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24186 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-11-28 22:04:26 +00:00
..
03_do_brcm63xx.sh brcm63xx: Added preinit board-type detection (currently only 96348GW - Tecom 6x00) 2010-05-30 01:32:47 +00:00
05_failsafe_config_switch_brcm63xx bcm63xx: Don't hardcode the switch ethernet interface in preinit. 2010-11-28 22:04:26 +00:00
05_init_interfaces_brcm63xx brcm63xx: Fixed vlan packet leakage in preinit for known devices with a switch on eth1 (currently only 96348GW - Tecom 6x00) 2010-05-30 01:33:20 +00:00
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) 2010-05-30 01:33:09 +00:00
15_set_preinit_interface_brcm63xx bcm63xx: Don't hardcode the switch ethernet interface in preinit. 2010-11-28 22:04:26 +00:00
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) 2010-05-30 01:33:20 +00:00