summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYojiro Uo <yuo@cvs.openbsd.org>2015-07-19 06:14:38 +0000
committerYojiro Uo <yuo@cvs.openbsd.org>2015-07-19 06:14:38 +0000
commita5a063f91c601f9a892ea153380b8f68c626daeb (patch)
tree580689d769b20b285a2c3cd02acdd28c094763e4
parent914a898fe73da33e04c8dd8282f9a49088d1457d (diff)
revert privious commit
-rw-r--r--sys/dev/mii/ipgphy.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/mii/ipgphy.c b/sys/dev/mii/ipgphy.c
index 5111ed1180d..78643df0b75 100644
--- a/sys/dev/mii/ipgphy.c
+++ b/sys/dev/mii/ipgphy.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ipgphy.c,v 1.17 2015/07/19 04:59:39 yuo Exp $ */
+/* $OpenBSD: ipgphy.c,v 1.18 2015/07/19 06:14:37 yuo Exp $ */
/*-
* Copyright (c) 2006, Pyun YongHyeon <yongari@FreeBSD.org>
@@ -342,7 +342,7 @@ ipgphy_status(struct mii_softc *sc)
if (IFM_SUBTYPE(mii->mii_media_active) == IFM_1000_T) {
if (PHY_READ(sc, IPGPHY_MII_1000SR) &
- IPGPHY_1000SR_MMASTER)
+ IPGPHY_1000SR_MASTER)
mii->mii_media_active |= IFM_ETH_MASTER;
}
} else