]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit - drivers/ata/sata_sil24.c
[PATCH] sata_sil24: convert to new EH
authorTejun Heo <htejun@gmail.com>
Mon, 15 May 2006 11:58:32 +0000 (20:58 +0900)
committerTejun Heo <htejun@gmail.com>
Mon, 15 May 2006 11:58:32 +0000 (20:58 +0900)
commit88ce7550c38f46c8697f53727a571bf838bee398
tree58df8b1898eb2077a8fdb8c8a8ab8d00294ccbe8
parent2a3917a8bb40a2cb75b458da9c356e8557e8fbed
[PATCH] sata_sil24: convert to new EH

Convert sata_sil24 to new EH.

* When port is frozen, IRQ for the port is masked.

* sil24_softreset() doesn't need to mangle with IRQ mask anymore.
  libata ensures that the port is frozen during reset.

* Only turn on interrupts which are handled by interrupt handler and
  EH.  As we don't handle SDB notify yet, turn it off. DEV_XCHG and
  UNK_FIS are handled by EH and thus turned on.

* sil24_softreset() usually fails to recover the port after DEV_XCHG.
  ATA_PORT_HARDRESET is used as recovery action for DEV_XCHG.

* sil24 may be invoked without any active command.  e.g. DEV_XCHG irq
  occuring while no qc in progress still triggers EH and will reset
  the port and revalidate attached device.

Signed-off-by: Tejun Heo <htejun@gmail.com>
drivers/scsi/sata_sil24.c