1. 20 6月, 2006 8 次提交
  2. 18 6月, 2006 10 次提交
  3. 15 6月, 2006 1 次提交
  4. 14 6月, 2006 8 次提交
  5. 13 6月, 2006 8 次提交
  6. 12 6月, 2006 5 次提交
    • L
      Merge branch 'upstream-linus' of master.kernel.org:/pub/scm/linux/kernel/git/jgarzik/libata-dev · 0e838b72
      Linus Torvalds 提交于
      * 'upstream-linus' of master.kernel.org:/pub/scm/linux/kernel/git/jgarzik/libata-dev:
        [PATCH] sata_mv: grab host lock inside eng_timeout
      0e838b72
    • T
      [PATCH] libata: add host_set->next for legacy two host_sets case, take #3 · f0eb62b8
      Tejun Heo 提交于
      For a legacy ATA controller, libata registers two separate host sets.
      There was no connection between the two hosts making it impossible to
      traverse all ports related to the controller.  This patch adds
      host_set->next which points to the second host_set and makes
      ata_pci_remove_one() remove all associated host_sets.
      
      * On device removal, all ports hanging off the device are properly
        detached.  Prior to this patch, ports on the first host_set weren't
        detached casuing oops on driver unloading.
      
      * On device removal, both host_sets are properly freed
      
      This will also be used by new power management code to suspend and
      resume all ports of a controller.  host_set/port representation will
      be improved to handle legacy controllers better and this host_set
      linking will go away with it.
      Signed-off-by: NTejun Heo <htejun@gmail.com>
      Signed-off-by: NJeff Garzik <jeff@garzik.org>
      f0eb62b8
    • T
      [PATCH] libata: fix oops caused rescanning NULL sdev · d0171269
      Tejun Heo 提交于
      Depending on timing, ata_scsi_dev_rescan() might encounter a device
      which is enabled but not yet attached to sdev.  On such cases, the
      original code caused oops.  This patch makes ata_scsi_dev_rescan()
      rescan only device which are attached to sdevs.
      
      While at it, properly indent leading comment and add description about
      how it's synchronized with sdev attach/detach.
      Signed-off-by: NTejun Heo <htejun@gmail.com>
      Signed-off-by: NJeff Garzik <jeff@garzik.org>
      d0171269
    • T
      [PATCH] sata_sil: update device hotplug handling, take #2 · d4c85325
      Tejun Heo 提交于
      SIEN on some 3112 controllers doesn't mask SATA IRQ properly.  IRQ
      stays asserted even after SIEN is masked and IRQ is acked.  Also, even
      while frozen, any SATA PHY event including hardreset raises SATA IRQ.
      Clearing SError seems to be the only way to deassert SATA IRQ.
      
      This patch makes sil_host_intr() clear SError on SATA IRQs and ignore
      SATA IRQs reported while frozen so that hardreset doesn't trigger
      hotplug event (which ends up hardresetting again).
      
      In such cases, the port still gets re-frozen to minimize the danger of
      screaming interrupts.  This results in one nil EH repeat on
      controllers with broken SIEN but other than that does no harm.
      Signed-off-by: NTejun Heo <htejun@gmail.com>
      Signed-off-by: NJeff Garzik <jeff@garzik.org>
      d4c85325
    • T
      [PATCH] libata: fast exit from EH while unloading · aeb2ecd6
      Tejun Heo 提交于
      Make EH exit fast if the port is being unloaded.
      Signed-off-by: NTejun Heo <htejun@gmail.com>
      Signed-off-by: NJeff Garzik <jeff@garzik.org>
      aeb2ecd6