1. 08 9月, 2005 3 次提交
  2. 07 9月, 2005 4 次提交
  3. 05 9月, 2005 2 次提交
  4. 31 8月, 2005 1 次提交
  5. 30 8月, 2005 7 次提交
  6. 29 8月, 2005 2 次提交
  7. 28 8月, 2005 1 次提交
  8. 27 8月, 2005 5 次提交
  9. 26 8月, 2005 1 次提交
    • J
      libata: fix EH locking · b8f6153e
      Jeff Garzik 提交于
      Wrap ata_qc_complete() calls in EH context in spinlocks, to prevent
      races (mainly in ATAPI code paths).
      b8f6153e
  10. 24 8月, 2005 2 次提交
  11. 23 8月, 2005 8 次提交
    • J
      libata: release prep (bump versions, etc.) · 6885433c
      Jeff Garzik 提交于
      - bump versions where necessary
      - remove two duplicated+outdated doc comments
      - add MODULE_VERSION() to AHCI driver
      6885433c
    • T
      [PATCH] sil: apply M15W quirk selectively (take 2) · e4deec63
      Tejun Heo 提交于
       As SII reports that only original 3112's are affected by M15W quirk,
      This patch adds SIL_FLAG_MOD15WRITE to selectively apply M15W quirk
      depending on chipsets.  As of yet, we don't know exactly which PCI IDs
      are for original 3112, so M15W quirk is applied to all except for 3512
      and 3124.  Once more info is avaliable, we can change some of these
      sil_3112_m15w's to sil_3112.
      Signed-off-by: NTejun Heo <htejun@gmail.com>
      Signed-off-by: NJeff Garzik <jgarzik@pobox.com>
      e4deec63
    • T
      [PATCH] libata: implement ata_poll_qc_complete and use it in polling functions · 40e8c82c
      Tejun Heo 提交于
      [PATCH libata-dev-2.6:upstream] implement ata_poll_qc_complete and use it in polling functions
      
       Previously, libata polling functions turned irq back on and completed
      qc commands without holding host lock.  This creates a race condition
      between the polling task and interrupts from other ports on the same
      host set or spurious interrupt from itself.
      
       This patch implements ata_poll_qc_complete which enables irq and
      completes qc atomically and convert all polling functions.
      
       Note: atapi_packet_task() didn't use to turn irq back on or clear
      ATA_FLAG_NOINTR on error exits.  This patch makes it use
      ata_poll_qc_complete which does both.
      
       Note: With this change, ALL invocations of ata_qc_complete() are now
      done under host_set lock.
      Signed-off-by: NTejun Heo <htejun@gmail.com>
      Signed-off-by: NJeff Garzik <jgarzik@pobox.com>
      40e8c82c
    • T
      [PATCH] fix atapi_packet_task vs. intr race (take 2) · c1389503
      Tejun Heo 提交于
      Interrupts from devices sharing the same IRQ could cause
      ata_host_intr to finish commands being processed by atapi_packet_task
      if the commands are using ATA_PROT_ATAPI_NODATA or ATA_PROT_ATAPI_DMA
      protocol.  This is because libata interrupt handler is unaware that
      interrupts are not expected during that period.  This patch adds
      ATA_FLAG_NOINTR flag to tell the interrupt handler that we're not
      expecting interrupts.
      
       Note that once proper HSM is implemented for interrupt-driven PIO,
      this should be merged into it and this flag will be removed.
      
       ahci.c is a different kind of beast, so it's left alone.
      
      * The following drivers use ata_qc_issue_prot and ata_interrupt, so
        changes in libata core will do.
      
        ata_piix sata_sil sata_svw sata_via sata_sis sata_uli
      
      * The following drivers use ata_qc_issue_prot and custom intr handler.
        They need this change to work correctly.
      
        sata_nv sata_vsc
      
      * The following drivers use custom issue function and intr handler.
        Currently all custom issue functions don't support ATAPI, so this
        change is irrelevant, updated for consistency and to avoid later
        mistakes.
      
        sata_promise sata_qstor sata_sx4
      Signed-off-by: NTejun Heo <htejun@gmail.com>
      Signed-off-by: NJeff Garzik <jgarzik@pobox.com>
      c1389503
    • M
      [PATCH] Fix HD activity LED with ahci · c0b34ad2
      Martin Wilck 提交于
      Patch: fix wrong HD activity control by ahci driver
      
      The ahci driver 1.0 sets the SActive bit on every transaction,
      causing the LED to light up. The SActive bit is used only for
      native command queuing (NCQ) which the current driver version
      doesn't implement. Resetting the SActive bit is the device's
      responsibility (by sending a "Set Device Bits FIS" to the
      host adapter) but this is not required in response to
      non-NCQ commands, and (most) devices don't. Thus the LED
      stays always on. This patch fixes the LED behavior.
      
      Spec references:
      http://www.intel.com/technology/serialata/pdf/rev1_1.pdf, sec. 3.3.13, 5.5.1
      http://www.serialata.org/docs/serialata10a.pdf
      http://www.intel.com/design/storage/papers/25266401.pdf
      
      Signed-off-by: Martin.Wilck@fujitsu-siemens.com
      Signed-off-by: NJeff Garzik <jgarzik@pobox.com>
      c0b34ad2
    • D
      [PATCH] sata_promise: Add PDC40519 id · 93090495
      Daniel Drake 提交于
      The Promise TX4200 is a 4-port SATA controller based on the PDC40519 chip. It
      meets the description of the 20319, so just a simple ID needs to be added to
      support this hardware. Thanks to Martin Povolný for testing.
      Signed-off-by: NDaniel Drake <dsd@gentoo.org>
      Signed-off-by: NJeff Garzik <jgarzik@pobox.com>
      93090495
    • O
      [PATCH] sata_promise: Add PDC40718 id · 08b791c0
      Otto Meier 提交于
      Otto Meier recently submitted a patch to support the PDC40718 chip (marketed
      as SATA300 TX4, a 4-port SATA controller).
      Signed-off-by: NOtto Meier <gf435@gmx.net>
      Signed-off-by: NDaniel Drake <dsd@gentoo.org>
      Signed-off-by: NJeff Garzik <jgarzik@pobox.com>
      08b791c0
    • A
      [PATCH] libata: Clear ATA_QCFLAG_ACTIVE flag before calling the completion callback · 3f3791d3
      Albert Lee 提交于
      Description:
        After calling the completion callback, the libata error handler might be
      running and getting atapi sense data. Clearing the ATA_QCFLAG_ACTIVE flag
      at this point might interfere with the libata error handler.
      
      Changes:
         - Clear the ATA_QCFLAG_ACTIVE flag before calling the completion callback
           (and also before the error handler)
         - Add some comment
      Signed-off-by: NAlbert Lee <albertcc@tw.ibm.com>
      Signed-off-by: NJeff Garzik <jgarzik@pobox.com>
      3f3791d3
  12. 15 8月, 2005 1 次提交
  13. 12 8月, 2005 2 次提交
  14. 11 8月, 2005 1 次提交