diff options
Diffstat (limited to 'drivers/net/netxen/netxen_nic_main.c')
-rw-r--r-- | drivers/net/netxen/netxen_nic_main.c | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/drivers/net/netxen/netxen_nic_main.c b/drivers/net/netxen/netxen_nic_main.c index df48f89afff1..b3c084f0c751 100644 --- a/drivers/net/netxen/netxen_nic_main.c +++ b/drivers/net/netxen/netxen_nic_main.c | |||
@@ -844,17 +844,18 @@ netxen_nic_probe(struct pci_dev *pdev, const struct pci_device_id *ent) | |||
844 | /* Handshake with the card before we register the devices. */ | 844 | /* Handshake with the card before we register the devices. */ |
845 | netxen_phantom_init(adapter, NETXEN_NIC_PEG_TUNE); | 845 | netxen_phantom_init(adapter, NETXEN_NIC_PEG_TUNE); |
846 | 846 | ||
847 | if (NX_IS_REVISION_P3(revision_id)) { | ||
848 | adapter->hw_read_wx(adapter, | ||
849 | NETXEN_MIU_MN_CONTROL, &val, 4); | ||
850 | adapter->ahw.cut_through = (val & 0x4) ? 1 : 0; | ||
851 | dev_info(&pdev->dev, "firmware running in %s mode\n", | ||
852 | adapter->ahw.cut_through ? "cut through" : "legacy"); | ||
853 | } | ||
854 | } /* first_driver */ | 847 | } /* first_driver */ |
855 | 848 | ||
856 | netxen_nic_flash_print(adapter); | 849 | netxen_nic_flash_print(adapter); |
857 | 850 | ||
851 | if (NX_IS_REVISION_P3(revision_id)) { | ||
852 | adapter->hw_read_wx(adapter, | ||
853 | NETXEN_MIU_MN_CONTROL, &val, 4); | ||
854 | adapter->ahw.cut_through = (val & 0x4) ? 1 : 0; | ||
855 | dev_info(&pdev->dev, "firmware running in %s mode\n", | ||
856 | adapter->ahw.cut_through ? "cut through" : "legacy"); | ||
857 | } | ||
858 | |||
858 | /* | 859 | /* |
859 | * See if the firmware gave us a virtual-physical port mapping. | 860 | * See if the firmware gave us a virtual-physical port mapping. |
860 | */ | 861 | */ |