1. 02 4月, 2006 4 次提交
  2. 31 3月, 2006 1 次提交
  3. 24 3月, 2006 4 次提交
  4. 22 3月, 2006 5 次提交
  5. 12 3月, 2006 1 次提交
  6. 28 2月, 2006 1 次提交
  7. 20 2月, 2006 1 次提交
  8. 13 2月, 2006 3 次提交
  9. 12 2月, 2006 1 次提交
    • T
      [PATCH] libata: convert assert(X)'s in libata core layer to WARN_ON(!X)'s · a4631474
      Tejun Heo 提交于
      In an effort to kill libata-specific assert() and use generic
      WARN_ON(), this patch converts all assert(X)'s in libata core layer to
      WARN_ON(!X)'s.  Most conversions are straight-forward logical negation
      exception for the followings.
      
      * In libata-core.c:ata_fill_sg(),
        assert(qc->n_elem > 0) is converted to WARN_ON(qc->n_elem == 0) because
        qc->n_elem is unsigned and unsigned <= 0 is weird.
      
      * In libata-scsi.c:ata_gen_ata_desc/fixed_sense(),
        assert(NULL != qc->ap->ops->tf_read) is converted to
        WARN_ON(qc->ap->ops->tf_read == NULL), as there are no other users of
        'constant cond var' style in libata.
      Signed-off-by: NTejun Heo <htejun@gmail.com>
      Signed-off-by: NJeff Garzik <jgarzik@pobox.com>
      a4631474
  10. 10 2月, 2006 3 次提交
  11. 09 2月, 2006 2 次提交
  12. 30 1月, 2006 1 次提交
  13. 29 1月, 2006 1 次提交
    • R
      Various libata documentation updates. · c893a3ae
      Randy Dunlap 提交于
      This is a merger of libata docs + cleanups from
      Martin Waitz <tali@admingilde.org> and me.
      
      From: Randy Dunlap <rdunlap@xenotime.net>
      From: Martin Waitz <tali@admingilde.org>
      
      Fix libata kernel-doc comments to match code.
      Add some function parameters to kernel-doc.
      Fix some typos/spellos.
      Put comments in <= 80 columns.
      Make one DPRINTK string unique.
      Fix sparse cast warnings.
      Signed-off-by: NRandy Dunlap <rdunlap@xenotime.net>
      Signed-off-by: NJeff Garzik <jgarzik@pobox.com>
      c893a3ae
  14. 27 1月, 2006 4 次提交
  15. 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
  16. 06 1月, 2006 1 次提交
  17. 24 12月, 2005 1 次提交
    • T
      [PATCH] fix libata inquiry VPD for ATAPI devices · fd71da46
      Tony Battersby 提交于
      The following patch prevents libata from incorrectly modifying inquiry
      VPD pages and command support data from ATAPI devices.  I have tested
      the patch with a SATA ATAPI tape drive on an AHCI controller.
      
      Patch is against kernel 2.4.32 with 2.4.32-libata1.patch applied.
      
      Anthony J. Battersby
      Cybernetics
      Signed-off-by: NJeff Garzik <jgarzik@pobox.com>
      fd71da46
  18. 13 12月, 2005 1 次提交
    • 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
  19. 06 12月, 2005 1 次提交
  20. 04 12月, 2005 1 次提交
  21. 01 12月, 2005 1 次提交
  22. 15 11月, 2005 1 次提交
    • 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