1. 03 Dec, 2006 4 commits
    • Tejun Heo's avatar
      [PATCH] libata: set IRQF_SHARED for legacy PCI IDE IRQs · 8070217d
      Tejun Heo authored
      There are machines out there which share legacy PCI IDE IRQs w/ other
      devices.  libata SFF interrupt/HSM code is ready for shared IRQ and
      has been setting IRQF_SHARED for devices in native PCI mode.  Device
      in legacy mode is still a PCI device and thus supposedly uses
      active-low level triggered IRQ.
      
      Machines with such setup should be quite rare and w/o this flag libata
      is likely to fail loading and render the system unuseable.  Also, IDE
      driver has been setting IRQF_SHARED for devices in legacy mode for a
      looooong time.
      Signed-off-by: default avatarTejun Heo <htejun@gmail.com>
      8070217d
    • Tejun Heo's avatar
      [PATCH] libata: remove unused HSM_ST_UNKNOWN · 582982e6
      Tejun Heo authored
      HSM_ST_UNKNOWN is not used anywhere.  Its value is zero and supposed
      to serve sanity check purpose but HSM_ST_IDLE is used for that
      purpose.  This unused state causes confusion.  After a port is
      initialized but before the first command is executed, the idle hsm
      state is UNKNOWN.  However, once a command has completed, the idle hsm
      state is IDLE.  This defeats sanity check in ata_pio_task() for the
      first command.
      
      This patch removes HSM_ST_UNKNOWN and consequently make HSM_ST_IDLE
      the default state.
      Signed-off-by: default avatarTejun Heo <htejun@gmail.com>
      582982e6
    • Tejun Heo's avatar
      [PATCH] libata: kill unnecessary sht->max_sectors initializations · 2eab80ac
      Tejun Heo authored
      sht->max_sectors is overrided unconditionally in ->slave_configure.
      There's no reason to set it to any value.
      Signed-off-by: default avatarTejun Heo <htejun@gmail.com>
      2eab80ac
    • Tejun Heo's avatar
      [PATCH] libata: add missing sht->slave_destroy · c972b60b
      Tejun Heo authored
      Add missing sht->slave_destroy.  Most drivers received this fix in
      didn't.  Fix those four drives.
      Signed-off-by: default avatarTejun Heo <htejun@gmail.com>
      c972b60b
  2. 02 Dec, 2006 36 commits