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 | */ |
| 5 | #ifndef COMPATIBLE_IOCTL /* pointer to compatible structure or no argument */ |
| 6 | #define COMPATIBLE_IOCTL(cmd) HANDLE_IOCTL((cmd),(ioctl_trans_handler_t)sys_ioctl) |
| 7 | #endif |
| 8 | |
| 9 | #ifndef ULONG_IOCTL /* argument is an unsigned long integer, not a pointer */ |
| 10 | #define ULONG_IOCTL(cmd) HANDLE_IOCTL((cmd),(ioctl_trans_handler_t)sys_ioctl) |
| 11 | #endif |
| 12 | |
| 13 | /* Big T */ |
| 14 | COMPATIBLE_IOCTL(TCGETA) |
| 15 | COMPATIBLE_IOCTL(TCSETA) |
| 16 | COMPATIBLE_IOCTL(TCSETAW) |
| 17 | COMPATIBLE_IOCTL(TCSETAF) |
| 18 | COMPATIBLE_IOCTL(TCSBRK) |
| 19 | ULONG_IOCTL(TCSBRKP) |
| 20 | COMPATIBLE_IOCTL(TCXONC) |
| 21 | COMPATIBLE_IOCTL(TCFLSH) |
| 22 | COMPATIBLE_IOCTL(TCGETS) |
| 23 | COMPATIBLE_IOCTL(TCSETS) |
| 24 | COMPATIBLE_IOCTL(TCSETSW) |
| 25 | COMPATIBLE_IOCTL(TCSETSF) |
| 26 | COMPATIBLE_IOCTL(TIOCLINUX) |
| 27 | COMPATIBLE_IOCTL(TIOCSBRK) |
| 28 | COMPATIBLE_IOCTL(TIOCCBRK) |
| 29 | ULONG_IOCTL(TIOCMIWAIT) |
| 30 | COMPATIBLE_IOCTL(TIOCGICOUNT) |
| 31 | /* Little t */ |
| 32 | COMPATIBLE_IOCTL(TIOCGETD) |
| 33 | COMPATIBLE_IOCTL(TIOCSETD) |
| 34 | COMPATIBLE_IOCTL(TIOCEXCL) |
| 35 | COMPATIBLE_IOCTL(TIOCNXCL) |
| 36 | COMPATIBLE_IOCTL(TIOCCONS) |
| 37 | COMPATIBLE_IOCTL(TIOCGSOFTCAR) |
| 38 | COMPATIBLE_IOCTL(TIOCSSOFTCAR) |
| 39 | COMPATIBLE_IOCTL(TIOCSWINSZ) |
| 40 | COMPATIBLE_IOCTL(TIOCGWINSZ) |
| 41 | COMPATIBLE_IOCTL(TIOCMGET) |
| 42 | COMPATIBLE_IOCTL(TIOCMBIC) |
| 43 | COMPATIBLE_IOCTL(TIOCMBIS) |
| 44 | COMPATIBLE_IOCTL(TIOCMSET) |
| 45 | COMPATIBLE_IOCTL(TIOCPKT) |
| 46 | COMPATIBLE_IOCTL(TIOCNOTTY) |
| 47 | COMPATIBLE_IOCTL(TIOCSTI) |
| 48 | COMPATIBLE_IOCTL(TIOCOUTQ) |
| 49 | COMPATIBLE_IOCTL(TIOCSPGRP) |
| 50 | COMPATIBLE_IOCTL(TIOCGPGRP) |
| 51 | ULONG_IOCTL(TIOCSCTTY) |
| 52 | COMPATIBLE_IOCTL(TIOCGPTN) |
| 53 | COMPATIBLE_IOCTL(TIOCSPTLCK) |
| 54 | COMPATIBLE_IOCTL(TIOCSERGETLSR) |
| 55 | /* Big F */ |
| 56 | COMPATIBLE_IOCTL(FBIOBLANK) |
| 57 | COMPATIBLE_IOCTL(FBIOGET_VSCREENINFO) |
| 58 | COMPATIBLE_IOCTL(FBIOPUT_VSCREENINFO) |
| 59 | COMPATIBLE_IOCTL(FBIOPAN_DISPLAY) |
| 60 | COMPATIBLE_IOCTL(FBIOGET_CON2FBMAP) |
| 61 | COMPATIBLE_IOCTL(FBIOPUT_CON2FBMAP) |
| 62 | /* Little f */ |
| 63 | COMPATIBLE_IOCTL(FIOCLEX) |
| 64 | COMPATIBLE_IOCTL(FIONCLEX) |
| 65 | COMPATIBLE_IOCTL(FIOASYNC) |
| 66 | COMPATIBLE_IOCTL(FIONBIO) |
| 67 | COMPATIBLE_IOCTL(FIONREAD) /* This is also TIOCINQ */ |
| 68 | /* 0x00 */ |
| 69 | COMPATIBLE_IOCTL(FIBMAP) |
| 70 | COMPATIBLE_IOCTL(FIGETBSZ) |
| 71 | /* 0x03 -- HD/IDE ioctl's used by hdparm and friends. |
| 72 | * Some need translations, these do not. |
| 73 | */ |
| 74 | COMPATIBLE_IOCTL(HDIO_GET_IDENTITY) |
| 75 | COMPATIBLE_IOCTL(HDIO_SET_DMA) |
| 76 | COMPATIBLE_IOCTL(HDIO_SET_UNMASKINTR) |
| 77 | COMPATIBLE_IOCTL(HDIO_SET_NOWERR) |
| 78 | COMPATIBLE_IOCTL(HDIO_SET_32BIT) |
| 79 | COMPATIBLE_IOCTL(HDIO_SET_MULTCOUNT) |
| 80 | COMPATIBLE_IOCTL(HDIO_DRIVE_CMD) |
| 81 | COMPATIBLE_IOCTL(HDIO_DRIVE_TASK) |
| 82 | COMPATIBLE_IOCTL(HDIO_SET_PIO_MODE) |
| 83 | COMPATIBLE_IOCTL(HDIO_SET_NICE) |
| 84 | /* 0x02 -- Floppy ioctls */ |
| 85 | COMPATIBLE_IOCTL(FDMSGON) |
| 86 | COMPATIBLE_IOCTL(FDMSGOFF) |
| 87 | COMPATIBLE_IOCTL(FDSETEMSGTRESH) |
| 88 | COMPATIBLE_IOCTL(FDFLUSH) |
| 89 | COMPATIBLE_IOCTL(FDWERRORCLR) |
| 90 | COMPATIBLE_IOCTL(FDSETMAXERRS) |
| 91 | COMPATIBLE_IOCTL(FDGETMAXERRS) |
| 92 | COMPATIBLE_IOCTL(FDGETDRVTYP) |
| 93 | COMPATIBLE_IOCTL(FDEJECT) |
| 94 | COMPATIBLE_IOCTL(FDCLRPRM) |
| 95 | COMPATIBLE_IOCTL(FDFMTBEG) |
| 96 | COMPATIBLE_IOCTL(FDFMTEND) |
| 97 | COMPATIBLE_IOCTL(FDRESET) |
| 98 | COMPATIBLE_IOCTL(FDTWADDLE) |
| 99 | COMPATIBLE_IOCTL(FDFMTTRK) |
| 100 | COMPATIBLE_IOCTL(FDRAWCMD) |
| 101 | /* 0x12 */ |
| 102 | COMPATIBLE_IOCTL(BLKROSET) |
| 103 | COMPATIBLE_IOCTL(BLKROGET) |
| 104 | COMPATIBLE_IOCTL(BLKRRPART) |
| 105 | COMPATIBLE_IOCTL(BLKFLSBUF) |
| 106 | COMPATIBLE_IOCTL(BLKSECTSET) |
| 107 | COMPATIBLE_IOCTL(BLKSSZGET) |
| 108 | ULONG_IOCTL(BLKRASET) |
| 109 | ULONG_IOCTL(BLKFRASET) |
| 110 | /* RAID */ |
| 111 | COMPATIBLE_IOCTL(RAID_VERSION) |
| 112 | COMPATIBLE_IOCTL(GET_ARRAY_INFO) |
| 113 | COMPATIBLE_IOCTL(GET_DISK_INFO) |
| 114 | COMPATIBLE_IOCTL(PRINT_RAID_DEBUG) |
| 115 | COMPATIBLE_IOCTL(RAID_AUTORUN) |
| 116 | COMPATIBLE_IOCTL(CLEAR_ARRAY) |
| 117 | COMPATIBLE_IOCTL(ADD_NEW_DISK) |
| 118 | ULONG_IOCTL(HOT_REMOVE_DISK) |
| 119 | COMPATIBLE_IOCTL(SET_ARRAY_INFO) |
| 120 | COMPATIBLE_IOCTL(SET_DISK_INFO) |
| 121 | COMPATIBLE_IOCTL(WRITE_RAID_INFO) |
| 122 | COMPATIBLE_IOCTL(UNPROTECT_ARRAY) |
| 123 | COMPATIBLE_IOCTL(PROTECT_ARRAY) |
| 124 | ULONG_IOCTL(HOT_ADD_DISK) |
| 125 | ULONG_IOCTL(SET_DISK_FAULTY) |
| 126 | COMPATIBLE_IOCTL(RUN_ARRAY) |
| 127 | ULONG_IOCTL(START_ARRAY) |
| 128 | COMPATIBLE_IOCTL(STOP_ARRAY) |
| 129 | COMPATIBLE_IOCTL(STOP_ARRAY_RO) |
| 130 | COMPATIBLE_IOCTL(RESTART_ARRAY_RW) |
| 131 | /* DM */ |
| 132 | COMPATIBLE_IOCTL(DM_VERSION_32) |
| 133 | COMPATIBLE_IOCTL(DM_REMOVE_ALL_32) |
| 134 | COMPATIBLE_IOCTL(DM_LIST_DEVICES_32) |
| 135 | COMPATIBLE_IOCTL(DM_DEV_CREATE_32) |
| 136 | COMPATIBLE_IOCTL(DM_DEV_REMOVE_32) |
| 137 | COMPATIBLE_IOCTL(DM_DEV_RENAME_32) |
| 138 | COMPATIBLE_IOCTL(DM_DEV_SUSPEND_32) |
| 139 | COMPATIBLE_IOCTL(DM_DEV_STATUS_32) |
| 140 | COMPATIBLE_IOCTL(DM_DEV_WAIT_32) |
| 141 | COMPATIBLE_IOCTL(DM_TABLE_LOAD_32) |
| 142 | COMPATIBLE_IOCTL(DM_TABLE_CLEAR_32) |
| 143 | COMPATIBLE_IOCTL(DM_TABLE_DEPS_32) |
| 144 | COMPATIBLE_IOCTL(DM_TABLE_STATUS_32) |
| 145 | COMPATIBLE_IOCTL(DM_LIST_VERSIONS_32) |
| 146 | COMPATIBLE_IOCTL(DM_TARGET_MSG_32) |
| 147 | COMPATIBLE_IOCTL(DM_VERSION) |
| 148 | COMPATIBLE_IOCTL(DM_REMOVE_ALL) |
| 149 | COMPATIBLE_IOCTL(DM_LIST_DEVICES) |
| 150 | COMPATIBLE_IOCTL(DM_DEV_CREATE) |
| 151 | COMPATIBLE_IOCTL(DM_DEV_REMOVE) |
| 152 | COMPATIBLE_IOCTL(DM_DEV_RENAME) |
| 153 | COMPATIBLE_IOCTL(DM_DEV_SUSPEND) |
| 154 | COMPATIBLE_IOCTL(DM_DEV_STATUS) |
| 155 | COMPATIBLE_IOCTL(DM_DEV_WAIT) |
| 156 | COMPATIBLE_IOCTL(DM_TABLE_LOAD) |
| 157 | COMPATIBLE_IOCTL(DM_TABLE_CLEAR) |
| 158 | COMPATIBLE_IOCTL(DM_TABLE_DEPS) |
| 159 | COMPATIBLE_IOCTL(DM_TABLE_STATUS) |
| 160 | COMPATIBLE_IOCTL(DM_LIST_VERSIONS) |
| 161 | COMPATIBLE_IOCTL(DM_TARGET_MSG) |
| 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) |
| 221 | /* Little v */ |
| 222 | /* Little v, the video4linux ioctls (conflict?) */ |
| 223 | COMPATIBLE_IOCTL(VIDIOCGCAP) |
| 224 | COMPATIBLE_IOCTL(VIDIOCGCHAN) |
| 225 | COMPATIBLE_IOCTL(VIDIOCSCHAN) |
| 226 | COMPATIBLE_IOCTL(VIDIOCGPICT) |
| 227 | COMPATIBLE_IOCTL(VIDIOCSPICT) |
| 228 | COMPATIBLE_IOCTL(VIDIOCCAPTURE) |
| 229 | COMPATIBLE_IOCTL(VIDIOCKEY) |
| 230 | COMPATIBLE_IOCTL(VIDIOCGAUDIO) |
| 231 | COMPATIBLE_IOCTL(VIDIOCSAUDIO) |
| 232 | COMPATIBLE_IOCTL(VIDIOCSYNC) |
| 233 | COMPATIBLE_IOCTL(VIDIOCMCAPTURE) |
| 234 | COMPATIBLE_IOCTL(VIDIOCGMBUF) |
| 235 | COMPATIBLE_IOCTL(VIDIOCGUNIT) |
| 236 | COMPATIBLE_IOCTL(VIDIOCGCAPTURE) |
| 237 | COMPATIBLE_IOCTL(VIDIOCSCAPTURE) |
| 238 | /* BTTV specific... */ |
| 239 | COMPATIBLE_IOCTL(_IOW('v', BASE_VIDIOCPRIVATE+0, char [256])) |
| 240 | COMPATIBLE_IOCTL(_IOR('v', BASE_VIDIOCPRIVATE+1, char [256])) |
| 241 | COMPATIBLE_IOCTL(_IOR('v' , BASE_VIDIOCPRIVATE+2, unsigned int)) |
| 242 | COMPATIBLE_IOCTL(_IOW('v' , BASE_VIDIOCPRIVATE+3, char [16])) /* struct bttv_pll_info */ |
| 243 | COMPATIBLE_IOCTL(_IOR('v' , BASE_VIDIOCPRIVATE+4, int)) |
| 244 | COMPATIBLE_IOCTL(_IOR('v' , BASE_VIDIOCPRIVATE+5, int)) |
| 245 | COMPATIBLE_IOCTL(_IOR('v' , BASE_VIDIOCPRIVATE+6, int)) |
| 246 | COMPATIBLE_IOCTL(_IOR('v' , BASE_VIDIOCPRIVATE+7, int)) |
| 247 | /* Little p (/dev/rtc, /dev/envctrl, etc.) */ |
| 248 | COMPATIBLE_IOCTL(RTC_AIE_ON) |
| 249 | COMPATIBLE_IOCTL(RTC_AIE_OFF) |
| 250 | COMPATIBLE_IOCTL(RTC_UIE_ON) |
| 251 | COMPATIBLE_IOCTL(RTC_UIE_OFF) |
| 252 | COMPATIBLE_IOCTL(RTC_PIE_ON) |
| 253 | COMPATIBLE_IOCTL(RTC_PIE_OFF) |
| 254 | COMPATIBLE_IOCTL(RTC_WIE_ON) |
| 255 | COMPATIBLE_IOCTL(RTC_WIE_OFF) |
| 256 | COMPATIBLE_IOCTL(RTC_ALM_SET) |
| 257 | COMPATIBLE_IOCTL(RTC_ALM_READ) |
| 258 | COMPATIBLE_IOCTL(RTC_RD_TIME) |
| 259 | COMPATIBLE_IOCTL(RTC_SET_TIME) |
| 260 | COMPATIBLE_IOCTL(RTC_WKALM_SET) |
| 261 | COMPATIBLE_IOCTL(RTC_WKALM_RD) |
| 262 | /* Little m */ |
| 263 | COMPATIBLE_IOCTL(MTIOCTOP) |
| 264 | /* Socket level stuff */ |
| 265 | COMPATIBLE_IOCTL(FIOSETOWN) |
| 266 | COMPATIBLE_IOCTL(SIOCSPGRP) |
| 267 | COMPATIBLE_IOCTL(FIOGETOWN) |
| 268 | COMPATIBLE_IOCTL(SIOCGPGRP) |
| 269 | COMPATIBLE_IOCTL(SIOCATMARK) |
| 270 | COMPATIBLE_IOCTL(SIOCSIFLINK) |
| 271 | COMPATIBLE_IOCTL(SIOCSIFENCAP) |
| 272 | COMPATIBLE_IOCTL(SIOCGIFENCAP) |
| 273 | COMPATIBLE_IOCTL(SIOCSIFNAME) |
| 274 | COMPATIBLE_IOCTL(SIOCSARP) |
| 275 | COMPATIBLE_IOCTL(SIOCGARP) |
| 276 | COMPATIBLE_IOCTL(SIOCDARP) |
| 277 | COMPATIBLE_IOCTL(SIOCSRARP) |
| 278 | COMPATIBLE_IOCTL(SIOCGRARP) |
| 279 | COMPATIBLE_IOCTL(SIOCDRARP) |
| 280 | COMPATIBLE_IOCTL(SIOCADDDLCI) |
| 281 | COMPATIBLE_IOCTL(SIOCDELDLCI) |
| 282 | COMPATIBLE_IOCTL(SIOCGMIIPHY) |
| 283 | COMPATIBLE_IOCTL(SIOCGMIIREG) |
| 284 | COMPATIBLE_IOCTL(SIOCSMIIREG) |
| 285 | COMPATIBLE_IOCTL(SIOCGIFVLAN) |
| 286 | COMPATIBLE_IOCTL(SIOCSIFVLAN) |
| 287 | COMPATIBLE_IOCTL(SIOCBRADDBR) |
| 288 | COMPATIBLE_IOCTL(SIOCBRDELBR) |
| 289 | /* SG stuff */ |
| 290 | COMPATIBLE_IOCTL(SG_SET_TIMEOUT) |
| 291 | COMPATIBLE_IOCTL(SG_GET_TIMEOUT) |
| 292 | COMPATIBLE_IOCTL(SG_EMULATED_HOST) |
| 293 | ULONG_IOCTL(SG_SET_TRANSFORM) |
| 294 | COMPATIBLE_IOCTL(SG_GET_TRANSFORM) |
| 295 | COMPATIBLE_IOCTL(SG_SET_RESERVED_SIZE) |
| 296 | COMPATIBLE_IOCTL(SG_GET_RESERVED_SIZE) |
| 297 | COMPATIBLE_IOCTL(SG_GET_SCSI_ID) |
| 298 | COMPATIBLE_IOCTL(SG_SET_FORCE_LOW_DMA) |
| 299 | COMPATIBLE_IOCTL(SG_GET_LOW_DMA) |
| 300 | COMPATIBLE_IOCTL(SG_SET_FORCE_PACK_ID) |
| 301 | COMPATIBLE_IOCTL(SG_GET_PACK_ID) |
| 302 | COMPATIBLE_IOCTL(SG_GET_NUM_WAITING) |
| 303 | COMPATIBLE_IOCTL(SG_SET_DEBUG) |
| 304 | COMPATIBLE_IOCTL(SG_GET_SG_TABLESIZE) |
| 305 | COMPATIBLE_IOCTL(SG_GET_COMMAND_Q) |
| 306 | COMPATIBLE_IOCTL(SG_SET_COMMAND_Q) |
| 307 | COMPATIBLE_IOCTL(SG_GET_VERSION_NUM) |
| 308 | COMPATIBLE_IOCTL(SG_NEXT_CMD_LEN) |
| 309 | COMPATIBLE_IOCTL(SG_SCSI_RESET) |
| 310 | COMPATIBLE_IOCTL(SG_GET_REQUEST_TABLE) |
| 311 | COMPATIBLE_IOCTL(SG_SET_KEEP_ORPHAN) |
| 312 | COMPATIBLE_IOCTL(SG_GET_KEEP_ORPHAN) |
| 313 | /* PPP stuff */ |
| 314 | COMPATIBLE_IOCTL(PPPIOCGFLAGS) |
| 315 | COMPATIBLE_IOCTL(PPPIOCSFLAGS) |
| 316 | COMPATIBLE_IOCTL(PPPIOCGASYNCMAP) |
| 317 | COMPATIBLE_IOCTL(PPPIOCSASYNCMAP) |
| 318 | COMPATIBLE_IOCTL(PPPIOCGUNIT) |
| 319 | COMPATIBLE_IOCTL(PPPIOCGRASYNCMAP) |
| 320 | COMPATIBLE_IOCTL(PPPIOCSRASYNCMAP) |
| 321 | COMPATIBLE_IOCTL(PPPIOCGMRU) |
| 322 | COMPATIBLE_IOCTL(PPPIOCSMRU) |
| 323 | COMPATIBLE_IOCTL(PPPIOCSMAXCID) |
| 324 | COMPATIBLE_IOCTL(PPPIOCGXASYNCMAP) |
| 325 | COMPATIBLE_IOCTL(PPPIOCSXASYNCMAP) |
| 326 | COMPATIBLE_IOCTL(PPPIOCXFERUNIT) |
| 327 | /* PPPIOCSCOMPRESS is translated */ |
| 328 | COMPATIBLE_IOCTL(PPPIOCGNPMODE) |
| 329 | COMPATIBLE_IOCTL(PPPIOCSNPMODE) |
| 330 | COMPATIBLE_IOCTL(PPPIOCGDEBUG) |
| 331 | COMPATIBLE_IOCTL(PPPIOCSDEBUG) |
| 332 | /* PPPIOCSPASS is translated */ |
| 333 | /* PPPIOCSACTIVE is translated */ |
| 334 | /* PPPIOCGIDLE is translated */ |
| 335 | COMPATIBLE_IOCTL(PPPIOCNEWUNIT) |
| 336 | COMPATIBLE_IOCTL(PPPIOCATTACH) |
| 337 | COMPATIBLE_IOCTL(PPPIOCDETACH) |
| 338 | COMPATIBLE_IOCTL(PPPIOCSMRRU) |
| 339 | COMPATIBLE_IOCTL(PPPIOCCONNECT) |
| 340 | COMPATIBLE_IOCTL(PPPIOCDISCONN) |
| 341 | COMPATIBLE_IOCTL(PPPIOCATTCHAN) |
| 342 | COMPATIBLE_IOCTL(PPPIOCGCHAN) |
| 343 | /* PPPOX */ |
| 344 | COMPATIBLE_IOCTL(PPPOEIOCSFWD) |
| 345 | COMPATIBLE_IOCTL(PPPOEIOCDFWD) |
| 346 | /* LP */ |
| 347 | COMPATIBLE_IOCTL(LPGETSTATUS) |
| 348 | /* ppdev */ |
| 349 | COMPATIBLE_IOCTL(PPCLAIM) |
| 350 | COMPATIBLE_IOCTL(PPRELEASE) |
| 351 | COMPATIBLE_IOCTL(PPEXCL) |
| 352 | COMPATIBLE_IOCTL(PPYIELD) |
| 353 | /* CDROM stuff */ |
| 354 | COMPATIBLE_IOCTL(CDROMPAUSE) |
| 355 | COMPATIBLE_IOCTL(CDROMRESUME) |
| 356 | COMPATIBLE_IOCTL(CDROMPLAYMSF) |
| 357 | COMPATIBLE_IOCTL(CDROMPLAYTRKIND) |
| 358 | COMPATIBLE_IOCTL(CDROMREADTOCHDR) |
| 359 | COMPATIBLE_IOCTL(CDROMREADTOCENTRY) |
| 360 | COMPATIBLE_IOCTL(CDROMSTOP) |
| 361 | COMPATIBLE_IOCTL(CDROMSTART) |
| 362 | COMPATIBLE_IOCTL(CDROMEJECT) |
| 363 | COMPATIBLE_IOCTL(CDROMVOLCTRL) |
| 364 | COMPATIBLE_IOCTL(CDROMSUBCHNL) |
| 365 | ULONG_IOCTL(CDROMEJECT_SW) |
| 366 | COMPATIBLE_IOCTL(CDROMMULTISESSION) |
| 367 | COMPATIBLE_IOCTL(CDROM_GET_MCN) |
| 368 | COMPATIBLE_IOCTL(CDROMRESET) |
| 369 | COMPATIBLE_IOCTL(CDROMVOLREAD) |
| 370 | COMPATIBLE_IOCTL(CDROMSEEK) |
| 371 | COMPATIBLE_IOCTL(CDROMPLAYBLK) |
| 372 | COMPATIBLE_IOCTL(CDROMCLOSETRAY) |
| 373 | ULONG_IOCTL(CDROM_SET_OPTIONS) |
| 374 | ULONG_IOCTL(CDROM_CLEAR_OPTIONS) |
| 375 | ULONG_IOCTL(CDROM_SELECT_SPEED) |
| 376 | ULONG_IOCTL(CDROM_SELECT_DISC) |
| 377 | ULONG_IOCTL(CDROM_MEDIA_CHANGED) |
| 378 | ULONG_IOCTL(CDROM_DRIVE_STATUS) |
| 379 | COMPATIBLE_IOCTL(CDROM_DISC_STATUS) |
| 380 | COMPATIBLE_IOCTL(CDROM_CHANGER_NSLOTS) |
| 381 | ULONG_IOCTL(CDROM_LOCKDOOR) |
| 382 | ULONG_IOCTL(CDROM_DEBUG) |
| 383 | COMPATIBLE_IOCTL(CDROM_GET_CAPABILITY) |
| 384 | /* Ignore cdrom.h about these next 5 ioctls, they absolutely do |
| 385 | * not take a struct cdrom_read, instead they take a struct cdrom_msf |
| 386 | * which is compatible. |
| 387 | */ |
| 388 | COMPATIBLE_IOCTL(CDROMREADMODE2) |
| 389 | COMPATIBLE_IOCTL(CDROMREADMODE1) |
| 390 | COMPATIBLE_IOCTL(CDROMREADRAW) |
| 391 | COMPATIBLE_IOCTL(CDROMREADCOOKED) |
| 392 | COMPATIBLE_IOCTL(CDROMREADALL) |
| 393 | /* DVD ioctls */ |
| 394 | COMPATIBLE_IOCTL(DVD_READ_STRUCT) |
| 395 | COMPATIBLE_IOCTL(DVD_WRITE_STRUCT) |
| 396 | COMPATIBLE_IOCTL(DVD_AUTH) |
| 397 | /* pktcdvd */ |
| 398 | COMPATIBLE_IOCTL(PACKET_CTRL_CMD) |
| 399 | /* Big L */ |
| 400 | ULONG_IOCTL(LOOP_SET_FD) |
| 401 | ULONG_IOCTL(LOOP_CHANGE_FD) |
| 402 | COMPATIBLE_IOCTL(LOOP_CLR_FD) |
| 403 | COMPATIBLE_IOCTL(LOOP_GET_STATUS64) |
| 404 | COMPATIBLE_IOCTL(LOOP_SET_STATUS64) |
| 405 | /* Big A */ |
| 406 | /* sparc only */ |
| 407 | /* Big Q for sound/OSS */ |
| 408 | COMPATIBLE_IOCTL(SNDCTL_SEQ_RESET) |
| 409 | COMPATIBLE_IOCTL(SNDCTL_SEQ_SYNC) |
| 410 | COMPATIBLE_IOCTL(SNDCTL_SYNTH_INFO) |
| 411 | COMPATIBLE_IOCTL(SNDCTL_SEQ_CTRLRATE) |
| 412 | COMPATIBLE_IOCTL(SNDCTL_SEQ_GETOUTCOUNT) |
| 413 | COMPATIBLE_IOCTL(SNDCTL_SEQ_GETINCOUNT) |
| 414 | COMPATIBLE_IOCTL(SNDCTL_SEQ_PERCMODE) |
| 415 | COMPATIBLE_IOCTL(SNDCTL_FM_LOAD_INSTR) |
| 416 | COMPATIBLE_IOCTL(SNDCTL_SEQ_TESTMIDI) |
| 417 | COMPATIBLE_IOCTL(SNDCTL_SEQ_RESETSAMPLES) |
| 418 | COMPATIBLE_IOCTL(SNDCTL_SEQ_NRSYNTHS) |
| 419 | COMPATIBLE_IOCTL(SNDCTL_SEQ_NRMIDIS) |
| 420 | COMPATIBLE_IOCTL(SNDCTL_MIDI_INFO) |
| 421 | COMPATIBLE_IOCTL(SNDCTL_SEQ_THRESHOLD) |
| 422 | COMPATIBLE_IOCTL(SNDCTL_SYNTH_MEMAVL) |
| 423 | COMPATIBLE_IOCTL(SNDCTL_FM_4OP_ENABLE) |
| 424 | COMPATIBLE_IOCTL(SNDCTL_SEQ_PANIC) |
| 425 | COMPATIBLE_IOCTL(SNDCTL_SEQ_OUTOFBAND) |
| 426 | COMPATIBLE_IOCTL(SNDCTL_SEQ_GETTIME) |
| 427 | COMPATIBLE_IOCTL(SNDCTL_SYNTH_ID) |
| 428 | COMPATIBLE_IOCTL(SNDCTL_SYNTH_CONTROL) |
| 429 | COMPATIBLE_IOCTL(SNDCTL_SYNTH_REMOVESAMPLE) |
| 430 | /* Big T for sound/OSS */ |
| 431 | COMPATIBLE_IOCTL(SNDCTL_TMR_TIMEBASE) |
| 432 | COMPATIBLE_IOCTL(SNDCTL_TMR_START) |
| 433 | COMPATIBLE_IOCTL(SNDCTL_TMR_STOP) |
| 434 | COMPATIBLE_IOCTL(SNDCTL_TMR_CONTINUE) |
| 435 | COMPATIBLE_IOCTL(SNDCTL_TMR_TEMPO) |
| 436 | COMPATIBLE_IOCTL(SNDCTL_TMR_SOURCE) |
| 437 | COMPATIBLE_IOCTL(SNDCTL_TMR_METRONOME) |
| 438 | COMPATIBLE_IOCTL(SNDCTL_TMR_SELECT) |
| 439 | /* Little m for sound/OSS */ |
| 440 | COMPATIBLE_IOCTL(SNDCTL_MIDI_PRETIME) |
| 441 | COMPATIBLE_IOCTL(SNDCTL_MIDI_MPUMODE) |
| 442 | COMPATIBLE_IOCTL(SNDCTL_MIDI_MPUCMD) |
| 443 | /* Big P for sound/OSS */ |
| 444 | COMPATIBLE_IOCTL(SNDCTL_DSP_RESET) |
| 445 | COMPATIBLE_IOCTL(SNDCTL_DSP_SYNC) |
| 446 | COMPATIBLE_IOCTL(SNDCTL_DSP_SPEED) |
| 447 | COMPATIBLE_IOCTL(SNDCTL_DSP_STEREO) |
| 448 | COMPATIBLE_IOCTL(SNDCTL_DSP_GETBLKSIZE) |
| 449 | COMPATIBLE_IOCTL(SNDCTL_DSP_CHANNELS) |
| 450 | COMPATIBLE_IOCTL(SOUND_PCM_WRITE_FILTER) |
| 451 | COMPATIBLE_IOCTL(SNDCTL_DSP_POST) |
| 452 | COMPATIBLE_IOCTL(SNDCTL_DSP_SUBDIVIDE) |
| 453 | COMPATIBLE_IOCTL(SNDCTL_DSP_SETFRAGMENT) |
| 454 | COMPATIBLE_IOCTL(SNDCTL_DSP_GETFMTS) |
| 455 | COMPATIBLE_IOCTL(SNDCTL_DSP_SETFMT) |
| 456 | COMPATIBLE_IOCTL(SNDCTL_DSP_GETOSPACE) |
| 457 | COMPATIBLE_IOCTL(SNDCTL_DSP_GETISPACE) |
| 458 | COMPATIBLE_IOCTL(SNDCTL_DSP_NONBLOCK) |
| 459 | COMPATIBLE_IOCTL(SNDCTL_DSP_GETCAPS) |
| 460 | COMPATIBLE_IOCTL(SNDCTL_DSP_GETTRIGGER) |
| 461 | COMPATIBLE_IOCTL(SNDCTL_DSP_SETTRIGGER) |
| 462 | COMPATIBLE_IOCTL(SNDCTL_DSP_GETIPTR) |
| 463 | COMPATIBLE_IOCTL(SNDCTL_DSP_GETOPTR) |
| 464 | /* SNDCTL_DSP_MAPINBUF, XXX needs translation */ |
| 465 | /* SNDCTL_DSP_MAPOUTBUF, XXX needs translation */ |
| 466 | COMPATIBLE_IOCTL(SNDCTL_DSP_SETSYNCRO) |
| 467 | COMPATIBLE_IOCTL(SNDCTL_DSP_SETDUPLEX) |
| 468 | COMPATIBLE_IOCTL(SNDCTL_DSP_GETODELAY) |
| 469 | COMPATIBLE_IOCTL(SNDCTL_DSP_PROFILE) |
| 470 | COMPATIBLE_IOCTL(SOUND_PCM_READ_RATE) |
| 471 | COMPATIBLE_IOCTL(SOUND_PCM_READ_CHANNELS) |
| 472 | COMPATIBLE_IOCTL(SOUND_PCM_READ_BITS) |
| 473 | COMPATIBLE_IOCTL(SOUND_PCM_READ_FILTER) |
| 474 | /* Big C for sound/OSS */ |
| 475 | COMPATIBLE_IOCTL(SNDCTL_COPR_RESET) |
| 476 | COMPATIBLE_IOCTL(SNDCTL_COPR_LOAD) |
| 477 | COMPATIBLE_IOCTL(SNDCTL_COPR_RDATA) |
| 478 | COMPATIBLE_IOCTL(SNDCTL_COPR_RCODE) |
| 479 | COMPATIBLE_IOCTL(SNDCTL_COPR_WDATA) |
| 480 | COMPATIBLE_IOCTL(SNDCTL_COPR_WCODE) |
| 481 | COMPATIBLE_IOCTL(SNDCTL_COPR_RUN) |
| 482 | COMPATIBLE_IOCTL(SNDCTL_COPR_HALT) |
| 483 | COMPATIBLE_IOCTL(SNDCTL_COPR_SENDMSG) |
| 484 | COMPATIBLE_IOCTL(SNDCTL_COPR_RCVMSG) |
| 485 | /* Big M for sound/OSS */ |
| 486 | COMPATIBLE_IOCTL(SOUND_MIXER_READ_VOLUME) |
| 487 | COMPATIBLE_IOCTL(SOUND_MIXER_READ_BASS) |
| 488 | COMPATIBLE_IOCTL(SOUND_MIXER_READ_TREBLE) |
| 489 | COMPATIBLE_IOCTL(SOUND_MIXER_READ_SYNTH) |
| 490 | COMPATIBLE_IOCTL(SOUND_MIXER_READ_PCM) |
| 491 | COMPATIBLE_IOCTL(SOUND_MIXER_READ_SPEAKER) |
| 492 | COMPATIBLE_IOCTL(SOUND_MIXER_READ_LINE) |
| 493 | COMPATIBLE_IOCTL(SOUND_MIXER_READ_MIC) |
| 494 | COMPATIBLE_IOCTL(SOUND_MIXER_READ_CD) |
| 495 | COMPATIBLE_IOCTL(SOUND_MIXER_READ_IMIX) |
| 496 | COMPATIBLE_IOCTL(SOUND_MIXER_READ_ALTPCM) |
| 497 | COMPATIBLE_IOCTL(SOUND_MIXER_READ_RECLEV) |
| 498 | COMPATIBLE_IOCTL(SOUND_MIXER_READ_IGAIN) |
| 499 | COMPATIBLE_IOCTL(SOUND_MIXER_READ_OGAIN) |
| 500 | COMPATIBLE_IOCTL(SOUND_MIXER_READ_LINE1) |
| 501 | COMPATIBLE_IOCTL(SOUND_MIXER_READ_LINE2) |
| 502 | COMPATIBLE_IOCTL(SOUND_MIXER_READ_LINE3) |
| 503 | COMPATIBLE_IOCTL(MIXER_READ(SOUND_MIXER_DIGITAL1)) |
| 504 | COMPATIBLE_IOCTL(MIXER_READ(SOUND_MIXER_DIGITAL2)) |
| 505 | COMPATIBLE_IOCTL(MIXER_READ(SOUND_MIXER_DIGITAL3)) |
| 506 | COMPATIBLE_IOCTL(MIXER_READ(SOUND_MIXER_PHONEIN)) |
| 507 | COMPATIBLE_IOCTL(MIXER_READ(SOUND_MIXER_PHONEOUT)) |
| 508 | COMPATIBLE_IOCTL(MIXER_READ(SOUND_MIXER_VIDEO)) |
| 509 | COMPATIBLE_IOCTL(MIXER_READ(SOUND_MIXER_RADIO)) |
| 510 | COMPATIBLE_IOCTL(MIXER_READ(SOUND_MIXER_MONITOR)) |
| 511 | COMPATIBLE_IOCTL(SOUND_MIXER_READ_MUTE) |
| 512 | /* SOUND_MIXER_READ_ENHANCE, same value as READ_MUTE */ |
| 513 | /* SOUND_MIXER_READ_LOUD, same value as READ_MUTE */ |
| 514 | COMPATIBLE_IOCTL(SOUND_MIXER_READ_RECSRC) |
| 515 | COMPATIBLE_IOCTL(SOUND_MIXER_READ_DEVMASK) |
| 516 | COMPATIBLE_IOCTL(SOUND_MIXER_READ_RECMASK) |
| 517 | COMPATIBLE_IOCTL(SOUND_MIXER_READ_STEREODEVS) |
| 518 | COMPATIBLE_IOCTL(SOUND_MIXER_READ_CAPS) |
| 519 | COMPATIBLE_IOCTL(SOUND_MIXER_WRITE_VOLUME) |
| 520 | COMPATIBLE_IOCTL(SOUND_MIXER_WRITE_BASS) |
| 521 | COMPATIBLE_IOCTL(SOUND_MIXER_WRITE_TREBLE) |
| 522 | COMPATIBLE_IOCTL(SOUND_MIXER_WRITE_SYNTH) |
| 523 | COMPATIBLE_IOCTL(SOUND_MIXER_WRITE_PCM) |
| 524 | COMPATIBLE_IOCTL(SOUND_MIXER_WRITE_SPEAKER) |
| 525 | COMPATIBLE_IOCTL(SOUND_MIXER_WRITE_LINE) |
| 526 | COMPATIBLE_IOCTL(SOUND_MIXER_WRITE_MIC) |
| 527 | COMPATIBLE_IOCTL(SOUND_MIXER_WRITE_CD) |
| 528 | COMPATIBLE_IOCTL(SOUND_MIXER_WRITE_IMIX) |
| 529 | COMPATIBLE_IOCTL(SOUND_MIXER_WRITE_ALTPCM) |
| 530 | COMPATIBLE_IOCTL(SOUND_MIXER_WRITE_RECLEV) |
| 531 | COMPATIBLE_IOCTL(SOUND_MIXER_WRITE_IGAIN) |
| 532 | COMPATIBLE_IOCTL(SOUND_MIXER_WRITE_OGAIN) |
| 533 | COMPATIBLE_IOCTL(SOUND_MIXER_WRITE_LINE1) |
| 534 | COMPATIBLE_IOCTL(SOUND_MIXER_WRITE_LINE2) |
| 535 | COMPATIBLE_IOCTL(SOUND_MIXER_WRITE_LINE3) |
| 536 | COMPATIBLE_IOCTL(MIXER_WRITE(SOUND_MIXER_DIGITAL1)) |
| 537 | COMPATIBLE_IOCTL(MIXER_WRITE(SOUND_MIXER_DIGITAL2)) |
| 538 | COMPATIBLE_IOCTL(MIXER_WRITE(SOUND_MIXER_DIGITAL3)) |
| 539 | COMPATIBLE_IOCTL(MIXER_WRITE(SOUND_MIXER_PHONEIN)) |
| 540 | COMPATIBLE_IOCTL(MIXER_WRITE(SOUND_MIXER_PHONEOUT)) |
| 541 | COMPATIBLE_IOCTL(MIXER_WRITE(SOUND_MIXER_VIDEO)) |
| 542 | COMPATIBLE_IOCTL(MIXER_WRITE(SOUND_MIXER_RADIO)) |
| 543 | COMPATIBLE_IOCTL(MIXER_WRITE(SOUND_MIXER_MONITOR)) |
| 544 | COMPATIBLE_IOCTL(SOUND_MIXER_WRITE_MUTE) |
| 545 | /* SOUND_MIXER_WRITE_ENHANCE, same value as WRITE_MUTE */ |
| 546 | /* SOUND_MIXER_WRITE_LOUD, same value as WRITE_MUTE */ |
| 547 | COMPATIBLE_IOCTL(SOUND_MIXER_WRITE_RECSRC) |
| 548 | COMPATIBLE_IOCTL(SOUND_MIXER_INFO) |
| 549 | COMPATIBLE_IOCTL(SOUND_OLD_MIXER_INFO) |
| 550 | COMPATIBLE_IOCTL(SOUND_MIXER_ACCESS) |
| 551 | COMPATIBLE_IOCTL(SOUND_MIXER_AGC) |
| 552 | COMPATIBLE_IOCTL(SOUND_MIXER_3DSE) |
| 553 | COMPATIBLE_IOCTL(SOUND_MIXER_PRIVATE1) |
| 554 | COMPATIBLE_IOCTL(SOUND_MIXER_PRIVATE2) |
| 555 | COMPATIBLE_IOCTL(SOUND_MIXER_PRIVATE3) |
| 556 | COMPATIBLE_IOCTL(SOUND_MIXER_PRIVATE4) |
| 557 | COMPATIBLE_IOCTL(SOUND_MIXER_PRIVATE5) |
| 558 | COMPATIBLE_IOCTL(SOUND_MIXER_GETLEVELS) |
| 559 | COMPATIBLE_IOCTL(SOUND_MIXER_SETLEVELS) |
| 560 | COMPATIBLE_IOCTL(OSS_GETVERSION) |
| 561 | /* AUTOFS */ |
| 562 | ULONG_IOCTL(AUTOFS_IOC_READY) |
| 563 | ULONG_IOCTL(AUTOFS_IOC_FAIL) |
| 564 | COMPATIBLE_IOCTL(AUTOFS_IOC_CATATONIC) |
| 565 | COMPATIBLE_IOCTL(AUTOFS_IOC_PROTOVER) |
| 566 | COMPATIBLE_IOCTL(AUTOFS_IOC_EXPIRE) |
| 567 | COMPATIBLE_IOCTL(AUTOFS_IOC_EXPIRE_MULTI) |
| 568 | COMPATIBLE_IOCTL(AUTOFS_IOC_PROTOSUBVER) |
| 569 | COMPATIBLE_IOCTL(AUTOFS_IOC_ASKREGHOST) |
| 570 | COMPATIBLE_IOCTL(AUTOFS_IOC_TOGGLEREGHOST) |
| 571 | COMPATIBLE_IOCTL(AUTOFS_IOC_ASKUMOUNT) |
| 572 | /* DEVFS */ |
| 573 | COMPATIBLE_IOCTL(DEVFSDIOC_GET_PROTO_REV) |
| 574 | COMPATIBLE_IOCTL(DEVFSDIOC_SET_EVENT_MASK) |
| 575 | COMPATIBLE_IOCTL(DEVFSDIOC_RELEASE_EVENT_QUEUE) |
| 576 | COMPATIBLE_IOCTL(DEVFSDIOC_SET_DEBUG_MASK) |
| 577 | /* Raw devices */ |
| 578 | COMPATIBLE_IOCTL(RAW_SETBIND) |
| 579 | COMPATIBLE_IOCTL(RAW_GETBIND) |
| 580 | /* SMB ioctls which do not need any translations */ |
| 581 | COMPATIBLE_IOCTL(SMB_IOC_NEWCONN) |
| 582 | /* NCP ioctls which do not need any translations */ |
| 583 | COMPATIBLE_IOCTL(NCP_IOC_CONN_LOGGED_IN) |
| 584 | COMPATIBLE_IOCTL(NCP_IOC_SIGN_INIT) |
| 585 | COMPATIBLE_IOCTL(NCP_IOC_SIGN_WANTED) |
| 586 | COMPATIBLE_IOCTL(NCP_IOC_SET_SIGN_WANTED) |
| 587 | COMPATIBLE_IOCTL(NCP_IOC_LOCKUNLOCK) |
| 588 | COMPATIBLE_IOCTL(NCP_IOC_GETROOT) |
| 589 | COMPATIBLE_IOCTL(NCP_IOC_SETROOT) |
| 590 | COMPATIBLE_IOCTL(NCP_IOC_GETCHARSETS) |
| 591 | COMPATIBLE_IOCTL(NCP_IOC_SETCHARSETS) |
| 592 | COMPATIBLE_IOCTL(NCP_IOC_GETDENTRYTTL) |
| 593 | COMPATIBLE_IOCTL(NCP_IOC_SETDENTRYTTL) |
| 594 | /* Little a */ |
| 595 | COMPATIBLE_IOCTL(ATMSIGD_CTRL) |
| 596 | COMPATIBLE_IOCTL(ATMARPD_CTRL) |
| 597 | COMPATIBLE_IOCTL(ATMLEC_CTRL) |
| 598 | COMPATIBLE_IOCTL(ATMLEC_MCAST) |
| 599 | COMPATIBLE_IOCTL(ATMLEC_DATA) |
| 600 | COMPATIBLE_IOCTL(ATM_SETSC) |
| 601 | COMPATIBLE_IOCTL(SIOCSIFATMTCP) |
| 602 | COMPATIBLE_IOCTL(SIOCMKCLIP) |
| 603 | COMPATIBLE_IOCTL(ATMARP_MKIP) |
| 604 | COMPATIBLE_IOCTL(ATMARP_SETENTRY) |
| 605 | COMPATIBLE_IOCTL(ATMARP_ENCAP) |
| 606 | COMPATIBLE_IOCTL(ATMTCP_CREATE) |
| 607 | COMPATIBLE_IOCTL(ATMTCP_REMOVE) |
| 608 | COMPATIBLE_IOCTL(ATMMPC_CTRL) |
| 609 | COMPATIBLE_IOCTL(ATMMPC_DATA) |
| 610 | /* Watchdog */ |
| 611 | COMPATIBLE_IOCTL(WDIOC_GETSUPPORT) |
| 612 | COMPATIBLE_IOCTL(WDIOC_GETSTATUS) |
| 613 | COMPATIBLE_IOCTL(WDIOC_GETBOOTSTATUS) |
| 614 | COMPATIBLE_IOCTL(WDIOC_GETTEMP) |
| 615 | COMPATIBLE_IOCTL(WDIOC_SETOPTIONS) |
| 616 | COMPATIBLE_IOCTL(WDIOC_KEEPALIVE) |
| 617 | COMPATIBLE_IOCTL(WDIOC_SETTIMEOUT) |
| 618 | COMPATIBLE_IOCTL(WDIOC_GETTIMEOUT) |
| 619 | /* Big R */ |
| 620 | COMPATIBLE_IOCTL(RNDGETENTCNT) |
| 621 | COMPATIBLE_IOCTL(RNDADDTOENTCNT) |
| 622 | COMPATIBLE_IOCTL(RNDGETPOOL) |
| 623 | COMPATIBLE_IOCTL(RNDADDENTROPY) |
| 624 | COMPATIBLE_IOCTL(RNDZAPENTCNT) |
| 625 | COMPATIBLE_IOCTL(RNDCLEARPOOL) |
| 626 | /* Bluetooth */ |
| 627 | COMPATIBLE_IOCTL(HCIDEVUP) |
| 628 | COMPATIBLE_IOCTL(HCIDEVDOWN) |
| 629 | COMPATIBLE_IOCTL(HCIDEVRESET) |
| 630 | COMPATIBLE_IOCTL(HCIDEVRESTAT) |
| 631 | COMPATIBLE_IOCTL(HCIGETDEVLIST) |
| 632 | COMPATIBLE_IOCTL(HCIGETDEVINFO) |
| 633 | COMPATIBLE_IOCTL(HCIGETCONNLIST) |
| 634 | COMPATIBLE_IOCTL(HCIGETCONNINFO) |
| 635 | COMPATIBLE_IOCTL(HCISETRAW) |
| 636 | COMPATIBLE_IOCTL(HCISETSCAN) |
| 637 | COMPATIBLE_IOCTL(HCISETAUTH) |
| 638 | COMPATIBLE_IOCTL(HCISETENCRYPT) |
| 639 | COMPATIBLE_IOCTL(HCISETPTYPE) |
| 640 | COMPATIBLE_IOCTL(HCISETLINKPOL) |
| 641 | COMPATIBLE_IOCTL(HCISETLINKMODE) |
| 642 | COMPATIBLE_IOCTL(HCISETACLMTU) |
| 643 | COMPATIBLE_IOCTL(HCISETSCOMTU) |
| 644 | COMPATIBLE_IOCTL(HCIINQUIRY) |
| 645 | COMPATIBLE_IOCTL(HCIUARTSETPROTO) |
| 646 | COMPATIBLE_IOCTL(HCIUARTGETPROTO) |
| 647 | COMPATIBLE_IOCTL(RFCOMMCREATEDEV) |
| 648 | COMPATIBLE_IOCTL(RFCOMMRELEASEDEV) |
| 649 | COMPATIBLE_IOCTL(RFCOMMGETDEVLIST) |
| 650 | COMPATIBLE_IOCTL(RFCOMMGETDEVINFO) |
| 651 | COMPATIBLE_IOCTL(RFCOMMSTEALDLC) |
| 652 | COMPATIBLE_IOCTL(BNEPCONNADD) |
| 653 | COMPATIBLE_IOCTL(BNEPCONNDEL) |
| 654 | COMPATIBLE_IOCTL(BNEPGETCONNLIST) |
| 655 | COMPATIBLE_IOCTL(BNEPGETCONNINFO) |
| 656 | COMPATIBLE_IOCTL(CMTPCONNADD) |
| 657 | COMPATIBLE_IOCTL(CMTPCONNDEL) |
| 658 | COMPATIBLE_IOCTL(CMTPGETCONNLIST) |
| 659 | COMPATIBLE_IOCTL(CMTPGETCONNINFO) |
| 660 | COMPATIBLE_IOCTL(HIDPCONNADD) |
| 661 | COMPATIBLE_IOCTL(HIDPCONNDEL) |
| 662 | COMPATIBLE_IOCTL(HIDPGETCONNLIST) |
| 663 | COMPATIBLE_IOCTL(HIDPGETCONNINFO) |
| 664 | /* CAPI */ |
| 665 | COMPATIBLE_IOCTL(CAPI_REGISTER) |
| 666 | COMPATIBLE_IOCTL(CAPI_GET_MANUFACTURER) |
| 667 | COMPATIBLE_IOCTL(CAPI_GET_VERSION) |
| 668 | COMPATIBLE_IOCTL(CAPI_GET_SERIAL) |
| 669 | COMPATIBLE_IOCTL(CAPI_GET_PROFILE) |
| 670 | COMPATIBLE_IOCTL(CAPI_MANUFACTURER_CMD) |
| 671 | COMPATIBLE_IOCTL(CAPI_GET_ERRCODE) |
| 672 | COMPATIBLE_IOCTL(CAPI_INSTALLED) |
| 673 | COMPATIBLE_IOCTL(CAPI_GET_FLAGS) |
| 674 | COMPATIBLE_IOCTL(CAPI_SET_FLAGS) |
| 675 | COMPATIBLE_IOCTL(CAPI_CLR_FLAGS) |
| 676 | COMPATIBLE_IOCTL(CAPI_NCCI_OPENCOUNT) |
| 677 | COMPATIBLE_IOCTL(CAPI_NCCI_GETUNIT) |
| 678 | /* Misc. */ |
| 679 | COMPATIBLE_IOCTL(0x41545900) /* ATYIO_CLKR */ |
| 680 | COMPATIBLE_IOCTL(0x41545901) /* ATYIO_CLKW */ |
| 681 | COMPATIBLE_IOCTL(PCIIOC_CONTROLLER) |
| 682 | COMPATIBLE_IOCTL(PCIIOC_MMAP_IS_IO) |
| 683 | COMPATIBLE_IOCTL(PCIIOC_MMAP_IS_MEM) |
| 684 | COMPATIBLE_IOCTL(PCIIOC_WRITE_COMBINE) |
| 685 | /* USB */ |
| 686 | COMPATIBLE_IOCTL(USBDEVFS_RESETEP) |
| 687 | COMPATIBLE_IOCTL(USBDEVFS_SETINTERFACE) |
| 688 | COMPATIBLE_IOCTL(USBDEVFS_SETCONFIGURATION) |
| 689 | COMPATIBLE_IOCTL(USBDEVFS_GETDRIVER) |
| 690 | COMPATIBLE_IOCTL(USBDEVFS_DISCARDURB) |
| 691 | COMPATIBLE_IOCTL(USBDEVFS_CLAIMINTERFACE) |
| 692 | COMPATIBLE_IOCTL(USBDEVFS_RELEASEINTERFACE) |
| 693 | COMPATIBLE_IOCTL(USBDEVFS_CONNECTINFO) |
| 694 | COMPATIBLE_IOCTL(USBDEVFS_HUB_PORTINFO) |
| 695 | COMPATIBLE_IOCTL(USBDEVFS_RESET) |
| 696 | COMPATIBLE_IOCTL(USBDEVFS_SUBMITURB32) |
| 697 | COMPATIBLE_IOCTL(USBDEVFS_REAPURB32) |
| 698 | COMPATIBLE_IOCTL(USBDEVFS_REAPURBNDELAY32) |
| 699 | COMPATIBLE_IOCTL(USBDEVFS_CLEAR_HALT) |
| 700 | /* MTD */ |
| 701 | COMPATIBLE_IOCTL(MEMGETINFO) |
| 702 | COMPATIBLE_IOCTL(MEMERASE) |
| 703 | COMPATIBLE_IOCTL(MEMLOCK) |
| 704 | COMPATIBLE_IOCTL(MEMUNLOCK) |
| 705 | COMPATIBLE_IOCTL(MEMGETREGIONCOUNT) |
| 706 | COMPATIBLE_IOCTL(MEMGETREGIONINFO) |
| 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) |