aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMitch Williams <mitch.a.williams@intel.com>2015-03-27 03:12:11 -0400
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>2015-03-27 06:01:29 -0400
commitcc470a811b22a566c66569e09d094a82431e1124 (patch)
tree4fe02f7250680d65b8f5745bcdac9e55d0f500fd
parent8af580dff23e5323120c1c9b206fb2c06ec6fcf6 (diff)
i40evf: add FW version to ethtool info
Customers reported that the firmware version information from i40evf is unlike that of ixgbevf and was causing problems with their scripts. To resolve this, populate the field to align with ixgbevf. Change-ID: I9f4e24f6a76cd819bbe07087aab2b74f715ec103 Reported-by: Sourav Chatterjee <sourav.chatterjee@intel.com> Signed-off-by: Mitch Williams <mitch.a.williams@intel.com> Tested-by: Jim Young <james.m.young@intel.com> Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
-rw-r--r--drivers/net/ethernet/intel/i40evf/i40evf_ethtool.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ethernet/intel/i40evf/i40evf_ethtool.c b/drivers/net/ethernet/intel/i40evf/i40evf_ethtool.c
index b68b73163311..f4e77665bc54 100644
--- a/drivers/net/ethernet/intel/i40evf/i40evf_ethtool.c
+++ b/drivers/net/ethernet/intel/i40evf/i40evf_ethtool.c
@@ -209,7 +209,7 @@ static void i40evf_get_drvinfo(struct net_device *netdev,
209 209
210 strlcpy(drvinfo->driver, i40evf_driver_name, 32); 210 strlcpy(drvinfo->driver, i40evf_driver_name, 32);
211 strlcpy(drvinfo->version, i40evf_driver_version, 32); 211 strlcpy(drvinfo->version, i40evf_driver_version, 32);
212 212 strlcpy(drvinfo->fw_version, "N/A", 4);
213 strlcpy(drvinfo->bus_info, pci_name(adapter->pdev), 32); 213 strlcpy(drvinfo->bus_info, pci_name(adapter->pdev), 32);
214} 214}
215 215