summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjason <jason@openbsd.org>2000-06-18 17:39:17 +0000
committerjason <jason@openbsd.org>2000-06-18 17:39:17 +0000
commitf3661cb6129721adc29767496554fb647cf3d3bb (patch)
tree4fee9c2a668fc787868f111cf921ba79985ea296
parenthmm, you'd never know these started out as if_ie.c.... (diff)
downloadwireguard-openbsd-f3661cb6129721adc29767496554fb647cf3d3bb.tar.xz
wireguard-openbsd-f3661cb6129721adc29767496554fb647cf3d3bb.zip
remove unused junk
-rw-r--r--sys/arch/sparc/dev/hmereg.h22
-rw-r--r--sys/arch/sparc/dev/hmevar.h3
2 files changed, 2 insertions, 23 deletions
diff --git a/sys/arch/sparc/dev/hmereg.h b/sys/arch/sparc/dev/hmereg.h
index 26a5a781a01..15130ed9a10 100644
--- a/sys/arch/sparc/dev/hmereg.h
+++ b/sys/arch/sparc/dev/hmereg.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: hmereg.h,v 1.7 1999/01/07 03:14:43 jason Exp $ */
+/* $OpenBSD: hmereg.h,v 1.8 2000/06/18 17:39:17 jason Exp $ */
/*
* Copyright (c) 1998 Jason L. Wright (jason@thought.net)
@@ -337,32 +337,12 @@ struct hme_tcvr {
(HME_FLAG_POLLENABLE | HME_FLAG_FENABLE | HME_FLAG_LANCE | HME_FLAG_RXCV)
/*
- * Copies of the hardware registers
- */
-struct hme_swr {
- u_int32_t bmcr;
- u_int32_t bmsr;
- u_int32_t phyidr1;
- u_int32_t phyidr2;
- u_int32_t anar;
- u_int32_t anlpar;
- u_int32_t aner;
-};
-
-/*
* Transceiver type
*/
#define HME_TCVR_EXTERNAL 0
#define HME_TCVR_INTERNAL 1
#define HME_TCVR_NONE 2
-/*
- * Autonegotiation time states
- */
-#define HME_TIMER_DONE 0 /* not doing/waiting for anything */
-#define HME_TIMER_AUTONEG 1 /* autonegotiating */
-#define HME_TIMER_LINKUP 2 /* waiting for link up */
-
struct hme_rxd {
volatile u_int32_t rx_flags;
volatile u_int32_t rx_addr;
diff --git a/sys/arch/sparc/dev/hmevar.h b/sys/arch/sparc/dev/hmevar.h
index 3b032c1bb76..bce0a1e0399 100644
--- a/sys/arch/sparc/dev/hmevar.h
+++ b/sys/arch/sparc/dev/hmevar.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: hmevar.h,v 1.6 1999/02/23 23:44:49 jason Exp $ */
+/* $OpenBSD: hmevar.h,v 1.7 2000/06/18 17:39:17 jason Exp $ */
/*
* Copyright (c) 1998 Jason L. Wright (jason@thought.net)
@@ -50,7 +50,6 @@ struct hme_softc {
struct hme_cr *sc_cr; /* configuration registers */
struct hme_tcvr *sc_tcvr; /* MIF registers */
- struct hme_swr sc_sw; /* software copy registers */
int sc_burst; /* DMA burst size in effect */
int sc_rev; /* Card revision */