summaryrefslogtreecommitdiff
path: root/sys/dev/mii
diff options
context:
space:
mode:
authorBrad Smith <brad@cvs.openbsd.org>2006-08-28 03:06:48 +0000
committerBrad Smith <brad@cvs.openbsd.org>2006-08-28 03:06:48 +0000
commitf96a80507a166a411f014ba6d09a167a08993ddf (patch)
tree0490ad58bac4bab7e773a2b7e91658e1f53e9d92 /sys/dev/mii
parent52bf9d1ce3d235a12885a9bdec681b7a9d4ed5be (diff)
revert flags usage commits. too close to release. will go in post release instead.
requested by deraadt@
Diffstat (limited to 'sys/dev/mii')
-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 fe68b9fdc68..e9af1d822f8 100644
--- a/sys/dev/mii/brgphy.c
+++ b/sys/dev/mii/brgphy.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: brgphy.c,v 1.51 2006/08/27 21:06:16 brad Exp $ */
+/* $OpenBSD: brgphy.c,v 1.52 2006/08/28 03:06:47 brad Exp $ */
/*
* Copyright (c) 2000
@@ -484,7 +484,7 @@ brgphy_reset(struct mii_softc *sc)
PHY_WRITE(sc, BRGPHY_MII_AUXCTL, val | (1 << 15) | (1 << 4));
/* Enable Link LED on Dell boxes */
- if (bge_sc->bge_flags & BGE_NO3LED) {
+ if (bge_sc->bge_no_3_led) {
PHY_WRITE(sc, BRGPHY_MII_PHY_EXTCTL,
PHY_READ(sc, BRGPHY_MII_PHY_EXTCTL)
& ~BRGPHY_PHY_EXTCTL_3_LED);