[SCSI] qla2xxx: Correct bus-reset behaviour with recent ISPs.
authorSeokmann Ju <seokmann.ju@qlogic.com>
Tue, 7 Apr 2009 05:33:37 +0000 (22:33 -0700)
committerJames Bottomley <James.Bottomley@HansenPartnership.com>
Wed, 20 May 2009 22:21:06 +0000 (17:21 -0500)
commitd53b48d512ef477c939aba09c7e258b8dc331b6a
treefbab86f6e12bd45cd2152e9cf5595e45ca47eea6
parent45d7c46d54dae008f66db58e6bd31d9b31833043
[SCSI] qla2xxx: Correct bus-reset behaviour with recent ISPs.

The short-circuit to skip the non-applicable 'full-login-lip'
process on 81xx ISPs was nested too deeply in the 'bus-reset'
routine, as the code in qla2x00_loop_reset() should skip the
whole enable_lip_full_login process.  The original code could
cause device tear-down due to the qla2x00_wait_for_loop_ready()
call taking a large amount of time.

Signed-off-by: Seokmann Ju <seokmann.ju@qlogic.com>
Signed-off-by: Andrew Vasquez <andrew.vasquez@qlogic.com>
Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
drivers/scsi/qla2xxx/qla_mbx.c
drivers/scsi/qla2xxx/qla_os.c