From: Vikas Chaudhary Date: Fri, 2 Dec 2011 06:42:06 +0000 (-0800) Subject: [SCSI] qla4xxx: Perform context resets in case of context failures. X-Git-Tag: v3.3-rc1~124^2~17 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4c6a794d2c0affde28f46ef5646cd41cd1a35f06;p=pandora-kernel.git [SCSI] qla4xxx: Perform context resets in case of context failures. For 4032, context reset was the same as chip reset, and any firmware issue was recovered by performing a chip reset. For 82xx, the iSCSI firmware runs along with FCoE and the NIC firmware contexts, and an error encountered doesnot essentially mean that a chip reset is necessary. Perform Chip resets only in the following cases: 1. Mailbox system error. 2. Mailbox command timeout. 3. fw_heartbeat_counter counter stops incrementing. For all other cases, only perform a context reset. 1. Command Completion with an invalid srb. 2. Other mailbox failures. Signed-off-by: Vikas Chaudhary Signed-off-by: Shyam Sunder Reviewed-by: Mike Christie Signed-off-by: James Bottomley --- Reading git-diff-tree failed