commit | 0866d96da02cccc3ca837d0d71687aba962b3f2f | [log] [tgz] |
---|---|---|
author | Anirban Chakraborty <anirban.chakraborty@qlogic.com> | Thu Aug 26 14:02:52 2010 +0000 |
committer | David S. Miller <davem@davemloft.net> | Thu Aug 26 17:13:19 2010 -0700 |
tree | fdf48e0ccd0c92819c2d96d3e18562c4092bb471 | |
parent | 8cfdce080722101a7fd2a1eff9763ca4008ec626 [diff] |
qlcnic: Fix driver load issue in FW hang If there is a FW hang when the driver loads, it can not determine the FW operational mode. Fix it by checking the FW state first before issuing any FW commands to determine its capabilities and thereby detecting driver operational mode. Signed-off-by: Anirban Chakraborty <anirban.chakraborty@qlogic.com> Signed-off-by: David S. Miller <davem@davemloft.net>