1. 16 11月, 2005 1 次提交
    • J
      [libata ahci] command completion fixes, improved debug msgs · 9f68a248
      Jeff Garzik 提交于
      - 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. 15 11月, 2005 4 次提交
    • J
      [libata] REQUEST SENSE handling fixes · c6e6e666
      Jeff Garzik 提交于
      - 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
    • J
      [libata] minor fixes, new helpers · 2c13b7ce
      Jeff Garzik 提交于
      - 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
    • J
      [libata] fix bugs in ATAPI padding DMA mapping code · e1410f2d
      Jeff Garzik 提交于
      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
    • J
      [libata ahci] error handling fixes · ad36d1a5
      Jeff Garzik 提交于
      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. 14 11月, 2005 8 次提交
  4. 13 11月, 2005 11 次提交
  5. 12 11月, 2005 16 次提交