aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/dc
diff options
context:
space:
mode:
authorWarner Losh <imp@FreeBSD.org>2011-06-21 20:52:55 +0000
committerWarner Losh <imp@FreeBSD.org>2011-06-21 20:52:55 +0000
commit7a6fab665613bf3cf58fe1a435765bdd3f17bbaa (patch)
treecbdf062430de79455ee5bdf10a08a1cd09dee246 /sys/dev/dc
parentaa0ea4af6dae257a42f0c9bb80c18fbaa8874c8a (diff)
Notes
Diffstat (limited to 'sys/dev/dc')
-rw-r--r--sys/dev/dc/if_dc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/dc/if_dc.c b/sys/dev/dc/if_dc.c
index 772eede22f23..b9567de09263 100644
--- a/sys/dev/dc/if_dc.c
+++ b/sys/dev/dc/if_dc.c
@@ -1385,7 +1385,7 @@ dc_netcfg_wait(struct dc_softc *sc)
break;
DELAY(10);
}
- if (i == DC_TIMEOUT) {
+ if (i == DC_TIMEOUT && bus_child_present(sc->dc_dev)) {
if (!(isr & DC_ISR_TX_IDLE) && !DC_IS_ASIX(sc))
device_printf(sc->dc_dev,
"%s: failed to force tx to idle state\n", __func__);