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