[libata] Improve timeout handling
On a timeout call a device specific handler early in the recovery so that we can complete and process successful commands which timed out due to IRQ loss or the like rather more elegantly. [Revised to exclude the timeout handling on a few devices that inherit from SFF but are not SFF enough to use the default timeout handler] Signed-off-by: Alan Cox <alan@redhat.com> Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
This commit is contained in:
@@ -148,6 +148,8 @@ static struct scsi_host_template adma_ata_sht = {
|
||||
static struct ata_port_operations adma_ata_ops = {
|
||||
.inherits = &ata_sff_port_ops,
|
||||
|
||||
.lost_interrupt = ATA_OP_NULL,
|
||||
|
||||
.check_atapi_dma = adma_check_atapi_dma,
|
||||
.qc_prep = adma_qc_prep,
|
||||
.qc_issue = adma_qc_issue,
|
||||
|
Reference in New Issue
Block a user