]> git.baikalelectronics.ru Git - kernel.git/commit
[libata ahci] error handling fixes
authorJeff Garzik <jgarzik@pobox.com>
Mon, 14 Nov 2005 18:56:37 +0000 (13:56 -0500)
committerJeff Garzik <jgarzik@pobox.com>
Mon, 14 Nov 2005 18:56:37 +0000 (13:56 -0500)
commitb0e75b612440e1416d5111bbc45e30190e239034
tree00e66685a3572daed99fa8def4580ea6022b6db7
parente8492a2583da249be5d7d3ac7bd8ec73b4c11dd0
[libata ahci] error handling fixes

Needed to get ATAPI working.

- dump hardware error bits, if hardware signals an error
- only reset hardware during timeout if a command was active
- call ata_qc_complete() with a fine-grained error mask.
  Needed so that atapi_qc_complete() can distinguish between
  device errors and other errors.
drivers/scsi/ahci.c