be2net: FLR must be first cmd issued to Lancer FW
authorKalesh AP <kalesh.purayil@emulex.com>
Sun, 28 Apr 2013 22:22:29 +0000 (22:22 +0000)
committerDavid S. Miller <davem@davemloft.net>
Mon, 29 Apr 2013 19:14:02 +0000 (15:14 -0400)
commit2d177be8e4a1f6ea7e3280b3a578a6b86472a39d
treeac01b768149e5e852117f1accf1080ee30e15c70
parent28710c55f4a62b6c595d1a7134e7196c63838e1c
be2net: FLR must be first cmd issued to Lancer FW

Lancer FW requires that the first cmd issued by the host-driver be an FLR.
So, re-order be_probe() to move be_cmd_function_reset() ahead of
be_cmd_fw_init().

Signed-off-by: Kalesh AP <kalesh.purayil@emulex.com>
Signed-off-by: Somnath Kotur <somnath.kotur@emulex.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/emulex/benet/be_main.c