diff options
author | marius <marius@FreeBSD.org> | 2010-11-22 21:13:42 +0000 |
---|---|---|
committer | marius <marius@FreeBSD.org> | 2010-11-22 21:13:42 +0000 |
commit | 98a680088374acef603e1779ea228dd11e70ad7e (patch) | |
tree | 86c037d086ab58f3d0be9acd0f41d1eb68ea5a52 /sys/dev/mii | |
parent | 7b665e6d2eac14159fb2ecac231ed71112f902e6 (diff) | |
download | FreeBSD-src-98a680088374acef603e1779ea228dd11e70ad7e.zip FreeBSD-src-98a680088374acef603e1779ea228dd11e70ad7e.tar.gz |
Given that unlike f.e. rgephy(4) this driver doesn't explicitly start an
autonegotiation along with manual media selection and ukphy_status() also
only reports flow control status when BMCR_AUTOEN is set (at least with
gentbi(4) determining the flow control status results in false-positives
when not set), use MIIF_NOMANPAUSE.
Diffstat (limited to 'sys/dev/mii')
-rw-r--r-- | sys/dev/mii/ukphy.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/dev/mii/ukphy.c b/sys/dev/mii/ukphy.c index 05b1b45..10842b7 100644 --- a/sys/dev/mii/ukphy.c +++ b/sys/dev/mii/ukphy.c @@ -136,6 +136,8 @@ ukphy_attach(device_t dev) sc->mii_service = ukphy_service; sc->mii_pdata = mii; + sc->mii_flags |= MIIF_NOMANPAUSE; + mii_phy_reset(sc); sc->mii_capabilities = PHY_READ(sc, MII_BMSR) & ma->mii_capmask; |