summaryrefslogtreecommitdiffstats
path: root/drivers/net/qla3xxx.c
diff options
context:
space:
mode:
authorRon Mercer <ron.mercer@qlogic.com>2009-06-23 11:00:01 +0200
committerDavid S. Miller <davem@davemloft.net>2009-06-24 01:36:26 +0200
commite5a673742e34eca8ecb13c3e54ceee2c268351a0 (patch)
tree89291e6fd0517b14eeea3b65190593e002203983 /drivers/net/qla3xxx.c
parentipv4 routing: Ensure that route cache entries are usable and reclaimable with... (diff)
downloadlinux-e5a673742e34eca8ecb13c3e54ceee2c268351a0.tar.xz
linux-e5a673742e34eca8ecb13c3e54ceee2c268351a0.zip
qla3xxx: Give the PHY time to come out of reset.
Signed-off-by: Ron Mercer <ron.mercer@qlogic.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/qla3xxx.c')
-rw-r--r--drivers/net/qla3xxx.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/net/qla3xxx.c b/drivers/net/qla3xxx.c
index bbc6d4d3cc94..68be714d356f 100644
--- a/drivers/net/qla3xxx.c
+++ b/drivers/net/qla3xxx.c
@@ -3150,7 +3150,8 @@ static int ql_adapter_initialize(struct ql3_adapter *qdev)
ql_write_common_reg(qdev, &port_regs->CommonRegs.serialPortInterfaceReg,
(ISP_SERIAL_PORT_IF_WE |
(ISP_SERIAL_PORT_IF_WE << 16)));
-
+ /* Give the PHY time to come out of reset. */
+ mdelay(100);
qdev->port_link_state = LS_DOWN;
netif_carrier_off(qdev->ndev);