aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/bnx2x_main.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/bnx2x_main.c')
-rw-r--r--drivers/net/bnx2x_main.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/drivers/net/bnx2x_main.c b/drivers/net/bnx2x_main.c
index 594b08aac93b..721db2957e26 100644
--- a/drivers/net/bnx2x_main.c
+++ b/drivers/net/bnx2x_main.c
@@ -7763,7 +7763,7 @@ static void bnx2x_get_drvinfo(struct net_device *dev,
7763 struct ethtool_drvinfo *info) 7763 struct ethtool_drvinfo *info)
7764{ 7764{
7765 struct bnx2x *bp = netdev_priv(dev); 7765 struct bnx2x *bp = netdev_priv(dev);
7766 char phy_fw_ver[PHY_FW_VER_LEN]; 7766 u8 phy_fw_ver[PHY_FW_VER_LEN];
7767 7767
7768 strcpy(info->driver, DRV_MODULE_NAME); 7768 strcpy(info->driver, DRV_MODULE_NAME);
7769 strcpy(info->version, DRV_MODULE_VERSION); 7769 strcpy(info->version, DRV_MODULE_VERSION);
@@ -7777,11 +7777,11 @@ static void bnx2x_get_drvinfo(struct net_device *dev,
7777 bnx2x_release_phy_lock(bp); 7777 bnx2x_release_phy_lock(bp);
7778 } 7778 }
7779 7779
7780 snprintf(info->fw_version, 32, "%d.%d.%d:%d BC:%x%s%s", 7780 snprintf(info->fw_version, 32, "BC:%d.%d.%d%s%s",
7781 BCM_5710_FW_MAJOR_VERSION, BCM_5710_FW_MINOR_VERSION, 7781 (bp->common.bc_ver & 0xff0000) >> 16,
7782 BCM_5710_FW_REVISION_VERSION, 7782 (bp->common.bc_ver & 0xff00) >> 8,
7783 BCM_5710_FW_COMPILE_FLAGS, bp->common.bc_ver, 7783 (bp->common.bc_ver & 0xff),
7784 ((phy_fw_ver[0] != '\0')? " PHY:":""), phy_fw_ver); 7784 ((phy_fw_ver[0] != '\0') ? " PHY:" : ""), phy_fw_ver);
7785 strcpy(info->bus_info, pci_name(bp->pdev)); 7785 strcpy(info->bus_info, pci_name(bp->pdev));
7786 info->n_stats = BNX2X_NUM_STATS; 7786 info->n_stats = BNX2X_NUM_STATS;
7787 info->testinfo_len = BNX2X_NUM_TESTS; 7787 info->testinfo_len = BNX2X_NUM_TESTS;