diff options
author | Yaniv Rosner <yanivr@broadcom.com> | 2012-04-04 01:29:00 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2012-04-04 18:24:23 -0400 |
commit | 8267bbb01f005fa8d0c8d046ecc24ae0b52e4d70 (patch) | |
tree | 173a38f7424f0cb2074d6adfd35a34eeb91c5973 /drivers | |
parent | 59a2e53b826103be8c22d9820355320b749b38ef (diff) | |
download | linux-8267bbb01f005fa8d0c8d046ecc24ae0b52e4d70.tar.gz linux-8267bbb01f005fa8d0c8d046ecc24ae0b52e4d70.tar.bz2 linux-8267bbb01f005fa8d0c8d046ecc24ae0b52e4d70.zip |
bnx2x: Fix BCM84833 PHY FW version presentation
Signed-off-by: Yaniv Rosner <yanivr@broadcom.com>
Signed-off-by: Eilon Greenstein <eilong@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c b/drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c index 732b4c80f116..b576a3ae8e91 100644 --- a/drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c +++ b/drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c @@ -9435,8 +9435,7 @@ static void bnx2x_save_848xx_spirom_version(struct bnx2x_phy *phy, if (phy->type == PORT_HW_CFG_XGXS_EXT_PHY_TYPE_BCM84833) { bnx2x_cl45_read(bp, phy, MDIO_CTL_DEVAD, 0x400f, &fw_ver1); - bnx2x_save_spirom_version(bp, port, - ((fw_ver1 & 0xf000)>>5) | (fw_ver1 & 0x7f), + bnx2x_save_spirom_version(bp, port, fw_ver1 & 0xfff, phy->ver_addr); } else { /* For 32-bit registers in 848xx, access via MDIO2ARM i/f. */ |