summaryrefslogtreecommitdiff
path: root/os/binject.h
diff options
context:
space:
mode:
authorJens Axboe <jaxboe@fusionio.com>2010-10-27 09:24:54 -0600
committerJens Axboe <jaxboe@fusionio.com>2010-10-27 09:24:54 -0600
commitf0f346d8604d594506c0dc1a3310a27de127c2ed (patch)
tree6b66f1ac2db3183cea8a55c2f70d05177d2355d6 /os/binject.h
parentf42195a3ff2e186bc67968088b7cceae61ccb8f3 (diff)
downloadfio-f0f346d8604d594506c0dc1a3310a27de127c2ed.tar.gz
fio-f0f346d8604d594506c0dc1a3310a27de127c2ed.tar.bz2
Update for proper binject ioctls
Signed-off-by: Jens Axboe <jaxboe@fusionio.com>
Diffstat (limited to 'os/binject.h')
-rw-r--r--os/binject.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/os/binject.h b/os/binject.h
index 24eee0d6..1d862c86 100644
--- a/os/binject.h
+++ b/os/binject.h
@@ -25,6 +25,10 @@ struct b_ioctl_cmd {
int minor;
};
+#define BINJECT_IOCTL_CHR 'J'
+#define B_IOCTL_ADD _IOWR(BINJECT_IOCTL_CHR, 1, struct b_ioctl_cmd)
+#define B_IOCTL_DEL _IOWR(BINJECT_IOCTL_CHR, 2, struct b_ioctl_cmd)
+
enum {
B_TYPE_READ = 0,
B_TYPE_WRITE,