diff options
author | Pyun YongHyeon <yongari@FreeBSD.org> | 2010-12-02 03:53:29 +0000 |
---|---|---|
committer | Pyun YongHyeon <yongari@FreeBSD.org> | 2010-12-02 03:53:29 +0000 |
commit | 6e854927d15ec5a6d91fb93520e7bc4a283e698a (patch) | |
tree | 4aa2de1234f8cb16945fe771c1445050b14a5044 /sys/dev/fxp | |
parent | ad4e3b96811b551c0c604f1bfb4d76b1078ba260 (diff) | |
download | src-6e854927d15ec5a6d91fb93520e7bc4a283e698a.tar.gz src-6e854927d15ec5a6d91fb93520e7bc4a283e698a.zip |
Notes
Diffstat (limited to 'sys/dev/fxp')
-rw-r--r-- | sys/dev/fxp/if_fxp.c | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/sys/dev/fxp/if_fxp.c b/sys/dev/fxp/if_fxp.c index 6ccac920470c..fe9c0bd9ca62 100644 --- a/sys/dev/fxp/if_fxp.c +++ b/sys/dev/fxp/if_fxp.c @@ -526,10 +526,12 @@ fxp_attach(device_t dev) } /* Receiver lock-up workaround detection. */ - fxp_read_eeprom(sc, &data, 3, 1); - if ((data & 0x03) != 0x03) { - sc->flags |= FXP_FLAG_RXBUG; - device_printf(dev, "Enabling Rx lock-up workaround\n"); + if (sc->revision < FXP_REV_82558_A4) { + fxp_read_eeprom(sc, &data, 3, 1); + if ((data & 0x03) != 0x03) { + sc->flags |= FXP_FLAG_RXBUG; + device_printf(dev, "Enabling Rx lock-up workaround\n"); + } } /* |