- PL292: bump RLIMIT_NOFILE (a.k.a. INR_OPEN) to 4096 from 1024
[linux-2.6.git] / include / linux / dma-mapping.h
1 #ifndef _ASM_LINUX_DMA_MAPPING_H
2 #define _ASM_LINUX_DMA_MAPPING_H
3
4 /* These definitions mirror those in pci.h, so they can be used
5  * interchangeably with their PCI_ counterparts */
6 enum dma_data_direction {
7         DMA_BIDIRECTIONAL = 0,
8         DMA_TO_DEVICE = 1,
9         DMA_FROM_DEVICE = 2,
10         DMA_NONE = 3,
11 };
12
13 #define DMA_64BIT_MASK  0xffffffffffffffffULL
14 #define DMA_32BIT_MASK  0x00000000ffffffffULL
15
16 #include <asm/dma-mapping.h>
17
18 /* Backwards compat, remove in 2.7.x */
19 #define dma_sync_single         dma_sync_single_for_cpu
20 #define dma_sync_sg             dma_sync_sg_for_cpu
21
22 extern u64 dma_get_required_mask(struct device *dev);
23
24 #endif
25
26