From 8a6d48c0542876eb3acfc0970c0ab7872db08d5f Mon Sep 17 00:00:00 2001 From: Zheng Da Date: Sun, 6 Dec 2009 05:26:23 +0100 Subject: check in the original version of dde linux26. --- libdde_linux26/contrib/include/linux/raw.h | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 libdde_linux26/contrib/include/linux/raw.h (limited to 'libdde_linux26/contrib/include/linux/raw.h') diff --git a/libdde_linux26/contrib/include/linux/raw.h b/libdde_linux26/contrib/include/linux/raw.h new file mode 100644 index 00000000..62d543e7 --- /dev/null +++ b/libdde_linux26/contrib/include/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.2.3