From 2a6a6e5ca78771f6243bf03bf735a4ec24148bbd Mon Sep 17 00:00:00 2001 From: Marius Strobl Date: Mon, 29 Oct 2007 21:11:55 +0000 Subject: [PATCH] - 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 --- sys/dev/mii/gentbi.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/sys/dev/mii/gentbi.c b/sys/dev/mii/gentbi.c index 5536445e8c7..10e780a3b70 100644 --- a/sys/dev/mii/gentbi.c +++ b/sys/dev/mii/gentbi.c @@ -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) {