summaryrefslogtreecommitdiff
path: root/sys/arch/sparc/dev/hmevar.h
diff options
context:
space:
mode:
authorJason Wright <jason@cvs.openbsd.org>1998-09-10 17:34:33 +0000
committerJason Wright <jason@cvs.openbsd.org>1998-09-10 17:34:33 +0000
commit14f905d7a208f57920e5f94e108a434a577c074d (patch)
tree44d80037cbd14c16bd4fb6ba16466dcbc1d820fe /sys/arch/sparc/dev/hmevar.h
parent37e4a4f0268d8be33d6e5d680da46b9cd58ce632 (diff)
Modified to use mii layer for hme
Diffstat (limited to 'sys/arch/sparc/dev/hmevar.h')
-rw-r--r--sys/arch/sparc/dev/hmevar.h10
1 files changed, 4 insertions, 6 deletions
diff --git a/sys/arch/sparc/dev/hmevar.h b/sys/arch/sparc/dev/hmevar.h
index ac434468678..a0ea534bff5 100644
--- a/sys/arch/sparc/dev/hmevar.h
+++ b/sys/arch/sparc/dev/hmevar.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: hmevar.h,v 1.4 1998/09/08 04:48:38 jason Exp $ */
+/* $OpenBSD: hmevar.h,v 1.5 1998/09/10 17:34:32 jason Exp $ */
/*
* Copyright (c) 1998 Jason L. Wright (jason@thought.net)
@@ -36,7 +36,9 @@ struct hme_softc {
struct sbusdev sc_sd; /* sbus device */
struct intrhand sc_ih; /* interrupt vectoring */
int sc_node; /* which sbus node */
- struct ifmedia sc_ifmedia; /* interface media */
+
+ mii_data_t sc_mii; /* mii bus */
+
struct arpcom sc_arpcom; /* ethernet common */
/*
@@ -54,10 +56,6 @@ struct hme_softc {
u_int32_t sc_flags; /* status flags */
u_int32_t sc_promisc; /* are we promiscuous? */
- u_int32_t sc_phyaddr; /* PHY addr */
- int sc_an_state; /* state of negotiation */
- int sc_an_ticks; /* how long has passed? */
- int sc_tcvr_type; /* transceiver type */
/*
* RX/TX ring buffers, descriptors, and counters