summaryrefslogtreecommitdiffstats
path: root/sys/pci/if_ste.c
diff options
context:
space:
mode:
authorru <ru@FreeBSD.org>2004-04-03 15:55:21 +0000
committerru <ru@FreeBSD.org>2004-04-03 15:55:21 +0000
commitcfa2fd0d84e287de795a3e2ab5bef4009c57e83a (patch)
treec8ae2977ec7bc58720a0cc545ee89aa4f3bee221 /sys/pci/if_ste.c
parent9c171c6f9c39cda65af3a7b6d06cf9d118db056b (diff)
downloadFreeBSD-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.c2
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;
}
}
OpenPOWER on IntegriCloud