]> git.baikalelectronics.ru Git - kernel.git/commit
esp_scsi: use FIFO for command submission
authorHannes Reinecke <hare@suse.de>
Mon, 24 Nov 2014 14:37:24 +0000 (15:37 +0100)
committerChristoph Hellwig <hch@lst.de>
Mon, 24 Nov 2014 15:10:24 +0000 (16:10 +0100)
commit5518ad0c70440cd03cfb344e26d4aeed7828ca34
treeab438dafb72fca138179a3e00232e23000912a09
parent162b5b300af781da032202af2f0588799fcbb127
esp_scsi: use FIFO for command submission

Using DMA for command submission has the drawback that it might
generate additional DMA completion interrupts after the command
has been submitted to the device.
Additionally the am53c974 has a design flaw causing it
to generate spurious interrupts even though DMA completion
interrupts are not enabled.
This can be avoided by using the FIFO for command submission.

Reviewed-by: Paolo Bonzini <pbonzini@redhat.com>
Acked-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Hannes Reinecke <hare@suse.de>
Signed-off-by: Christoph Hellwig <hch@lst.de>
drivers/scsi/esp_scsi.c
drivers/scsi/esp_scsi.h