qlcnic: device state management fixes for virtual func
authorAmit Kumar Salecha <amit.salecha@qlogic.com>
Tue, 17 Aug 2010 00:34:20 +0000 (00:34 +0000)
committerDavid S. Miller <davem@davemloft.net>
Tue, 17 Aug 2010 10:59:46 +0000 (03:59 -0700)
commit3c4b23b1be212d1b8494655182c0d4cef0a37be3
tree9bf2241d05e19d5ed8b289fca4fb976a66ac3a69
parent933fce12a33f219e9021a9ab7b2f9cff94fa8b0e
qlcnic: device state management fixes for virtual func

o NPAR state should be set to operationl by Mangement function only.
o NPAR state should be set to non operational before device reset.
o VF function should wait for NPAR state to be operational.

Signed-off-by: Amit Kumar Salecha <amit.salecha@qlogic.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/qlcnic/qlcnic_hdr.h
drivers/net/qlcnic/qlcnic_main.c