diff options
author | Daniel Vetter <daniel.vetter@ffwll.ch> | 2012-10-22 08:34:51 -0400 |
---|---|---|
committer | Daniel Vetter <daniel.vetter@ffwll.ch> | 2012-10-22 08:34:51 -0400 |
commit | c2fb7916927e989ea424e61ce5fe617e54878827 (patch) | |
tree | 02f9d5482075f8931637d82bb697a6470270136a /include/linux/cciss_ioctl.h | |
parent | 29de6ce574870a0d3fd157afdbf51c0282e2bf63 (diff) | |
parent | 6f0c0580b70c89094b3422ba81118c7b959c7556 (diff) |
Merge tag 'v3.7-rc2' into drm-intel-next-queued
Linux 3.7-rc2
Backmerge to solve two ugly conflicts:
- uapi. We've already added new ioctl definitions for -next. Do I need to say more?
- wc support gtt ptes. We've had to revert this for snb+ for 3.7 and
also fix a few other things in the code. Now we know how to make it
work on snb+, but to avoid losing the other fixes do the backmerge
first before re-enabling wc gtt ptes on snb+.
And a few other minor things, among them git getting confused in
intel_dp.c and seemingly causing a conflict out of nothing ...
Conflicts:
drivers/gpu/drm/i915/i915_reg.h
drivers/gpu/drm/i915/intel_display.c
drivers/gpu/drm/i915/intel_dp.c
drivers/gpu/drm/i915/intel_modes.c
include/drm/i915_drm.h
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Diffstat (limited to 'include/linux/cciss_ioctl.h')
-rw-r--r-- | include/linux/cciss_ioctl.h | 86 |
1 files changed, 1 insertions, 85 deletions
diff --git a/include/linux/cciss_ioctl.h b/include/linux/cciss_ioctl.h index 986493f5b92b..84b6e2d0f44d 100644 --- a/include/linux/cciss_ioctl.h +++ b/include/linux/cciss_ioctl.h | |||
@@ -1,91 +1,8 @@ | |||
1 | #ifndef CCISS_IOCTLH | 1 | #ifndef CCISS_IOCTLH |
2 | #define CCISS_IOCTLH | 2 | #define CCISS_IOCTLH |
3 | 3 | ||
4 | #include <linux/types.h> | 4 | #include <uapi/linux/cciss_ioctl.h> |
5 | #include <linux/ioctl.h> | ||
6 | #include <linux/cciss_defs.h> | ||
7 | 5 | ||
8 | #define CCISS_IOC_MAGIC 'B' | ||
9 | |||
10 | |||
11 | typedef struct _cciss_pci_info_struct | ||
12 | { | ||
13 | unsigned char bus; | ||
14 | unsigned char dev_fn; | ||
15 | unsigned short domain; | ||
16 | __u32 board_id; | ||
17 | } cciss_pci_info_struct; | ||
18 | |||
19 | typedef struct _cciss_coalint_struct | ||
20 | { | ||
21 | __u32 delay; | ||
22 | __u32 count; | ||
23 | } cciss_coalint_struct; | ||
24 | |||
25 | typedef char NodeName_type[16]; | ||
26 | |||
27 | typedef __u32 Heartbeat_type; | ||
28 | |||
29 | #define CISS_PARSCSIU2 0x0001 | ||
30 | #define CISS_PARCSCIU3 0x0002 | ||
31 | #define CISS_FIBRE1G 0x0100 | ||
32 | #define CISS_FIBRE2G 0x0200 | ||
33 | typedef __u32 BusTypes_type; | ||
34 | |||
35 | typedef char FirmwareVer_type[4]; | ||
36 | typedef __u32 DriverVer_type; | ||
37 | |||
38 | #define MAX_KMALLOC_SIZE 128000 | ||
39 | |||
40 | typedef struct _IOCTL_Command_struct { | ||
41 | LUNAddr_struct LUN_info; | ||
42 | RequestBlock_struct Request; | ||
43 | ErrorInfo_struct error_info; | ||
44 | WORD buf_size; /* size in bytes of the buf */ | ||
45 | BYTE __user *buf; | ||
46 | } IOCTL_Command_struct; | ||
47 | |||
48 | typedef struct _BIG_IOCTL_Command_struct { | ||
49 | LUNAddr_struct LUN_info; | ||
50 | RequestBlock_struct Request; | ||
51 | ErrorInfo_struct error_info; | ||
52 | DWORD malloc_size; /* < MAX_KMALLOC_SIZE in cciss.c */ | ||
53 | DWORD buf_size; /* size in bytes of the buf */ | ||
54 | /* < malloc_size * MAXSGENTRIES */ | ||
55 | BYTE __user *buf; | ||
56 | } BIG_IOCTL_Command_struct; | ||
57 | |||
58 | typedef struct _LogvolInfo_struct{ | ||
59 | __u32 LunID; | ||
60 | int num_opens; /* number of opens on the logical volume */ | ||
61 | int num_parts; /* number of partitions configured on logvol */ | ||
62 | } LogvolInfo_struct; | ||
63 | |||
64 | #define CCISS_GETPCIINFO _IOR(CCISS_IOC_MAGIC, 1, cciss_pci_info_struct) | ||
65 | |||
66 | #define CCISS_GETINTINFO _IOR(CCISS_IOC_MAGIC, 2, cciss_coalint_struct) | ||
67 | #define CCISS_SETINTINFO _IOW(CCISS_IOC_MAGIC, 3, cciss_coalint_struct) | ||
68 | |||
69 | #define CCISS_GETNODENAME _IOR(CCISS_IOC_MAGIC, 4, NodeName_type) | ||
70 | #define CCISS_SETNODENAME _IOW(CCISS_IOC_MAGIC, 5, NodeName_type) | ||
71 | |||
72 | #define CCISS_GETHEARTBEAT _IOR(CCISS_IOC_MAGIC, 6, Heartbeat_type) | ||
73 | #define CCISS_GETBUSTYPES _IOR(CCISS_IOC_MAGIC, 7, BusTypes_type) | ||
74 | #define CCISS_GETFIRMVER _IOR(CCISS_IOC_MAGIC, 8, FirmwareVer_type) | ||
75 | #define CCISS_GETDRIVVER _IOR(CCISS_IOC_MAGIC, 9, DriverVer_type) | ||
76 | #define CCISS_REVALIDVOLS _IO(CCISS_IOC_MAGIC, 10) | ||
77 | #define CCISS_PASSTHRU _IOWR(CCISS_IOC_MAGIC, 11, IOCTL_Command_struct) | ||
78 | #define CCISS_DEREGDISK _IO(CCISS_IOC_MAGIC, 12) | ||
79 | |||
80 | /* no longer used... use REGNEWD instead */ | ||
81 | #define CCISS_REGNEWDISK _IOW(CCISS_IOC_MAGIC, 13, int) | ||
82 | |||
83 | #define CCISS_REGNEWD _IO(CCISS_IOC_MAGIC, 14) | ||
84 | #define CCISS_RESCANDISK _IO(CCISS_IOC_MAGIC, 16) | ||
85 | #define CCISS_GETLUNINFO _IOR(CCISS_IOC_MAGIC, 17, LogvolInfo_struct) | ||
86 | #define CCISS_BIG_PASSTHRU _IOWR(CCISS_IOC_MAGIC, 18, BIG_IOCTL_Command_struct) | ||
87 | |||
88 | #ifdef __KERNEL__ | ||
89 | #ifdef CONFIG_COMPAT | 6 | #ifdef CONFIG_COMPAT |
90 | 7 | ||
91 | /* 32 bit compatible ioctl structs */ | 8 | /* 32 bit compatible ioctl structs */ |
@@ -111,5 +28,4 @@ typedef struct _BIG_IOCTL32_Command_struct { | |||
111 | #define CCISS_BIG_PASSTHRU32 _IOWR(CCISS_IOC_MAGIC, 18, BIG_IOCTL32_Command_struct) | 28 | #define CCISS_BIG_PASSTHRU32 _IOWR(CCISS_IOC_MAGIC, 18, BIG_IOCTL32_Command_struct) |
112 | 29 | ||
113 | #endif /* CONFIG_COMPAT */ | 30 | #endif /* CONFIG_COMPAT */ |
114 | #endif /* __KERNEL__ */ | ||
115 | #endif | 31 | #endif |