qlcnic: rom lock recovery
authorSucheta Chakraborty <sucheta.chakraborty@qlogic.com>
Thu, 19 Aug 2010 05:08:32 +0000 (05:08 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 19 Aug 2010 23:52:42 +0000 (16:52 -0700)
commit091754a1652fad24664f1357ee7616e66953dd30
treed5ae44dbb7164a678c76c57c9530ca8681de45b8
parentd4066833bb1b35fefb1dd45eb2b10659d46bf151
qlcnic: rom lock recovery

Fw can get stuck while holding pci semaphore. Driver will not
be able to perform fw initialization, without this lock.
Release semaphore forcefully in that case.

Signed-off-by: Sucheta Chakraborty <sucheta.chakraborty@qlogic.com>
Signed-off-by: Amit Kumar Salecha <amit.salecha@qlogic.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/qlcnic/qlcnic_hw.c
drivers/net/qlcnic/qlcnic_init.c