1. 04 3月, 2006 2 次提交
  2. 21 2月, 2006 1 次提交
  3. 20 2月, 2006 1 次提交
  4. 13 2月, 2006 3 次提交
  5. 12 2月, 2006 2 次提交
  6. 10 2月, 2006 2 次提交
  7. 09 2月, 2006 4 次提交
  8. 28 1月, 2006 2 次提交
  9. 27 1月, 2006 6 次提交
  10. 18 1月, 2006 2 次提交
  11. 17 1月, 2006 1 次提交
  12. 07 1月, 2006 1 次提交
    • J
      [PATCH] Suspend support for libata · 9b847548
      Jens Axboe 提交于
      This patch adds suspend patch to libata, and ata_piix in particular. For
      most low level drivers, they should just need to add the 4 hooks to
      work. As I can only test ata_piix, I didn't enable it for more
      though.
      
      Suspend support is the single most important feature on a notebook, and
      most new notebooks have sata drives. It's quite embarrassing that we
      _still_ do not support this. Right now, it's perfectly possible to
      suspend the drive in mid-transfer.
      Signed-off-by: NJens Axboe <axboe@suse.de>
      Signed-off-by: NAndrew Morton <akpm@osdl.org>
      Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
      9b847548
  13. 06 1月, 2006 1 次提交
  14. 13 12月, 2005 3 次提交
    • J
      [libata] mark certain hardware (or drivers) with a no-atapi flag · 50630195
      Jeff Garzik 提交于
      Some hardware does not support the PACKET command at all.
      Other hardware supports ATAPI, but the driver does something nasty such
      as calling BUG() when an ATAPI command is issued.
      
      For these such cases, we mark them with a new flag, ATA_FLAG_NO_ATAPI.
      
      Initial version contributed by Ben Collins.
      50630195
    • T
      [PATCH] libata: remove unused qc->waiting · b5632303
      Tejun Heo 提交于
      There is no user of qc->waiting left after ata_exec_internal()
      changes.  Kill the field.
      Signed-off-by: NTejun Heo <htejun@gmail.com>
      Signed-off-by: NJeff Garzik <jgarzik@pobox.com>
      b5632303
    • T
      [PATCH] libata: implement ata_exec_internal() · a2a7a662
      Tejun Heo 提交于
      This patch implements ata_exec_internal() function which performs
      libata internal command execution.  Previously, this was done by each
      user by manually initializing a qc, issueing it, waiting for its
      completion and handling errors.  In addition to obvious code
      factoring, using ata_exec_internal() fixes the following bugs.
      
      * qc not freed on issue failure
      * ap->qactive clearing could race with the next internal command
      * race between timeout handling and irq
      * ignoring error condition not represented in tf->status
      
      Also, qc & hardware are not accessed anymore once it's completed,
      making internal commands more conformant with general semantics.
      ata_exec_internal() also makes it easy to issue internal commands from
      multiple threads if that becomes necessary.
      
      This patch only implements ata_exec_internal().  A following patch
      will convert all users.
      Signed-off-by: NTejun Heo <htejun@gmail.com>
      
      --
      
      Jeff, all patches have been regenerated against upstream branch as of
      today.  (575ab52a)
      
      Also, I took out a debug printk from ata_exec_internal (don't know how
      that one got left there).  Other than that, all patches are identical
      to the previous posting.
      
      Thanks. :-)
      Signed-off-by: NJeff Garzik <jgarzik@pobox.com>
      a2a7a662
  15. 06 12月, 2005 1 次提交
  16. 15 11月, 2005 2 次提交
  17. 11 11月, 2005 2 次提交
    • A
      [PATCH] libata: propogate host private data from probe function · e99f8b5e
      Alan Cox 提交于
      This will let me chop the code size of several drivers right down. In
      many cases the actual private data is very useful and constant for a
      given host controller so being able to just pass it at probe time would
      be very useful indeed (eg with the via driver would could pass the udma
      clocking and reduce the code size, or with the AMD one the UDMA
      multiplier and the offset)
      Signed-off-by: NAlan Cox <alan@redhat.com>
      Signed-off-by: NJeff Garzik <jgarzik@pobox.com>
      e99f8b5e
    • A
      [PATCH] libata.h needs dma-mapping.h · 1c72d8d9
      Andrew Morton 提交于
      On Alpha:
      
      include/linux/libata.h: In function `ata_pad_alloc':
      include/linux/libata.h:785: warning: implicit declaration of function `dma_alloc_coherent'
      include/linux/libata.h:786: warning: assignment makes pointer from integer without a cast
      include/linux/libata.h: In function `ata_pad_free':
      include/linux/libata.h:792: warning: implicit declaration of function `dma_free_coherent'
      
      (I have a decouple-some-header-files cleanup in -mm, so it's causing some
      fallout of this nature)
      Signed-off-by: NAndrew Morton <akpm@osdl.org>
      Signed-off-by: NJeff Garzik <jgarzik@pobox.com>
      1c72d8d9
  18. 10 11月, 2005 1 次提交
  19. 07 11月, 2005 1 次提交
  20. 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
  21. 30 10月, 2005 1 次提交
    • 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