summaryrefslogtreecommitdiffstats
path: root/include/linux/dma-mapping.h
diff options
context:
space:
mode:
authorFrancois Romieu <romieu@fr.zoreil.com>2006-05-10 12:48:57 -0700
committerStephen Hemminger <shemminger@osdl.org>2006-05-10 14:04:22 -0700
commit4c1b46226ce4424a93b8ac544e37afb26c8a72c6 (patch)
tree9eae6412bdeebad107f190bc39f49df9957712f4 /include/linux/dma-mapping.h
parent64b1c2b42b555ef38c475d104f2faf3f6f93690d (diff)
downloadlinux-4c1b46226ce4424a93b8ac544e37afb26c8a72c6.tar.gz
linux-4c1b46226ce4424a93b8ac544e37afb26c8a72c6.tar.bz2
linux-4c1b46226ce4424a93b8ac544e37afb26c8a72c6.zip
dl2k: use DMA_48BIT_MASK constant
Typo will be harder with this one. Signed-off-by: Francois Romieu <romieu@fr.zoreil.com> Signed-off-by: Stephen Hemminger <shemminger@osdl.org>
Diffstat (limited to 'include/linux/dma-mapping.h')
-rw-r--r--include/linux/dma-mapping.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/dma-mapping.h b/include/linux/dma-mapping.h
index ff61817082fa..635690cf3e3d 100644
--- a/include/linux/dma-mapping.h
+++ b/include/linux/dma-mapping.h
@@ -14,6 +14,7 @@ enum dma_data_direction {
};
#define DMA_64BIT_MASK 0xffffffffffffffffULL
+#define DMA_48BIT_MASK 0x0000ffffffffffffULL
#define DMA_40BIT_MASK 0x000000ffffffffffULL
#define DMA_39BIT_MASK 0x0000007fffffffffULL
#define DMA_32BIT_MASK 0x00000000ffffffffULL