From 704509bd2f429c96ae3d27aee6715bf5a3b24c8a Mon Sep 17 00:00:00 2001 From: ps Date: Sun, 28 Sep 2003 04:16:16 +0000 Subject: Typo when setting wirespeed. || != | Found by: jake --- sys/dev/mii/brgphy.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sys/dev/mii') 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) { -- cgit v1.1