Skip to content

Commit

Permalink
[SCSI] Add DMA mask constants other than 32 and 64 bit
Browse files Browse the repository at this point in the history
Signed-Off-By: Lee Revell <rlrevell@joe-job.com>
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
  • Loading branch information
Lee Revell authored and James Bottomley committed Jun 18, 2005
1 parent 5d497ce commit b8112df
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions include/linux/dma-mapping.h
Original file line number Diff line number Diff line change
Expand Up @@ -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>

Expand Down

0 comments on commit b8112df

Please sign in to comment.