From 8e4bff4cab0ddac6060645b0715210484d02ff40 Mon Sep 17 00:00:00 2001 From: Yuval Adam <_@yuv.al> Date: Wed, 30 Aug 2017 08:25:59 +0000 Subject: Initial file dump from open source release --- include/uapi/linux/raw.h | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 include/uapi/linux/raw.h (limited to 'include/uapi/linux/raw.h') diff --git a/include/uapi/linux/raw.h b/include/uapi/linux/raw.h new file mode 100644 index 00000000..62d543e7 --- /dev/null +++ b/include/uapi/linux/raw.h @@ -0,0 +1,18 @@ +#ifndef __LINUX_RAW_H +#define __LINUX_RAW_H + +#include + +#define RAW_SETBIND _IO( 0xac, 0 ) +#define RAW_GETBIND _IO( 0xac, 1 ) + +struct raw_config_request +{ + int raw_minor; + __u64 block_major; + __u64 block_minor; +}; + +#define MAX_RAW_MINORS CONFIG_MAX_RAW_DEVS + +#endif /* __LINUX_RAW_H */ -- cgit v1.3.1