diff options
Diffstat (limited to 'drivers/scsi/scsi.h')
-rw-r--r-- | drivers/scsi/scsi.h | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/drivers/scsi/scsi.h b/drivers/scsi/scsi.h index e2360c26ef01..5ee5d80a9931 100644 --- a/drivers/scsi/scsi.h +++ b/drivers/scsi/scsi.h | |||
@@ -45,21 +45,6 @@ struct scsi_device; | |||
45 | struct scsi_target; | 45 | struct scsi_target; |
46 | struct scatterlist; | 46 | struct scatterlist; |
47 | 47 | ||
48 | /* | ||
49 | * Legacy dma direction interfaces. | ||
50 | * | ||
51 | * This assumes the pci/sbus dma mapping flags have the same numercial | ||
52 | * values as the generic dma-mapping ones. Currently they have but there's | ||
53 | * no way to check. Better don't use these interfaces! | ||
54 | */ | ||
55 | #define SCSI_DATA_UNKNOWN (DMA_BIDIRECTIONAL) | ||
56 | #define SCSI_DATA_WRITE (DMA_TO_DEVICE) | ||
57 | #define SCSI_DATA_READ (DMA_FROM_DEVICE) | ||
58 | #define SCSI_DATA_NONE (DMA_NONE) | ||
59 | |||
60 | #define scsi_to_pci_dma_dir(scsi_dir) ((int)(scsi_dir)) | ||
61 | #define scsi_to_sbus_dma_dir(scsi_dir) ((int)(scsi_dir)) | ||
62 | |||
63 | /* obsolete typedef junk. */ | 48 | /* obsolete typedef junk. */ |
64 | #include "scsi_typedefs.h" | 49 | #include "scsi_typedefs.h" |
65 | 50 | ||