aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/mii/nsgphy.c
diff options
context:
space:
mode:
authorMarius Strobl <marius@FreeBSD.org>2010-11-22 21:20:11 +0000
committerMarius Strobl <marius@FreeBSD.org>2010-11-22 21:20:11 +0000
commitb84d9626106796583774601650ea293059b290cc (patch)
treef71a76eb5915349545b9b5d44916999d4e79f945 /sys/dev/mii/nsgphy.c
parent1aeedb9617d0458f22bfcdf0db542a4a5106c005 (diff)
downloadsrc-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.c2
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);
/*