[SCSI] Add DMA mask constants other than 32 and 64 bit
authorLee Revell <rlrevell@joe-job.com>
Wed, 15 Jun 2005 18:19:03 +0000 (14:19 -0400)
committerJames Bottomley <jejb@titanic.(none)>
Sat, 18 Jun 2005 01:37:11 +0000 (20:37 -0500)
Signed-Off-By: Lee Revell <rlrevell@joe-job.com>
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
include/linux/dma-mapping.h

index 806c305332c1c5c05102d9fc5d4537b49be5f4e7..2d80cc761a15948179fefc0abe5a686b9abc2b81 100644 (file)
@@ -14,7 +14,12 @@ enum dma_data_direction {
 };
 
 #define DMA_64BIT_MASK 0xffffffffffffffffULL
+#define DMA_40BIT_MASK 0x000000ffffffffffULL
+#define DMA_39BIT_MASK 0x0000007fffffffffULL
 #define DMA_32BIT_MASK 0x00000000ffffffffULL
+#define DMA_31BIT_MASK 0x000000007fffffffULL
+#define DMA_30BIT_MASK 0x000000003fffffffULL
+#define DMA_29BIT_MASK 0x000000001fffffffULL
 
 #include <asm/dma-mapping.h>