summaryrefslogtreecommitdiff
path: root/sys/dev/pci
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/pci')
-rw-r--r--sys/dev/pci/if_et.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/dev/pci/if_et.c b/sys/dev/pci/if_et.c
index 5b6ee5891d5..479217b34c5 100644
--- a/sys/dev/pci/if_et.c
+++ b/sys/dev/pci/if_et.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_et.c,v 1.8 2008/05/23 08:49:27 brad Exp $ */
+/* $OpenBSD: if_et.c,v 1.9 2008/05/26 03:56:38 brad Exp $ */
/*
* Copyright (c) 2007 The DragonFly Project. All rights reserved.
*
@@ -1988,6 +1988,7 @@ et_txeof(struct et_softc *sc)
bus_dmamap_unload(sc->sc_dmat, tb->tb_dmap);
m_freem(tb->tb_mbuf);
tb->tb_mbuf = NULL;
+ ifp->if_opackets++;
}
if (++tbd->tbd_start_index == ET_TX_NDESC) {