aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/scsi/esp_scsi.h
diff options
context:
space:
mode:
authorHannes Reinecke <hare@suse.de>2014-11-24 09:37:24 -0500
committerChristoph Hellwig <hch@lst.de>2014-11-24 10:10:24 -0500
commit3170866f8865809290f4b99e61a096ba39a01472 (patch)
treeab438dafb72fca138179a3e00232e23000912a09 /drivers/scsi/esp_scsi.h
parent9535fff3c5f9382b46f656c46a80bc190645dd32 (diff)
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>
Diffstat (limited to 'drivers/scsi/esp_scsi.h')
-rw-r--r--drivers/scsi/esp_scsi.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/scsi/esp_scsi.h b/drivers/scsi/esp_scsi.h
index 975d2934d42a..27dcaf84e717 100644
--- a/drivers/scsi/esp_scsi.h
+++ b/drivers/scsi/esp_scsi.h
@@ -478,6 +478,7 @@ struct esp {
478#define ESP_FLAG_WIDE_CAPABLE 0x00000008 478#define ESP_FLAG_WIDE_CAPABLE 0x00000008
479#define ESP_FLAG_QUICKIRQ_CHECK 0x00000010 479#define ESP_FLAG_QUICKIRQ_CHECK 0x00000010
480#define ESP_FLAG_DISABLE_SYNC 0x00000020 480#define ESP_FLAG_DISABLE_SYNC 0x00000020
481#define ESP_FLAG_USE_FIFO 0x00000040
481 482
482 u8 select_state; 483 u8 select_state;
483#define ESP_SELECT_NONE 0x00 /* Not selecting */ 484#define ESP_SELECT_NONE 0x00 /* Not selecting */