Just like xmphy(4) this driver doesn't use any of the generic subroutines
so there's no need to fill mii_{ext,}capabilities either.
This commit is contained in:
parent
0f13cc8895
commit
e71ea3cf24
@ -279,10 +279,6 @@ brgphy_attach(device_t dev)
|
||||
|
||||
brgphy_reset(sc);
|
||||
|
||||
/* Read the PHY's capabilities. */
|
||||
sc->mii_capabilities = PHY_READ(sc, MII_BMSR) & ma->mii_capmask;
|
||||
if (sc->mii_capabilities & BMSR_EXTSTAT)
|
||||
sc->mii_extcapabilities = PHY_READ(sc, MII_EXTSR);
|
||||
device_printf(dev, " ");
|
||||
|
||||
#define ADD(m, c) ifmedia_add(&mii->mii_media, (m), (c), NULL)
|
||||
|
Loading…
Reference in New Issue
Block a user