The patch titled stex: adjust command timeout in slave_config routine has been added to the -mm tree. Its filename is stex-adjust-command-timeout-in-slave_config-routine.patch See http://www.zip.com.au/~akpm/linux/patches/stuff/added-to-mm.txt to find out what to do about this ------------------------------------------------------ Subject: stex: adjust command timeout in slave_config routine From: "Ed Lin" <ed.lin@xxxxxxxxxxx> - remove unsuitable code from reset routine - adjust command timeout in slave_config routine to achieve intended effect of removed code Signed-off-by: Andrew Morton <akpm@xxxxxxxx> --- drivers/scsi/stex.c | 14 +------------- 1 file changed, 1 insertion(+), 13 deletions(-) diff -puN drivers/scsi/stex.c~stex-adjust-command-timeout-in-slave_config-routine drivers/scsi/stex.c --- a/drivers/scsi/stex.c~stex-adjust-command-timeout-in-slave_config-routine +++ a/drivers/scsi/stex.c @@ -500,6 +500,7 @@ stex_slave_config(struct scsi_device *sd { sdev->use_10_for_rw = 1; sdev->use_10_for_ms = 1; + sdev->timeout = 60 * HZ; return 0; } @@ -920,22 +921,9 @@ static int stex_reset(struct scsi_cmnd * { struct st_hba *hba; int tag; - int i = 0; unsigned long flags; hba = (struct st_hba *) &cmd->device->host->hostdata[0]; -wait_cmds: - spin_lock_irqsave(hba->host->host_lock, flags); - for (tag = 0; tag < MU_MAX_REQUEST; tag++) - if ((hba->tag & (1 << tag)) && hba->ccb[tag].req != NULL) - break; - spin_unlock_irqrestore(hba->host->host_lock, flags); - if (tag < MU_MAX_REQUEST) { - ssleep(1); - if (++i < 10) - goto wait_cmds; - } - hba->mu_status = MU_STATE_RESETTING; spin_lock_irqsave(hba->host->host_lock, flags); _ Patches currently in -mm which might be from ed.lin@xxxxxxxxxxx are git-supertrak.patch stex-adjust-command-timeout-in-slave_config-routine.patch stex-use-more-efficient-method-for-unload-shutdown-flush.patch - To unsubscribe from this list: send the line "unsubscribe mm-commits" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html