1. 06 12月, 2005 1 次提交
  2. 01 12月, 2005 1 次提交
  3. 17 11月, 2005 1 次提交
  4. 16 11月, 2005 2 次提交
    • J
      [libata ahci] tone down ATAPI errors · c2cd76ff
      Jeff Garzik 提交于
      ATA devices don't generate many errors, so the preferred method is to
      printk() when they occur.
      
      ATAPI devices generate tons of exceptions during the normal course
      of operation, so this change skips logging the most common class of
      errors.
      c2cd76ff
    • 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
  5. 15 11月, 2005 1 次提交
    • 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
  6. 12 11月, 2005 2 次提交
  7. 11 11月, 2005 1 次提交
  8. 10 11月, 2005 1 次提交
  9. 07 11月, 2005 1 次提交
  10. 05 11月, 2005 1 次提交
    • J
      [libata] ATAPI pad allocation fixes/cleanup · 6037d6bb
      Jeff Garzik 提交于
      Use ata_pad_{alloc,free} in two drivers, to factor out common code.
      
      Add ata_pad_{alloc,free} to two other drivers, which needed the padding
      but had not been updated.
      6037d6bb
  11. 31 10月, 2005 1 次提交
  12. 30 10月, 2005 2 次提交
    • J
      [libata] change ata_qc_complete() to take error mask as second arg · a7dac447
      Jeff Garzik 提交于
      The second argument to ata_qc_complete() was being used for two
      purposes: communicate the ATA Status register to the completion
      function, and indicate an error.  On legacy PCI IDE hardware, the latter
      is often implicit in the former.  On more modern hardware, the driver
      often completely emulated a Status register value, passing ATA_ERR as an
      indication that something went wrong.
      
      Now that previous code changes have eliminated the need to use drv_stat
      arg to communicate the ATA Status register value, we can convert it to a
      mask of possible error classes.
      
      This will lead to more flexible error handling in the future.
      a7dac447
    • J
      [libata] remove ata_chk_err(), ->check_err() hook. · 0169e284
      Jeff Garzik 提交于
      We now depend on ->tf_read() to provide us with the contents
      of the Error shadow register.
      0169e284
  13. 23 10月, 2005 1 次提交
  14. 21 10月, 2005 1 次提交
  15. 05 10月, 2005 2 次提交
  16. 09 9月, 2005 1 次提交
  17. 07 9月, 2005 1 次提交
    • B
      [PATCH] libata: fix pio_mask values (take 2) · 7da79312
      Brett Russ 提交于
      ata_get_mode_mask() uses bits 3 and 4 in the pio_mask to represent PIO
      modes 3 and 4.  The value read from the drive, which reports support
      for PIO3 and PIO4 in bits 0 and 1, is shifted left by 3 bits and OR'd
      with 0x7 (which then corresponds to PIO 2-0 in libata).  Thus, the
      drivers below need adjustments to comply with the way pio_mask is
      used.  I changed the masks from the commented values to all support
      PIO4-0, since the spec mandates that PIO0-2 are supported and there's
      no reason not to support PIO3 IMO.
      Signed-off-by: NBrett Russ <russb@emc.com>
      Signed-off-by: NJeff Garzik <jgarzik@pobox.com>
      7da79312
  18. 30 8月, 2005 3 次提交
  19. 29 8月, 2005 1 次提交
    • J
      [libata] license change, other bits · af36d7f0
      Jeff Garzik 提交于
      - changes license of all code from OSL+GPL to plain ole GPL
        - except for NVIDIA, who hasn't yet responded about sata_nv
        - copyright holders were already contacted privately
      
      - adds info in each driver about where hardware/protocol docs may be
        obtained
      
      - where I have made major contributions, updated copyright dates
      af36d7f0
  20. 26 8月, 2005 1 次提交
    • J
      libata: fix EH locking · b8f6153e
      Jeff Garzik 提交于
      Wrap ata_qc_complete() calls in EH context in spinlocks, to prevent
      races (mainly in ATAPI code paths).
      b8f6153e
  21. 23 8月, 2005 2 次提交
  22. 11 8月, 2005 1 次提交
  23. 28 6月, 2005 1 次提交
  24. 04 6月, 2005 2 次提交
  25. 31 5月, 2005 1 次提交
  26. 28 5月, 2005 1 次提交
  27. 27 5月, 2005 1 次提交
    • J
      libata: Fix use-after-iounmap · aa8f0dc6
      Jeff Garzik 提交于
      Jens Axboe pointed out that the iounmap() call in libata was occurring
      too early, and some drivers (ahci, probably others) were using ioremap'd
      memory after it had been unmapped.
      
      The patch should address that problem by way of improving the libata
      driver API:
      
      * move ->host_stop() call after all ->port_stop() calls have occurred.
      
      * create default helper function ata_host_stop(), and move iounmap()
      call there.
      
      * add ->host_stop_prewalk() hook, use it in sata_qstor.c (hi Mark).
      sata_qstor appears to require the host-stop-before-port-stop ordering
      that existed prior to applying the attached patch.
      aa8f0dc6
  28. 13 5月, 2005 1 次提交
  29. 17 4月, 2005 2 次提交