summaryrefslogtreecommitdiffstats
path: root/driver/ioctl.h
diff options
context:
space:
mode:
authorSuren A. Chilingaryan <csa@suren.me>2016-05-14 01:10:33 +0200
committerSuren A. Chilingaryan <csa@suren.me>2016-05-14 01:10:33 +0200
commita21dea7a0d06cbdfe9a94c88b1ba99425bf2e102 (patch)
tree1c08af911cef8869ed1eb90902f89db83b524c53 /driver/ioctl.h
parent71f64d82453f5c86dd40104839d98fc12ae44ddf (diff)
downloadpcitool-a21dea7a0d06cbdfe9a94c88b1ba99425bf2e102.tar.gz
pcitool-a21dea7a0d06cbdfe9a94c88b1ba99425bf2e102.tar.bz2
pcitool-a21dea7a0d06cbdfe9a94c88b1ba99425bf2e102.tar.xz
pcitool-a21dea7a0d06cbdfe9a94c88b1ba99425bf2e102.zip
Allow mapping of arbitrary memory areas
Diffstat (limited to 'driver/ioctl.h')
-rw-r--r--driver/ioctl.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/driver/ioctl.h b/driver/ioctl.h
index a102092..7d393a5 100644
--- a/driver/ioctl.h
+++ b/driver/ioctl.h
@@ -18,6 +18,7 @@
/* mmap mode of the device */
#define PCIDRIVER_MMAP_PCI 0
#define PCIDRIVER_MMAP_KMEM 1
+#define PCIDRIVER_MMAP_AREA 2
/* Direction of a DMA operation */
#define PCIDRIVER_DMA_BIDIRECTIONAL 0