summaryrefslogtreecommitdiff
path: root/sys/arch/sparc/dev/hmevar.h
diff options
context:
space:
mode:
authorJason Wright <jason@cvs.openbsd.org>1998-07-17 21:33:12 +0000
committerJason Wright <jason@cvs.openbsd.org>1998-07-17 21:33:12 +0000
commitdea46a95aecc2f88c901f933c4c3370264eb6fe2 (patch)
treea18bb0b6db9d95b73e9f2b69e34893a388511e9f /sys/arch/sparc/dev/hmevar.h
parentec887d96c4d670aa2d9e143581e4b658b8069bc0 (diff)
Moved most of the DMA functions to a chipset driver so that
'hme' and 'be' can share the same logic.
Diffstat (limited to 'sys/arch/sparc/dev/hmevar.h')
-rw-r--r--sys/arch/sparc/dev/hmevar.h8
1 files changed, 2 insertions, 6 deletions
diff --git a/sys/arch/sparc/dev/hmevar.h b/sys/arch/sparc/dev/hmevar.h
index cfc44033062..8f18d2a76dd 100644
--- a/sys/arch/sparc/dev/hmevar.h
+++ b/sys/arch/sparc/dev/hmevar.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: hmevar.h,v 1.1 1998/07/10 19:09:12 jason Exp $ */
+/* $OpenBSD: hmevar.h,v 1.2 1998/07/17 21:33:10 jason Exp $ */
/*
* Copyright (c) 1998 Jason L. Wright (jason@thought.net)
@@ -33,7 +33,6 @@
struct hme_softc {
struct device sc_dev; /* base device */
- struct arpcom sc_arpcom; /* ethernet common */
struct sbusdev sc_sd; /* sbus device */
struct intrhand sc_ih; /* interrupt vectoring */
int sc_node; /* which sbus node */
@@ -61,8 +60,5 @@ struct hme_softc {
/*
* RX/TX ring buffers, descriptors, and counters
*/
- struct hme_desc *sc_desc, *sc_desc_dva; /* descriptors */
- struct hme_bufs *sc_bufs, *sc_bufs_dva; /* buffers */
- int sc_first_td, sc_last_td, sc_no_td; /* tx counters */
- int sc_last_rd; /* rx counter */
+ struct stp_base sc_stp;
};