diff options
author | Christoph Hellwig <hch@lst.de> | 2005-11-09 00:35:08 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2005-11-09 10:56:01 -0500 |
commit | b05a581d4865d74c0e270d27156a88d2dee9494e (patch) | |
tree | c3fb1f55aa2323198cdbd65e87cd300a2c0edbde /include | |
parent | 7e4c54a2a4f1cec6a652c6014714ee51b7e1311f (diff) |
[PATCH] move some COMPATIBLE_IOCTL entries from x86_64 to common code
Signed-off-by: Christoph Hellwig <hch@lst.de>
Cc: Andi Kleen <ak@muc.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/compat_ioctl.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/include/linux/compat_ioctl.h b/include/linux/compat_ioctl.h index ecb0d39c0798..4c63c2963019 100644 --- a/include/linux/compat_ioctl.h +++ b/include/linux/compat_ioctl.h | |||
@@ -10,6 +10,10 @@ | |||
10 | #define ULONG_IOCTL(cmd) HANDLE_IOCTL((cmd),(ioctl_trans_handler_t)sys_ioctl) | 10 | #define ULONG_IOCTL(cmd) HANDLE_IOCTL((cmd),(ioctl_trans_handler_t)sys_ioctl) |
11 | #endif | 11 | #endif |
12 | 12 | ||
13 | |||
14 | COMPATIBLE_IOCTL(0x4B50) /* KDGHWCLK - not in the kernel, but don't complain */ | ||
15 | COMPATIBLE_IOCTL(0x4B51) /* KDSHWCLK - not in the kernel, but don't complain */ | ||
16 | |||
13 | /* Big T */ | 17 | /* Big T */ |
14 | COMPATIBLE_IOCTL(TCGETA) | 18 | COMPATIBLE_IOCTL(TCGETA) |
15 | COMPATIBLE_IOCTL(TCSETA) | 19 | COMPATIBLE_IOCTL(TCSETA) |
@@ -81,6 +85,8 @@ COMPATIBLE_IOCTL(HDIO_DRIVE_CMD) | |||
81 | COMPATIBLE_IOCTL(HDIO_DRIVE_TASK) | 85 | COMPATIBLE_IOCTL(HDIO_DRIVE_TASK) |
82 | COMPATIBLE_IOCTL(HDIO_SET_PIO_MODE) | 86 | COMPATIBLE_IOCTL(HDIO_SET_PIO_MODE) |
83 | COMPATIBLE_IOCTL(HDIO_SET_NICE) | 87 | COMPATIBLE_IOCTL(HDIO_SET_NICE) |
88 | COMPATIBLE_IOCTL(HDIO_SET_KEEPSETTINGS) | ||
89 | COMPATIBLE_IOCTL(HDIO_SCAN_HWIF) | ||
84 | /* 0x02 -- Floppy ioctls */ | 90 | /* 0x02 -- Floppy ioctls */ |
85 | COMPATIBLE_IOCTL(FDMSGON) | 91 | COMPATIBLE_IOCTL(FDMSGON) |
86 | COMPATIBLE_IOCTL(FDMSGOFF) | 92 | COMPATIBLE_IOCTL(FDMSGOFF) |
@@ -99,6 +105,7 @@ COMPATIBLE_IOCTL(FDTWADDLE) | |||
99 | COMPATIBLE_IOCTL(FDFMTTRK) | 105 | COMPATIBLE_IOCTL(FDFMTTRK) |
100 | COMPATIBLE_IOCTL(FDRAWCMD) | 106 | COMPATIBLE_IOCTL(FDRAWCMD) |
101 | /* 0x12 */ | 107 | /* 0x12 */ |
108 | COMPATIBLE_IOCTL(BLKRASET) | ||
102 | COMPATIBLE_IOCTL(BLKROSET) | 109 | COMPATIBLE_IOCTL(BLKROSET) |
103 | COMPATIBLE_IOCTL(BLKROGET) | 110 | COMPATIBLE_IOCTL(BLKROGET) |
104 | COMPATIBLE_IOCTL(BLKRRPART) | 111 | COMPATIBLE_IOCTL(BLKRRPART) |
@@ -262,6 +269,7 @@ COMPATIBLE_IOCTL(RTC_WKALM_RD) | |||
262 | /* Little m */ | 269 | /* Little m */ |
263 | COMPATIBLE_IOCTL(MTIOCTOP) | 270 | COMPATIBLE_IOCTL(MTIOCTOP) |
264 | /* Socket level stuff */ | 271 | /* Socket level stuff */ |
272 | COMPATIBLE_IOCTL(FIOQSIZE) | ||
265 | COMPATIBLE_IOCTL(FIOSETOWN) | 273 | COMPATIBLE_IOCTL(FIOSETOWN) |
266 | COMPATIBLE_IOCTL(SIOCSPGRP) | 274 | COMPATIBLE_IOCTL(SIOCSPGRP) |
267 | COMPATIBLE_IOCTL(FIOGETOWN) | 275 | COMPATIBLE_IOCTL(FIOGETOWN) |