summaryrefslogtreecommitdiffstats
path: root/drivers/net/bnx2x_link.c
diff options
context:
space:
mode:
authorEilon Greenstein <eilong@broadcom.com>2009-03-02 09:00:10 +0100
committerDavid S. Miller <davem@davemloft.net>2009-03-03 07:32:44 +0100
commit3b313b618b2acbeb2954368980ab52b7f9fd05ef (patch)
tree575ceea174d63e3917a7d30634b655811f8a1421 /drivers/net/bnx2x_link.c
parentbnx2x: Enable BCM8726 module transmitter (diff)
downloadlinux-3b313b618b2acbeb2954368980ab52b7f9fd05ef.tar.xz
linux-3b313b618b2acbeb2954368980ab52b7f9fd05ef.zip
bnx2x: BCM8705 has no microcode
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/net/bnx2x_link.c')
-rw-r--r--drivers/net/bnx2x_link.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/drivers/net/bnx2x_link.c b/drivers/net/bnx2x_link.c
index 280f008c616d..c72a964274a8 100644
--- a/drivers/net/bnx2x_link.c
+++ b/drivers/net/bnx2x_link.c
@@ -3033,10 +3033,9 @@ static u8 bnx2x_ext_phy_init(struct link_params *params, struct link_vars *vars)
MDIO_WIS_DEVAD,
MDIO_WIS_REG_LASI_CNTL, 0x1);
- bnx2x_save_bcm_spirom_ver(bp, params->port,
- ext_phy_type,
- ext_phy_addr,
- params->shmem_base);
+ /* BCM8705 doesn't have microcode, hence the 0 */
+ bnx2x_save_spirom_version(bp, params->port,
+ params->shmem_base, 0);
break;
case PORT_HW_CFG_XGXS_EXT_PHY_TYPE_BCM8706: