diff options
author | glebius <glebius@FreeBSD.org> | 2006-08-23 15:37:07 +0000 |
---|---|---|
committer | glebius <glebius@FreeBSD.org> | 2006-08-23 15:37:07 +0000 |
commit | ae7c9ee9d8985a7fa196f259f69cb31993e51355 (patch) | |
tree | 861f9ef46225c894c313d1d19e1bcbbac56edf85 /sys/dev/mii/brgphy.c | |
parent | e0dfe3d7df89c3c52e58a630308eaf7fac6c3377 (diff) | |
download | FreeBSD-src-ae7c9ee9d8985a7fa196f259f69cb31993e51355.zip FreeBSD-src-ae7c9ee9d8985a7fa196f259f69cb31993e51355.tar.gz |
Pack several boolean fields into single bge_flags field.
Diffstat (limited to 'sys/dev/mii/brgphy.c')
-rw-r--r-- | sys/dev/mii/brgphy.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/mii/brgphy.c b/sys/dev/mii/brgphy.c index 15140e4..06813586 100644 --- a/sys/dev/mii/brgphy.c +++ b/sys/dev/mii/brgphy.c @@ -643,7 +643,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_FLAG_NO3LED) { PHY_WRITE(sc, BRGPHY_MII_PHY_EXTCTL, PHY_READ(sc, BRGPHY_MII_PHY_EXTCTL) & ~BRGPHY_PHY_EXTCTL_3_LED); |