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.
This commit is contained in:
parent
98a6800883
commit
21423fafa1
@ -172,6 +172,8 @@ gentbi_attach(device_t dev)
|
||||
sc->mii_service = gentbi_service;
|
||||
sc->mii_pdata = mii;
|
||||
|
||||
sc->mii_flags |= MIIF_NOMANPAUSE;
|
||||
|
||||
mii_phy_reset(sc);
|
||||
|
||||
/*
|
||||
|
@ -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);
|
||||
|
||||
/*
|
||||
|
Loading…
Reference in New Issue
Block a user