summaryrefslogtreecommitdiff
path: root/sys/arch
diff options
context:
space:
mode:
authorJason Wright <jason@cvs.openbsd.org>2000-06-18 17:39:18 +0000
committerJason Wright <jason@cvs.openbsd.org>2000-06-18 17:39:18 +0000
commit97a3c375ac2b487020284d0a01e6e5dbbab156d1 (patch)
tree4bac47e5092a56be6dac776a862e99fd2ef5ff50 /sys/arch
parenta57f55ed957cdece90216d47f55053935e27fc31 (diff)
remove unused junk
Diffstat (limited to 'sys/arch')
-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 */