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