From: Lee Revell Date: Wed, 15 Jun 2005 18:19:03 +0000 (-0400) Subject: [SCSI] Add DMA mask constants other than 32 and 64 bit X-Git-Tag: v2.6.14-rc2~49^2~36^2~54 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=b8112df71cae7d6a86158caeb19d215f56c4f9ab;p=linux-2.6-omap-h63xx.git [SCSI] Add DMA mask constants other than 32 and 64 bit Signed-Off-By: Lee Revell Signed-off-by: James Bottomley --- diff --git a/include/linux/dma-mapping.h b/include/linux/dma-mapping.h index 806c305332c..2d80cc761a1 100644 --- a/include/linux/dma-mapping.h +++ b/include/linux/dma-mapping.h @@ -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