1. 19 11月, 2005 3 次提交
    • T
      [PATCH] sil24: add ATAPI support · 69ad185f
      Tejun Heo 提交于
      This patch implements ATAPI support for sil24 and bumps driver version
      to 0.23.
      Signed-off-by: NTejun Heo <htejun@gmail.com>
      
      --
      
      Jeff, it has been converted to use ->dev_config as pointed out.
      Signed-off-by: NJeff Garzik <jgarzik@pobox.com>
      69ad185f
    • T
      [PATCH] sil24: use SRST for phy_reset · ca45160d
      Tejun Heo 提交于
      There seems to be no way to obtain device signature from sil24 after
      SATA phy reset and SRST is needed anyway for later port multiplier
      suppport.  This patch converts sil24_phy_reset to use SRST instaed.
      Signed-off-by: NTejun Heo <htejun@gmail.com>
      
      --
      
      Jeff, I didn't remove the 10ms sleep just to be on the safe side.  I
      think we can live with 10ms sleep on SRST.
      Signed-off-by: NJeff Garzik <jgarzik@pobox.com>
      ca45160d
    • T
      [PATCH] sil24: add sil24_restart_controller · 7d1ce682
      Tejun Heo 提交于
      When an error condition is raised by device via D2H FIS or SDB.  sil24
      controller should be restarted by setting PORT_CS_INIT and waiting
      until PORT_CS_RDY is asserted instead of resetting the controller.
      This patch implements sil24_restart_controller for those cases.  This
      patch also makes sure that PORT_CS_RDY is asserted on
      sil24_reset_controller completion.
      Signed-off-by: NTejun Heo <htejun@gmail.com>
      
      --
      
      Jeff, delay is reduced to 1us and cnt increased to 10k.  My sil3124
      turns on PORT_CS_RDY on the second iteration even without any delay.
      I think 10k * 1us should be more than enough.
      
      I tried to convert both restart and reset to use msleep's with work
      queue, but if we do that, host_set lock should be released after
      initiating restart or reset, leading to race condition among
      reset/restart, other interrupts and timeout.  Implementing
      synchronization among those in low-level driver doesn't seem right.
      Well, reduced timeout should work for the time being.
      
      Thanks.
      Signed-off-by: NJeff Garzik <jgarzik@pobox.com>
      7d1ce682
  2. 18 11月, 2005 37 次提交