diff options
Diffstat (limited to 'sys')
-rw-r--r-- | sys/dev/mii/nsgphy.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/sys/dev/mii/nsgphy.c b/sys/dev/mii/nsgphy.c index d9b6419fcac..1d8214e09ff 100644 --- a/sys/dev/mii/nsgphy.c +++ b/sys/dev/mii/nsgphy.c @@ -1,4 +1,4 @@ -/* $OpenBSD: nsgphy.c,v 1.19 2008/04/02 22:14:29 kettenis Exp $ */ +/* $OpenBSD: nsgphy.c,v 1.20 2008/05/30 05:08:29 brad Exp $ */ /* * Copyright (c) 2001 Wind River Systems * Copyright (c) 2001 @@ -129,7 +129,7 @@ nsgphyattach(struct device *parent, struct device *self, void *aux) sc->mii_capabilities = PHY_READ(sc, MII_BMSR) & ma->mii_capmask; - if (sc->mii_capabilities & BMSR_EXTSTAT) + if (sc->mii_capabilities & BMSR_EXTSTAT) sc->mii_extcapabilities = PHY_READ(sc, MII_EXTSR); /* @@ -145,9 +145,9 @@ nsgphyattach(struct device *parent, struct device *self, void *aux) if (anar & ANAR_10_FD) sc->mii_capabilities |= (BMSR_10TFDX & ma->mii_capmask); - if ((sc->mii_capabilities & BMSR_MEDIAMASK) || - (sc->mii_extcapabilities & EXTSR_MEDIAMASK)) - mii_phy_add_media(sc); + if ((sc->mii_capabilities & BMSR_MEDIAMASK) || + (sc->mii_extcapabilities & EXTSR_MEDIAMASK)) + mii_phy_add_media(sc); } int |