From: Yaniv Rosner Date: Wed, 1 Sep 2010 09:51:17 +0000 (+0000) Subject: bnx2x: Fix potential link issue of BCM8073/BCM8727 X-Git-Tag: firefly_0821_release~7613^2~3670^2~607 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=8ca60a68a9fd61b4cf31b48d9c365b07e5588bbe;p=firefly-linux-kernel-4.4.55.git bnx2x: Fix potential link issue of BCM8073/BCM8727 Fix potential link issue caused by insufficient delay time during SPIROM load of BCM8073/BCM8727 Signed-off-by: Yaniv Rosner Signed-off-by: Eilon Greenstein Signed-off-by: David S. Miller --- diff --git a/drivers/net/bnx2x/bnx2x_link.c b/drivers/net/bnx2x/bnx2x_link.c index 0fa09913051d..9b4e7b3261aa 100644 --- a/drivers/net/bnx2x/bnx2x_link.c +++ b/drivers/net/bnx2x/bnx2x_link.c @@ -2549,8 +2549,8 @@ static void bnx2x_bcm8073_bcm8727_external_rom_boot(struct bnx2x *bp, u8 port, MDIO_PMA_REG_GEN_CTRL, MDIO_PMA_REG_GEN_CTRL_ROM_RESET_INTERNAL_MP); - /* wait for 100ms for code download via SPI port */ - msleep(100); + /* wait for 120ms for code download via SPI port */ + msleep(120); /* Clear ser_boot_ctl bit */ bnx2x_cl45_write(bp, port,