diff options
author | ru <ru@FreeBSD.org> | 2004-04-03 15:55:21 +0000 |
---|---|---|
committer | ru <ru@FreeBSD.org> | 2004-04-03 15:55:21 +0000 |
commit | cfa2fd0d84e287de795a3e2ab5bef4009c57e83a (patch) | |
tree | c8ae2977ec7bc58720a0cc545ee89aa4f3bee221 /sys/pci/if_ste.c | |
parent | 9c171c6f9c39cda65af3a7b6d06cf9d118db056b (diff) | |
download | FreeBSD-src-cfa2fd0d84e287de795a3e2ab5bef4009c57e83a.zip FreeBSD-src-cfa2fd0d84e287de795a3e2ab5bef4009c57e83a.tar.gz |
Recharge the watchdog timer if there's still some TX work left.
Diffstat (limited to 'sys/pci/if_ste.c')
-rw-r--r-- | sys/pci/if_ste.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/pci/if_ste.c b/sys/pci/if_ste.c index 90e28d7..9c375f8 100644 --- a/sys/pci/if_ste.c +++ b/sys/pci/if_ste.c @@ -935,6 +935,8 @@ ste_txeof(sc) ifp->if_flags &= ~IFF_OACTIVE; if (idx == sc->ste_cdata.ste_tx_prod) ifp->if_timer = 0; + else if (ifp->if_timer == 0) + ifp->if_timer = 5; } } |