diff options
author | Tejun Heo <htejun@gmail.com> | 2006-01-22 23:09:36 -0500 |
---|---|---|
committer | Jeff Garzik <jgarzik@pobox.com> | 2006-01-26 22:36:27 -0500 |
commit | 11a56d2439259892319df81cf1582687d7e7fde5 (patch) | |
tree | 976f5ecb7ff61c19620ca482c0550b0b009bfa6a /drivers/scsi/sata_sil24.c | |
parent | 284b6481cc7112ca6a9e60b7a9b650fba3bf0492 (diff) |
[PATCH] libata: add detailed AC_ERR_* flags
Add detailed AC_ERR_* flags and use them. Long-term goal is to
describe all errors with err_mask and tf combination (tf for failed
sector information, etc...). After proper error diagnosis is
implemented, sense data should also be generated from err_mask instead
of directly from hardware tf registers as it is currently.
Signed-off-by: Tejun Heo <htejun@gmail.com>
Signed-off-by: Jeff Garzik <jgarzik@pobox.com>
Diffstat (limited to 'drivers/scsi/sata_sil24.c')
-rw-r--r-- | drivers/scsi/sata_sil24.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/scsi/sata_sil24.c b/drivers/scsi/sata_sil24.c index 923130185a9e..fb59012b9fbe 100644 --- a/drivers/scsi/sata_sil24.c +++ b/drivers/scsi/sata_sil24.c | |||
@@ -653,7 +653,7 @@ static void sil24_eng_timeout(struct ata_port *ap) | |||
653 | */ | 653 | */ |
654 | printk(KERN_ERR "ata%u: command timeout\n", ap->id); | 654 | printk(KERN_ERR "ata%u: command timeout\n", ap->id); |
655 | qc->scsidone = scsi_finish_command; | 655 | qc->scsidone = scsi_finish_command; |
656 | qc->err_mask |= AC_ERR_OTHER; | 656 | qc->err_mask |= AC_ERR_TIMEOUT; |
657 | ata_qc_complete(qc); | 657 | ata_qc_complete(qc); |
658 | 658 | ||
659 | sil24_reset_controller(ap); | 659 | sil24_reset_controller(ap); |