Commit dc7551cb authored by Manish Chopra's avatar Manish Chopra Committed by David S. Miller

netxen_nic: Log driver version with firmware version

Signed-off-by: default avatarManish Chopra <manish.chopra@qlogic.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent a230e033
...@@ -860,9 +860,9 @@ netxen_check_options(struct netxen_adapter *adapter) ...@@ -860,9 +860,9 @@ netxen_check_options(struct netxen_adapter *adapter)
adapter->ahw.cut_through = (i & 0x8000) ? 1 : 0; adapter->ahw.cut_through = (i & 0x8000) ? 1 : 0;
} }
dev_info(&pdev->dev, "firmware v%d.%d.%d [%s]\n", dev_info(&pdev->dev, "Driver v%s, firmware v%d.%d.%d [%s]\n",
fw_major, fw_minor, fw_build, NETXEN_NIC_LINUX_VERSIONID, fw_major, fw_minor, fw_build,
adapter->ahw.cut_through ? "cut-through" : "legacy"); adapter->ahw.cut_through ? "cut-through" : "legacy");
if (adapter->fw_version >= NETXEN_VERSION_CODE(4, 0, 222)) if (adapter->fw_version >= NETXEN_VERSION_CODE(4, 0, 222))
adapter->capabilities = NXRD32(adapter, CRB_FW_CAPABILITIES_1); adapter->capabilities = NXRD32(adapter, CRB_FW_CAPABILITIES_1);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment