From 8af9de82916ff76129d01ede66fc4406818c525c Mon Sep 17 00:00:00 2001 From: "Suren A. Chilingaryan" Date: Sun, 23 Oct 2011 02:43:20 +0200 Subject: Properly perform synchronization of DMA buffers --- pcilib.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'pcilib.h') 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; -- cgit v1.2.3