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