[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)
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.


No differences found