diff options
author | Brad Smith <brad@cvs.openbsd.org> | 2005-10-01 03:04:36 +0000 |
---|---|---|
committer | Brad Smith <brad@cvs.openbsd.org> | 2005-10-01 03:04:36 +0000 |
commit | e1e42ab91b4c2a80f21d3aba746b98c5e5c7cede (patch) | |
tree | 37fcdf3896160f07ea7c7bfaf74cebf3d23643c5 | |
parent | 005d9a2c3b2f738e9a01c319c8d0d637ab5bb466 (diff) |
load the BCM5401 DSP code for rev 0 and not rev 1.
From: Linux sungem_phy driver.
-rw-r--r-- | sys/dev/mii/brgphy.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/mii/brgphy.c b/sys/dev/mii/brgphy.c index 125818c9b05..8ad7e5edaf8 100644 --- a/sys/dev/mii/brgphy.c +++ b/sys/dev/mii/brgphy.c @@ -1,4 +1,4 @@ -/* $OpenBSD: brgphy.c,v 1.32 2005/10/01 02:47:30 brad Exp $ */ +/* $OpenBSD: brgphy.c,v 1.33 2005/10/01 03:04:35 brad Exp $ */ /* * Copyright (c) 2000 @@ -529,7 +529,7 @@ brgphy_load_dspcode(struct mii_softc *sc) wait=40; break; case MII_MODEL_BROADCOM_BCM5401: - if (sc->mii_rev == 1 || sc->mii_rev == 3) { + if (sc->mii_rev == 0 || sc->mii_rev == 3) { dsp = bcm5401_dspcode; wait=40; } |