diff options
author | marius <marius@FreeBSD.org> | 2010-10-14 21:30:13 +0000 |
---|---|---|
committer | marius <marius@FreeBSD.org> | 2010-10-14 21:30:13 +0000 |
commit | e71ea3cf24d77db22db46ba9b15734567b291204 (patch) | |
tree | a23f94691fd9d69324f656e32a90c7db132e6d76 /sys/dev/mii | |
parent | 0f13cc88957d84287dfb01434122c11cf6f74ca4 (diff) | |
download | FreeBSD-src-e71ea3cf24d77db22db46ba9b15734567b291204.zip FreeBSD-src-e71ea3cf24d77db22db46ba9b15734567b291204.tar.gz |
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.
Diffstat (limited to 'sys/dev/mii')
-rw-r--r-- | sys/dev/mii/brgphy.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/sys/dev/mii/brgphy.c b/sys/dev/mii/brgphy.c index 44d92a7..b995110 100644 --- a/sys/dev/mii/brgphy.c +++ b/sys/dev/mii/brgphy.c @@ -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) |