summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Gwynne <dlg@cvs.openbsd.org>2007-05-04 21:54:02 +0000
committerDavid Gwynne <dlg@cvs.openbsd.org>2007-05-04 21:54:02 +0000
commit94f1fa55918dbd03d64b58318384669995f0fd55 (patch)
tree45ac2c736ece92ce631ee6e63794bb1586bec836
parenta87e87e39151e8faed5ddc66b2b1fca488f1ae1f (diff)
put more rx descriptors back on the chip straight after we've taken some
off.
-rw-r--r--sys/dev/pci/if_tht.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/sys/dev/pci/if_tht.c b/sys/dev/pci/if_tht.c
index a9128d61104..ba5b727c6f7 100644
--- a/sys/dev/pci/if_tht.c
+++ b/sys/dev/pci/if_tht.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_tht.c,v 1.88 2007/05/04 21:51:11 dlg Exp $ */
+/* $OpenBSD: if_tht.c,v 1.89 2007/05/04 21:54:01 dlg Exp $ */
/*
* Copyright (c) 2007 David Gwynne <dlg@openbsd.org>
@@ -1305,6 +1305,9 @@ tht_rxd(struct tht_softc *sc)
} while (sc->sc_rxd.tf_ready >= sizeof(rxd));
tht_fifo_post(sc, &sc->sc_rxd);
+
+ /* put more pkts on the fifo */
+ tht_rxf(sc, 0);
}
void