Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

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

netxen_nic: Log driver version with firmware version

parent a230e033
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -860,8 +860,8 @@ netxen_check_options(struct netxen_adapter *adapter)
		adapter->ahw.cut_through = (i & 0x8000) ? 1 : 0;
	}

	dev_info(&pdev->dev, "firmware v%d.%d.%d [%s]\n",
			fw_major, fw_minor, fw_build,
	dev_info(&pdev->dev, "Driver v%s, firmware v%d.%d.%d [%s]\n",
		 NETXEN_NIC_LINUX_VERSIONID, fw_major, fw_minor, fw_build,
		 adapter->ahw.cut_through ? "cut-through" : "legacy");

	if (adapter->fw_version >= NETXEN_VERSION_CODE(4, 0, 222))