summaryrefslogtreecommitdiffstats
path: root/pcilib.h
diff options
context:
space:
mode:
authorSuren A. Chilingaryan <csa@dside.dyndns.org>2011-10-23 02:43:20 +0200
committerSuren A. Chilingaryan <csa@dside.dyndns.org>2011-10-23 02:43:20 +0200
commit8af9de82916ff76129d01ede66fc4406818c525c (patch)
tree3327adb667efa9426b630ba841a16a598c0f9e0c /pcilib.h
parent24f29cbd62e9b2f30aba8f2357084baf6b70fa17 (diff)
downloadpcitool-8af9de82916ff76129d01ede66fc4406818c525c.tar.gz
pcitool-8af9de82916ff76129d01ede66fc4406818c525c.tar.bz2
pcitool-8af9de82916ff76129d01ede66fc4406818c525c.tar.xz
pcitool-8af9de82916ff76129d01ede66fc4406818c525c.zip
Properly perform synchronization of DMA buffers
Diffstat (limited to 'pcilib.h')
-rw-r--r--pcilib.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/pcilib.h b/pcilib.h
index 9ce1a88..a38fcc9 100644
--- a/pcilib.h
+++ b/pcilib.h
@@ -161,8 +161,8 @@ typedef enum {
} pcilib_irq_type_t;
typedef enum {
- PCILIB_DMA_FROM_DEVICE = 1,
- PCILIB_DMA_TO_DEVICE = 2,
+ PCILIB_DMA_TO_DEVICE = 1,
+ PCILIB_DMA_FROM_DEVICE = 2,
PCILIB_DMA_BIDIRECTIONAL = 3
} pcilib_dma_direction_t;