Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 1 | /* List here explicitly which ioctl's are known to have |
| 2 | * compatible types passed or none at all... Please include |
| 3 | * only stuff that is compatible on *all architectures*. |
| 4 | */ |
Christoph Hellwig | b05a581 | 2005-11-08 21:35:08 -0800 | [diff] [blame] | 5 | |
| 6 | COMPATIBLE_IOCTL(0x4B50) /* KDGHWCLK - not in the kernel, but don't complain */ |
| 7 | COMPATIBLE_IOCTL(0x4B51) /* KDSHWCLK - not in the kernel, but don't complain */ |
| 8 | |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 9 | /* Big T */ |
| 10 | COMPATIBLE_IOCTL(TCGETA) |
| 11 | COMPATIBLE_IOCTL(TCSETA) |
| 12 | COMPATIBLE_IOCTL(TCSETAW) |
| 13 | COMPATIBLE_IOCTL(TCSETAF) |
| 14 | COMPATIBLE_IOCTL(TCSBRK) |
| 15 | ULONG_IOCTL(TCSBRKP) |
| 16 | COMPATIBLE_IOCTL(TCXONC) |
| 17 | COMPATIBLE_IOCTL(TCFLSH) |
| 18 | COMPATIBLE_IOCTL(TCGETS) |
| 19 | COMPATIBLE_IOCTL(TCSETS) |
| 20 | COMPATIBLE_IOCTL(TCSETSW) |
| 21 | COMPATIBLE_IOCTL(TCSETSF) |
| 22 | COMPATIBLE_IOCTL(TIOCLINUX) |
| 23 | COMPATIBLE_IOCTL(TIOCSBRK) |
| 24 | COMPATIBLE_IOCTL(TIOCCBRK) |
| 25 | ULONG_IOCTL(TIOCMIWAIT) |
| 26 | COMPATIBLE_IOCTL(TIOCGICOUNT) |
| 27 | /* Little t */ |
| 28 | COMPATIBLE_IOCTL(TIOCGETD) |
| 29 | COMPATIBLE_IOCTL(TIOCSETD) |
| 30 | COMPATIBLE_IOCTL(TIOCEXCL) |
| 31 | COMPATIBLE_IOCTL(TIOCNXCL) |
| 32 | COMPATIBLE_IOCTL(TIOCCONS) |
| 33 | COMPATIBLE_IOCTL(TIOCGSOFTCAR) |
| 34 | COMPATIBLE_IOCTL(TIOCSSOFTCAR) |
| 35 | COMPATIBLE_IOCTL(TIOCSWINSZ) |
| 36 | COMPATIBLE_IOCTL(TIOCGWINSZ) |
| 37 | COMPATIBLE_IOCTL(TIOCMGET) |
| 38 | COMPATIBLE_IOCTL(TIOCMBIC) |
| 39 | COMPATIBLE_IOCTL(TIOCMBIS) |
| 40 | COMPATIBLE_IOCTL(TIOCMSET) |
| 41 | COMPATIBLE_IOCTL(TIOCPKT) |
| 42 | COMPATIBLE_IOCTL(TIOCNOTTY) |
| 43 | COMPATIBLE_IOCTL(TIOCSTI) |
| 44 | COMPATIBLE_IOCTL(TIOCOUTQ) |
| 45 | COMPATIBLE_IOCTL(TIOCSPGRP) |
| 46 | COMPATIBLE_IOCTL(TIOCGPGRP) |
| 47 | ULONG_IOCTL(TIOCSCTTY) |
| 48 | COMPATIBLE_IOCTL(TIOCGPTN) |
| 49 | COMPATIBLE_IOCTL(TIOCSPTLCK) |
| 50 | COMPATIBLE_IOCTL(TIOCSERGETLSR) |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 51 | /* Little f */ |
| 52 | COMPATIBLE_IOCTL(FIOCLEX) |
| 53 | COMPATIBLE_IOCTL(FIONCLEX) |
| 54 | COMPATIBLE_IOCTL(FIOASYNC) |
| 55 | COMPATIBLE_IOCTL(FIONBIO) |
| 56 | COMPATIBLE_IOCTL(FIONREAD) /* This is also TIOCINQ */ |
| 57 | /* 0x00 */ |
| 58 | COMPATIBLE_IOCTL(FIBMAP) |
| 59 | COMPATIBLE_IOCTL(FIGETBSZ) |
| 60 | /* 0x03 -- HD/IDE ioctl's used by hdparm and friends. |
| 61 | * Some need translations, these do not. |
| 62 | */ |
| 63 | COMPATIBLE_IOCTL(HDIO_GET_IDENTITY) |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 64 | COMPATIBLE_IOCTL(HDIO_DRIVE_TASK) |
Maciej W. Rozycki | 39484e5 | 2006-10-11 01:21:54 -0700 | [diff] [blame] | 65 | COMPATIBLE_IOCTL(HDIO_DRIVE_CMD) |
| 66 | ULONG_IOCTL(HDIO_SET_MULTCOUNT) |
| 67 | ULONG_IOCTL(HDIO_SET_UNMASKINTR) |
| 68 | ULONG_IOCTL(HDIO_SET_KEEPSETTINGS) |
| 69 | ULONG_IOCTL(HDIO_SET_32BIT) |
| 70 | ULONG_IOCTL(HDIO_SET_NOWERR) |
| 71 | ULONG_IOCTL(HDIO_SET_DMA) |
| 72 | ULONG_IOCTL(HDIO_SET_PIO_MODE) |
| 73 | ULONG_IOCTL(HDIO_SET_NICE) |
| 74 | ULONG_IOCTL(HDIO_SET_WCACHE) |
| 75 | ULONG_IOCTL(HDIO_SET_ACOUSTIC) |
| 76 | ULONG_IOCTL(HDIO_SET_BUSSTATE) |
| 77 | ULONG_IOCTL(HDIO_SET_ADDRESS) |
Christoph Hellwig | b05a581 | 2005-11-08 21:35:08 -0800 | [diff] [blame] | 78 | COMPATIBLE_IOCTL(HDIO_SCAN_HWIF) |
Maciej W. Rozycki | 39484e5 | 2006-10-11 01:21:54 -0700 | [diff] [blame] | 79 | /* 0x330 is reserved -- it used to be HDIO_GETGEO_BIG */ |
| 80 | COMPATIBLE_IOCTL(0x330) |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 81 | /* 0x02 -- Floppy ioctls */ |
| 82 | COMPATIBLE_IOCTL(FDMSGON) |
| 83 | COMPATIBLE_IOCTL(FDMSGOFF) |
| 84 | COMPATIBLE_IOCTL(FDSETEMSGTRESH) |
| 85 | COMPATIBLE_IOCTL(FDFLUSH) |
| 86 | COMPATIBLE_IOCTL(FDWERRORCLR) |
| 87 | COMPATIBLE_IOCTL(FDSETMAXERRS) |
| 88 | COMPATIBLE_IOCTL(FDGETMAXERRS) |
| 89 | COMPATIBLE_IOCTL(FDGETDRVTYP) |
| 90 | COMPATIBLE_IOCTL(FDEJECT) |
| 91 | COMPATIBLE_IOCTL(FDCLRPRM) |
| 92 | COMPATIBLE_IOCTL(FDFMTBEG) |
| 93 | COMPATIBLE_IOCTL(FDFMTEND) |
| 94 | COMPATIBLE_IOCTL(FDRESET) |
| 95 | COMPATIBLE_IOCTL(FDTWADDLE) |
| 96 | COMPATIBLE_IOCTL(FDFMTTRK) |
| 97 | COMPATIBLE_IOCTL(FDRAWCMD) |
| 98 | /* 0x12 */ |
David Howells | 9361401 | 2006-09-30 20:45:40 +0200 | [diff] [blame] | 99 | #ifdef CONFIG_BLOCK |
Christoph Hellwig | b05a581 | 2005-11-08 21:35:08 -0800 | [diff] [blame] | 100 | COMPATIBLE_IOCTL(BLKRASET) |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 101 | COMPATIBLE_IOCTL(BLKROSET) |
| 102 | COMPATIBLE_IOCTL(BLKROGET) |
| 103 | COMPATIBLE_IOCTL(BLKRRPART) |
| 104 | COMPATIBLE_IOCTL(BLKFLSBUF) |
| 105 | COMPATIBLE_IOCTL(BLKSECTSET) |
| 106 | COMPATIBLE_IOCTL(BLKSSZGET) |
Jens Axboe | 2056a78 | 2006-03-23 20:00:26 +0100 | [diff] [blame] | 107 | COMPATIBLE_IOCTL(BLKTRACESTART) |
| 108 | COMPATIBLE_IOCTL(BLKTRACESTOP) |
| 109 | COMPATIBLE_IOCTL(BLKTRACESETUP) |
| 110 | COMPATIBLE_IOCTL(BLKTRACETEARDOWN) |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 111 | ULONG_IOCTL(BLKRASET) |
| 112 | ULONG_IOCTL(BLKFRASET) |
David Howells | 9361401 | 2006-09-30 20:45:40 +0200 | [diff] [blame] | 113 | #endif |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 114 | /* RAID */ |
| 115 | COMPATIBLE_IOCTL(RAID_VERSION) |
| 116 | COMPATIBLE_IOCTL(GET_ARRAY_INFO) |
| 117 | COMPATIBLE_IOCTL(GET_DISK_INFO) |
| 118 | COMPATIBLE_IOCTL(PRINT_RAID_DEBUG) |
| 119 | COMPATIBLE_IOCTL(RAID_AUTORUN) |
| 120 | COMPATIBLE_IOCTL(CLEAR_ARRAY) |
| 121 | COMPATIBLE_IOCTL(ADD_NEW_DISK) |
| 122 | ULONG_IOCTL(HOT_REMOVE_DISK) |
| 123 | COMPATIBLE_IOCTL(SET_ARRAY_INFO) |
| 124 | COMPATIBLE_IOCTL(SET_DISK_INFO) |
| 125 | COMPATIBLE_IOCTL(WRITE_RAID_INFO) |
| 126 | COMPATIBLE_IOCTL(UNPROTECT_ARRAY) |
| 127 | COMPATIBLE_IOCTL(PROTECT_ARRAY) |
| 128 | ULONG_IOCTL(HOT_ADD_DISK) |
| 129 | ULONG_IOCTL(SET_DISK_FAULTY) |
| 130 | COMPATIBLE_IOCTL(RUN_ARRAY) |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 131 | COMPATIBLE_IOCTL(STOP_ARRAY) |
| 132 | COMPATIBLE_IOCTL(STOP_ARRAY_RO) |
| 133 | COMPATIBLE_IOCTL(RESTART_ARRAY_RW) |
NeilBrown | da3ed32f | 2006-10-21 10:24:08 -0700 | [diff] [blame] | 134 | COMPATIBLE_IOCTL(GET_BITMAP_FILE) |
Paul Clements | d19c2ee | 2006-10-03 01:16:02 -0700 | [diff] [blame] | 135 | ULONG_IOCTL(SET_BITMAP_FILE) |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 136 | /* DM */ |
| 137 | COMPATIBLE_IOCTL(DM_VERSION_32) |
| 138 | COMPATIBLE_IOCTL(DM_REMOVE_ALL_32) |
| 139 | COMPATIBLE_IOCTL(DM_LIST_DEVICES_32) |
| 140 | COMPATIBLE_IOCTL(DM_DEV_CREATE_32) |
| 141 | COMPATIBLE_IOCTL(DM_DEV_REMOVE_32) |
| 142 | COMPATIBLE_IOCTL(DM_DEV_RENAME_32) |
| 143 | COMPATIBLE_IOCTL(DM_DEV_SUSPEND_32) |
| 144 | COMPATIBLE_IOCTL(DM_DEV_STATUS_32) |
| 145 | COMPATIBLE_IOCTL(DM_DEV_WAIT_32) |
| 146 | COMPATIBLE_IOCTL(DM_TABLE_LOAD_32) |
| 147 | COMPATIBLE_IOCTL(DM_TABLE_CLEAR_32) |
| 148 | COMPATIBLE_IOCTL(DM_TABLE_DEPS_32) |
| 149 | COMPATIBLE_IOCTL(DM_TABLE_STATUS_32) |
| 150 | COMPATIBLE_IOCTL(DM_LIST_VERSIONS_32) |
| 151 | COMPATIBLE_IOCTL(DM_TARGET_MSG_32) |
Darrick J. Wong | 3ac51e7 | 2006-03-27 01:17:54 -0800 | [diff] [blame] | 152 | COMPATIBLE_IOCTL(DM_DEV_SET_GEOMETRY_32) |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 153 | COMPATIBLE_IOCTL(DM_VERSION) |
| 154 | COMPATIBLE_IOCTL(DM_REMOVE_ALL) |
| 155 | COMPATIBLE_IOCTL(DM_LIST_DEVICES) |
| 156 | COMPATIBLE_IOCTL(DM_DEV_CREATE) |
| 157 | COMPATIBLE_IOCTL(DM_DEV_REMOVE) |
| 158 | COMPATIBLE_IOCTL(DM_DEV_RENAME) |
| 159 | COMPATIBLE_IOCTL(DM_DEV_SUSPEND) |
| 160 | COMPATIBLE_IOCTL(DM_DEV_STATUS) |
| 161 | COMPATIBLE_IOCTL(DM_DEV_WAIT) |
| 162 | COMPATIBLE_IOCTL(DM_TABLE_LOAD) |
| 163 | COMPATIBLE_IOCTL(DM_TABLE_CLEAR) |
| 164 | COMPATIBLE_IOCTL(DM_TABLE_DEPS) |
| 165 | COMPATIBLE_IOCTL(DM_TABLE_STATUS) |
| 166 | COMPATIBLE_IOCTL(DM_LIST_VERSIONS) |
| 167 | COMPATIBLE_IOCTL(DM_TARGET_MSG) |
Darrick J. Wong | 3ac51e7 | 2006-03-27 01:17:54 -0800 | [diff] [blame] | 168 | COMPATIBLE_IOCTL(DM_DEV_SET_GEOMETRY) |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 169 | /* Big K */ |
| 170 | COMPATIBLE_IOCTL(PIO_FONT) |
| 171 | COMPATIBLE_IOCTL(GIO_FONT) |
| 172 | ULONG_IOCTL(KDSIGACCEPT) |
| 173 | COMPATIBLE_IOCTL(KDGETKEYCODE) |
| 174 | COMPATIBLE_IOCTL(KDSETKEYCODE) |
| 175 | ULONG_IOCTL(KIOCSOUND) |
| 176 | ULONG_IOCTL(KDMKTONE) |
| 177 | COMPATIBLE_IOCTL(KDGKBTYPE) |
| 178 | ULONG_IOCTL(KDSETMODE) |
| 179 | COMPATIBLE_IOCTL(KDGETMODE) |
| 180 | ULONG_IOCTL(KDSKBMODE) |
| 181 | COMPATIBLE_IOCTL(KDGKBMODE) |
| 182 | ULONG_IOCTL(KDSKBMETA) |
| 183 | COMPATIBLE_IOCTL(KDGKBMETA) |
| 184 | COMPATIBLE_IOCTL(KDGKBENT) |
| 185 | COMPATIBLE_IOCTL(KDSKBENT) |
| 186 | COMPATIBLE_IOCTL(KDGKBSENT) |
| 187 | COMPATIBLE_IOCTL(KDSKBSENT) |
| 188 | COMPATIBLE_IOCTL(KDGKBDIACR) |
| 189 | COMPATIBLE_IOCTL(KDSKBDIACR) |
| 190 | COMPATIBLE_IOCTL(KDKBDREP) |
| 191 | COMPATIBLE_IOCTL(KDGKBLED) |
| 192 | ULONG_IOCTL(KDSKBLED) |
| 193 | COMPATIBLE_IOCTL(KDGETLED) |
| 194 | ULONG_IOCTL(KDSETLED) |
| 195 | COMPATIBLE_IOCTL(GIO_SCRNMAP) |
| 196 | COMPATIBLE_IOCTL(PIO_SCRNMAP) |
| 197 | COMPATIBLE_IOCTL(GIO_UNISCRNMAP) |
| 198 | COMPATIBLE_IOCTL(PIO_UNISCRNMAP) |
| 199 | COMPATIBLE_IOCTL(PIO_FONTRESET) |
| 200 | COMPATIBLE_IOCTL(PIO_UNIMAPCLR) |
| 201 | /* Big S */ |
| 202 | COMPATIBLE_IOCTL(SCSI_IOCTL_GET_IDLUN) |
| 203 | COMPATIBLE_IOCTL(SCSI_IOCTL_DOORLOCK) |
| 204 | COMPATIBLE_IOCTL(SCSI_IOCTL_DOORUNLOCK) |
| 205 | COMPATIBLE_IOCTL(SCSI_IOCTL_TEST_UNIT_READY) |
| 206 | COMPATIBLE_IOCTL(SCSI_IOCTL_GET_BUS_NUMBER) |
| 207 | COMPATIBLE_IOCTL(SCSI_IOCTL_SEND_COMMAND) |
| 208 | COMPATIBLE_IOCTL(SCSI_IOCTL_PROBE_HOST) |
| 209 | COMPATIBLE_IOCTL(SCSI_IOCTL_GET_PCI) |
| 210 | /* Big T */ |
| 211 | COMPATIBLE_IOCTL(TUNSETNOCSUM) |
| 212 | COMPATIBLE_IOCTL(TUNSETDEBUG) |
| 213 | COMPATIBLE_IOCTL(TUNSETPERSIST) |
| 214 | COMPATIBLE_IOCTL(TUNSETOWNER) |
| 215 | /* Big V */ |
| 216 | COMPATIBLE_IOCTL(VT_SETMODE) |
| 217 | COMPATIBLE_IOCTL(VT_GETMODE) |
| 218 | COMPATIBLE_IOCTL(VT_GETSTATE) |
| 219 | COMPATIBLE_IOCTL(VT_OPENQRY) |
| 220 | ULONG_IOCTL(VT_ACTIVATE) |
| 221 | ULONG_IOCTL(VT_WAITACTIVE) |
| 222 | ULONG_IOCTL(VT_RELDISP) |
| 223 | ULONG_IOCTL(VT_DISALLOCATE) |
| 224 | COMPATIBLE_IOCTL(VT_RESIZE) |
| 225 | COMPATIBLE_IOCTL(VT_RESIZEX) |
| 226 | COMPATIBLE_IOCTL(VT_LOCKSWITCH) |
| 227 | COMPATIBLE_IOCTL(VT_UNLOCKSWITCH) |
Samuel Thibault | 533475d | 2006-08-27 01:23:39 -0700 | [diff] [blame] | 228 | COMPATIBLE_IOCTL(VT_GETHIFONTMASK) |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 229 | /* Little p (/dev/rtc, /dev/envctrl, etc.) */ |
| 230 | COMPATIBLE_IOCTL(RTC_AIE_ON) |
| 231 | COMPATIBLE_IOCTL(RTC_AIE_OFF) |
| 232 | COMPATIBLE_IOCTL(RTC_UIE_ON) |
| 233 | COMPATIBLE_IOCTL(RTC_UIE_OFF) |
| 234 | COMPATIBLE_IOCTL(RTC_PIE_ON) |
| 235 | COMPATIBLE_IOCTL(RTC_PIE_OFF) |
| 236 | COMPATIBLE_IOCTL(RTC_WIE_ON) |
| 237 | COMPATIBLE_IOCTL(RTC_WIE_OFF) |
| 238 | COMPATIBLE_IOCTL(RTC_ALM_SET) |
| 239 | COMPATIBLE_IOCTL(RTC_ALM_READ) |
| 240 | COMPATIBLE_IOCTL(RTC_RD_TIME) |
| 241 | COMPATIBLE_IOCTL(RTC_SET_TIME) |
| 242 | COMPATIBLE_IOCTL(RTC_WKALM_SET) |
| 243 | COMPATIBLE_IOCTL(RTC_WKALM_RD) |
Christoph Hellwig | 535f8d6 | 2005-11-12 12:10:54 -0800 | [diff] [blame] | 244 | /* |
| 245 | * These two are only for the sbus rtc driver, but |
| 246 | * hwclock tries them on every rtc device first when |
| 247 | * running on sparc. On other architectures the entries |
| 248 | * are useless but harmless. |
| 249 | */ |
| 250 | COMPATIBLE_IOCTL(_IOR('p', 20, int[7])) /* RTCGET */ |
| 251 | COMPATIBLE_IOCTL(_IOW('p', 21, int[7])) /* RTCSET */ |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 252 | /* Little m */ |
| 253 | COMPATIBLE_IOCTL(MTIOCTOP) |
| 254 | /* Socket level stuff */ |
Christoph Hellwig | b05a581 | 2005-11-08 21:35:08 -0800 | [diff] [blame] | 255 | COMPATIBLE_IOCTL(FIOQSIZE) |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 256 | COMPATIBLE_IOCTL(FIOSETOWN) |
| 257 | COMPATIBLE_IOCTL(SIOCSPGRP) |
| 258 | COMPATIBLE_IOCTL(FIOGETOWN) |
| 259 | COMPATIBLE_IOCTL(SIOCGPGRP) |
| 260 | COMPATIBLE_IOCTL(SIOCATMARK) |
| 261 | COMPATIBLE_IOCTL(SIOCSIFLINK) |
| 262 | COMPATIBLE_IOCTL(SIOCSIFENCAP) |
| 263 | COMPATIBLE_IOCTL(SIOCGIFENCAP) |
| 264 | COMPATIBLE_IOCTL(SIOCSIFNAME) |
| 265 | COMPATIBLE_IOCTL(SIOCSARP) |
| 266 | COMPATIBLE_IOCTL(SIOCGARP) |
| 267 | COMPATIBLE_IOCTL(SIOCDARP) |
| 268 | COMPATIBLE_IOCTL(SIOCSRARP) |
| 269 | COMPATIBLE_IOCTL(SIOCGRARP) |
| 270 | COMPATIBLE_IOCTL(SIOCDRARP) |
| 271 | COMPATIBLE_IOCTL(SIOCADDDLCI) |
| 272 | COMPATIBLE_IOCTL(SIOCDELDLCI) |
| 273 | COMPATIBLE_IOCTL(SIOCGMIIPHY) |
| 274 | COMPATIBLE_IOCTL(SIOCGMIIREG) |
| 275 | COMPATIBLE_IOCTL(SIOCSMIIREG) |
| 276 | COMPATIBLE_IOCTL(SIOCGIFVLAN) |
| 277 | COMPATIBLE_IOCTL(SIOCSIFVLAN) |
| 278 | COMPATIBLE_IOCTL(SIOCBRADDBR) |
| 279 | COMPATIBLE_IOCTL(SIOCBRDELBR) |
| 280 | /* SG stuff */ |
| 281 | COMPATIBLE_IOCTL(SG_SET_TIMEOUT) |
| 282 | COMPATIBLE_IOCTL(SG_GET_TIMEOUT) |
| 283 | COMPATIBLE_IOCTL(SG_EMULATED_HOST) |
| 284 | ULONG_IOCTL(SG_SET_TRANSFORM) |
| 285 | COMPATIBLE_IOCTL(SG_GET_TRANSFORM) |
| 286 | COMPATIBLE_IOCTL(SG_SET_RESERVED_SIZE) |
| 287 | COMPATIBLE_IOCTL(SG_GET_RESERVED_SIZE) |
| 288 | COMPATIBLE_IOCTL(SG_GET_SCSI_ID) |
| 289 | COMPATIBLE_IOCTL(SG_SET_FORCE_LOW_DMA) |
| 290 | COMPATIBLE_IOCTL(SG_GET_LOW_DMA) |
| 291 | COMPATIBLE_IOCTL(SG_SET_FORCE_PACK_ID) |
| 292 | COMPATIBLE_IOCTL(SG_GET_PACK_ID) |
| 293 | COMPATIBLE_IOCTL(SG_GET_NUM_WAITING) |
| 294 | COMPATIBLE_IOCTL(SG_SET_DEBUG) |
| 295 | COMPATIBLE_IOCTL(SG_GET_SG_TABLESIZE) |
| 296 | COMPATIBLE_IOCTL(SG_GET_COMMAND_Q) |
| 297 | COMPATIBLE_IOCTL(SG_SET_COMMAND_Q) |
| 298 | COMPATIBLE_IOCTL(SG_GET_VERSION_NUM) |
| 299 | COMPATIBLE_IOCTL(SG_NEXT_CMD_LEN) |
| 300 | COMPATIBLE_IOCTL(SG_SCSI_RESET) |
| 301 | COMPATIBLE_IOCTL(SG_GET_REQUEST_TABLE) |
| 302 | COMPATIBLE_IOCTL(SG_SET_KEEP_ORPHAN) |
| 303 | COMPATIBLE_IOCTL(SG_GET_KEEP_ORPHAN) |
| 304 | /* PPP stuff */ |
| 305 | COMPATIBLE_IOCTL(PPPIOCGFLAGS) |
| 306 | COMPATIBLE_IOCTL(PPPIOCSFLAGS) |
| 307 | COMPATIBLE_IOCTL(PPPIOCGASYNCMAP) |
| 308 | COMPATIBLE_IOCTL(PPPIOCSASYNCMAP) |
| 309 | COMPATIBLE_IOCTL(PPPIOCGUNIT) |
| 310 | COMPATIBLE_IOCTL(PPPIOCGRASYNCMAP) |
| 311 | COMPATIBLE_IOCTL(PPPIOCSRASYNCMAP) |
| 312 | COMPATIBLE_IOCTL(PPPIOCGMRU) |
| 313 | COMPATIBLE_IOCTL(PPPIOCSMRU) |
| 314 | COMPATIBLE_IOCTL(PPPIOCSMAXCID) |
| 315 | COMPATIBLE_IOCTL(PPPIOCGXASYNCMAP) |
| 316 | COMPATIBLE_IOCTL(PPPIOCSXASYNCMAP) |
| 317 | COMPATIBLE_IOCTL(PPPIOCXFERUNIT) |
| 318 | /* PPPIOCSCOMPRESS is translated */ |
| 319 | COMPATIBLE_IOCTL(PPPIOCGNPMODE) |
| 320 | COMPATIBLE_IOCTL(PPPIOCSNPMODE) |
| 321 | COMPATIBLE_IOCTL(PPPIOCGDEBUG) |
| 322 | COMPATIBLE_IOCTL(PPPIOCSDEBUG) |
| 323 | /* PPPIOCSPASS is translated */ |
| 324 | /* PPPIOCSACTIVE is translated */ |
| 325 | /* PPPIOCGIDLE is translated */ |
| 326 | COMPATIBLE_IOCTL(PPPIOCNEWUNIT) |
| 327 | COMPATIBLE_IOCTL(PPPIOCATTACH) |
| 328 | COMPATIBLE_IOCTL(PPPIOCDETACH) |
| 329 | COMPATIBLE_IOCTL(PPPIOCSMRRU) |
| 330 | COMPATIBLE_IOCTL(PPPIOCCONNECT) |
| 331 | COMPATIBLE_IOCTL(PPPIOCDISCONN) |
| 332 | COMPATIBLE_IOCTL(PPPIOCATTCHAN) |
| 333 | COMPATIBLE_IOCTL(PPPIOCGCHAN) |
| 334 | /* PPPOX */ |
| 335 | COMPATIBLE_IOCTL(PPPOEIOCSFWD) |
| 336 | COMPATIBLE_IOCTL(PPPOEIOCDFWD) |
| 337 | /* LP */ |
| 338 | COMPATIBLE_IOCTL(LPGETSTATUS) |
| 339 | /* ppdev */ |
Raphael Assenat | e7270de | 2005-07-04 13:23:45 -0700 | [diff] [blame] | 340 | COMPATIBLE_IOCTL(PPSETMODE) |
| 341 | COMPATIBLE_IOCTL(PPRSTATUS) |
| 342 | COMPATIBLE_IOCTL(PPRCONTROL) |
| 343 | COMPATIBLE_IOCTL(PPWCONTROL) |
| 344 | COMPATIBLE_IOCTL(PPFCONTROL) |
| 345 | COMPATIBLE_IOCTL(PPRDATA) |
| 346 | COMPATIBLE_IOCTL(PPWDATA) |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 347 | COMPATIBLE_IOCTL(PPCLAIM) |
| 348 | COMPATIBLE_IOCTL(PPRELEASE) |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 349 | COMPATIBLE_IOCTL(PPYIELD) |
Raphael Assenat | e7270de | 2005-07-04 13:23:45 -0700 | [diff] [blame] | 350 | COMPATIBLE_IOCTL(PPEXCL) |
| 351 | COMPATIBLE_IOCTL(PPDATADIR) |
| 352 | COMPATIBLE_IOCTL(PPNEGOT) |
| 353 | COMPATIBLE_IOCTL(PPWCTLONIRQ) |
| 354 | COMPATIBLE_IOCTL(PPCLRIRQ) |
| 355 | COMPATIBLE_IOCTL(PPSETPHASE) |
| 356 | COMPATIBLE_IOCTL(PPGETMODES) |
| 357 | COMPATIBLE_IOCTL(PPGETMODE) |
| 358 | COMPATIBLE_IOCTL(PPGETPHASE) |
| 359 | COMPATIBLE_IOCTL(PPGETFLAGS) |
| 360 | COMPATIBLE_IOCTL(PPSETFLAGS) |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 361 | /* CDROM stuff */ |
| 362 | COMPATIBLE_IOCTL(CDROMPAUSE) |
| 363 | COMPATIBLE_IOCTL(CDROMRESUME) |
| 364 | COMPATIBLE_IOCTL(CDROMPLAYMSF) |
| 365 | COMPATIBLE_IOCTL(CDROMPLAYTRKIND) |
| 366 | COMPATIBLE_IOCTL(CDROMREADTOCHDR) |
| 367 | COMPATIBLE_IOCTL(CDROMREADTOCENTRY) |
| 368 | COMPATIBLE_IOCTL(CDROMSTOP) |
| 369 | COMPATIBLE_IOCTL(CDROMSTART) |
| 370 | COMPATIBLE_IOCTL(CDROMEJECT) |
| 371 | COMPATIBLE_IOCTL(CDROMVOLCTRL) |
| 372 | COMPATIBLE_IOCTL(CDROMSUBCHNL) |
| 373 | ULONG_IOCTL(CDROMEJECT_SW) |
| 374 | COMPATIBLE_IOCTL(CDROMMULTISESSION) |
| 375 | COMPATIBLE_IOCTL(CDROM_GET_MCN) |
| 376 | COMPATIBLE_IOCTL(CDROMRESET) |
| 377 | COMPATIBLE_IOCTL(CDROMVOLREAD) |
| 378 | COMPATIBLE_IOCTL(CDROMSEEK) |
| 379 | COMPATIBLE_IOCTL(CDROMPLAYBLK) |
| 380 | COMPATIBLE_IOCTL(CDROMCLOSETRAY) |
| 381 | ULONG_IOCTL(CDROM_SET_OPTIONS) |
| 382 | ULONG_IOCTL(CDROM_CLEAR_OPTIONS) |
| 383 | ULONG_IOCTL(CDROM_SELECT_SPEED) |
| 384 | ULONG_IOCTL(CDROM_SELECT_DISC) |
| 385 | ULONG_IOCTL(CDROM_MEDIA_CHANGED) |
| 386 | ULONG_IOCTL(CDROM_DRIVE_STATUS) |
| 387 | COMPATIBLE_IOCTL(CDROM_DISC_STATUS) |
| 388 | COMPATIBLE_IOCTL(CDROM_CHANGER_NSLOTS) |
| 389 | ULONG_IOCTL(CDROM_LOCKDOOR) |
| 390 | ULONG_IOCTL(CDROM_DEBUG) |
| 391 | COMPATIBLE_IOCTL(CDROM_GET_CAPABILITY) |
| 392 | /* Ignore cdrom.h about these next 5 ioctls, they absolutely do |
| 393 | * not take a struct cdrom_read, instead they take a struct cdrom_msf |
| 394 | * which is compatible. |
| 395 | */ |
| 396 | COMPATIBLE_IOCTL(CDROMREADMODE2) |
| 397 | COMPATIBLE_IOCTL(CDROMREADMODE1) |
| 398 | COMPATIBLE_IOCTL(CDROMREADRAW) |
| 399 | COMPATIBLE_IOCTL(CDROMREADCOOKED) |
| 400 | COMPATIBLE_IOCTL(CDROMREADALL) |
| 401 | /* DVD ioctls */ |
| 402 | COMPATIBLE_IOCTL(DVD_READ_STRUCT) |
| 403 | COMPATIBLE_IOCTL(DVD_WRITE_STRUCT) |
| 404 | COMPATIBLE_IOCTL(DVD_AUTH) |
| 405 | /* pktcdvd */ |
| 406 | COMPATIBLE_IOCTL(PACKET_CTRL_CMD) |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 407 | /* Big A */ |
| 408 | /* sparc only */ |
| 409 | /* Big Q for sound/OSS */ |
| 410 | COMPATIBLE_IOCTL(SNDCTL_SEQ_RESET) |
| 411 | COMPATIBLE_IOCTL(SNDCTL_SEQ_SYNC) |
| 412 | COMPATIBLE_IOCTL(SNDCTL_SYNTH_INFO) |
| 413 | COMPATIBLE_IOCTL(SNDCTL_SEQ_CTRLRATE) |
| 414 | COMPATIBLE_IOCTL(SNDCTL_SEQ_GETOUTCOUNT) |
| 415 | COMPATIBLE_IOCTL(SNDCTL_SEQ_GETINCOUNT) |
| 416 | COMPATIBLE_IOCTL(SNDCTL_SEQ_PERCMODE) |
| 417 | COMPATIBLE_IOCTL(SNDCTL_FM_LOAD_INSTR) |
| 418 | COMPATIBLE_IOCTL(SNDCTL_SEQ_TESTMIDI) |
| 419 | COMPATIBLE_IOCTL(SNDCTL_SEQ_RESETSAMPLES) |
| 420 | COMPATIBLE_IOCTL(SNDCTL_SEQ_NRSYNTHS) |
| 421 | COMPATIBLE_IOCTL(SNDCTL_SEQ_NRMIDIS) |
| 422 | COMPATIBLE_IOCTL(SNDCTL_MIDI_INFO) |
| 423 | COMPATIBLE_IOCTL(SNDCTL_SEQ_THRESHOLD) |
| 424 | COMPATIBLE_IOCTL(SNDCTL_SYNTH_MEMAVL) |
| 425 | COMPATIBLE_IOCTL(SNDCTL_FM_4OP_ENABLE) |
| 426 | COMPATIBLE_IOCTL(SNDCTL_SEQ_PANIC) |
| 427 | COMPATIBLE_IOCTL(SNDCTL_SEQ_OUTOFBAND) |
| 428 | COMPATIBLE_IOCTL(SNDCTL_SEQ_GETTIME) |
| 429 | COMPATIBLE_IOCTL(SNDCTL_SYNTH_ID) |
| 430 | COMPATIBLE_IOCTL(SNDCTL_SYNTH_CONTROL) |
| 431 | COMPATIBLE_IOCTL(SNDCTL_SYNTH_REMOVESAMPLE) |
| 432 | /* Big T for sound/OSS */ |
| 433 | COMPATIBLE_IOCTL(SNDCTL_TMR_TIMEBASE) |
| 434 | COMPATIBLE_IOCTL(SNDCTL_TMR_START) |
| 435 | COMPATIBLE_IOCTL(SNDCTL_TMR_STOP) |
| 436 | COMPATIBLE_IOCTL(SNDCTL_TMR_CONTINUE) |
| 437 | COMPATIBLE_IOCTL(SNDCTL_TMR_TEMPO) |
| 438 | COMPATIBLE_IOCTL(SNDCTL_TMR_SOURCE) |
| 439 | COMPATIBLE_IOCTL(SNDCTL_TMR_METRONOME) |
| 440 | COMPATIBLE_IOCTL(SNDCTL_TMR_SELECT) |
| 441 | /* Little m for sound/OSS */ |
| 442 | COMPATIBLE_IOCTL(SNDCTL_MIDI_PRETIME) |
| 443 | COMPATIBLE_IOCTL(SNDCTL_MIDI_MPUMODE) |
| 444 | COMPATIBLE_IOCTL(SNDCTL_MIDI_MPUCMD) |
| 445 | /* Big P for sound/OSS */ |
| 446 | COMPATIBLE_IOCTL(SNDCTL_DSP_RESET) |
| 447 | COMPATIBLE_IOCTL(SNDCTL_DSP_SYNC) |
| 448 | COMPATIBLE_IOCTL(SNDCTL_DSP_SPEED) |
| 449 | COMPATIBLE_IOCTL(SNDCTL_DSP_STEREO) |
| 450 | COMPATIBLE_IOCTL(SNDCTL_DSP_GETBLKSIZE) |
| 451 | COMPATIBLE_IOCTL(SNDCTL_DSP_CHANNELS) |
| 452 | COMPATIBLE_IOCTL(SOUND_PCM_WRITE_FILTER) |
| 453 | COMPATIBLE_IOCTL(SNDCTL_DSP_POST) |
| 454 | COMPATIBLE_IOCTL(SNDCTL_DSP_SUBDIVIDE) |
| 455 | COMPATIBLE_IOCTL(SNDCTL_DSP_SETFRAGMENT) |
| 456 | COMPATIBLE_IOCTL(SNDCTL_DSP_GETFMTS) |
| 457 | COMPATIBLE_IOCTL(SNDCTL_DSP_SETFMT) |
| 458 | COMPATIBLE_IOCTL(SNDCTL_DSP_GETOSPACE) |
| 459 | COMPATIBLE_IOCTL(SNDCTL_DSP_GETISPACE) |
| 460 | COMPATIBLE_IOCTL(SNDCTL_DSP_NONBLOCK) |
| 461 | COMPATIBLE_IOCTL(SNDCTL_DSP_GETCAPS) |
| 462 | COMPATIBLE_IOCTL(SNDCTL_DSP_GETTRIGGER) |
| 463 | COMPATIBLE_IOCTL(SNDCTL_DSP_SETTRIGGER) |
| 464 | COMPATIBLE_IOCTL(SNDCTL_DSP_GETIPTR) |
| 465 | COMPATIBLE_IOCTL(SNDCTL_DSP_GETOPTR) |
| 466 | /* SNDCTL_DSP_MAPINBUF, XXX needs translation */ |
| 467 | /* SNDCTL_DSP_MAPOUTBUF, XXX needs translation */ |
| 468 | COMPATIBLE_IOCTL(SNDCTL_DSP_SETSYNCRO) |
| 469 | COMPATIBLE_IOCTL(SNDCTL_DSP_SETDUPLEX) |
| 470 | COMPATIBLE_IOCTL(SNDCTL_DSP_GETODELAY) |
| 471 | COMPATIBLE_IOCTL(SNDCTL_DSP_PROFILE) |
| 472 | COMPATIBLE_IOCTL(SOUND_PCM_READ_RATE) |
| 473 | COMPATIBLE_IOCTL(SOUND_PCM_READ_CHANNELS) |
| 474 | COMPATIBLE_IOCTL(SOUND_PCM_READ_BITS) |
| 475 | COMPATIBLE_IOCTL(SOUND_PCM_READ_FILTER) |
| 476 | /* Big C for sound/OSS */ |
| 477 | COMPATIBLE_IOCTL(SNDCTL_COPR_RESET) |
| 478 | COMPATIBLE_IOCTL(SNDCTL_COPR_LOAD) |
| 479 | COMPATIBLE_IOCTL(SNDCTL_COPR_RDATA) |
| 480 | COMPATIBLE_IOCTL(SNDCTL_COPR_RCODE) |
| 481 | COMPATIBLE_IOCTL(SNDCTL_COPR_WDATA) |
| 482 | COMPATIBLE_IOCTL(SNDCTL_COPR_WCODE) |
| 483 | COMPATIBLE_IOCTL(SNDCTL_COPR_RUN) |
| 484 | COMPATIBLE_IOCTL(SNDCTL_COPR_HALT) |
| 485 | COMPATIBLE_IOCTL(SNDCTL_COPR_SENDMSG) |
| 486 | COMPATIBLE_IOCTL(SNDCTL_COPR_RCVMSG) |
| 487 | /* Big M for sound/OSS */ |
| 488 | COMPATIBLE_IOCTL(SOUND_MIXER_READ_VOLUME) |
| 489 | COMPATIBLE_IOCTL(SOUND_MIXER_READ_BASS) |
| 490 | COMPATIBLE_IOCTL(SOUND_MIXER_READ_TREBLE) |
| 491 | COMPATIBLE_IOCTL(SOUND_MIXER_READ_SYNTH) |
| 492 | COMPATIBLE_IOCTL(SOUND_MIXER_READ_PCM) |
| 493 | COMPATIBLE_IOCTL(SOUND_MIXER_READ_SPEAKER) |
| 494 | COMPATIBLE_IOCTL(SOUND_MIXER_READ_LINE) |
| 495 | COMPATIBLE_IOCTL(SOUND_MIXER_READ_MIC) |
| 496 | COMPATIBLE_IOCTL(SOUND_MIXER_READ_CD) |
| 497 | COMPATIBLE_IOCTL(SOUND_MIXER_READ_IMIX) |
| 498 | COMPATIBLE_IOCTL(SOUND_MIXER_READ_ALTPCM) |
| 499 | COMPATIBLE_IOCTL(SOUND_MIXER_READ_RECLEV) |
| 500 | COMPATIBLE_IOCTL(SOUND_MIXER_READ_IGAIN) |
| 501 | COMPATIBLE_IOCTL(SOUND_MIXER_READ_OGAIN) |
| 502 | COMPATIBLE_IOCTL(SOUND_MIXER_READ_LINE1) |
| 503 | COMPATIBLE_IOCTL(SOUND_MIXER_READ_LINE2) |
| 504 | COMPATIBLE_IOCTL(SOUND_MIXER_READ_LINE3) |
| 505 | COMPATIBLE_IOCTL(MIXER_READ(SOUND_MIXER_DIGITAL1)) |
| 506 | COMPATIBLE_IOCTL(MIXER_READ(SOUND_MIXER_DIGITAL2)) |
| 507 | COMPATIBLE_IOCTL(MIXER_READ(SOUND_MIXER_DIGITAL3)) |
| 508 | COMPATIBLE_IOCTL(MIXER_READ(SOUND_MIXER_PHONEIN)) |
| 509 | COMPATIBLE_IOCTL(MIXER_READ(SOUND_MIXER_PHONEOUT)) |
| 510 | COMPATIBLE_IOCTL(MIXER_READ(SOUND_MIXER_VIDEO)) |
| 511 | COMPATIBLE_IOCTL(MIXER_READ(SOUND_MIXER_RADIO)) |
| 512 | COMPATIBLE_IOCTL(MIXER_READ(SOUND_MIXER_MONITOR)) |
| 513 | COMPATIBLE_IOCTL(SOUND_MIXER_READ_MUTE) |
| 514 | /* SOUND_MIXER_READ_ENHANCE, same value as READ_MUTE */ |
| 515 | /* SOUND_MIXER_READ_LOUD, same value as READ_MUTE */ |
| 516 | COMPATIBLE_IOCTL(SOUND_MIXER_READ_RECSRC) |
| 517 | COMPATIBLE_IOCTL(SOUND_MIXER_READ_DEVMASK) |
| 518 | COMPATIBLE_IOCTL(SOUND_MIXER_READ_RECMASK) |
| 519 | COMPATIBLE_IOCTL(SOUND_MIXER_READ_STEREODEVS) |
| 520 | COMPATIBLE_IOCTL(SOUND_MIXER_READ_CAPS) |
| 521 | COMPATIBLE_IOCTL(SOUND_MIXER_WRITE_VOLUME) |
| 522 | COMPATIBLE_IOCTL(SOUND_MIXER_WRITE_BASS) |
| 523 | COMPATIBLE_IOCTL(SOUND_MIXER_WRITE_TREBLE) |
| 524 | COMPATIBLE_IOCTL(SOUND_MIXER_WRITE_SYNTH) |
| 525 | COMPATIBLE_IOCTL(SOUND_MIXER_WRITE_PCM) |
| 526 | COMPATIBLE_IOCTL(SOUND_MIXER_WRITE_SPEAKER) |
| 527 | COMPATIBLE_IOCTL(SOUND_MIXER_WRITE_LINE) |
| 528 | COMPATIBLE_IOCTL(SOUND_MIXER_WRITE_MIC) |
| 529 | COMPATIBLE_IOCTL(SOUND_MIXER_WRITE_CD) |
| 530 | COMPATIBLE_IOCTL(SOUND_MIXER_WRITE_IMIX) |
| 531 | COMPATIBLE_IOCTL(SOUND_MIXER_WRITE_ALTPCM) |
| 532 | COMPATIBLE_IOCTL(SOUND_MIXER_WRITE_RECLEV) |
| 533 | COMPATIBLE_IOCTL(SOUND_MIXER_WRITE_IGAIN) |
| 534 | COMPATIBLE_IOCTL(SOUND_MIXER_WRITE_OGAIN) |
| 535 | COMPATIBLE_IOCTL(SOUND_MIXER_WRITE_LINE1) |
| 536 | COMPATIBLE_IOCTL(SOUND_MIXER_WRITE_LINE2) |
| 537 | COMPATIBLE_IOCTL(SOUND_MIXER_WRITE_LINE3) |
| 538 | COMPATIBLE_IOCTL(MIXER_WRITE(SOUND_MIXER_DIGITAL1)) |
| 539 | COMPATIBLE_IOCTL(MIXER_WRITE(SOUND_MIXER_DIGITAL2)) |
| 540 | COMPATIBLE_IOCTL(MIXER_WRITE(SOUND_MIXER_DIGITAL3)) |
| 541 | COMPATIBLE_IOCTL(MIXER_WRITE(SOUND_MIXER_PHONEIN)) |
| 542 | COMPATIBLE_IOCTL(MIXER_WRITE(SOUND_MIXER_PHONEOUT)) |
| 543 | COMPATIBLE_IOCTL(MIXER_WRITE(SOUND_MIXER_VIDEO)) |
| 544 | COMPATIBLE_IOCTL(MIXER_WRITE(SOUND_MIXER_RADIO)) |
| 545 | COMPATIBLE_IOCTL(MIXER_WRITE(SOUND_MIXER_MONITOR)) |
| 546 | COMPATIBLE_IOCTL(SOUND_MIXER_WRITE_MUTE) |
| 547 | /* SOUND_MIXER_WRITE_ENHANCE, same value as WRITE_MUTE */ |
| 548 | /* SOUND_MIXER_WRITE_LOUD, same value as WRITE_MUTE */ |
| 549 | COMPATIBLE_IOCTL(SOUND_MIXER_WRITE_RECSRC) |
| 550 | COMPATIBLE_IOCTL(SOUND_MIXER_INFO) |
| 551 | COMPATIBLE_IOCTL(SOUND_OLD_MIXER_INFO) |
| 552 | COMPATIBLE_IOCTL(SOUND_MIXER_ACCESS) |
| 553 | COMPATIBLE_IOCTL(SOUND_MIXER_AGC) |
| 554 | COMPATIBLE_IOCTL(SOUND_MIXER_3DSE) |
| 555 | COMPATIBLE_IOCTL(SOUND_MIXER_PRIVATE1) |
| 556 | COMPATIBLE_IOCTL(SOUND_MIXER_PRIVATE2) |
| 557 | COMPATIBLE_IOCTL(SOUND_MIXER_PRIVATE3) |
| 558 | COMPATIBLE_IOCTL(SOUND_MIXER_PRIVATE4) |
| 559 | COMPATIBLE_IOCTL(SOUND_MIXER_PRIVATE5) |
| 560 | COMPATIBLE_IOCTL(SOUND_MIXER_GETLEVELS) |
| 561 | COMPATIBLE_IOCTL(SOUND_MIXER_SETLEVELS) |
| 562 | COMPATIBLE_IOCTL(OSS_GETVERSION) |
| 563 | /* AUTOFS */ |
| 564 | ULONG_IOCTL(AUTOFS_IOC_READY) |
| 565 | ULONG_IOCTL(AUTOFS_IOC_FAIL) |
| 566 | COMPATIBLE_IOCTL(AUTOFS_IOC_CATATONIC) |
| 567 | COMPATIBLE_IOCTL(AUTOFS_IOC_PROTOVER) |
| 568 | COMPATIBLE_IOCTL(AUTOFS_IOC_EXPIRE) |
| 569 | COMPATIBLE_IOCTL(AUTOFS_IOC_EXPIRE_MULTI) |
| 570 | COMPATIBLE_IOCTL(AUTOFS_IOC_PROTOSUBVER) |
| 571 | COMPATIBLE_IOCTL(AUTOFS_IOC_ASKREGHOST) |
| 572 | COMPATIBLE_IOCTL(AUTOFS_IOC_TOGGLEREGHOST) |
| 573 | COMPATIBLE_IOCTL(AUTOFS_IOC_ASKUMOUNT) |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 574 | /* Raw devices */ |
| 575 | COMPATIBLE_IOCTL(RAW_SETBIND) |
| 576 | COMPATIBLE_IOCTL(RAW_GETBIND) |
| 577 | /* SMB ioctls which do not need any translations */ |
| 578 | COMPATIBLE_IOCTL(SMB_IOC_NEWCONN) |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 579 | /* Little a */ |
| 580 | COMPATIBLE_IOCTL(ATMSIGD_CTRL) |
| 581 | COMPATIBLE_IOCTL(ATMARPD_CTRL) |
| 582 | COMPATIBLE_IOCTL(ATMLEC_CTRL) |
| 583 | COMPATIBLE_IOCTL(ATMLEC_MCAST) |
| 584 | COMPATIBLE_IOCTL(ATMLEC_DATA) |
| 585 | COMPATIBLE_IOCTL(ATM_SETSC) |
| 586 | COMPATIBLE_IOCTL(SIOCSIFATMTCP) |
| 587 | COMPATIBLE_IOCTL(SIOCMKCLIP) |
| 588 | COMPATIBLE_IOCTL(ATMARP_MKIP) |
| 589 | COMPATIBLE_IOCTL(ATMARP_SETENTRY) |
| 590 | COMPATIBLE_IOCTL(ATMARP_ENCAP) |
| 591 | COMPATIBLE_IOCTL(ATMTCP_CREATE) |
| 592 | COMPATIBLE_IOCTL(ATMTCP_REMOVE) |
| 593 | COMPATIBLE_IOCTL(ATMMPC_CTRL) |
| 594 | COMPATIBLE_IOCTL(ATMMPC_DATA) |
| 595 | /* Watchdog */ |
| 596 | COMPATIBLE_IOCTL(WDIOC_GETSUPPORT) |
| 597 | COMPATIBLE_IOCTL(WDIOC_GETSTATUS) |
| 598 | COMPATIBLE_IOCTL(WDIOC_GETBOOTSTATUS) |
| 599 | COMPATIBLE_IOCTL(WDIOC_GETTEMP) |
| 600 | COMPATIBLE_IOCTL(WDIOC_SETOPTIONS) |
| 601 | COMPATIBLE_IOCTL(WDIOC_KEEPALIVE) |
| 602 | COMPATIBLE_IOCTL(WDIOC_SETTIMEOUT) |
| 603 | COMPATIBLE_IOCTL(WDIOC_GETTIMEOUT) |
| 604 | /* Big R */ |
| 605 | COMPATIBLE_IOCTL(RNDGETENTCNT) |
| 606 | COMPATIBLE_IOCTL(RNDADDTOENTCNT) |
| 607 | COMPATIBLE_IOCTL(RNDGETPOOL) |
| 608 | COMPATIBLE_IOCTL(RNDADDENTROPY) |
| 609 | COMPATIBLE_IOCTL(RNDZAPENTCNT) |
| 610 | COMPATIBLE_IOCTL(RNDCLEARPOOL) |
| 611 | /* Bluetooth */ |
| 612 | COMPATIBLE_IOCTL(HCIDEVUP) |
| 613 | COMPATIBLE_IOCTL(HCIDEVDOWN) |
| 614 | COMPATIBLE_IOCTL(HCIDEVRESET) |
| 615 | COMPATIBLE_IOCTL(HCIDEVRESTAT) |
| 616 | COMPATIBLE_IOCTL(HCIGETDEVLIST) |
| 617 | COMPATIBLE_IOCTL(HCIGETDEVINFO) |
| 618 | COMPATIBLE_IOCTL(HCIGETCONNLIST) |
| 619 | COMPATIBLE_IOCTL(HCIGETCONNINFO) |
| 620 | COMPATIBLE_IOCTL(HCISETRAW) |
| 621 | COMPATIBLE_IOCTL(HCISETSCAN) |
| 622 | COMPATIBLE_IOCTL(HCISETAUTH) |
| 623 | COMPATIBLE_IOCTL(HCISETENCRYPT) |
| 624 | COMPATIBLE_IOCTL(HCISETPTYPE) |
| 625 | COMPATIBLE_IOCTL(HCISETLINKPOL) |
| 626 | COMPATIBLE_IOCTL(HCISETLINKMODE) |
| 627 | COMPATIBLE_IOCTL(HCISETACLMTU) |
| 628 | COMPATIBLE_IOCTL(HCISETSCOMTU) |
| 629 | COMPATIBLE_IOCTL(HCIINQUIRY) |
| 630 | COMPATIBLE_IOCTL(HCIUARTSETPROTO) |
| 631 | COMPATIBLE_IOCTL(HCIUARTGETPROTO) |
| 632 | COMPATIBLE_IOCTL(RFCOMMCREATEDEV) |
| 633 | COMPATIBLE_IOCTL(RFCOMMRELEASEDEV) |
| 634 | COMPATIBLE_IOCTL(RFCOMMGETDEVLIST) |
| 635 | COMPATIBLE_IOCTL(RFCOMMGETDEVINFO) |
| 636 | COMPATIBLE_IOCTL(RFCOMMSTEALDLC) |
| 637 | COMPATIBLE_IOCTL(BNEPCONNADD) |
| 638 | COMPATIBLE_IOCTL(BNEPCONNDEL) |
| 639 | COMPATIBLE_IOCTL(BNEPGETCONNLIST) |
| 640 | COMPATIBLE_IOCTL(BNEPGETCONNINFO) |
| 641 | COMPATIBLE_IOCTL(CMTPCONNADD) |
| 642 | COMPATIBLE_IOCTL(CMTPCONNDEL) |
| 643 | COMPATIBLE_IOCTL(CMTPGETCONNLIST) |
| 644 | COMPATIBLE_IOCTL(CMTPGETCONNINFO) |
| 645 | COMPATIBLE_IOCTL(HIDPCONNADD) |
| 646 | COMPATIBLE_IOCTL(HIDPCONNDEL) |
| 647 | COMPATIBLE_IOCTL(HIDPGETCONNLIST) |
| 648 | COMPATIBLE_IOCTL(HIDPGETCONNINFO) |
| 649 | /* CAPI */ |
| 650 | COMPATIBLE_IOCTL(CAPI_REGISTER) |
| 651 | COMPATIBLE_IOCTL(CAPI_GET_MANUFACTURER) |
| 652 | COMPATIBLE_IOCTL(CAPI_GET_VERSION) |
| 653 | COMPATIBLE_IOCTL(CAPI_GET_SERIAL) |
| 654 | COMPATIBLE_IOCTL(CAPI_GET_PROFILE) |
| 655 | COMPATIBLE_IOCTL(CAPI_MANUFACTURER_CMD) |
| 656 | COMPATIBLE_IOCTL(CAPI_GET_ERRCODE) |
| 657 | COMPATIBLE_IOCTL(CAPI_INSTALLED) |
| 658 | COMPATIBLE_IOCTL(CAPI_GET_FLAGS) |
| 659 | COMPATIBLE_IOCTL(CAPI_SET_FLAGS) |
| 660 | COMPATIBLE_IOCTL(CAPI_CLR_FLAGS) |
| 661 | COMPATIBLE_IOCTL(CAPI_NCCI_OPENCOUNT) |
| 662 | COMPATIBLE_IOCTL(CAPI_NCCI_GETUNIT) |
Hansjoerg Lipp | 5024ad4 | 2006-06-26 00:25:35 -0700 | [diff] [blame] | 663 | /* Siemens Gigaset */ |
| 664 | COMPATIBLE_IOCTL(GIGASET_REDIR) |
| 665 | COMPATIBLE_IOCTL(GIGASET_CONFIG) |
| 666 | COMPATIBLE_IOCTL(GIGASET_BRKCHARS) |
| 667 | COMPATIBLE_IOCTL(GIGASET_VERSION) |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 668 | /* Misc. */ |
| 669 | COMPATIBLE_IOCTL(0x41545900) /* ATYIO_CLKR */ |
| 670 | COMPATIBLE_IOCTL(0x41545901) /* ATYIO_CLKW */ |
| 671 | COMPATIBLE_IOCTL(PCIIOC_CONTROLLER) |
| 672 | COMPATIBLE_IOCTL(PCIIOC_MMAP_IS_IO) |
| 673 | COMPATIBLE_IOCTL(PCIIOC_MMAP_IS_MEM) |
| 674 | COMPATIBLE_IOCTL(PCIIOC_WRITE_COMBINE) |
| 675 | /* USB */ |
| 676 | COMPATIBLE_IOCTL(USBDEVFS_RESETEP) |
| 677 | COMPATIBLE_IOCTL(USBDEVFS_SETINTERFACE) |
| 678 | COMPATIBLE_IOCTL(USBDEVFS_SETCONFIGURATION) |
| 679 | COMPATIBLE_IOCTL(USBDEVFS_GETDRIVER) |
| 680 | COMPATIBLE_IOCTL(USBDEVFS_DISCARDURB) |
| 681 | COMPATIBLE_IOCTL(USBDEVFS_CLAIMINTERFACE) |
| 682 | COMPATIBLE_IOCTL(USBDEVFS_RELEASEINTERFACE) |
| 683 | COMPATIBLE_IOCTL(USBDEVFS_CONNECTINFO) |
| 684 | COMPATIBLE_IOCTL(USBDEVFS_HUB_PORTINFO) |
| 685 | COMPATIBLE_IOCTL(USBDEVFS_RESET) |
| 686 | COMPATIBLE_IOCTL(USBDEVFS_SUBMITURB32) |
| 687 | COMPATIBLE_IOCTL(USBDEVFS_REAPURB32) |
| 688 | COMPATIBLE_IOCTL(USBDEVFS_REAPURBNDELAY32) |
| 689 | COMPATIBLE_IOCTL(USBDEVFS_CLEAR_HALT) |
| 690 | /* MTD */ |
| 691 | COMPATIBLE_IOCTL(MEMGETINFO) |
| 692 | COMPATIBLE_IOCTL(MEMERASE) |
| 693 | COMPATIBLE_IOCTL(MEMLOCK) |
| 694 | COMPATIBLE_IOCTL(MEMUNLOCK) |
| 695 | COMPATIBLE_IOCTL(MEMGETREGIONCOUNT) |
| 696 | COMPATIBLE_IOCTL(MEMGETREGIONINFO) |
Atsushi Nemoto | 0ef675d | 2006-03-09 17:33:38 -0800 | [diff] [blame] | 697 | COMPATIBLE_IOCTL(MEMGETBADBLOCK) |
| 698 | COMPATIBLE_IOCTL(MEMSETBADBLOCK) |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 699 | /* NBD */ |
| 700 | ULONG_IOCTL(NBD_SET_SOCK) |
| 701 | ULONG_IOCTL(NBD_SET_BLKSIZE) |
| 702 | ULONG_IOCTL(NBD_SET_SIZE) |
| 703 | COMPATIBLE_IOCTL(NBD_DO_IT) |
| 704 | COMPATIBLE_IOCTL(NBD_CLEAR_SOCK) |
| 705 | COMPATIBLE_IOCTL(NBD_CLEAR_QUE) |
| 706 | COMPATIBLE_IOCTL(NBD_PRINT_DEBUG) |
| 707 | ULONG_IOCTL(NBD_SET_SIZE_BLOCKS) |
| 708 | COMPATIBLE_IOCTL(NBD_DISCONNECT) |
| 709 | /* i2c */ |
| 710 | COMPATIBLE_IOCTL(I2C_SLAVE) |
| 711 | COMPATIBLE_IOCTL(I2C_SLAVE_FORCE) |
| 712 | COMPATIBLE_IOCTL(I2C_TENBIT) |
| 713 | COMPATIBLE_IOCTL(I2C_PEC) |
| 714 | COMPATIBLE_IOCTL(I2C_RETRIES) |
| 715 | COMPATIBLE_IOCTL(I2C_TIMEOUT) |
| 716 | /* wireless */ |
| 717 | COMPATIBLE_IOCTL(SIOCSIWCOMMIT) |
| 718 | COMPATIBLE_IOCTL(SIOCGIWNAME) |
| 719 | COMPATIBLE_IOCTL(SIOCSIWNWID) |
| 720 | COMPATIBLE_IOCTL(SIOCGIWNWID) |
| 721 | COMPATIBLE_IOCTL(SIOCSIWFREQ) |
| 722 | COMPATIBLE_IOCTL(SIOCGIWFREQ) |
| 723 | COMPATIBLE_IOCTL(SIOCSIWMODE) |
| 724 | COMPATIBLE_IOCTL(SIOCGIWMODE) |
| 725 | COMPATIBLE_IOCTL(SIOCSIWSENS) |
| 726 | COMPATIBLE_IOCTL(SIOCGIWSENS) |
| 727 | COMPATIBLE_IOCTL(SIOCSIWRANGE) |
| 728 | COMPATIBLE_IOCTL(SIOCSIWPRIV) |
| 729 | COMPATIBLE_IOCTL(SIOCGIWPRIV) |
| 730 | COMPATIBLE_IOCTL(SIOCSIWSTATS) |
| 731 | COMPATIBLE_IOCTL(SIOCGIWSTATS) |
| 732 | COMPATIBLE_IOCTL(SIOCSIWAP) |
| 733 | COMPATIBLE_IOCTL(SIOCGIWAP) |
| 734 | COMPATIBLE_IOCTL(SIOCSIWSCAN) |
| 735 | COMPATIBLE_IOCTL(SIOCSIWRATE) |
| 736 | COMPATIBLE_IOCTL(SIOCGIWRATE) |
| 737 | COMPATIBLE_IOCTL(SIOCSIWRTS) |
| 738 | COMPATIBLE_IOCTL(SIOCGIWRTS) |
| 739 | COMPATIBLE_IOCTL(SIOCSIWFRAG) |
| 740 | COMPATIBLE_IOCTL(SIOCGIWFRAG) |
| 741 | COMPATIBLE_IOCTL(SIOCSIWTXPOW) |
| 742 | COMPATIBLE_IOCTL(SIOCGIWTXPOW) |
| 743 | COMPATIBLE_IOCTL(SIOCSIWRETRY) |
| 744 | COMPATIBLE_IOCTL(SIOCGIWRETRY) |
| 745 | COMPATIBLE_IOCTL(SIOCSIWPOWER) |
| 746 | COMPATIBLE_IOCTL(SIOCGIWPOWER) |
| 747 | /* hiddev */ |
| 748 | COMPATIBLE_IOCTL(HIDIOCGVERSION) |
| 749 | COMPATIBLE_IOCTL(HIDIOCAPPLICATION) |
| 750 | COMPATIBLE_IOCTL(HIDIOCGDEVINFO) |
| 751 | COMPATIBLE_IOCTL(HIDIOCGSTRING) |
| 752 | COMPATIBLE_IOCTL(HIDIOCINITREPORT) |
| 753 | COMPATIBLE_IOCTL(HIDIOCGREPORT) |
| 754 | COMPATIBLE_IOCTL(HIDIOCSREPORT) |
| 755 | COMPATIBLE_IOCTL(HIDIOCGREPORTINFO) |
| 756 | COMPATIBLE_IOCTL(HIDIOCGFIELDINFO) |
| 757 | COMPATIBLE_IOCTL(HIDIOCGUSAGE) |
| 758 | COMPATIBLE_IOCTL(HIDIOCSUSAGE) |
| 759 | COMPATIBLE_IOCTL(HIDIOCGUCODE) |
| 760 | COMPATIBLE_IOCTL(HIDIOCGFLAG) |
| 761 | COMPATIBLE_IOCTL(HIDIOCSFLAG) |
| 762 | COMPATIBLE_IOCTL(HIDIOCGCOLLECTIONINDEX) |
| 763 | COMPATIBLE_IOCTL(HIDIOCGCOLLECTIONINFO) |
David S. Miller | 6e87abd | 2005-11-16 00:52:57 -0800 | [diff] [blame] | 764 | /* dvb */ |
| 765 | COMPATIBLE_IOCTL(AUDIO_STOP) |
| 766 | COMPATIBLE_IOCTL(AUDIO_PLAY) |
| 767 | COMPATIBLE_IOCTL(AUDIO_PAUSE) |
| 768 | COMPATIBLE_IOCTL(AUDIO_CONTINUE) |
| 769 | COMPATIBLE_IOCTL(AUDIO_SELECT_SOURCE) |
| 770 | COMPATIBLE_IOCTL(AUDIO_SET_MUTE) |
| 771 | COMPATIBLE_IOCTL(AUDIO_SET_AV_SYNC) |
| 772 | COMPATIBLE_IOCTL(AUDIO_SET_BYPASS_MODE) |
| 773 | COMPATIBLE_IOCTL(AUDIO_CHANNEL_SELECT) |
| 774 | COMPATIBLE_IOCTL(AUDIO_GET_STATUS) |
| 775 | COMPATIBLE_IOCTL(AUDIO_GET_CAPABILITIES) |
| 776 | COMPATIBLE_IOCTL(AUDIO_CLEAR_BUFFER) |
| 777 | COMPATIBLE_IOCTL(AUDIO_SET_ID) |
| 778 | COMPATIBLE_IOCTL(AUDIO_SET_MIXER) |
| 779 | COMPATIBLE_IOCTL(AUDIO_SET_STREAMTYPE) |
| 780 | COMPATIBLE_IOCTL(AUDIO_SET_EXT_ID) |
| 781 | COMPATIBLE_IOCTL(AUDIO_SET_ATTRIBUTES) |
| 782 | COMPATIBLE_IOCTL(AUDIO_SET_KARAOKE) |
| 783 | COMPATIBLE_IOCTL(DMX_START) |
| 784 | COMPATIBLE_IOCTL(DMX_STOP) |
| 785 | COMPATIBLE_IOCTL(DMX_SET_FILTER) |
| 786 | COMPATIBLE_IOCTL(DMX_SET_PES_FILTER) |
| 787 | COMPATIBLE_IOCTL(DMX_SET_BUFFER_SIZE) |
| 788 | COMPATIBLE_IOCTL(DMX_GET_PES_PIDS) |
| 789 | COMPATIBLE_IOCTL(DMX_GET_CAPS) |
| 790 | COMPATIBLE_IOCTL(DMX_SET_SOURCE) |
| 791 | COMPATIBLE_IOCTL(DMX_GET_STC) |
| 792 | COMPATIBLE_IOCTL(FE_GET_INFO) |
| 793 | COMPATIBLE_IOCTL(FE_DISEQC_RESET_OVERLOAD) |
| 794 | COMPATIBLE_IOCTL(FE_DISEQC_SEND_MASTER_CMD) |
| 795 | COMPATIBLE_IOCTL(FE_DISEQC_RECV_SLAVE_REPLY) |
| 796 | COMPATIBLE_IOCTL(FE_DISEQC_SEND_BURST) |
| 797 | COMPATIBLE_IOCTL(FE_SET_TONE) |
| 798 | COMPATIBLE_IOCTL(FE_SET_VOLTAGE) |
| 799 | COMPATIBLE_IOCTL(FE_ENABLE_HIGH_LNB_VOLTAGE) |
| 800 | COMPATIBLE_IOCTL(FE_READ_STATUS) |
| 801 | COMPATIBLE_IOCTL(FE_READ_BER) |
| 802 | COMPATIBLE_IOCTL(FE_READ_SIGNAL_STRENGTH) |
| 803 | COMPATIBLE_IOCTL(FE_READ_SNR) |
| 804 | COMPATIBLE_IOCTL(FE_READ_UNCORRECTED_BLOCKS) |
| 805 | COMPATIBLE_IOCTL(FE_SET_FRONTEND) |
| 806 | COMPATIBLE_IOCTL(FE_GET_FRONTEND) |
| 807 | COMPATIBLE_IOCTL(FE_GET_EVENT) |
| 808 | COMPATIBLE_IOCTL(FE_DISHNETWORK_SEND_LEGACY_CMD) |
| 809 | COMPATIBLE_IOCTL(VIDEO_STOP) |
| 810 | COMPATIBLE_IOCTL(VIDEO_PLAY) |
| 811 | COMPATIBLE_IOCTL(VIDEO_FREEZE) |
| 812 | COMPATIBLE_IOCTL(VIDEO_CONTINUE) |
| 813 | COMPATIBLE_IOCTL(VIDEO_SELECT_SOURCE) |
| 814 | COMPATIBLE_IOCTL(VIDEO_SET_BLANK) |
| 815 | COMPATIBLE_IOCTL(VIDEO_GET_STATUS) |
| 816 | COMPATIBLE_IOCTL(VIDEO_SET_DISPLAY_FORMAT) |
| 817 | COMPATIBLE_IOCTL(VIDEO_FAST_FORWARD) |
| 818 | COMPATIBLE_IOCTL(VIDEO_SLOWMOTION) |
| 819 | COMPATIBLE_IOCTL(VIDEO_GET_CAPABILITIES) |
| 820 | COMPATIBLE_IOCTL(VIDEO_CLEAR_BUFFER) |
| 821 | COMPATIBLE_IOCTL(VIDEO_SET_ID) |
| 822 | COMPATIBLE_IOCTL(VIDEO_SET_STREAMTYPE) |
| 823 | COMPATIBLE_IOCTL(VIDEO_SET_FORMAT) |
| 824 | COMPATIBLE_IOCTL(VIDEO_SET_SYSTEM) |
| 825 | COMPATIBLE_IOCTL(VIDEO_SET_HIGHLIGHT) |
| 826 | COMPATIBLE_IOCTL(VIDEO_SET_SPU) |
| 827 | COMPATIBLE_IOCTL(VIDEO_GET_NAVI) |
| 828 | COMPATIBLE_IOCTL(VIDEO_SET_ATTRIBUTES) |
| 829 | COMPATIBLE_IOCTL(VIDEO_GET_SIZE) |
| 830 | COMPATIBLE_IOCTL(VIDEO_GET_FRAME_RATE) |