summaryrefslogtreecommitdiffstats
path: root/sys/dev/mii/nsgphy.c
diff options
context:
space:
mode:
authormarius <marius@FreeBSD.org>2010-11-22 21:20:11 +0000
committermarius <marius@FreeBSD.org>2010-11-22 21:20:11 +0000
commit21423fafa1358a2a95acebce88a346050821d69e (patch)
treef71a76eb5915349545b9b5d44916999d4e79f945 /sys/dev/mii/nsgphy.c
parent98a680088374acef603e1779ea228dd11e70ad7e (diff)
downloadFreeBSD-src-21423fafa1358a2a95acebce88a346050821d69e.zip
FreeBSD-src-21423fafa1358a2a95acebce88a346050821d69e.tar.gz
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.
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 7cdee42..4177912 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);
/*
OpenPOWER on IntegriCloud