summaryrefslogtreecommitdiff
path: root/sys/dev/mii
diff options
context:
space:
mode:
authorBrad Smith <brad@cvs.openbsd.org>2006-10-01 17:29:49 +0000
committerBrad Smith <brad@cvs.openbsd.org>2006-10-01 17:29:49 +0000
commit419b286d9c4fec8fff203fcffcc944b2fb68c802 (patch)
tree7208f7e886a8dc324c5b7ae0cf5171a5107cfc1c /sys/dev/mii
parent86ea2712f27da9a028f9c487e7847da01930700d (diff)
pack several boolean fields into the existing bge_flags field.
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 e9af1d822f8..e2171c568c8 100644
--- a/sys/dev/mii/brgphy.c
+++ b/sys/dev/mii/brgphy.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: brgphy.c,v 1.52 2006/08/28 03:06:47 brad Exp $ */
+/* $OpenBSD: brgphy.c,v 1.53 2006/10/01 17:29:48 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_no_3_led) {
+ if (bge_sc->bge_flags & BGE_NO_3LED) {
PHY_WRITE(sc, BRGPHY_MII_PHY_EXTCTL,
PHY_READ(sc, BRGPHY_MII_PHY_EXTCTL)
& ~BRGPHY_PHY_EXTCTL_3_LED);