1. 22 3月, 2006 1 次提交
  2. 12 3月, 2006 4 次提交
  3. 06 3月, 2006 1 次提交
    • T
      [PATCH] libata: implement ata_dev_revalidate() · 623a3128
      Tejun Heo 提交于
      ata_dev_revalidate() re-reads IDENTIFY PAGE of the given device and
      makes sure it's the same device as the configured one.  Once it's
      verified that it's the same device, @dev is configured according to
      newly read IDENTIFY PAGE.  Note that revalidation currently doesn't
      invoke transfer mode reconfiguration.
      
      Criteria for 'same device'
      
      * same class (of course)
      * same model string
      * same serial string
      * if ATA, same n_sectors (to catch geometry parameter changes)
      Signed-off-by: NTejun Heo <htejun@gmail.com>
      Signed-off-by: NJeff Garzik <jeff@garzik.org>
      623a3128
  4. 04 3月, 2006 3 次提交
  5. 21 2月, 2006 1 次提交
  6. 20 2月, 2006 1 次提交
  7. 13 2月, 2006 3 次提交
  8. 12 2月, 2006 2 次提交
  9. 10 2月, 2006 2 次提交
  10. 09 2月, 2006 4 次提交
  11. 28 1月, 2006 2 次提交
  12. 27 1月, 2006 6 次提交
  13. 18 1月, 2006 2 次提交
  14. 17 1月, 2006 1 次提交
  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. 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
  18. 06 12月, 2005 1 次提交
  19. 15 11月, 2005 1 次提交