summaryrefslogtreecommitdiffstats
path: root/driver/common.h
diff options
context:
space:
mode:
authorroot <root@iss-tomyspiel-l>2011-07-04 16:21:23 +0200
committerroot <root@iss-tomyspiel-l>2011-07-04 16:21:23 +0200
commit2e7a7a3534bcf591c0d6c65105b2d845f293112f (patch)
treed0e5d2f9ea246ff55134205f7ac3af0d9599e641 /driver/common.h
parent70937611e34577151a6607640050e8b164a54e70 (diff)
downloadipecamera-2e7a7a3534bcf591c0d6c65105b2d845f293112f.tar.gz
ipecamera-2e7a7a3534bcf591c0d6c65105b2d845f293112f.tar.bz2
ipecamera-2e7a7a3534bcf591c0d6c65105b2d845f293112f.tar.xz
ipecamera-2e7a7a3534bcf591c0d6c65105b2d845f293112f.zip
North West Logick DMA implementation
Diffstat (limited to 'driver/common.h')
-rw-r--r--driver/common.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/driver/common.h b/driver/common.h
index 992f0ea..6036b0c 100644
--- a/driver/common.h
+++ b/driver/common.h
@@ -1,6 +1,8 @@
#ifndef _PCIDRIVER_COMMON_H
#define _PCIDRIVER_COMMON_H
+#include "pcilib_types.h"
+
/*************************************************************************/
/* Private data types and structures */
@@ -12,6 +14,8 @@ typedef struct {
dma_addr_t dma_handle;
unsigned long cpua;
unsigned long size;
+ unsigned long type;
+ unsigned long use;
struct class_device_attribute sysfs_attr; /* initialized when adding the entry */
} pcidriver_kmem_entry_t;