diff options
-rw-r--r-- | drivers/net/netxen/netxen_nic_main.c | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/drivers/net/netxen/netxen_nic_main.c b/drivers/net/netxen/netxen_nic_main.c index 9f33e442f403..f42581157f4e 100644 --- a/drivers/net/netxen/netxen_nic_main.c +++ b/drivers/net/netxen/netxen_nic_main.c | |||
@@ -795,9 +795,12 @@ netxen_nic_probe(struct pci_dev *pdev, const struct pci_device_id *ent) | |||
795 | * See if the firmware gave us a virtual-physical port mapping. | 795 | * See if the firmware gave us a virtual-physical port mapping. |
796 | */ | 796 | */ |
797 | adapter->physical_port = adapter->portnum; | 797 | adapter->physical_port = adapter->portnum; |
798 | i = adapter->pci_read_normalize(adapter, CRB_V2P(adapter->portnum)); | 798 | if (adapter->fw_major < 4) { |
799 | if (i != 0x55555555) | 799 | i = adapter->pci_read_normalize(adapter, |
800 | adapter->physical_port = i; | 800 | CRB_V2P(adapter->portnum)); |
801 | if (i != 0x55555555) | ||
802 | adapter->physical_port = i; | ||
803 | } | ||
801 | 804 | ||
802 | adapter->flags &= ~(NETXEN_NIC_MSI_ENABLED | NETXEN_NIC_MSIX_ENABLED); | 805 | adapter->flags &= ~(NETXEN_NIC_MSI_ENABLED | NETXEN_NIC_MSIX_ENABLED); |
803 | 806 | ||