summaryrefslogtreecommitdiff
path: root/sys/dev/ic/hmevar.h
diff options
context:
space:
mode:
authorJason Wright <jason@cvs.openbsd.org>2001-10-04 20:36:17 +0000
committerJason Wright <jason@cvs.openbsd.org>2001-10-04 20:36:17 +0000
commit1691144b95e117ff4cd9cc4c8a1c03e81aab2516 (patch)
treeb25dfd4fd8a6d67859f1cbf6c4549ed62ad49188 /sys/dev/ic/hmevar.h
parentab3e79a9bdb6149377d5ff4cad895b1cf1837c2b (diff)
move stats update into ticker
allocate all dmamaps in advance (and use load/unload/sync as appropriate)
Diffstat (limited to 'sys/dev/ic/hmevar.h')
-rw-r--r--sys/dev/ic/hmevar.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/sys/dev/ic/hmevar.h b/sys/dev/ic/hmevar.h
index c6bac4001c8..0fd69900411 100644
--- a/sys/dev/ic/hmevar.h
+++ b/sys/dev/ic/hmevar.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: hmevar.h,v 1.3 2001/10/02 21:21:52 jason Exp $ */
+/* $OpenBSD: hmevar.h,v 1.4 2001/10/04 20:36:16 jason Exp $ */
/* $NetBSD: hmevar.h,v 1.6 2000/09/28 10:56:57 tsutsui Exp $ */
/*-
@@ -46,8 +46,9 @@
#define HME_RX_PKTSIZE 1600
struct hme_sxd {
- struct mbuf *sd_mbuf;
- bus_dmamap_t sd_map;
+ struct mbuf *sd_mbuf; /* descriptor mbuf */
+ bus_dmamap_t sd_map; /* descriptor dmamap */
+ int sd_loaded; /* descriptor dmamap loaded? */
};
struct hme_ring {