]> git.karo-electronics.de Git - linux-beck.git/commit
ncr5380: Replace READ_OVERRUNS macro with FLAG_NO_DMA_FIXUPS
authorFinn Thain <fthain@telegraphics.com.au>
Sun, 3 Jan 2016 05:05:43 +0000 (16:05 +1100)
committerMartin K. Petersen <martin.petersen@oracle.com>
Thu, 7 Jan 2016 02:43:01 +0000 (21:43 -0500)
commit9db6024e55ee9b53c411d618e2a9476f6a130151
treed42452fb55febf86f554be18b416df55c76ad546
parent55181be8ced18697e48f75d53028b9ee36522dba
ncr5380: Replace READ_OVERRUNS macro with FLAG_NO_DMA_FIXUPS

The workarounds for chip errata appear twice, in slightly different
forms. One is used when defined(REAL_DMA) || defined(REAL_DMA_POLL), the
other when defined(PSEUDO_DMA). In the PDMA case, the workarounds have
been made conditional on FLAG_NO_DMA_FIXUPS. Do the same for the DMA case,
to eliminate the READ_OVERRUNS macro.

Signed-off-by: Finn Thain <fthain@telegraphics.com.au>
Reviewed-by: Hannes Reinecke <hare@suse.com>
Tested-by: Ondrej Zary <linux@rainbow-software.org>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/NCR5380.c