From a51ed623750f76b3b40d6ebda689df590b076d70 Mon Sep 17 00:00:00 2001 From: Jason Wright Date: Tue, 1 Sep 1998 17:37:02 +0000 Subject: o Removed dependence on stp2002 (not sharable with qec+be) o Added collision counters o Should work on sun4c --- sys/arch/sparc/dev/hmevar.h | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'sys/arch/sparc/dev/hmevar.h') 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 */ }; -- cgit v1.2.3