[SCSI] qla2xxx: Consolidate ISP24xx chip reset logic.
authorAndrew Vasquez <andrew.vasquez@qlogic.com>
Sat, 9 Jul 2005 00:59:26 +0000 (17:59 -0700)
committerJames Bottomley <jejb@mulgrave.(none)>
Thu, 14 Jul 2005 15:15:31 +0000 (11:15 -0400)
commit88c2666351f41a7d4459e79594f687a356f5e57c
treea07eb04ead61e0aa61d22cde8963f1b74f9b0891
parentf0883ac6a74b403f0f2e91166ba06227cc4690e6
[SCSI] qla2xxx: Consolidate ISP24xx chip reset logic.

Consolidate ISP24xx chip reset logic.

Consolidate near-duplicate RISC reset logic from
qla24xx_reset_chip() and qla24xx_chip_diag().  Also, after
initiating a soft-reset, insure the firmware has completed
all NVRAM accesses before continuing.

Signed-off-by: Andrew Vasquez <andrew.vasquez@qlogic.com>
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
drivers/scsi/qla2xxx/qla_dbg.c
drivers/scsi/qla2xxx/qla_init.c