mirror of
https://github.com/followmsi/android_kernel_google_msm.git
synced 2024-11-06 23:17:41 +00:00
[SCSI] Add DMA mask constants other than 32 and 64 bit
Signed-Off-By: Lee Revell <rlrevell@joe-job.com> Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
This commit is contained in:
parent
5d497cecde
commit
b8112df71c
1 changed files with 5 additions and 0 deletions
|
@ -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>
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue