summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDamien Bergamini <damien@cvs.openbsd.org>2006-02-05 09:38:30 +0000
committerDamien Bergamini <damien@cvs.openbsd.org>2006-02-05 09:38:30 +0000
commitcd8ba1e785923c83eb1a33ee6dfd206cbd327939 (patch)
treea711ffb6194478afa6e51133209967a4b7217fa4
parent32c9bc94982b22993f77355fd9aae6406614cddb (diff)
unbreak the tree.
pointed at by Peter Stromberg.
-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) {