summaryrefslogtreecommitdiff
path: root/sys/arch/sparc/dev/hmevar.h
diff options
context:
space:
mode:
authorJason Wright <jason@cvs.openbsd.org>1998-09-01 17:37:02 +0000
committerJason Wright <jason@cvs.openbsd.org>1998-09-01 17:37:02 +0000
commita51ed623750f76b3b40d6ebda689df590b076d70 (patch)
treead3ee132e255eaea203aee2738be9598d13abc96 /sys/arch/sparc/dev/hmevar.h
parent24e373b7dc1e348161e9bdec0b1505a859da1a9a (diff)
o Removed dependence on stp2002 (not sharable with qec+be)
o Added collision counters o Should work on sun4c
Diffstat (limited to 'sys/arch/sparc/dev/hmevar.h')
-rw-r--r--sys/arch/sparc/dev/hmevar.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/sys/arch/sparc/dev/hmevar.h b/sys/arch/sparc/dev/hmevar.h
index 8f18d2a76dd..ac597485bbf 100644
--- a/sys/arch/sparc/dev/hmevar.h
+++ b/sys/arch/sparc/dev/hmevar.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: hmevar.h,v 1.2 1998/07/17 21:33:10 jason Exp $ */
+/* $OpenBSD: hmevar.h,v 1.3 1998/09/01 17:36:59 jason Exp $ */
/*
* Copyright (c) 1998 Jason L. Wright (jason@thought.net)
@@ -36,6 +36,7 @@ struct hme_softc {
struct sbusdev sc_sd; /* sbus device */
struct intrhand sc_ih; /* interrupt vectoring */
int sc_node; /* which sbus node */
+ struct arpcom sc_arpcom;
/*
* Register sets
@@ -60,5 +61,8 @@ struct hme_softc {
/*
* RX/TX ring buffers, descriptors, and counters
*/
- struct stp_base sc_stp;
+ struct hme_desc *sc_desc, *sc_desc_dva; /* ring descriptors */
+ struct hme_bufs *sc_bufs, *sc_bufs_dva; /* packet buffers */
+ int sc_first_td, sc_last_td, sc_no_td; /* tx counters */
+ int sc_last_rd; /* rx counters */
};