From cd8ba1e785923c83eb1a33ee6dfd206cbd327939 Mon Sep 17 00:00:00 2001 From: Damien Bergamini Date: Sun, 5 Feb 2006 09:38:30 +0000 Subject: unbreak the tree. pointed at by Peter Stromberg. --- sys/dev/pci/if_nfe.c | 4 ++-- 1 file 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 @@ -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) { -- cgit v1.2.3