mirror of
https://github.com/opnsense/src.git
synced 2026-06-08 16:22:46 -04:00
Minor correction to comment: PNIC and XIRCOM have eeprom, its just
non-standard.
This commit is contained in:
parent
b235704d7c
commit
6d0dd93192
2 changed files with 2 additions and 2 deletions
|
|
@ -1955,7 +1955,7 @@ dc_attach(dev)
|
|||
sc->dc_info = dc_devtype(dev);
|
||||
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 &&
|
||||
sc->dc_info->dc_did != DC_DEVICEID_X3201)
|
||||
dc_eeprom_width(sc);
|
||||
|
|
|
|||
|
|
@ -1955,7 +1955,7 @@ dc_attach(dev)
|
|||
sc->dc_info = dc_devtype(dev);
|
||||
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 &&
|
||||
sc->dc_info->dc_did != DC_DEVICEID_X3201)
|
||||
dc_eeprom_width(sc);
|
||||
|
|
|
|||
Loading…
Reference in a new issue