diff options
author | Finn Thain | 2016-03-23 21:10:15 +1100 |
---|---|---|
committer | Martin K. Petersen | 2016-04-11 16:57:09 -0400 |
commit | f825e40b235f4daf1c9017366809d34c7f5c8c7f (patch) | |
tree | 73dfa8695b119f5330344924cf141fe5de7251ad /drivers/scsi/pas16.h | |
parent | 1bb4600245d4d40245dd505ca17528e0b9a9ba8c (diff) |
ncr5380: Remove PSEUDO_DMA macro
For those wrapper drivers which only implement Programmed IO, have
NCR5380_dma_xfer_len() evaluate to zero. That allows PDMA to be easily
disabled at run-time and so the PSEUDO_DMA macro is no longer needed.
Also remove the spin counters used for debugging pseudo DMA drivers.
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/pas16.h')
-rw-r--r-- | drivers/scsi/pas16.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/scsi/pas16.h b/drivers/scsi/pas16.h index d37527717225..1695885ce40c 100644 --- a/drivers/scsi/pas16.h +++ b/drivers/scsi/pas16.h @@ -109,8 +109,6 @@ #define NCR5380_abort pas16_abort #define NCR5380_bus_reset pas16_bus_reset #define NCR5380_info pas16_info -#define NCR5380_show_info pas16_show_info -#define NCR5380_write_info pas16_write_info /* 15 14 12 10 7 5 3 1101 0100 1010 1000 */ |