Only try to use the 82503 serial interface for the 82557 chipsets. The
datasheet says it is only valid for such chipsets and shouldn't be used with others. This fixes some 82559 based cards which otherwise only work at 10Mbit. MFC after: 5 days Tested by: krion
This commit is contained in:
parent
1c86b95b10
commit
747bbb41c4
@ -452,8 +452,8 @@ fxp_attach(device_t dev)
|
||||
* Determine whether we must use the 503 serial interface.
|
||||
*/
|
||||
fxp_read_eeprom(sc, &data, 6, 1);
|
||||
if ((data & FXP_PHY_DEVICE_MASK) != 0 &&
|
||||
(data & FXP_PHY_SERIAL_ONLY))
|
||||
if (sc->revision == FXP_REV_82557 && (data & FXP_PHY_DEVICE_MASK) != 0
|
||||
&& (data & FXP_PHY_SERIAL_ONLY))
|
||||
sc->flags |= FXP_FLAG_SERIAL_MEDIA;
|
||||
|
||||
SYSCTL_ADD_PROC(device_get_sysctl_ctx(dev),
|
||||
|
Loading…
Reference in New Issue
Block a user