OSDN Git Service

netxen_nic: Log driver version with firmware version
authorManish Chopra <manish.chopra@qlogic.com>
Thu, 30 May 2013 09:51:34 +0000 (09:51 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 30 May 2013 23:52:37 +0000 (16:52 -0700)
Signed-off-by: Manish Chopra <manish.chopra@qlogic.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/qlogic/netxen/netxen_nic_main.c

index 51e13d9..2294cd2 100644 (file)
@@ -860,9 +860,9 @@ 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,
-                       adapter->ahw.cut_through ? "cut-through" : "legacy");
+       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))
                adapter->capabilities = NXRD32(adapter, CRB_FW_CAPABILITIES_1);