aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/fxp
diff options
context:
space:
mode:
authorMaxime Henrion <mux@FreeBSD.org>2005-01-04 19:30:14 +0000
committerMaxime Henrion <mux@FreeBSD.org>2005-01-04 19:30:14 +0000
commit778ee7be107fa594a75568af6795e5008c24c4fa (patch)
treeda1a28db0a4d34cd7d40818af96a25935f1c57b8 /sys/dev/fxp
parentd7d1139749c4a487c50661ea438a08674fc465a3 (diff)
Notes
Diffstat (limited to 'sys/dev/fxp')
-rw-r--r--sys/dev/fxp/if_fxp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/fxp/if_fxp.c b/sys/dev/fxp/if_fxp.c
index 70dc1848014a..8e736ffd5312 100644
--- a/sys/dev/fxp/if_fxp.c
+++ b/sys/dev/fxp/if_fxp.c
@@ -452,7 +452,7 @@ fxp_attach(device_t dev)
* Determine whether we must use the 503 serial interface.
*/
fxp_read_eeprom(sc, &data, 6, 1);
- if (sc->revision == FXP_REV_82557 && (data & FXP_PHY_DEVICE_MASK) != 0
+ if (sc->revision <= FXP_REV_82557 && (data & FXP_PHY_DEVICE_MASK) != 0
&& (data & FXP_PHY_SERIAL_ONLY))
sc->flags |= FXP_FLAG_SERIAL_MEDIA;