1. 31 Oct, 2005 2 commits
    • Jeff Garzik's avatar
      [libata] locking rewrite (== fix) · 005a5a06
      Jeff Garzik authored
      A lot of power packed into a little patch.
      
      This change eliminates the sharing between our controller-wide spinlock
      and the SCSI core's Scsi_Host lock.  As the locking in libata was
      already highly compartmentalized, always referencing our own lock, and
      never scsi_host::host_lock.
      
      As a side effect, this change eliminates a deadlock from calling
      scsi_finish_command() while inside our spinlock.
      005a5a06
    • Jeff Garzik's avatar
      [libata] ata_tf_to_host cleanups · e5338254
      Jeff Garzik authored
      Integrate ata_exec() and ata_tf_to_host() into their only caller,
      ata_bus_edd().
      
      Rename ata_tf_to_host_nolock() to ata_tf_to_host().
      
      This makes locking a bit easier to review, and may help pave the way for
      future changes.
      e5338254
  2. 30 Oct, 2005 38 commits