Commit b8112df7 authored by Lee Revell's avatar Lee Revell Committed by James Bottomley

[SCSI] Add DMA mask constants other than 32 and 64 bit

Signed-Off-By: default avatarLee Revell <rlrevell@joe-job.com>
Signed-off-by: default avatarJames Bottomley <James.Bottomley@SteelEye.com>
parent 5d497cec
...@@ -14,7 +14,12 @@ enum dma_data_direction { ...@@ -14,7 +14,12 @@ enum dma_data_direction {
}; };
#define DMA_64BIT_MASK 0xffffffffffffffffULL #define DMA_64BIT_MASK 0xffffffffffffffffULL
#define DMA_40BIT_MASK 0x000000ffffffffffULL
#define DMA_39BIT_MASK 0x0000007fffffffffULL
#define DMA_32BIT_MASK 0x00000000ffffffffULL #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> #include <asm/dma-mapping.h>
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment