1. 07 11月, 2005 1 次提交
  2. 31 10月, 2005 1 次提交
    • J
      [libata] locking rewrite (== fix) · 005a5a06
      Jeff Garzik 提交于
      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
  3. 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
  4. 29 10月, 2005 1 次提交
  5. 23 10月, 2005 1 次提交
  6. 19 10月, 2005 2 次提交
  7. 09 10月, 2005 3 次提交
  8. 06 10月, 2005 4 次提交
  9. 05 10月, 2005 1 次提交
  10. 04 10月, 2005 6 次提交
    • J
      [libata passthru] fix leak on error · 54dac83c
      Jeff Raubitschek 提交于
      54dac83c
    • A
      9d5b1302
    • A
      [libata scsi] tidy up SCSI lba and xfer len calculations · 3aef5231
      Albert Lee 提交于
      move the redundant SCSI lba and transfer length calculation code from
      ata_scsi_verify_xlat() and ata_scsi_rw_xlat() to common functions.
      3aef5231
    • A
      libata: minor whitespace, comment, debug message updates · c187c4b5
      Albert Lee 提交于
      c187c4b5
    • J
      [libata] improve device scan even more · 3f19ee8c
      Jeff Garzik 提交于
      Since our max_lun is unconditionally set to 1, we might as well
      hardcode a LUN 0 probe, rather than a wildcard LUN scan.
      
      The ide-scsi driver sets max_lun to a value greater than under
      certain conditions:
      
              if ((drive->id->last_lun & 0x7) != 7)
                      host->max_lun = (drive->id->last_lun & 0x7) + 1;
              else
                      host->max_lun = 1;
      
      last_lun is Word 126 of IDENTIFY PACKET DEVICE, marked as obsolete
      and undocumented in non-ancient specs.  We'll leave it out for now.
      Should the need arise to support multi-LUN ATAPI devices, we'll
      probably want to add the above code.
      
      Finally, there have been reports of REPORT LUNS commands locking up
      ATAPI drives.  Eliminating the wildcard LUN scan could help reduce
      the trouble from problematic drives.
      3f19ee8c
    • J
      [libata] improve device scan · 644dd0cc
      Jeff Garzik 提交于
      Replace SCSI's legacy "bang at the door" method of probing with one
      directly controlled by the underlying ATA transport layer.
      
      We now only call scsi_scan_target() for devices we find, rather than
      probing every possible channel/id within a certain range.
      644dd0cc
  11. 31 8月, 2005 1 次提交
  12. 30 8月, 2005 1 次提交
    • J
      [libata] allow ATAPI to be enabled with new atapi_enabled module option · 1623c81e
      Jeff Garzik 提交于
      ATAPI is getting close to being ready.  To increase exposure, we enable
      the code in the upstream kernel, but default it to off (present
      behavior).  Users must pass atapi_enabled=1 as a module option (if
      module) or on the kernel command line (if built in) to turn on
      discovery of their ATAPI devices.
      1623c81e
  13. 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
  14. 27 8月, 2005 1 次提交
    • J
      [libata scsi] fix read/write translation edge cases · 13593265
      Jeff Garzik 提交于
      Fix bugs for unlikely edge cases noticed by Douglas Gilbert:
      
      - When READ(6)/WRITE(6) sector count == 0, treat it as 256 sectors
      
      - For other READ(x)/WRITE(x), when sector count == 0, error.
        We don't support successfully completing zero-length transfers at
        this time.
      13593265
  15. 11 8月, 2005 2 次提交
  16. 27 6月, 2005 1 次提交
  17. 23 6月, 2005 1 次提交
  18. 31 5月, 2005 1 次提交
  19. 16 5月, 2005 1 次提交
  20. 13 5月, 2005 2 次提交
  21. 19 4月, 2005 1 次提交
  22. 17 4月, 2005 1 次提交
    • L
      Linux-2.6.12-rc2 · 1da177e4
      Linus Torvalds 提交于
      Initial git repository build. I'm not bothering with the full history,
      even though we have it. We can create a separate "historical" git
      archive of that later if we want to, and in the meantime it's about
      3.2GB when imported into git - space that would just make the early
      git days unnecessarily complicated, when we don't have a lot of good
      infrastructure for it.
      
      Let it rip!
      1da177e4