diff options
author | Finn Thain | 2016-03-23 21:10:19 +1100 |
---|---|---|
committer | Martin K. Petersen | 2016-04-11 16:57:09 -0400 |
commit | 8053b0ee79c0129e827ce8f222398ff4b332dfd7 (patch) | |
tree | 31133745a821dfe3d6060cc2a8c27294d51fff89 /drivers/scsi/dtc.h | |
parent | 438af51c642926f1c1844846bee1c3fb568dcd64 (diff) |
ncr5380: Merge DMA implementation from atari_NCR5380 core driver
Adopt the DMA implementation from atari_NCR5380.c. This means that
atari_scsi and sun3_scsi can make use of the NCR5380.c core driver
and the atari_NCR5380.c driver fork can be made redundant.
Signed-off-by: Finn Thain <fthain@telegraphics.com.au>
Reviewed-by: Hannes Reinecke <hare@suse.com>
Tested-by: Michael Schmitz <schmitzmic@gmail.com>
Tested-by: Ondrej Zary <linux@rainbow-software.org>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'drivers/scsi/dtc.h')
-rw-r--r-- | drivers/scsi/dtc.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/scsi/dtc.h b/drivers/scsi/dtc.h index 65af89e4340c..fcb0a8ea7bda 100644 --- a/drivers/scsi/dtc.h +++ b/drivers/scsi/dtc.h @@ -23,6 +23,7 @@ dtc_dma_xfer_len(cmd) #define NCR5380_dma_recv_setup dtc_pread #define NCR5380_dma_send_setup dtc_pwrite +#define NCR5380_dma_residual(instance) (0) #define NCR5380_intr dtc_intr #define NCR5380_queue_command dtc_queue_command |