Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 108407
b: refs/heads/master
c: f0e53a8
h: refs/heads/master
i:
  108405: 023493b
  108403: 7513c27
  108399: 732ecfe
v: v3
  • Loading branch information
Eilon Greenstein authored and David S. Miller committed Aug 13, 2008
1 parent dc7e3d9 commit 7b973d3
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 345b5d52b93113d3ce82f97c2a783319fbf0fdfd
refs/heads/master: f0e53a847a4435f3226f5e385503f792f5f99ce2
12 changes: 6 additions & 6 deletions trunk/drivers/net/bnx2x_main.c
Original file line number Diff line number Diff line change
Expand Up @@ -7763,7 +7763,7 @@ static void bnx2x_get_drvinfo(struct net_device *dev,
struct ethtool_drvinfo *info)
{
struct bnx2x *bp = netdev_priv(dev);
char phy_fw_ver[PHY_FW_VER_LEN];
u8 phy_fw_ver[PHY_FW_VER_LEN];

strcpy(info->driver, DRV_MODULE_NAME);
strcpy(info->version, DRV_MODULE_VERSION);
Expand All @@ -7777,11 +7777,11 @@ static void bnx2x_get_drvinfo(struct net_device *dev,
bnx2x_release_phy_lock(bp);
}

snprintf(info->fw_version, 32, "%d.%d.%d:%d BC:%x%s%s",
BCM_5710_FW_MAJOR_VERSION, BCM_5710_FW_MINOR_VERSION,
BCM_5710_FW_REVISION_VERSION,
BCM_5710_FW_COMPILE_FLAGS, bp->common.bc_ver,
((phy_fw_ver[0] != '\0')? " PHY:":""), phy_fw_ver);
snprintf(info->fw_version, 32, "BC:%d.%d.%d%s%s",
(bp->common.bc_ver & 0xff0000) >> 16,
(bp->common.bc_ver & 0xff00) >> 8,
(bp->common.bc_ver & 0xff),
((phy_fw_ver[0] != '\0') ? " PHY:" : ""), phy_fw_ver);
strcpy(info->bus_info, pci_name(bp->pdev));
info->n_stats = BNX2X_NUM_STATS;
info->testinfo_len = BNX2X_NUM_TESTS;
Expand Down

0 comments on commit 7b973d3

Please sign in to comment.