1. 31 10月, 2005 1 次提交
  2. 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
  3. 23 10月, 2005 1 次提交
  4. 21 10月, 2005 1 次提交
  5. 05 10月, 2005 1 次提交
  6. 09 9月, 2005 1 次提交
  7. 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
  8. 30 8月, 2005 3 次提交
  9. 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
  10. 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
  11. 23 8月, 2005 2 次提交
  12. 11 8月, 2005 1 次提交
  13. 28 6月, 2005 1 次提交
  14. 04 6月, 2005 2 次提交
  15. 31 5月, 2005 1 次提交
  16. 28 5月, 2005 1 次提交
  17. 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
  18. 13 5月, 2005 1 次提交
  19. 17 4月, 2005 2 次提交