OSDN Git Service

am53c974: BLAST residual handling
authorHannes Reinecke <hare@suse.de>
Mon, 24 Nov 2014 14:37:26 +0000 (15:37 +0100)
committerChristoph Hellwig <hch@lst.de>
Mon, 24 Nov 2014 15:13:15 +0000 (16:13 +0100)
commit6df388f2d549d3a2a7ad58b632d2ecd25fc0ff3f
tree7b663c4ebd1da38079723da2989e7f44388a52f2
parent3a7e7be2a9a2105742c3c88d466ea2158a03a837
am53c974: BLAST residual handling

The am53c974 has an design issue where a single byte might be
left in the SCSI FIFO after a DMA transfer.
As the handling code is currently untested add a WARN_ON()
statement here.

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/am53c974.c
drivers/scsi/esp_scsi.c
drivers/scsi/esp_scsi.h