diff options
author | Manish Chopra <manish.chopra@qlogic.com> | 2013-05-30 05:51:34 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2013-05-30 19:52:37 -0400 |
commit | dc7551cbf7744ef7374c3f3c46817413ad4bcc40 (patch) | |
tree | dbfd7cc4ff2ed67a6a60fd9bbf3fb2196a30a120 /drivers/net/ethernet/qlogic/netxen/netxen_nic_main.c | |
parent | a230e033845853ebcfd21aae7a019a5392ebd30e (diff) |
netxen_nic: Log driver version with firmware version
Signed-off-by: Manish Chopra <manish.chopra@qlogic.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/qlogic/netxen/netxen_nic_main.c')
-rw-r--r-- | drivers/net/ethernet/qlogic/netxen/netxen_nic_main.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/net/ethernet/qlogic/netxen/netxen_nic_main.c b/drivers/net/ethernet/qlogic/netxen/netxen_nic_main.c index 51e13d92761e..2294cd2293b1 100644 --- a/drivers/net/ethernet/qlogic/netxen/netxen_nic_main.c +++ b/drivers/net/ethernet/qlogic/netxen/netxen_nic_main.c | |||
@@ -860,9 +860,9 @@ netxen_check_options(struct netxen_adapter *adapter) | |||
860 | adapter->ahw.cut_through = (i & 0x8000) ? 1 : 0; | 860 | adapter->ahw.cut_through = (i & 0x8000) ? 1 : 0; |
861 | } | 861 | } |
862 | 862 | ||
863 | dev_info(&pdev->dev, "firmware v%d.%d.%d [%s]\n", | 863 | dev_info(&pdev->dev, "Driver v%s, firmware v%d.%d.%d [%s]\n", |
864 | fw_major, fw_minor, fw_build, | 864 | NETXEN_NIC_LINUX_VERSIONID, fw_major, fw_minor, fw_build, |
865 | adapter->ahw.cut_through ? "cut-through" : "legacy"); | 865 | adapter->ahw.cut_through ? "cut-through" : "legacy"); |
866 | 866 | ||
867 | if (adapter->fw_version >= NETXEN_VERSION_CODE(4, 0, 222)) | 867 | if (adapter->fw_version >= NETXEN_VERSION_CODE(4, 0, 222)) |
868 | adapter->capabilities = NXRD32(adapter, CRB_FW_CAPABILITIES_1); | 868 | adapter->capabilities = NXRD32(adapter, CRB_FW_CAPABILITIES_1); |