- Remove MIIF_NOISOLATE; there's generally no reason to let gentbi(4)
set this flag and it was more or less just copied and pasted from another FreeBSD driver while porting this driver from NetBSD, whose gentbi(4) doesn't set MIIF_NOISOLATE either. - Fix spelling in a comment. OK'ed by: yongari MFC after: 3 months
This commit is contained in:
parent
855f957fc1
commit
2a6a6e5ca7
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=173157
@ -182,7 +182,6 @@ gentbi_attach(device_t dev)
|
||||
sc->mii_phy = ma->mii_phyno;
|
||||
sc->mii_service = gentbi_service;
|
||||
sc->mii_pdata = mii;
|
||||
sc->mii_flags |= MIIF_NOISOLATE;
|
||||
|
||||
mii->mii_instance++;
|
||||
|
||||
@ -287,7 +286,7 @@ gentbi_status(struct mii_softc *sc)
|
||||
|
||||
if (bmcr & BMCR_AUTOEN) {
|
||||
/*
|
||||
* The media status bits are only valid of autonegotiation
|
||||
* The media status bits are only valid if autonegotiation
|
||||
* has completed (or it's disabled).
|
||||
*/
|
||||
if ((bmsr & BMSR_ACOMP) == 0) {
|
||||
|
Loading…
Reference in New Issue
Block a user