netxen: fix corner cases of firmware recovery
commit6b50ea1516fab30ce5843e5b11e43488f38c776d
authorAmit Kumar Salecha <amit.salecha@qlogic.com>
Mon, 29 Mar 2010 02:43:42 +0000 (29 02:43 +0000)
committerDavid S. Miller <davem@davemloft.net>
Mon, 29 Mar 2010 20:18:36 +0000 (29 13:18 -0700)
tree70df437e179bd7d588460549f6f5e996a4ecd13c
parentff90cd4a1dcfc03bf228d94f553619198e65bc42
netxen: fix corner cases of firmware recovery

Signed-off-by: Amit Kumar Salecha <amit.salecha@qlogic.com>
o DEV_NEED_RESET state was not handled during fw intialization phase.
o nx_decr_dev_ref_cnt() can return error, if fail to grab pcie seamphore.
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/netxen/netxen_nic_main.c