diff options
author | marius <marius@FreeBSD.org> | 2010-11-05 19:38:28 +0000 |
---|---|---|
committer | marius <marius@FreeBSD.org> | 2010-11-05 19:38:28 +0000 |
commit | d68ca836217ab3d9138feed5e1e187009b0d252d (patch) | |
tree | 7fbcff6a71c0ab87c02351f017337ffce418b2bf /sys/dev/xl/if_xl.c | |
parent | 3f7fdc49477b1af5af349aa052cb0711a96f8542 (diff) | |
download | FreeBSD-src-d68ca836217ab3d9138feed5e1e187009b0d252d.zip FreeBSD-src-d68ca836217ab3d9138feed5e1e187009b0d252d.tar.gz |
Correct an inverted check in r213893.
Diffstat (limited to 'sys/dev/xl/if_xl.c')
-rw-r--r-- | sys/dev/xl/if_xl.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/xl/if_xl.c b/sys/dev/xl/if_xl.c index 0d77e12..d99109f 100644 --- a/sys/dev/xl/if_xl.c +++ b/sys/dev/xl/if_xl.c @@ -1461,7 +1461,7 @@ xl_attach(device_t dev) * control registers at all MII addresses. */ phy = MII_PHY_ANY; - if ((sc->xl_flags & XL_FLAG_PHYOK) != 0) + if ((sc->xl_flags & XL_FLAG_PHYOK) == 0) phy = 24; error = mii_attach(dev, &sc->xl_miibus, ifp, xl_ifmedia_upd, xl_ifmedia_sts, BMSR_DEFCAPMASK, phy, MII_OFFSET_ANY, 0); |