qlcnic: support quiescent mode
authorAmit Kumar Salecha <amit.salecha@qlogic.com>
Thu, 7 Oct 2010 23:46:06 +0000 (23:46 +0000)
committerDavid S. Miller <davem@davemloft.net>
Fri, 8 Oct 2010 20:59:08 +0000 (13:59 -0700)
commitb8c17620458b82fd868f4813e1ff18368a832b7c
tree3ddb3763c05bb4fae4e33c0f8b6041287235de1d
parentf7ec804a3edd2f7cf98a42bcad741d89d547c117
qlcnic: support quiescent mode

Put device in quiescent mode during internal loopback test.
Before running test, set state to NEED_QUISCENT. After getting
ack from all function, change state to QUISCENT and perform test.

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