1. 15 Nov, 2005 1 commit
    • Jeff Garzik's avatar
      [libata ahci] command completion fixes, improved debug msgs · 9f68a248
      Jeff Garzik authored
      - Fix a regression in command completion, which prevented
        the restart of the DMA engine after the device throws
        an error.
      - Pack more hardware info into the port-reset error message.
      - Promote "welcome to our timeout" message from debug msg
        to normal printk.
      9f68a248
  2. 14 Nov, 2005 4 commits
    • Jeff Garzik's avatar
      [libata] REQUEST SENSE handling fixes · c6e6e666
      Jeff Garzik authored
      - Move ATAPI check-condition handling out of the timeout handler
      - Use multi-qc-issue feature to issue REQUEST SENSE ATAPI PACKET
        command upon receiving an ATAPI check-condition.
      
      This cleans things up a lot, and eliminates a nasty recursion bug.
      c6e6e666
    • Jeff Garzik's avatar
      [libata] minor fixes, new helpers · 2c13b7ce
      Jeff Garzik authored
      - in ata_dev_identify(), don't assume that all devices are either
        ATA or ATAPI.  In the future, this code will see port multipliers
        and other devices.
      - make a debugging printk less verbose
      - add new helper ata_qc_reinit()
      - add new helper BPRINTK() and port flag ATA_FLAG_DEBUGMSG, for
        fine-grained debugging use.
      2c13b7ce
    • Jeff Garzik's avatar
      [libata] fix bugs in ATAPI padding DMA mapping code · e1410f2d
      Jeff Garzik authored
      The ATAPI pad-to-next-32bit-boundary code modifies the scatterlist's
      length variable, sometimes to zero.  x86-64 platform would oops if a
      zero-length scatterlist entry was asked to be mapped.  Work around this
      by ensuring that we never DMA-map a zero length buffer or SG entry.
      e1410f2d
    • 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
  3. 13 Nov, 2005 9 commits
  4. 12 Nov, 2005 26 commits