|
@@ -795,9 +795,12 @@ netxen_nic_probe(struct pci_dev *pdev, const struct pci_device_id *ent)
|
|
|
* See if the firmware gave us a virtual-physical port mapping.
|
|
|
*/
|
|
|
adapter->physical_port = adapter->portnum;
|
|
|
- i = adapter->pci_read_normalize(adapter, CRB_V2P(adapter->portnum));
|
|
|
- if (i != 0x55555555)
|
|
|
- adapter->physical_port = i;
|
|
|
+ if (adapter->fw_major < 4) {
|
|
|
+ i = adapter->pci_read_normalize(adapter,
|
|
|
+ CRB_V2P(adapter->portnum));
|
|
|
+ if (i != 0x55555555)
|
|
|
+ adapter->physical_port = i;
|
|
|
+ }
|
|
|
|
|
|
adapter->flags &= ~(NETXEN_NIC_MSI_ENABLED | NETXEN_NIC_MSIX_ENABLED);
|
|
|
|