1. 02 12月, 2006 38 次提交
  2. 29 11月, 2006 2 次提交
    • T
      [PATCH] libata: add missing sht->slave_destroy · afdfe899
      Tejun Heo 提交于
      Many LLDs are missing sht->slave_destroy.  The method is mandatory to
      support device warm unplugging (echo 1 > /sys/.../delete).  Without
      it, libata might access released scsi device.
      Signed-off-by: NTejun Heo <htejun@gmail.com>
      afdfe899
    • T
      [PATCH] ahci: ignore PORT_IRQ_IF_ERR on JMB controllers · 41669553
      Tejun Heo 提交于
      JMicron AHCI controllers set PORT_IRQ_IF_ERR on device errors.  The
      IRQ status bit indicates interface error or protocol mismatch and ahci
      driver interprets it into AC_ERR_ATA_BUS.  So, whenever an ATAPI
      device raises check condition, ahci interprets it as ATA bus error and
      thus resets it which, in turn, raises check condition thus creating a
      reset loop and rendering the device unuseable.
      
      This patch makes JMB controllers ignore PORT_IRQ_IF_ERR when
      interpreting error condition.
      Signed-off-by: NTejun Heo <htejun@gmail.com>
      Cc: Justin Tsai <justin@jmicron.com>
      41669553