• Jeff Garzik's avatar
    [libata ahci] error handling fixes · ad36d1a5
    Jeff Garzik authored
    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.
    ad36d1a5
ahci.c 29.6 KB