From: Amit Kumar Salecha Date: Wed, 2 Dec 2009 15:46:19 +0000 (+0000) Subject: netxen: fix failure cases for fw hang recovery X-Git-Tag: v2.6.33-rc1~388^2~67 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8f9b3f69944ab7eacb9273b4723087c42b5f4046;p=pandora-kernel.git netxen: fix failure cases for fw hang recovery Handle few corner cases in firmware hang detection and recovery: o Don't mark device state as READY, till handshake with firmware is done. o During probe, if start_firmware fails, restore reference count. o Don't increment refernce count, if start_firmware fails during firmware reset. o Clear __NX_RESETTING bit, incase of fatal error or tempeature reaches critical limit so that pci remove() doesn't poll on this bit. Signed-off-by: Amit Kumar Salecha Signed-off-by: David S. Miller --- Reading git-diff-tree failed