Alexey Dobriyan | b7f080c | 2011-06-16 11:01:34 +0000 | [diff] [blame] | 1 | #ifndef _LINUX_DMA_DIRECTION_H |
2 | #define _LINUX_DMA_DIRECTION_H | ||||
3 | /* | ||||
4 | * These definitions mirror those in pci.h, so they can be used | ||||
5 | * interchangeably with their PCI_ counterparts. | ||||
6 | */ | ||||
7 | enum dma_data_direction { | ||||
8 | DMA_BIDIRECTIONAL = 0, | ||||
9 | DMA_TO_DEVICE = 1, | ||||
10 | DMA_FROM_DEVICE = 2, | ||||
11 | DMA_NONE = 3, | ||||
12 | }; | ||||
13 | #endif |