From: Andrew Vasquez Date: Thu, 31 Jan 2008 20:33:53 +0000 (-0800) Subject: [SCSI] qla2xxx: Correct issue where incorrect init-fw mailbox command was used on... X-Git-Tag: v2.6.25-rc1~285^2~19 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e6e074f175879b1c1d700056aa0c32abefb92c1a;p=pandora-kernel.git [SCSI] qla2xxx: Correct issue where incorrect init-fw mailbox command was used on non-NPIV capable ISPs. BIT_2 of the firmware attributes is only valid on FW-interface-2 type HBAs. Code in commit c48339decceec8e011498b0fc4c7c7d8b2ea06c1 would cause the incorrect initialize-firmware mailbox command to be issued for non-NPIV capable ISPs. Correct this by reverting to previously used (and correct) pre-condition 'if' check. Signed-off-by: Andrew Vasquez Signed-off-by: James Bottomley --- Reading git-diff-tree failed