summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sys/dev/pci/if_nfe.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/pci/if_nfe.c b/sys/dev/pci/if_nfe.c
index 48c7063d7fa..9ad72e98881 100644
--- a/sys/dev/pci/if_nfe.c
+++ b/sys/dev/pci/if_nfe.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_nfe.c,v 1.14 2006/02/05 09:14:28 damien Exp $ */
+/* $OpenBSD: if_nfe.c,v 1.15 2006/02/05 09:38:29 damien Exp $ */
/*-
* Copyright (c) 2006 Damien Bergamini <damien.bergamini@free.fr>
@@ -703,7 +703,7 @@ nfe_txeof(struct nfe_softc *sc)
struct nfe_tx_data *data;
uint16_t flags;
- while (txq->next != txq->cur) {
+ while (sc->txq.next != sc->txq.cur) {
data = &sc->txq.data[sc->txq.next];
if (sc->sc_flags & NFE_40BIT_ADDR) {