summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorBrad Smith <brad@cvs.openbsd.org>2004-12-12 22:41:32 +0000
committerBrad Smith <brad@cvs.openbsd.org>2004-12-12 22:41:32 +0000
commita4e2055729d220a26438f05e54178b77ba8609b1 (patch)
tree4b619568ba5ba26694975e18c8eb8b4d5420e3dd /sys
parenta8dad419f8a73dd734a84b8c91dd7cbae0163335 (diff)
unbreak after last commit to bge(4)
Diffstat (limited to 'sys')
-rw-r--r--sys/dev/mii/brgphy.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/mii/brgphy.c b/sys/dev/mii/brgphy.c
index 71ff09a4d95..959c7b8c388 100644
--- a/sys/dev/mii/brgphy.c
+++ b/sys/dev/mii/brgphy.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: brgphy.c,v 1.18 2004/10/31 06:59:25 brad Exp $ */
+/* $OpenBSD: brgphy.c,v 1.19 2004/12/12 22:41:31 brad Exp $ */
/*
* Copyright (c) 2000
@@ -432,7 +432,7 @@ brgphy_reset(struct mii_softc *sc)
* PHY subdriver.
*/
if (strncmp(ifp->if_xname, "bge", 3) == 0 &&
- (bge_sc->bge_asicrev == BGE_ASICREV_BCM5700 ||
+ (BGE_ASICREV(bge_sc->bge_chipid) == BGE_ASICREV_BCM5700 ||
bge_sc->bge_chipid == BGE_CHIPID_BCM5705_A1 ||
bge_sc->bge_chipid == BGE_CHIPID_BCM5705_A2))
return;