[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:
@@ -176,7 +176,9 @@ static const struct ata_port_operations pdc_common_ops = {
|
||||
.check_atapi_dma = pdc_check_atapi_dma,
|
||||
.qc_prep = pdc_qc_prep,
|
||||
.qc_issue = pdc_qc_issue,
|
||||
|
||||
.sff_irq_clear = pdc_irq_clear,
|
||||
.lost_interrupt = ATA_OP_NULL,
|
||||
|
||||
.post_internal_cmd = pdc_post_internal_cmd,
|
||||
.error_handler = pdc_error_handler,
|
||||
|
Reference in New Issue
Block a user