Add field for last active status, as well as function prototypes.

This commit is contained in:
Jonathan Lemon 2001-09-29 18:48:52 +00:00
parent 824162626d
commit babc535e85

View File

@ -126,6 +126,7 @@ struct mii_softc {
int mii_capabilities; /* capabilities from BMSR */
int mii_ticks; /* MII_TICK counter */
int mii_active; /* last active media */
int mii_status; /* last active status */
};
typedef struct mii_softc mii_softc_t;
@ -173,6 +174,8 @@ int mii_media_from_bmcr __P((int));
int mii_phy_auto __P((struct mii_softc *, int));
void mii_phy_auto_stop __P((struct mii_softc *));
void mii_phy_reset __P((struct mii_softc *));
void mii_phy_update __P((struct mii_softc *, int));
int mii_phy_tick __P((struct mii_softc *));
void ukphy_status __P((struct mii_softc *));
#endif /* _KERNEL */