1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-15 10:17:20 +00:00

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:
Marius Strobl 2010-10-14 21:30:13 +00:00
parent 59c9250333
commit 4d0056a865
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=213867

View File

@ -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)