android_kernel_samsung_msm8976/drivers/scsi/qla2xxx
andrew.vasquez@qlogic.com 5998983113 [SCSI] qla2xxx: Correct excessive delay during LOAD-RISC-RAM mailbox command.
Problem report (against 2.4.x driver) from Jeff Layton
<jlayton@redhat.com>:

An OEM noticed that the U6 qla2200 driver would hang for
around 2 minutes at boot time and then proceed normally. I
found that the delay was occurring when loading the new
firmware into the card, and was due to a
schedule_timeout(10) added to the bottom of the polling
loop.

Some testing showed that the load ram operation on the card
was very quick (on the order of a couple of jiffies), but
the sleep in the polling loop was making each operation take
around 25-30.

The attached patch corrects this by making it skip sleeping
during the load ram operation, since I believe we only do
that when the module is plugged in. It also skips sleeping
if the mbox_int flag got set during the current loop.

This corrected the hang on my test setup, and OEM also
confirmed that it corrected the problem for them.

Signed-off-by: Andrew Vasquez <andrew.vasquez@qlogic.com>
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
2006-01-14 10:55:28 -06:00
..
Kconfig [SCSI] qla2xxx: Kconfig: two fixes 2006-01-12 11:46:19 -06:00
Makefile [SCSI] qla2xxx: Kconfig: two fixes 2006-01-12 11:46:19 -06:00
ql2100.c
ql2100_fw.c
ql2200.c
ql2200_fw.c
ql2300.c
ql2300_fw.c
ql2322.c
ql2322_fw.c
ql2400.c [SCSI] qla2xxx: Add support for embedded ISP24xx firmware. 2005-12-13 18:11:19 -07:00
ql2400_fw.c [SCSI] qla2xxx: Resync with latest released ISP24xx firmware -- 4.00.16. 2005-12-13 18:11:23 -07:00
ql6312.c
ql6312_fw.c
qla_attr.c [SCSI] qla2xxx: Reference proper node/port names in fc_host class. 2006-01-14 10:55:23 -06:00
qla_dbg.c [SCSI] qla2xxx: Correct ISP24xx soft-reset handling. 2005-11-09 16:19:23 -05:00
qla_dbg.h
qla_def.h Merge by hand (conflicts in scsi_lib.c) 2005-12-15 17:35:24 -06:00
qla_devtbl.h
qla_fw.h
qla_gbl.h [SCSI] qla2xxx: Add full firmware(-request) hotplug support for all ISPs. 2005-12-13 18:11:16 -07:00
qla_gs.c [SCSI] qla2xxx: Correct FC4 feature assignment during RFF_ID. 2006-01-14 10:55:24 -06:00
qla_init.c Merge by hand (conflicts in scsi_lib.c) 2005-12-15 17:35:24 -06:00
qla_inline.h
qla_iocb.c
qla_isr.c [SCSI] qla2xxx: Drop noisy 'UNDERRUN' status message. 2006-01-14 10:55:26 -06:00
qla_mbx.c [SCSI] qla2xxx: Correct excessive delay during LOAD-RISC-RAM mailbox command. 2006-01-14 10:55:28 -06:00
qla_os.c [SCSI] qla2xxx: fix compile error caused by pci_dev.owner move 2005-12-13 18:12:07 -07:00
qla_rscn.c
qla_settings.h
qla_sup.c
qla_version.h [SCSI] qla2xxx: Update version number to 8.01.03-k. 2005-11-09 16:19:44 -05:00