Minor correction to comment: PNIC and XIRCOM have eeprom, its just
non-standard.
This commit is contained in:
parent
b235704d7c
commit
6d0dd93192
@ -1955,7 +1955,7 @@ dc_attach(dev)
|
|||||||
sc->dc_info = dc_devtype(dev);
|
sc->dc_info = dc_devtype(dev);
|
||||||
revision = pci_read_config(dev, DC_PCI_CFRV, 4) & 0x000000FF;
|
revision = pci_read_config(dev, DC_PCI_CFRV, 4) & 0x000000FF;
|
||||||
|
|
||||||
/* Get the eeprom width, but PNIC and XIRCOM have no eeprom */
|
/* Get the eeprom width, but PNIC and XIRCOM have diff eeprom */
|
||||||
if (sc->dc_info->dc_did != DC_DEVICEID_82C168 &&
|
if (sc->dc_info->dc_did != DC_DEVICEID_82C168 &&
|
||||||
sc->dc_info->dc_did != DC_DEVICEID_X3201)
|
sc->dc_info->dc_did != DC_DEVICEID_X3201)
|
||||||
dc_eeprom_width(sc);
|
dc_eeprom_width(sc);
|
||||||
|
@ -1955,7 +1955,7 @@ dc_attach(dev)
|
|||||||
sc->dc_info = dc_devtype(dev);
|
sc->dc_info = dc_devtype(dev);
|
||||||
revision = pci_read_config(dev, DC_PCI_CFRV, 4) & 0x000000FF;
|
revision = pci_read_config(dev, DC_PCI_CFRV, 4) & 0x000000FF;
|
||||||
|
|
||||||
/* Get the eeprom width, but PNIC and XIRCOM have no eeprom */
|
/* Get the eeprom width, but PNIC and XIRCOM have diff eeprom */
|
||||||
if (sc->dc_info->dc_did != DC_DEVICEID_82C168 &&
|
if (sc->dc_info->dc_did != DC_DEVICEID_82C168 &&
|
||||||
sc->dc_info->dc_did != DC_DEVICEID_X3201)
|
sc->dc_info->dc_did != DC_DEVICEID_X3201)
|
||||||
dc_eeprom_width(sc);
|
dc_eeprom_width(sc);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user