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>
This commit is contained in:
parent
a230e03384
commit
dc7551cbf7
|
@ -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);
|
||||||
|
|
Loading…
Reference in New Issue