diff options
author | Poul-Henning Kamp <phk@FreeBSD.org> | 2002-05-04 11:00:30 +0000 |
---|---|---|
committer | Poul-Henning Kamp <phk@FreeBSD.org> | 2002-05-04 11:00:30 +0000 |
commit | fd94424c787ee5080ec5f524da4add26e2d98223 (patch) | |
tree | 10060b81297899944fcdaab5c317442881b2dc23 /sys/dev/mii/miivar.h | |
parent | 3203428dc5c8f2237a4396b907bd3d306936315f (diff) |
Clean up mii/phy drivers: Remove the MIIF_DOINGAUTO which doesn't really
do anything at the end of the day except bloat the drivers which has
copy&pasted it.
Notes
Notes:
svn path=/head/; revision=96026
Diffstat (limited to 'sys/dev/mii/miivar.h')
-rw-r--r-- | sys/dev/mii/miivar.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/sys/dev/mii/miivar.h b/sys/dev/mii/miivar.h index cb56fd579010..f6c759c40e93 100644 --- a/sys/dev/mii/miivar.h +++ b/sys/dev/mii/miivar.h @@ -117,7 +117,6 @@ struct mii_softc { mii_downcall_t mii_service; /* our downcall */ struct mii_data *mii_pdata; /* pointer to parent's mii_data */ - struct callout_handle mii_auto_ch; /* callout handle for phy autoneg */ int mii_flags; /* misc. flags; see below */ int mii_capabilities; /* capabilities from BMSR */ @@ -133,7 +132,6 @@ typedef struct mii_softc mii_softc_t; #define MIIF_INITDONE 0x0001 /* has been initialized (mii_data) */ #define MIIF_NOISOLATE 0x0002 /* do not isolate the PHY */ #define MIIF_NOLOOP 0x0004 /* no loopback capability */ -#define MIIF_DOINGAUTO 0x0008 /* doing autonegotiation (mii_softc) */ #define MIIF_AUTOTSLEEP 0x0010 /* use tsleep(), not callout() */ #define MIIF_HAVEFIBER 0x0020 /* from parent: has fiber interface */ #define MIIF_HAVE_GTCR 0x0040 /* has 100base-T2/1000base-T CR */ @@ -211,7 +209,7 @@ void mii_phy_add_media(struct mii_softc *); int mii_media_from_bmcr(int); -int mii_phy_auto(struct mii_softc *, int); +int mii_phy_auto(struct mii_softc *); int mii_phy_detach(device_t dev); void mii_phy_down(struct mii_softc *); void mii_phy_reset(struct mii_softc *); |