summaryrefslogtreecommitdiffstats
path: root/sys/dev/mii/miivar.h
diff options
context:
space:
mode:
authorphk <phk@FreeBSD.org>2002-04-29 06:48:20 +0000
committerphk <phk@FreeBSD.org>2002-04-29 06:48:20 +0000
commitb8edad4923164ceeaa0858c3084c662787e4450c (patch)
tree2110ab56f4ee9ed02ae0f8912f507c8d9a4a81fd /sys/dev/mii/miivar.h
parent27437e6a2afe8a7a44a4e953b44f3ffcb667d446 (diff)
downloadFreeBSD-src-b8edad4923164ceeaa0858c3084c662787e4450c.zip
FreeBSD-src-b8edad4923164ceeaa0858c3084c662787e4450c.tar.gz
Edging ever closer to NetBSD...
Diffstat (limited to 'sys/dev/mii/miivar.h')
-rw-r--r--sys/dev/mii/miivar.h11
1 files changed, 5 insertions, 6 deletions
diff --git a/sys/dev/mii/miivar.h b/sys/dev/mii/miivar.h
index d890f46..3b56146 100644
--- a/sys/dev/mii/miivar.h
+++ b/sys/dev/mii/miivar.h
@@ -45,10 +45,7 @@
#include <sys/queue.h>
/*
- * Media Independent Interface autoconfiguration defintions.
- *
- * This file exports an interface which attempts to be compatible
- * with the BSD/OS 3.0 interface.
+ * Media Independent Interface configuration defintions.
*/
struct mii_softc;
@@ -124,9 +121,11 @@ struct mii_softc {
int mii_flags; /* misc. flags; see below */
int mii_capabilities; /* capabilities from BMSR */
+ int mii_extcapabilities; /* extended capabilities */
int mii_ticks; /* MII_TICK counter */
- int mii_active; /* last active media */
- int mii_status; /* last active status */
+ int mii_anegticks; /* ticks before retrying aneg */
+ int mii_media_active; /* last active media */
+ int mii_media_status; /* last active status */
};
typedef struct mii_softc mii_softc_t;
OpenPOWER on IntegriCloud