aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/brcm63xx/base-files/etc/diag.sh
diff options
context:
space:
mode:
authorDaniel Dickinson <daniel@cshore.neomailbox.net>2010-11-28 22:04:26 +0000
committerDaniel Dickinson <daniel@cshore.neomailbox.net>2010-11-28 22:04:26 +0000
commit94a1adaf05993797f18f33b0a4bdd0ae2dba1743 (patch)
tree43e28469d206767ae86a2f865b6c015c8b9df1b4 /target/linux/brcm63xx/base-files/etc/diag.sh
parentf78d9eebba91795a613bdea426d5cc24ec37bb92 (diff)
downloadmaster-187ad058-94a1adaf05993797f18f33b0a4bdd0ae2dba1743.tar.gz
master-187ad058-94a1adaf05993797f18f33b0a4bdd0ae2dba1743.tar.bz2
master-187ad058-94a1adaf05993797f18f33b0a4bdd0ae2dba1743.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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24186 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/brcm63xx/base-files/etc/diag.sh')
0 files changed, 0 insertions, 0 deletions