diff options
author | Marius Strobl <marius@FreeBSD.org> | 2010-11-22 21:20:11 +0000 |
---|---|---|
committer | Marius Strobl <marius@FreeBSD.org> | 2010-11-22 21:20:11 +0000 |
commit | b84d9626106796583774601650ea293059b290cc (patch) | |
tree | f71a76eb5915349545b9b5d44916999d4e79f945 /sys/dev/mii/nsgphy.c | |
parent | 1aeedb9617d0458f22bfcdf0db542a4a5106c005 (diff) | |
download | src-b84d9626106796583774601650ea293059b290cc.tar.gz src-b84d9626106796583774601650ea293059b290cc.zip |
Given that unlike f.e. rgephy(4) these drivers doen't explicitly start an
autonegotiation along with manual media selection and also only report 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.
Notes
Notes:
svn path=/head/; revision=215714
Diffstat (limited to 'sys/dev/mii/nsgphy.c')
-rw-r--r-- | sys/dev/mii/nsgphy.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/dev/mii/nsgphy.c b/sys/dev/mii/nsgphy.c index 7cdee42bbc25..417791293136 100644 --- a/sys/dev/mii/nsgphy.c +++ b/sys/dev/mii/nsgphy.c @@ -135,6 +135,8 @@ nsgphy_attach(device_t dev) sc->mii_service = nsgphy_service; sc->mii_pdata = mii; + sc->mii_flags |= MIIF_NOMANPAUSE; + mii_phy_reset(sc); /* |