diff options
author | yongari <yongari@FreeBSD.org> | 2007-05-01 03:40:57 +0000 |
---|---|---|
committer | yongari <yongari@FreeBSD.org> | 2007-05-01 03:40:57 +0000 |
commit | 2d0d136ab81cf2a7121ed8e9912b5e0322c1c6af (patch) | |
tree | f1876b8929812b8a0d457a3ce4e8c4aad073d3bd /sys/dev/stge | |
parent | ee96b9879aeecfaf263c527ec77f13f7742a3e07 (diff) | |
download | FreeBSD-src-2d0d136ab81cf2a7121ed8e9912b5e0322c1c6af.zip FreeBSD-src-2d0d136ab81cf2a7121ed8e9912b5e0322c1c6af.tar.gz |
If we've got watchdog timeouts try to get more packets going after
resetting the hardware.
Diffstat (limited to 'sys/dev/stge')
-rw-r--r-- | sys/dev/stge/if_stge.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/dev/stge/if_stge.c b/sys/dev/stge/if_stge.c index d648cde..54eee1a 100644 --- a/sys/dev/stge/if_stge.c +++ b/sys/dev/stge/if_stge.c @@ -1355,6 +1355,8 @@ stge_watchdog(struct stge_softc *sc) if_printf(sc->sc_ifp, "device timeout\n"); ifp->if_oerrors++; stge_init_locked(sc); + if (!IFQ_DRV_IS_EMPTY(&ifp->if_snd)) + stge_start_locked(ifp); } /* |