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