net/mlx5_core: Wait for FW readiness on startup
authorEli Cohen <eli@mellanox.com>
Wed, 14 Oct 2015 14:43:47 +0000 (17:43 +0300)
committerDavid S. Miller <davem@davemloft.net>
Thu, 15 Oct 2015 02:14:43 +0000 (19:14 -0700)
commite3297246c2c8cf8548ba722da3e3a8104cdcd035
tree849d14b7ad682ed628dad341fb227eac75529ebd
parent89d44f0a6c732db23b219be708e2fe1e03ee4842
net/mlx5_core: Wait for FW readiness on startup

On device initialization, wait till firmware indicates that that it is done
with initialization before proceeding to initialize the device.

Also update initialization segment layout to match driver/firmware
interface definitions.

Signed-off-by: Eli Cohen <eli@mellanox.com>
Signed-off-by: Or Gerlitz <ogerlitz@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/mellanox/mlx5/core/main.c
include/linux/mlx5/device.h
include/linux/mlx5/driver.h