mlx4_core: Wait 1 second after reset before accessing device
authorEli Cohen <eli@mellanox.co.il>
Mon, 13 Aug 2007 14:57:03 +0000 (17:57 +0300)
committerRoland Dreier <rolandd@cisco.com>
Mon, 13 Aug 2007 15:47:44 +0000 (08:47 -0700)
commit947b2a8083a03e6fff448ce8928956015614855e
treea5dc653181c0029c11c2d45ac417c67a15573b21
parent6958e827f187c9c5cd39af075567f74f02bf3dd1
mlx4_core: Wait 1 second after reset before accessing device

Put a 1000 msec delay after resetting the device before attempting to
do config cycles on it.  Not waiting causes system hangs on some
chipsets, e.g. Intel E7520, when the driver is loaded.

Signed-off-by: Eli Cohen <eli@mellanox.co.il>
Signed-off-by: Roland Dreier <rolandd@cisco.com>
drivers/net/mlx4/reset.c