aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/brcm63xx/base-files/etc/diag.sh
diff options
context:
space:
mode:
authorDaniel Dickinson <crazycshore@gmail.com>2010-11-28 22:04:26 +0000
committerDaniel Dickinson <crazycshore@gmail.com>2010-11-28 22:04:26 +0000
commitfec30c8c80c9c01b8b37332beb8639b2806d9c1c (patch)
tree138aa5502e06b927e8727f25c60982655025308e /target/linux/brcm63xx/base-files/etc/diag.sh
parentb1b318750a87f665b2614cd2baff3921f3d34936 (diff)
downloadupstream-fec30c8c80c9c01b8b37332beb8639b2806d9c1c.tar.gz
upstream-fec30c8c80c9c01b8b37332beb8639b2806d9c1c.tar.bz2
upstream-fec30c8c80c9c01b8b37332beb8639b2806d9c1c.zip
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
Diffstat (limited to 'target/linux/brcm63xx/base-files/etc/diag.sh')
0 files changed, 0 insertions, 0 deletions