summaryrefslogtreecommitdiff
path: root/sys/dev/ic/hmevar.h
diff options
context:
space:
mode:
authorMark Kettenis <kettenis@cvs.openbsd.org>2009-04-17 20:20:19 +0000
committerMark Kettenis <kettenis@cvs.openbsd.org>2009-04-17 20:20:19 +0000
commitdca6bc7fb9113b283996a679449951191483c281 (patch)
treedee680b3813763d829cbe4b1041d3b0bd88caf2c /sys/dev/ic/hmevar.h
parentedaa0ba623f3a5f791a302917d047fe6a634419c (diff)
Switch hme(4) over to using MCLGETI when allocating mbufs for the RX ring.
tested by okan@, sthen@
Diffstat (limited to 'sys/dev/ic/hmevar.h')
-rw-r--r--sys/dev/ic/hmevar.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/ic/hmevar.h b/sys/dev/ic/hmevar.h
index 033024f03f1..c5506600278 100644
--- a/sys/dev/ic/hmevar.h
+++ b/sys/dev/ic/hmevar.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: hmevar.h,v 1.11 2008/11/26 13:30:29 kettenis Exp $ */
+/* $OpenBSD: hmevar.h,v 1.12 2009/04/17 20:20:18 kettenis Exp $ */
/* $NetBSD: hmevar.h,v 1.6 2000/09/28 10:56:57 tsutsui Exp $ */
/*-
@@ -89,7 +89,7 @@ struct hme_softc {
struct hme_sxd sc_txd[HME_TX_RING_MAX], sc_rxd[HME_RX_RING_MAX];
bus_dmamap_t sc_rxmap_spare;
int sc_tx_cnt, sc_tx_prod, sc_tx_cons;
- int sc_last_rd;
+ int sc_rx_cnt, sc_rx_prod, sc_rx_cons;
u_int32_t sc_tcvr;
};