From da852afdbd7b15bb6bd7271b9693309e888550e9 Mon Sep 17 00:00:00 2001 From: marius Date: Mon, 29 Oct 2007 21:11:55 +0000 Subject: - 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(-) (limited to 'sys/dev/mii') diff --git a/sys/dev/mii/gentbi.c b/sys/dev/mii/gentbi.c index 5536445..10e780a 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) { -- cgit v1.1