diff options
author | ps <ps@FreeBSD.org> | 2003-09-28 04:16:16 +0000 |
---|---|---|
committer | ps <ps@FreeBSD.org> | 2003-09-28 04:16:16 +0000 |
commit | 704509bd2f429c96ae3d27aee6715bf5a3b24c8a (patch) | |
tree | 028ed3fd1e384e5e187a25b609831585d2a11cde /sys/dev/mii/brgphy.c | |
parent | 299971c200a90dc56ed4df9811542ecd2a46f0dd (diff) | |
download | FreeBSD-src-704509bd2f429c96ae3d27aee6715bf5a3b24c8a.zip FreeBSD-src-704509bd2f429c96ae3d27aee6715bf5a3b24c8a.tar.gz |
Typo when setting wirespeed. || != |
Found by: jake
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 12cf073..29e1f72 100644 --- a/sys/dev/mii/brgphy.c +++ b/sys/dev/mii/brgphy.c @@ -622,7 +622,7 @@ brgphy_reset(struct mii_softc *sc) /* Enable Ethernet@WireSpeed. */ PHY_WRITE(sc, BRGPHY_MII_AUXCTL, 0x7007); val = PHY_READ(sc, BRGPHY_MII_AUXCTL); - PHY_WRITE(sc, BRGPHY_MII_AUXCTL, val | (1 << 15) || (1 << 4)); + PHY_WRITE(sc, BRGPHY_MII_AUXCTL, val | (1 << 15) | (1 << 4)); /* Enable Link LED on Dell boxes */ if (bge_sc->bge_no_3_led) { |