bump version
[buildroot.git] / package / strace / strace-1.4.15-avr32.patch
blobcb57af97400155409f30eeb3205d8e85cb506dfd
1 diff --git a/Makefile.am b/Makefile.am
2 index a9972fe..8e4ecac 100644
3 --- a/Makefile.am
4 +++ b/Makefile.am
5 @@ -29,6 +29,7 @@ EXTRA_DIST = $(man_MANS) errnoent.sh signalent.sh syscallent.sh ioctlsort.c \
6 linux/alpha/errnoent.h linux/alpha/ioctlent.h \
7 linux/alpha/signalent.h linux/alpha/syscallent.h \
8 linux/arm/syscallent.h \
9 + linux/avr32/syscallent.h \
10 linux/hppa/errnoent.h linux/hppa/ioctlent.h \
11 linux/hppa/signalent.h linux/hppa/syscallent.h \
12 linux/ia64/syscallent.h linux/ia64/errnoent.h \
13 diff --git a/Makefile.in b/Makefile.in
14 index bb0f8b1..d8e618b 100644
15 --- a/Makefile.in
16 +++ b/Makefile.in
17 @@ -121,6 +121,7 @@ EGREP = @EGREP@
18 EXEEXT = @EXEEXT@
19 FREEBSD_FALSE = @FREEBSD_FALSE@
20 FREEBSD_TRUE = @FREEBSD_TRUE@
21 +GREP = @GREP@
22 I386_FALSE = @I386_FALSE@
23 I386_TRUE = @I386_TRUE@
24 INSTALL_DATA = @INSTALL_DATA@
25 @@ -158,7 +159,6 @@ WARNFLAGS = @WARNFLAGS@
26 X86_64_FALSE = @X86_64_FALSE@
27 X86_64_TRUE = @X86_64_TRUE@
28 ac_ct_CC = @ac_ct_CC@
29 -ac_ct_STRIP = @ac_ct_STRIP@
30 am__fastdepCC_FALSE = @am__fastdepCC_FALSE@
31 am__fastdepCC_TRUE = @am__fastdepCC_TRUE@
32 am__include = @am__include@
33 @@ -174,24 +174,31 @@ build_cpu = @build_cpu@
34 build_os = @build_os@
35 build_vendor = @build_vendor@
36 datadir = @datadir@
37 +datarootdir = @datarootdir@
38 +docdir = @docdir@
39 +dvidir = @dvidir@
40 exec_prefix = @exec_prefix@
41 host = @host@
42 host_alias = @host_alias@
43 host_cpu = @host_cpu@
44 host_os = @host_os@
45 host_vendor = @host_vendor@
46 +htmldir = @htmldir@
47 includedir = @includedir@
48 infodir = @infodir@
49 install_sh = @install_sh@
50 libdir = @libdir@
51 libexecdir = @libexecdir@
52 +localedir = @localedir@
53 localstatedir = @localstatedir@
54 mandir = @mandir@
55 mkdir_p = @mkdir_p@
56 oldincludedir = @oldincludedir@
57 opsys = @opsys@
58 +pdfdir = @pdfdir@
59 prefix = @prefix@
60 program_transform_name = @program_transform_name@
61 +psdir = @psdir@
62 sbindir = @sbindir@
63 sharedstatedir = @sharedstatedir@
64 sysconfdir = @sysconfdir@
65 @@ -222,6 +229,7 @@ EXTRA_DIST = $(man_MANS) errnoent.sh signalent.sh syscallent.sh ioctlsort.c \
66 linux/alpha/errnoent.h linux/alpha/ioctlent.h \
67 linux/alpha/signalent.h linux/alpha/syscallent.h \
68 linux/arm/syscallent.h \
69 + linux/avr32/syscallent.h \
70 linux/hppa/errnoent.h linux/hppa/ioctlent.h \
71 linux/hppa/signalent.h linux/hppa/syscallent.h \
72 linux/ia64/syscallent.h linux/ia64/errnoent.h \
73 @@ -522,7 +530,7 @@ distdir: $(DISTFILES)
74 esac
75 $(am__remove_distdir)
76 mkdir $(distdir)
77 - $(mkdir_p) $(distdir)/debian $(distdir)/freebsd $(distdir)/freebsd/i386 $(distdir)/linux $(distdir)/linux/alpha $(distdir)/linux/arm $(distdir)/linux/hppa $(distdir)/linux/ia64 $(distdir)/linux/m68k $(distdir)/linux/mips $(distdir)/linux/powerpc $(distdir)/linux/s390 $(distdir)/linux/s390x $(distdir)/linux/sh $(distdir)/linux/sh64 $(distdir)/linux/sparc $(distdir)/linux/sparc64 $(distdir)/linux/x86_64 $(distdir)/sunos4 $(distdir)/svr4
78 + $(mkdir_p) $(distdir)/debian $(distdir)/freebsd $(distdir)/freebsd/i386 $(distdir)/linux $(distdir)/linux/alpha $(distdir)/linux/arm $(distdir)/linux/avr32 $(distdir)/linux/hppa $(distdir)/linux/ia64 $(distdir)/linux/m68k $(distdir)/linux/mips $(distdir)/linux/powerpc $(distdir)/linux/s390 $(distdir)/linux/s390x $(distdir)/linux/sh $(distdir)/linux/sh64 $(distdir)/linux/sparc $(distdir)/linux/sparc64 $(distdir)/linux/x86_64 $(distdir)/sunos4 $(distdir)/svr4
79 @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \
80 topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \
81 list='$(DISTFILES)'; for file in $$list; do \
82 diff --git a/config.h.in b/config.h.in
83 index a2aeb2e..5778dc8 100644
84 --- a/config.h.in
85 +++ b/config.h.in
86 @@ -6,6 +6,9 @@
87 /* Define for the ARM architecture. */
88 #undef ARM
90 +/* Define for the AVR32 architecture. */
91 +#undef AVR32
93 /* Define for the FreeBSD operating system. */
94 #undef FREEBSD
96 diff --git a/configure.ac b/configure.ac
97 index 49a9b20..87695b8 100644
98 --- a/configure.ac
99 +++ b/configure.ac
100 @@ -103,6 +103,10 @@ x86?64*)
101 arch=x86_64
102 AC_DEFINE([X86_64], 1, [Define for the AMD x86-64 architecture.])
104 +avr32*)
105 + arch=avr32
106 + AC_DEFINE([AVR32], 1, [Define for the AVR32 architecture.])
107 + ;;
109 AC_MSG_RESULT([NO!])
110 AC_MSG_ERROR([architecture $host_cpu is not supported by strace])
111 diff --git a/defs.h b/defs.h
112 index 486fac5..1818e8c 100644
113 --- a/defs.h
114 +++ b/defs.h
115 @@ -94,6 +94,9 @@
116 # if defined(X86_64)
117 # define LINUX_X86_64
118 # endif
119 +# if defined(AVR32)
120 +# define LINUX_AVR32
121 +# endif
122 #endif
124 #if defined(SVR4) || defined(FREEBSD)
125 @@ -120,7 +123,7 @@
126 #include <sys/pioctl.h>
127 #endif /* FREEBSD */
128 #else /* !USE_PROCFS */
129 -#if (defined(LINUXSPARC) || defined (LINUX_X86_64)) && defined(__GLIBC__)
130 +#if (defined(LINUXSPARC) || defined (LINUX_X86_64) || defined (LINUX_AVR32)) && defined(__GLIBC__)
131 #include <sys/ptrace.h>
132 #else
133 /* Work around awkward prototype in ptrace.h. */
134 @@ -327,7 +330,7 @@ struct tcb {
135 #define TCB_FOLLOWFORK 00400 /* Process should have forks followed */
136 #define TCB_REPRINT 01000 /* We should reprint this syscall on exit */
137 #ifdef LINUX
138 -# if defined(ALPHA) || defined(SPARC) || defined(SPARC64) || defined(POWERPC) || defined(IA64) || defined(HPPA) || defined(SH) || defined(SH64) || defined(S390) || defined(S390X) || defined(ARM)
139 +# if defined(ALPHA) || defined(SPARC) || defined(SPARC64) || defined(POWERPC) || defined(IA64) || defined(HPPA) || defined(SH) || defined(SH64) || defined(S390) || defined(S390X) || defined(ARM) || defined(AVR32)
140 # define TCB_WAITEXECVE 02000 /* ignore SIGTRAP after exceve */
141 # endif
142 # define TCB_CLONE_DETACHED 04000 /* CLONE_DETACHED set in creating syscall */
143 diff --git a/linux/avr32/ioctlent.h b/linux/avr32/ioctlent.h
144 new file mode 100644
145 index 0000000..0f0a63d
146 --- /dev/null
147 +++ b/linux/avr32/ioctlent.h
148 @@ -0,0 +1,1268 @@
149 +{"linux/fs.h", "FIBMAP", 0x1},
150 +{"linux/fs.h", "FIGETBSZ", 0x2},
151 +{"linux/fd.h", "FDCLRPRM", 0x241},
152 +{"linux/fd.h", "FDMSGON", 0x245},
153 +{"linux/fd.h", "FDMSGOFF", 0x246},
154 +{"linux/fd.h", "FDFMTBEG", 0x247},
155 +{"linux/fd.h", "FDFMTEND", 0x249},
156 +{"linux/fd.h", "FDSETEMSGTRESH", 0x24a},
157 +{"linux/fd.h", "FDFLUSH", 0x24b},
158 +{"linux/fd.h", "FDRESET", 0x254},
159 +{"linux/fd.h", "FDWERRORCLR", 0x256},
160 +{"linux/fd.h", "FDRAWCMD", 0x258},
161 +{"linux/fd.h", "FDTWADDLE", 0x259},
162 +{"linux/fd.h", "FDEJECT", 0x25a},
163 +{"linux/wireless.h", "IW_POWER_ALL_R", 0x300},
164 +{"linux/in6.h", "IPV6_PRIORITY_RESERVED1", 0x300},
165 +{"linux/apm_bios.h", "APM_DEVICE_PARALLEL", 0x300},
166 +{"linux/hdreg.h", "HDIO_GETGEO", 0x301},
167 +{"linux/ps2esdi.h", "HDIO_GETGEO", 0x301},
168 +{"linux/hdreg.h", "HDIO_GET_UNMASKINTR", 0x302},
169 +{"linux/hdreg.h", "HDIO_GET_MULTCOUNT", 0x304},
170 +{"linux/hdreg.h", "HDIO_GET_QDMA", 0x305},
171 +{"linux/hdreg.h", "HDIO_SET_XFER", 0x306},
172 +{"linux/hdreg.h", "HDIO_OBSOLETE_IDENTITY", 0x307},
173 +{"linux/hdreg.h", "HDIO_GET_KEEPSETTINGS", 0x308},
174 +{"linux/hdreg.h", "HDIO_GET_32BIT", 0x309},
175 +{"linux/hdreg.h", "HDIO_GET_NOWERR", 0x30a},
176 +{"linux/hdreg.h", "HDIO_GET_DMA", 0x30b},
177 +{"linux/hdreg.h", "HDIO_GET_NICE", 0x30c},
178 +{"linux/hdreg.h", "HDIO_GET_IDENTITY", 0x30d},
179 +{"linux/hdreg.h", "HDIO_GET_WCACHE", 0x30e},
180 +{"linux/hdreg.h", "HDIO_GET_ACOUSTIC", 0x30f},
181 +{"linux/hdreg.h", "HDIO_GET_ADDRESS", 0x310},
182 +{"linux/hdreg.h", "HDIO_GET_BUSSTATE", 0x31a},
183 +{"linux/hdreg.h", "HDIO_TRISTATE_HWIF", 0x31b},
184 +{"linux/hdreg.h", "HDIO_DRIVE_RESET", 0x31c},
185 +{"linux/hdreg.h", "HDIO_DRIVE_TASKFILE", 0x31d},
186 +{"linux/hdreg.h", "HDIO_DRIVE_TASK", 0x31e},
187 +{"linux/hdreg.h", "HDIO_DRIVE_CMD", 0x31f},
188 +{"linux/hdreg.h", "HDIO_SET_MULTCOUNT", 0x321},
189 +{"linux/hdreg.h", "HDIO_SET_UNMASKINTR", 0x322},
190 +{"linux/hdreg.h", "HDIO_SET_KEEPSETTINGS", 0x323},
191 +{"linux/hdreg.h", "HDIO_SET_32BIT", 0x324},
192 +{"linux/hdreg.h", "HDIO_SET_NOWERR", 0x325},
193 +{"linux/hdreg.h", "HDIO_SET_DMA", 0x326},
194 +{"linux/hdreg.h", "HDIO_SET_PIO_MODE", 0x327},
195 +{"linux/hdreg.h", "HDIO_SCAN_HWIF", 0x328},
196 +{"linux/hdreg.h", "HDIO_SET_NICE", 0x329},
197 +{"linux/hdreg.h", "HDIO_UNREGISTER_HWIF", 0x32a},
198 +{"linux/hdreg.h", "HDIO_SET_WCACHE", 0x32b},
199 +{"linux/hdreg.h", "HDIO_SET_ACOUSTIC", 0x32c},
200 +{"linux/hdreg.h", "HDIO_SET_BUSSTATE", 0x32d},
201 +{"linux/hdreg.h", "HDIO_SET_QDMA", 0x32e},
202 +{"linux/hdreg.h", "HDIO_SET_ADDRESS", 0x32f},
203 +{"linux/zorro_ids.h", "ZORRO_MANUF_CARDCO_1", 0x3ec},
204 +{"linux/zorro_ids.h", "ZORRO_MANUF_A_SQUARED", 0x3ed},
205 +{"linux/zorro_ids.h", "ZORRO_MANUF_COMSPEC_COMMUNICATIONS", 0x3ee},
206 +{"linux/zorro_ids.h", "ZORRO_MANUF_ANAKIN_RESEARCH", 0x3f1},
207 +{"linux/zorro_ids.h", "ZORRO_MANUF_MICROBOTICS", 0x3f2},
208 +{"linux/zorro_ids.h", "ZORRO_MANUF_ACCESS_ASSOCIATES_ALEGRA", 0x3f4},
209 +{"linux/zorro_ids.h", "ZORRO_MANUF_EXPANSION_TECHNOLOGIES", 0x3f6},
210 +{"linux/zorro_ids.h", "ZORRO_MANUF_ASDG", 0x3ff},
211 +{"linux/apm_bios.h", "APM_DEVICE_PCMCIA", 0x600},
212 +{"linux/ixjuser.h", "MIXER_PORT_CD_L", 0x600},
213 +{"linux/in6.h", "IPV6_PRIORITY_INTERACTIVE", 0x600},
214 +{"linux/lp.h", "LPCHAR", 0x601},
215 +{"linux/lp.h", "LPTIME", 0x602},
216 +{"linux/lp.h", "LPABORT", 0x604},
217 +{"linux/lp.h", "LPSETIRQ", 0x605},
218 +{"linux/lp.h", "LPGETIRQ", 0x606},
219 +{"linux/lp.h", "LPWAIT", 0x608},
220 +{"linux/lp.h", "LPCAREFUL", 0x609},
221 +{"linux/lp.h", "LPABORTOPEN", 0x60a},
222 +{"linux/lp.h", "LPGETSTATUS", 0x60b},
223 +{"linux/lp.h", "LPRESET", 0x60c},
224 +{"linux/lp.h", "LPGETSTATS", 0x60d},
225 +{"linux/lp.h", "LPGETFLAGS", 0x60e},
226 +{"linux/lp.h", "LPSETTIMEOUT", 0x60f},
227 +{"linux/som.h", "SOM_LIB_RELOC", 0x619},
228 +{"linux/zorro_ids.h", "ZORRO_MANUF_GREAT_VALLEY_PRODUCTS_1", 0x6e1},
229 +{"linux/fs.h", "BLKROSET", 0x125d},
230 +{"linux/fs.h", "BLKROGET", 0x125e},
231 +{"linux/fs.h", "BLKRRPART", 0x125f},
232 +{"linux/fs.h", "BLKGETSIZE", 0x1260},
233 +{"linux/fs.h", "BLKFLSBUF", 0x1261},
234 +{"linux/fs.h", "BLKRASET", 0x1262},
235 +{"linux/fs.h", "BLKRAGET", 0x1263},
236 +{"linux/fs.h", "BLKFRASET", 0x1264},
237 +{"linux/fs.h", "BLKFRAGET", 0x1265},
238 +{"linux/fs.h", "BLKSECTSET", 0x1266},
239 +{"linux/fs.h", "BLKSECTGET", 0x1267},
240 +{"linux/fs.h", "BLKSSZGET", 0x1268},
241 +{"linux/blkpg.h", "BLKPG", 0x1269},
242 +{"linux/fs.h", "BLKTRACESTART", 0x1274},
243 +{"linux/fs.h", "BLKTRACESTOP", 0x1275},
244 +{"linux/fs.h", "BLKTRACETEARDOWN", 0x1276},
245 +{"linux/zorro_ids.h", "ZORRO_MANUF_APOLLO_2", 0x2200},
246 +{"scsi/sg.h", "SG_SET_TIMEOUT", 0x2201},
247 +{"scsi/sg.h", "SG_GET_TIMEOUT", 0x2202},
248 +{"scsi/sg.h", "SG_EMULATED_HOST", 0x2203},
249 +{"scsi/sg.h", "SG_SET_TRANSFORM", 0x2204},
250 +{"scsi/sg.h", "SG_GET_TRANSFORM", 0x2205},
251 +{"linux/zorro_ids.h", "ZORRO_MANUF_APOLLO_3", 0x2222},
252 +{"scsi/sg.h", "SG_GET_COMMAND_Q", 0x2270},
253 +{"scsi/sg.h", "SG_SET_COMMAND_Q", 0x2271},
254 +{"scsi/sg.h", "SG_GET_RESERVED_SIZE", 0x2272},
255 +{"scsi/sg.h", "SG_SET_RESERVED_SIZE", 0x2275},
256 +{"scsi/sg.h", "SG_GET_SCSI_ID", 0x2276},
257 +{"scsi/sg.h", "SG_SET_FORCE_LOW_DMA", 0x2279},
258 +{"scsi/sg.h", "SG_GET_LOW_DMA", 0x227a},
259 +{"scsi/sg.h", "SG_SET_FORCE_PACK_ID", 0x227b},
260 +{"scsi/sg.h", "SG_GET_PACK_ID", 0x227c},
261 +{"scsi/sg.h", "SG_GET_NUM_WAITING", 0x227d},
262 +{"scsi/sg.h", "SG_SET_DEBUG", 0x227e},
263 +{"scsi/sg.h", "SG_GET_SG_TABLESIZE", 0x227f},
264 +{"scsi/sg.h", "SG_GET_VERSION_NUM", 0x2282},
265 +{"scsi/sg.h", "SG_NEXT_CMD_LEN", 0x2283},
266 +{"scsi/sg.h", "SG_SCSI_RESET", 0x2284},
267 +{"scsi/sg.h", "SG_IO", 0x2285},
268 +{"scsi/sg.h", "SG_GET_REQUEST_TABLE", 0x2286},
269 +{"scsi/sg.h", "SG_SET_KEEP_ORPHAN", 0x2287},
270 +{"scsi/sg.h", "SG_GET_KEEP_ORPHAN", 0x2288},
271 +{"linux/apm_bios.h", "APM_IOC_STANDBY", 0x4101},
272 +{"linux/agpgart.h", "AGPIOC_ACQUIRE", 0x4101},
273 +{"linux/apm_bios.h", "APM_IOC_SUSPEND", 0x4102},
274 +{"linux/agpgart.h", "AGPIOC_RELEASE", 0x4102},
275 +{"linux/pmu.h", "PMU_IOC_SLEEP", 0x4200},
276 +{"linux/cciss_ioctl.h", "CCISS_REVALIDVOLS", 0x420a},
277 +{"linux/cciss_ioctl.h", "CCISS_DEREGDISK", 0x420c},
278 +{"linux/cciss_ioctl.h", "CCISS_REGNEWD", 0x420e},
279 +{"linux/cciss_ioctl.h", "CCISS_RESCANDISK", 0x4210},
280 +{"linux/fb.h", "FBIOGET_VSCREENINFO", 0x4600},
281 +{"linux/fb.h", "FBIOPUT_VSCREENINFO", 0x4601},
282 +{"linux/ps2esdi.h", "CMD_READ", 0x4601},
283 +{"linux/fb.h", "FBIOGET_FSCREENINFO", 0x4602},
284 +{"linux/ps2esdi.h", "CMD_WRITE", 0x4602},
285 +{"linux/fb.h", "FBIOGETCMAP", 0x4604},
286 +{"linux/fb.h", "FBIOPUTCMAP", 0x4605},
287 +{"linux/fb.h", "FBIOPAN_DISPLAY", 0x4606},
288 +{"linux/fb.h", "FBIOGET_CON2FBMAP", 0x460f},
289 +{"linux/fb.h", "FBIOPUT_CON2FBMAP", 0x4610},
290 +{"linux/fb.h", "FBIOBLANK", 0x4611},
291 +{"linux/fb.h", "FBIO_ALLOC", 0x4613},
292 +{"linux/fb.h", "FBIO_FREE", 0x4614},
293 +{"linux/fb.h", "FBIOGET_GLYPH", 0x4615},
294 +{"linux/fb.h", "FBIOGET_HWCINFO", 0x4616},
295 +{"linux/fb.h", "FBIOPUT_MODEINFO", 0x4617},
296 +{"linux/fb.h", "FBIOGET_DISPINFO", 0x4618},
297 +{"linux/arcfb.h", "FBIO_WAITEVENT", 0x4688},
298 +{"linux/hiddev.h", "HIDIOCAPPLICATION", 0x4802},
299 +{"linux/hiddev.h", "HIDIOCINITREPORT", 0x4805},
300 +{"linux/isdn.h", "IIOCNETAIF", 0x4901},
301 +{"linux/isdn.h", "IIOCNETDIF", 0x4902},
302 +{"linux/isdn.h", "IIOCNETSCF", 0x4903},
303 +{"linux/isdn.h", "IIOCNETGCF", 0x4904},
304 +{"linux/isdn.h", "IIOCNETANM", 0x4905},
305 +{"linux/isdn.h", "IIOCNETDNM", 0x4906},
306 +{"linux/isdn.h", "IIOCNETGNM", 0x4907},
307 +{"linux/isdn.h", "IIOCGETSET", 0x4908},
308 +{"linux/isdn.h", "IIOCSETSET", 0x4909},
309 +{"linux/isdn.h", "IIOCSETVER", 0x490a},
310 +{"linux/isdn.h", "IIOCNETHUP", 0x490b},
311 +{"linux/isdn.h", "IIOCSETGST", 0x490c},
312 +{"linux/isdn.h", "IIOCSETBRJ", 0x490d},
313 +{"linux/isdn.h", "IIOCSIGPRF", 0x490e},
314 +{"linux/isdn.h", "IIOCGETPRF", 0x490f},
315 +{"linux/isdn.h", "IIOCSETPRF", 0x4910},
316 +{"linux/isdn.h", "IIOCGETMAP", 0x4911},
317 +{"linux/isdn.h", "IIOCSETMAP", 0x4912},
318 +{"linux/isdn.h", "IIOCNETASL", 0x4913},
319 +{"linux/isdn.h", "IIOCNETDIL", 0x4914},
320 +{"linux/isdn.h", "IIOCGETCPS", 0x4915},
321 +{"linux/isdn.h", "IIOCGETDVR", 0x4916},
322 +{"linux/isdn.h", "IIOCNETLCR", 0x4917},
323 +{"linux/isdn.h", "IIOCNETDWRSET", 0x4918},
324 +{"linux/isdn.h", "IIOCNETALN", 0x4920},
325 +{"linux/isdn.h", "IIOCNETDLN", 0x4921},
326 +{"linux/isdn.h", "IIOCNETGPN", 0x4922},
327 +{"linux/isdn.h", "IIOCDBGVAR", 0x497f},
328 +{"linux/isdn.h", "IIOCDRVCTL", 0x4980},
329 +{"linux/kd.h", "KIOCSOUND", 0x4b2f},
330 +{"linux/kd.h", "KDMKTONE", 0x4b30},
331 +{"linux/kd.h", "KDGETLED", 0x4b31},
332 +{"linux/kd.h", "KDSETLED", 0x4b32},
333 +{"linux/kd.h", "KDGKBTYPE", 0x4b33},
334 +{"linux/kd.h", "KDADDIO", 0x4b34},
335 +{"linux/kd.h", "KDDELIO", 0x4b35},
336 +{"linux/kd.h", "KDENABIO", 0x4b36},
337 +{"linux/kd.h", "KDDISABIO", 0x4b37},
338 +{"linux/kd.h", "KDSETMODE", 0x4b3a},
339 +{"linux/kd.h", "KDGETMODE", 0x4b3b},
340 +{"linux/kd.h", "KDMAPDISP", 0x4b3c},
341 +{"linux/kd.h", "KDUNMAPDISP", 0x4b3d},
342 +{"linux/kd.h", "GIO_SCRNMAP", 0x4b40},
343 +{"linux/kd.h", "PIO_SCRNMAP", 0x4b41},
344 +{"linux/kd.h", "KDGKBMODE", 0x4b44},
345 +{"linux/kd.h", "KDSKBMODE", 0x4b45},
346 +{"linux/kd.h", "KDGKBENT", 0x4b46},
347 +{"linux/kd.h", "KDSKBENT", 0x4b47},
348 +{"linux/kd.h", "KDGKBSENT", 0x4b48},
349 +{"linux/kd.h", "KDSKBSENT", 0x4b49},
350 +{"linux/kd.h", "KDGKBDIACR", 0x4b4a},
351 +{"linux/kd.h", "KDSKBDIACR", 0x4b4b},
352 +{"linux/kd.h", "KDGETKEYCODE", 0x4b4c},
353 +{"linux/kd.h", "KDSETKEYCODE", 0x4b4d},
354 +{"linux/kd.h", "KDSIGACCEPT", 0x4b4e},
355 +{"linux/kd.h", "KDKBDREP", 0x4b52},
356 +{"linux/kd.h", "GIO_FONT", 0x4b60},
357 +{"linux/kd.h", "PIO_FONT", 0x4b61},
358 +{"linux/kd.h", "KDGKBMETA", 0x4b62},
359 +{"linux/kd.h", "KDSKBMETA", 0x4b63},
360 +{"linux/kd.h", "KDGKBLED", 0x4b64},
361 +{"linux/kd.h", "KDSKBLED", 0x4b65},
362 +{"linux/kd.h", "GIO_UNIMAP", 0x4b66},
363 +{"linux/kd.h", "PIO_UNIMAP", 0x4b67},
364 +{"linux/kd.h", "PIO_UNIMAPCLR", 0x4b68},
365 +{"linux/kd.h", "GIO_UNISCRNMAP", 0x4b69},
366 +{"linux/kd.h", "PIO_UNISCRNMAP", 0x4b6a},
367 +{"linux/kd.h", "GIO_FONTX", 0x4b6b},
368 +{"linux/kd.h", "PIO_FONTX", 0x4b6c},
369 +{"linux/kd.h", "PIO_FONTRESET", 0x4b6d},
370 +{"linux/kd.h", "GIO_CMAP", 0x4b70},
371 +{"linux/kd.h", "PIO_CMAP", 0x4b71},
372 +{"linux/kd.h", "KDFONTOP", 0x4b72},
373 +{"linux/loop.h", "LOOP_SET_FD", 0x4c00},
374 +{"linux/loop.h", "LOOP_CLR_FD", 0x4c01},
375 +{"linux/loop.h", "LOOP_SET_STATUS", 0x4c02},
376 +{"linux/loop.h", "LOOP_GET_STATUS", 0x4c03},
377 +{"linux/loop.h", "LOOP_SET_STATUS64", 0x4c04},
378 +{"linux/loop.h", "LOOP_GET_STATUS64", 0x4c05},
379 +{"linux/loop.h", "LOOP_CHANGE_FD", 0x4c06},
380 +{"mtd/mtd-abi.h", "MTDFILEMODE", 0x4d13},
381 +{"linux/random.h", "RNDZAPENTCNT", 0x5204},
382 +{"linux/random.h", "RNDCLEARPOOL", 0x5206},
383 +{"linux/cdrom.h", "CDROMPAUSE", 0x5301},
384 +{"linux/n_r3964.h", "R3964_ENABLE_SIGNALS", 0x5301},
385 +{"linux/n_r3964.h", "R3964_SETPRIORITY", 0x5302},
386 +{"linux/cdrom.h", "CDROMRESUME", 0x5302},
387 +{"linux/n_r3964.h", "R3964_USE_BCC", 0x5303},
388 +{"linux/cdrom.h", "CDROMPLAYMSF", 0x5303},
389 +{"linux/n_r3964.h", "R3964_READ_TELEGRAM", 0x5304},
390 +{"linux/cdrom.h", "CDROMPLAYTRKIND", 0x5304},
391 +{"linux/cdrom.h", "CDROMREADTOCHDR", 0x5305},
392 +{"linux/cdrom.h", "CDROMREADTOCENTRY", 0x5306},
393 +{"linux/cdrom.h", "CDROMSTOP", 0x5307},
394 +{"linux/cdrom.h", "CDROMSTART", 0x5308},
395 +{"linux/cdrom.h", "CDROMEJECT", 0x5309},
396 +{"linux/cdrom.h", "CDROMVOLCTRL", 0x530a},
397 +{"linux/cdrom.h", "CDROMSUBCHNL", 0x530b},
398 +{"linux/cdrom.h", "CDROMREADMODE2", 0x530c},
399 +{"linux/cdrom.h", "CDROMREADMODE1", 0x530d},
400 +{"linux/cdrom.h", "CDROMREADAUDIO", 0x530e},
401 +{"linux/cdrom.h", "CDROMEJECT_SW", 0x530f},
402 +{"linux/cdrom.h", "CDROMMULTISESSION", 0x5310},
403 +{"linux/cdrom.h", "CDROM_GET_MCN", 0x5311},
404 +{"linux/cdrom.h", "CDROMRESET", 0x5312},
405 +{"linux/cdrom.h", "CDROMVOLREAD", 0x5313},
406 +{"linux/cdrom.h", "CDROMREADRAW", 0x5314},
407 +{"linux/cdrom.h", "CDROMREADCOOKED", 0x5315},
408 +{"linux/cdrom.h", "CDROMSEEK", 0x5316},
409 +{"linux/cdrom.h", "CDROMPLAYBLK", 0x5317},
410 +{"linux/cdrom.h", "CDROMREADALL", 0x5318},
411 +{"linux/cdrom.h", "CDROMCLOSETRAY", 0x5319},
412 +{"linux/cdrom.h", "CDROMGETSPINDOWN", 0x531d},
413 +{"linux/cdrom.h", "CDROMSETSPINDOWN", 0x531e},
414 +{"linux/cdrom.h", "CDROM_SET_OPTIONS", 0x5320},
415 +{"linux/cdrom.h", "CDROM_CLEAR_OPTIONS", 0x5321},
416 +{"linux/cdrom.h", "CDROM_SELECT_SPEED", 0x5322},
417 +{"linux/cdrom.h", "CDROM_SELECT_DISC", 0x5323},
418 +{"linux/cdrom.h", "CDROM_MEDIA_CHANGED", 0x5325},
419 +{"linux/cdrom.h", "CDROM_DRIVE_STATUS", 0x5326},
420 +{"linux/cdrom.h", "CDROM_DISC_STATUS", 0x5327},
421 +{"linux/cdrom.h", "CDROM_CHANGER_NSLOTS", 0x5328},
422 +{"linux/cdrom.h", "CDROM_LOCKDOOR", 0x5329},
423 +{"linux/cdrom.h", "CDROM_DEBUG", 0x5330},
424 +{"linux/cdrom.h", "CDROM_GET_CAPABILITY", 0x5331},
425 +{"scsi/scsi_ioctl.h", "SCSI_IOCTL_DOORLOCK", 0x5380},
426 +{"scsi/scsi_ioctl.h", "SCSI_IOCTL_DOORUNLOCK", 0x5381},
427 +{"linux/cdrom.h", "CDROMAUDIOBUFSIZ", 0x5382},
428 +{"scsi/scsi.h", "SCSI_IOCTL_GET_IDLUN", 0x5382},
429 +{"scsi/scsi.h", "SCSI_IOCTL_TAGGED_ENABLE", 0x5383},
430 +{"scsi/scsi.h", "SCSI_IOCTL_TAGGED_DISABLE", 0x5384},
431 +{"scsi/scsi.h", "SCSI_IOCTL_PROBE_HOST", 0x5385},
432 +{"scsi/scsi.h", "SCSI_IOCTL_GET_BUS_NUMBER", 0x5386},
433 +{"linux/cdrom.h", "DVD_READ_STRUCT", 0x5390},
434 +{"linux/cdrom.h", "DVD_WRITE_STRUCT", 0x5391},
435 +{"linux/cdrom.h", "DVD_AUTH", 0x5392},
436 +{"linux/cdrom.h", "CDROM_SEND_PACKET", 0x5393},
437 +{"linux/cdrom.h", "CDROM_NEXT_WRITABLE", 0x5394},
438 +{"linux/cdrom.h", "CDROM_LAST_WRITTEN", 0x5395},
439 +{"asm/ioctls.h", "TCGETS", 0x5401},
440 +{"asm/ioctls.h", "TCSETS", 0x5402},
441 +{"asm/ioctls.h", "TCSETSW", 0x5403},
442 +{"asm/ioctls.h", "TCSETSF", 0x5404},
443 +{"asm/ioctls.h", "TCGETA", 0x5405},
444 +{"asm/ioctls.h", "TCSETA", 0x5406},
445 +{"asm/ioctls.h", "TCSETAW", 0x5407},
446 +{"asm/ioctls.h", "TCSETAF", 0x5408},
447 +{"asm/ioctls.h", "TCSBRK", 0x5409},
448 +{"asm/ioctls.h", "TCXONC", 0x540a},
449 +{"asm/ioctls.h", "TCFLSH", 0x540b},
450 +{"asm/ioctls.h", "TIOCEXCL", 0x540c},
451 +{"asm/ioctls.h", "TIOCNXCL", 0x540d},
452 +{"asm/ioctls.h", "TIOCSCTTY", 0x540e},
453 +{"asm/ioctls.h", "TIOCGPGRP", 0x540f},
454 +{"asm/ioctls.h", "TIOCSPGRP", 0x5410},
455 +{"asm/ioctls.h", "TIOCOUTQ", 0x5411},
456 +{"asm/ioctls.h", "TIOCSTI", 0x5412},
457 +{"asm/ioctls.h", "TIOCGWINSZ", 0x5413},
458 +{"asm/ioctls.h", "TIOCSWINSZ", 0x5414},
459 +{"asm/ioctls.h", "TIOCMGET", 0x5415},
460 +{"asm/ioctls.h", "TIOCMBIS", 0x5416},
461 +{"asm/ioctls.h", "TIOCMBIC", 0x5417},
462 +{"asm/ioctls.h", "TIOCMSET", 0x5418},
463 +{"asm/ioctls.h", "TIOCGSOFTCAR", 0x5419},
464 +{"asm/ioctls.h", "TIOCSSOFTCAR", 0x541a},
465 +{"asm/ioctls.h", "FIONREAD", 0x541b},
466 +{"asm/ioctls.h", "TIOCLINUX", 0x541c},
467 +{"asm/ioctls.h", "TIOCCONS", 0x541d},
468 +{"asm/ioctls.h", "TIOCGSERIAL", 0x541e},
469 +{"asm/ioctls.h", "TIOCSSERIAL", 0x541f},
470 +{"asm/ioctls.h", "TIOCPKT", 0x5420},
471 +{"asm/ioctls.h", "FIONBIO", 0x5421},
472 +{"asm/ioctls.h", "TIOCNOTTY", 0x5422},
473 +{"asm/ioctls.h", "TIOCSETD", 0x5423},
474 +{"asm/ioctls.h", "TIOCGETD", 0x5424},
475 +{"asm/ioctls.h", "TCSBRKP", 0x5425},
476 +{"asm/ioctls.h", "TIOCSBRK", 0x5427},
477 +{"asm/ioctls.h", "TIOCCBRK", 0x5428},
478 +{"asm/ioctls.h", "TIOCGSID", 0x5429},
479 +{"asm/ioctls.h", "FIONCLEX", 0x5450},
480 +{"asm/ioctls.h", "FIOCLEX", 0x5451},
481 +{"asm/ioctls.h", "FIOASYNC", 0x5452},
482 +{"asm/ioctls.h", "TIOCSERCONFIG", 0x5453},
483 +{"asm/ioctls.h", "TIOCSERGWILD", 0x5454},
484 +{"asm/ioctls.h", "TIOCSERSWILD", 0x5455},
485 +{"asm/ioctls.h", "TIOCGLCKTRMIOS", 0x5456},
486 +{"asm/ioctls.h", "TIOCSLCKTRMIOS", 0x5457},
487 +{"asm/ioctls.h", "TIOCSERGSTRUCT", 0x5458},
488 +{"asm/ioctls.h", "TIOCSERGETLSR", 0x5459},
489 +{"asm/ioctls.h", "TIOCSERGETMULTI", 0x545a},
490 +{"asm/ioctls.h", "TIOCSERSETMULTI", 0x545b},
491 +{"asm/ioctls.h", "TIOCMIWAIT", 0x545c},
492 +{"asm/ioctls.h", "TIOCGICOUNT", 0x545d},
493 +{"asm/ioctls.h", "TIOCGHAYESESP", 0x545e},
494 +{"asm/ioctls.h", "TIOCSHAYESESP", 0x545f},
495 +{"asm/ioctls.h", "FIOQSIZE", 0x5460},
496 +{"linux/uinput.h", "UI_DEV_CREATE", 0x5501},
497 +{"linux/uinput.h", "UI_DEV_DESTROY", 0x5502},
498 +{"linux/vt.h", "VT_OPENQRY", 0x5600},
499 +{"linux/vt.h", "VT_GETMODE", 0x5601},
500 +{"linux/videodev2.h", "VIDIOC_RESERVED", 0x5601},
501 +{"linux/vt.h", "VT_SETMODE", 0x5602},
502 +{"linux/vt.h", "VT_GETSTATE", 0x5603},
503 +{"linux/vt.h", "VT_SENDSIG", 0x5604},
504 +{"linux/vt.h", "VT_RELDISP", 0x5605},
505 +{"linux/vt.h", "VT_ACTIVATE", 0x5606},
506 +{"linux/vt.h", "VT_WAITACTIVE", 0x5607},
507 +{"linux/vt.h", "VT_DISALLOCATE", 0x5608},
508 +{"linux/vt.h", "VT_RESIZE", 0x5609},
509 +{"linux/vt.h", "VT_RESIZEX", 0x560a},
510 +{"linux/vt.h", "VT_LOCKSWITCH", 0x560b},
511 +{"linux/vt.h", "VT_UNLOCKSWITCH", 0x560c},
512 +{"linux/vt.h", "VT_GETHIFONTMASK", 0x560d},
513 +{"linux/videodev2.h", "VIDIOC_LOG_STATUS", 0x5646},
514 +{"linux/sonet.h", "SONET_SETFRAMING", 0x6115},
515 +{"linux/atm_nicstar.h", "NS_ADJBUFLEV", 0x6163},
516 +{"linux/atm_tcp.h", "SIOCSIFATMTCP", 0x6180},
517 +{"linux/atm_tcp.h", "ATMTCP_CREATE", 0x618e},
518 +{"linux/atm_tcp.h", "ATMTCP_REMOVE", 0x618f},
519 +{"linux/atmlec.h", "ATMLEC_CTRL", 0x61d0},
520 +{"linux/atmlec.h", "ATMLEC_DATA", 0x61d1},
521 +{"linux/atmlec.h", "ATMLEC_MCAST", 0x61d2},
522 +{"linux/atmmpc.h", "ATMMPC_CTRL", 0x61d8},
523 +{"linux/atmmpc.h", "ATMMPC_DATA", 0x61d9},
524 +{"linux/atmclip.h", "SIOCMKCLIP", 0x61e0},
525 +{"linux/atmarp.h", "ATMARPD_CTRL", 0x61e1},
526 +{"linux/atmarp.h", "ATMARP_MKIP", 0x61e2},
527 +{"linux/atmarp.h", "ATMARP_SETENTRY", 0x61e3},
528 +{"linux/atmarp.h", "ATMARP_ENCAP", 0x61e5},
529 +{"linux/atmsvc.h", "ATMSIGD_CTRL", 0x61f0},
530 +{"linux/cm4000_cs.h", "CM_IOCSRDR", 0x6303},
531 +{"linux/cm4000_cs.h", "CM_IOCARDOFF", 0x6304},
532 +{"linux/chio.h", "CHIOINITELEM", 0x6311},
533 +{"linux/comstats.h", "COM_GETPORTSTATS", 0x631e},
534 +{"linux/comstats.h", "COM_CLRPORTSTATS", 0x631f},
535 +{"linux/comstats.h", "COM_GETBRDSTATS", 0x6320},
536 +{"linux/comstats.h", "COM_READPORT", 0x6328},
537 +{"linux/comstats.h", "COM_READBOARD", 0x6329},
538 +{"linux/comstats.h", "COM_READPANEL", 0x632a},
539 +{"linux/video_decoder.h", "DECODER_DUMP", 0x64c0},
540 +{"linux/hpet.h", "HPET_IE_ON", 0x6801},
541 +{"linux/hpet.h", "HPET_IE_OFF", 0x6802},
542 +{"linux/hpet.h", "HPET_EPI", 0x6804},
543 +{"linux/hpet.h", "HPET_DPI", 0x6805},
544 +{"linux/mmtimer.h", "MMTIMER_GETOFFSET", 0x6d00},
545 +{"linux/synclink.h", "MGSL_IOCSTXIDLE", 0x6d02},
546 +{"linux/synclink.h", "MGSL_IOCGTXIDLE", 0x6d03},
547 +{"linux/synclink.h", "MGSL_IOCTXENABLE", 0x6d04},
548 +{"linux/mmtimer.h", "MMTIMER_GETBITS", 0x6d04},
549 +{"linux/synclink.h", "MGSL_IOCRXENABLE", 0x6d05},
550 +{"linux/mmtimer.h", "MMTIMER_MMAPAVAIL", 0x6d06},
551 +{"linux/synclink.h", "MGSL_IOCTXABORT", 0x6d06},
552 +{"linux/synclink.h", "MGSL_IOCGSTATS", 0x6d07},
553 +{"linux/synclink.h", "MGSL_IOCLOOPTXDONE", 0x6d09},
554 +{"linux/synclink.h", "MGSL_IOCSIF", 0x6d0a},
555 +{"linux/synclink.h", "MGSL_IOCGIF", 0x6d0b},
556 +{"linux/synclink.h", "MGSL_IOCCLRMODCOUNT", 0x6d0f},
557 +{"linux/ncp_fs.h", "NCP_IOC_CONN_LOGGED_IN", 0x6e03},
558 +{"linux/rtc.h", "RTC_AIE_ON", 0x7001},
559 +{"linux/rtc.h", "RTC_AIE_OFF", 0x7002},
560 +{"linux/rtc.h", "RTC_UIE_ON", 0x7003},
561 +{"linux/rtc.h", "RTC_UIE_OFF", 0x7004},
562 +{"linux/rtc.h", "RTC_PIE_ON", 0x7005},
563 +{"linux/rtc.h", "RTC_PIE_OFF", 0x7006},
564 +{"linux/rtc.h", "RTC_WIE_ON", 0x700f},
565 +{"linux/rtc.h", "RTC_WIE_OFF", 0x7010},
566 +{"linux/nvram.h", "NVRAM_INIT", 0x7040},
567 +{"linux/nvram.h", "NVRAM_SETCKS", 0x7041},
568 +{"linux/ppdev.h", "PPCLAIM", 0x708b},
569 +{"linux/ppdev.h", "PPRELEASE", 0x708c},
570 +{"linux/ppdev.h", "PPYIELD", 0x708d},
571 +{"linux/ppdev.h", "PPEXCL", 0x708f},
572 +{"linux/telephony.h", "PHONE_CAPABILITIES", 0x7180},
573 +{"linux/telephony.h", "PHONE_RING", 0x7183},
574 +{"linux/telephony.h", "PHONE_HOOKSTATE", 0x7184},
575 +{"linux/telephony.h", "OLD_PHONE_RING_START", 0x7187},
576 +{"linux/telephony.h", "PHONE_RING_STOP", 0x7188},
577 +{"linux/telephony.h", "PHONE_REC_START", 0x718a},
578 +{"linux/telephony.h", "PHONE_REC_STOP", 0x718b},
579 +{"linux/telephony.h", "PHONE_REC_LEVEL", 0x718f},
580 +{"linux/telephony.h", "PHONE_PLAY_START", 0x7191},
581 +{"linux/telephony.h", "PHONE_PLAY_STOP", 0x7192},
582 +{"linux/telephony.h", "PHONE_PLAY_LEVEL", 0x7195},
583 +{"linux/telephony.h", "PHONE_GET_TONE_ON_TIME", 0x719e},
584 +{"linux/telephony.h", "PHONE_GET_TONE_OFF_TIME", 0x719f},
585 +{"linux/telephony.h", "PHONE_GET_TONE_STATE", 0x71a0},
586 +{"linux/telephony.h", "PHONE_BUSY", 0x71a1},
587 +{"linux/telephony.h", "PHONE_RINGBACK", 0x71a2},
588 +{"linux/telephony.h", "PHONE_DIALTONE", 0x71a3},
589 +{"linux/telephony.h", "PHONE_CPT_STOP", 0x71a4},
590 +{"linux/telephony.h", "PHONE_PSTN_GET_STATE", 0x71a5},
591 +{"linux/telephony.h", "PHONE_PSTN_LINETEST", 0x71a8},
592 +{"linux/ixjuser.h", "IXJCTL_DSP_RESET", 0x71c0},
593 +{"linux/ixjuser.h", "IXJCTL_DSP_IDLE", 0x71c5},
594 +{"linux/ixjuser.h", "IXJCTL_TESTRAM", 0x71c6},
595 +{"linux/ixjuser.h", "IXJCTL_AEC_STOP", 0x71cc},
596 +{"linux/ixjuser.h", "IXJCTL_AEC_GET_LEVEL", 0x71cd},
597 +{"linux/ixjuser.h", "IXJCTL_PSTN_LINETEST", 0x71d3},
598 +{"linux/ixjuser.h", "IXJCTL_PLAY_CID", 0x71d7},
599 +{"linux/ixjuser.h", "IXJCTL_DRYBUFFER_CLEAR", 0x71e7},
600 +{"linux/cdk.h", "STL_BINTR", 0x7314},
601 +{"linux/cdk.h", "STL_BSTART", 0x7315},
602 +{"linux/cdk.h", "STL_BSTOP", 0x7316},
603 +{"linux/cdk.h", "STL_BRESET", 0x7317},
604 +{"linux/cdk.h", "STL_GETPFLAG", 0x7350},
605 +{"linux/cdk.h", "STL_SETPFLAG", 0x7351},
606 +{"linux/if_ppp.h", "PPPIOCDISCONN", 0x7439},
607 +{"linux/if_ppp.h", "PPPIOCXFERUNIT", 0x744e},
608 +{"linux/meye.h", "MEYEIOC_STILLCAPT", 0x76c4},
609 +{"linux/videotext.h", "VTXIOCPUTPAGE", 0x8108},
610 +{"linux/videotext.h", "VTXIOCSETDISP", 0x8109},
611 +{"linux/videotext.h", "VTXIOCPUTSTAT", 0x810a},
612 +{"linux/videotext.h", "VTXIOCCLRCACHE", 0x810b},
613 +{"asm/sockios.h", "FIOSETOWN", 0x8901},
614 +{"asm/sockios.h", "SIOCSPGRP", 0x8902},
615 +{"asm/sockios.h", "FIOGETOWN", 0x8903},
616 +{"asm/sockios.h", "SIOCGPGRP", 0x8904},
617 +{"asm/sockios.h", "SIOCATMARK", 0x8905},
618 +{"asm/sockios.h", "SIOCGSTAMP", 0x8906},
619 +{"linux/sockios.h", "SIOCADDRT", 0x890b},
620 +{"linux/sockios.h", "SIOCDELRT", 0x890c},
621 +{"linux/sockios.h", "SIOCRTMSG", 0x890d},
622 +{"linux/sockios.h", "SIOCGIFNAME", 0x8910},
623 +{"linux/sockios.h", "SIOCSIFLINK", 0x8911},
624 +{"linux/sockios.h", "SIOCGIFCONF", 0x8912},
625 +{"linux/sockios.h", "SIOCGIFFLAGS", 0x8913},
626 +{"linux/sockios.h", "SIOCSIFFLAGS", 0x8914},
627 +{"linux/sockios.h", "SIOCGIFADDR", 0x8915},
628 +{"linux/sockios.h", "SIOCSIFADDR", 0x8916},
629 +{"linux/sockios.h", "SIOCGIFDSTADDR", 0x8917},
630 +{"linux/sockios.h", "SIOCSIFDSTADDR", 0x8918},
631 +{"linux/sockios.h", "SIOCGIFBRDADDR", 0x8919},
632 +{"linux/sockios.h", "SIOCSIFBRDADDR", 0x891a},
633 +{"linux/sockios.h", "SIOCGIFNETMASK", 0x891b},
634 +{"linux/sockios.h", "SIOCSIFNETMASK", 0x891c},
635 +{"linux/sockios.h", "SIOCGIFMETRIC", 0x891d},
636 +{"linux/sockios.h", "SIOCSIFMETRIC", 0x891e},
637 +{"linux/sockios.h", "SIOCGIFMEM", 0x891f},
638 +{"linux/sockios.h", "SIOCSIFMEM", 0x8920},
639 +{"linux/sockios.h", "SIOCGIFMTU", 0x8921},
640 +{"linux/sockios.h", "SIOCSIFMTU", 0x8922},
641 +{"linux/sockios.h", "SIOCSIFNAME", 0x8923},
642 +{"linux/sockios.h", "SIOCSIFHWADDR", 0x8924},
643 +{"linux/sockios.h", "SIOCGIFENCAP", 0x8925},
644 +{"linux/sockios.h", "SIOCSIFENCAP", 0x8926},
645 +{"linux/sockios.h", "SIOCGIFHWADDR", 0x8927},
646 +{"linux/sockios.h", "SIOCGIFSLAVE", 0x8929},
647 +{"linux/sockios.h", "SIOCSIFSLAVE", 0x8930},
648 +{"linux/sockios.h", "SIOCADDMULTI", 0x8931},
649 +{"linux/sockios.h", "SIOCDELMULTI", 0x8932},
650 +{"linux/sockios.h", "SIOCGIFINDEX", 0x8933},
651 +{"linux/sockios.h", "SIOCSIFPFLAGS", 0x8934},
652 +{"linux/sockios.h", "SIOCGIFPFLAGS", 0x8935},
653 +{"linux/sockios.h", "SIOCDIFADDR", 0x8936},
654 +{"linux/sockios.h", "SIOCSIFHWBROADCAST", 0x8937},
655 +{"linux/sockios.h", "SIOCGIFCOUNT", 0x8938},
656 +{"linux/sockios.h", "SIOCGIFBR", 0x8940},
657 +{"linux/sockios.h", "SIOCSIFBR", 0x8941},
658 +{"linux/sockios.h", "SIOCGIFTXQLEN", 0x8942},
659 +{"linux/sockios.h", "SIOCSIFTXQLEN", 0x8943},
660 +{"linux/sockios.h", "SIOCGIFDIVERT", 0x8944},
661 +{"linux/sockios.h", "SIOCSIFDIVERT", 0x8945},
662 +{"linux/sockios.h", "SIOCETHTOOL", 0x8946},
663 +{"linux/sockios.h", "SIOCGMIIPHY", 0x8947},
664 +{"linux/sockios.h", "SIOCGMIIREG", 0x8948},
665 +{"linux/sockios.h", "SIOCSMIIREG", 0x8949},
666 +{"linux/sockios.h", "SIOCWANDEV", 0x894a},
667 +{"linux/sockios.h", "SIOCDARP", 0x8953},
668 +{"linux/sockios.h", "SIOCGARP", 0x8954},
669 +{"linux/sockios.h", "SIOCSARP", 0x8955},
670 +{"linux/sockios.h", "SIOCDRARP", 0x8960},
671 +{"linux/sockios.h", "SIOCGRARP", 0x8961},
672 +{"linux/sockios.h", "SIOCSRARP", 0x8962},
673 +{"linux/sockios.h", "SIOCGIFMAP", 0x8970},
674 +{"linux/sockios.h", "SIOCSIFMAP", 0x8971},
675 +{"linux/sockios.h", "SIOCADDDLCI", 0x8980},
676 +{"linux/sockios.h", "SIOCDELDLCI", 0x8981},
677 +{"linux/sockios.h", "SIOCGIFVLAN", 0x8982},
678 +{"linux/sockios.h", "SIOCSIFVLAN", 0x8983},
679 +{"linux/sockios.h", "SIOCBONDENSLAVE", 0x8990},
680 +{"linux/sockios.h", "SIOCBONDRELEASE", 0x8991},
681 +{"linux/sockios.h", "SIOCBONDSETHWADDR", 0x8992},
682 +{"linux/sockios.h", "SIOCBONDSLAVEINFOQUERY", 0x8993},
683 +{"linux/sockios.h", "SIOCBONDINFOQUERY", 0x8994},
684 +{"linux/sockios.h", "SIOCBONDCHANGEACTIVE", 0x8995},
685 +{"linux/sockios.h", "SIOCBRADDBR", 0x89a0},
686 +{"linux/sockios.h", "SIOCBRDELBR", 0x89a1},
687 +{"linux/sockios.h", "SIOCBRADDIF", 0x89a2},
688 +{"linux/sockios.h", "SIOCBRDELIF", 0x89a3},
689 +{"linux/sockios.h", "SIOCPROTOPRIVATE", 0x89e0},
690 +{"linux/sockios.h", "SIOCDEVPRIVATE", 0x89f0},
691 +{"linux/auto_fs.h", "AUTOFS_IOC_READY", 0x9360},
692 +{"linux/auto_fs.h", "AUTOFS_IOC_FAIL", 0x9361},
693 +{"linux/auto_fs.h", "AUTOFS_IOC_CATATONIC", 0x9362},
694 +{"linux/nbd.h", "NBD_SET_SOCK", 0xab00},
695 +{"linux/nbd.h", "NBD_SET_BLKSIZE", 0xab01},
696 +{"linux/nbd.h", "NBD_SET_SIZE", 0xab02},
697 +{"linux/nbd.h", "NBD_DO_IT", 0xab03},
698 +{"linux/nbd.h", "NBD_CLEAR_SOCK", 0xab04},
699 +{"linux/nbd.h", "NBD_CLEAR_QUE", 0xab05},
700 +{"linux/nbd.h", "NBD_PRINT_DEBUG", 0xab06},
701 +{"linux/nbd.h", "NBD_SET_SIZE_BLOCKS", 0xab07},
702 +{"linux/nbd.h", "NBD_DISCONNECT", 0xab08},
703 +{"linux/raw.h", "RAW_SETBIND", 0xac00},
704 +{"linux/raw.h", "RAW_GETBIND", 0xac01},
705 +{"linux/if_pppox.h", "PPPOEIOCDFWD", 0xb101},
706 +{"linux/cyclades.h", "CYGETMON", 0x435901},
707 +{"linux/cyclades.h", "CYGETTHRESH", 0x435902},
708 +{"linux/cyclades.h", "CYSETTHRESH", 0x435903},
709 +{"linux/cyclades.h", "CYGETDEFTHRESH", 0x435904},
710 +{"linux/cyclades.h", "CYSETDEFTHRESH", 0x435905},
711 +{"linux/cyclades.h", "CYGETTIMEOUT", 0x435906},
712 +{"linux/cyclades.h", "CYSETTIMEOUT", 0x435907},
713 +{"linux/cyclades.h", "CYGETDEFTIMEOUT", 0x435908},
714 +{"linux/cyclades.h", "CYSETDEFTIMEOUT", 0x435909},
715 +{"linux/cyclades.h", "CYSETRFLOW", 0x43590a},
716 +{"linux/cyclades.h", "CYGETRFLOW", 0x43590b},
717 +{"linux/cyclades.h", "CYSETRTSDTR_INV", 0x43590c},
718 +{"linux/cyclades.h", "CYGETRTSDTR_INV", 0x43590d},
719 +{"linux/cyclades.h", "CYZSETPOLLCYCLE", 0x43590e},
720 +{"linux/cyclades.h", "CYZGETPOLLCYCLE", 0x43590f},
721 +{"linux/cyclades.h", "CYGETCD1400VER", 0x435910},
722 +{"linux/cyclades.h", "CYGETCARDINFO", 0x435911},
723 +{"linux/cyclades.h", "CYSETWAIT", 0x435912},
724 +{"linux/cyclades.h", "CYGETWAIT", 0x435913},
725 +{"linux/videodev2.h", "VIDIOC_S_PRIORITY", 0x40015644},
726 +{"linux/ppdev.h", "PPWCONTROL", 0x40017084},
727 +{"linux/ppdev.h", "PPWDATA", 0x40017086},
728 +{"linux/ppdev.h", "PPWCTLONIRQ", 0x40017092},
729 +{"linux/telephony.h", "PHONE_MAXRINGS", 0x40017185},
730 +{"linux/telephony.h", "PHONE_PLAY_TONE", 0x4001719b},
731 +{"linux/sonypi.h", "SONYPI_IOCSBRT", 0x40017600},
732 +{"linux/sonypi.h", "SONYPI_IOCSBLUE", 0x40017609},
733 +{"linux/sonypi.h", "SONYPI_IOCSFAN", 0x4001760b},
734 +{"linux/atmdev.h", "ATM_SETBACKEND", 0x400261f2},
735 +{"linux/atmdev.h", "ATM_NEWBACKENDIF", 0x400261f3},
736 +{"linux/ncp_fs.h", "NCP_IOC_GETMOUNTUID", 0x40026e02},
737 +{"linux/ppdev.h", "PPFCONTROL", 0x4002708e},
738 +{"linux/telephony.h", "PHONE_RING_CADENCE", 0x40027186},
739 +{"linux/fs.h", "BLKBSZSET", 0x40041271},
740 +{"linux/radeonfb.h", "FBIO_RADEON_SET_MIRROR", 0x40044004},
741 +{"linux/agpgart.h", "AGPIOC_SETUP", 0x40044103},
742 +{"linux/agpgart.h", "AGPIOC_RESERVE", 0x40044104},
743 +{"linux/agpgart.h", "AGPIOC_PROTECT", 0x40044105},
744 +{"linux/agpgart.h", "AGPIOC_DEALLOCATE", 0x40044107},
745 +{"linux/agpgart.h", "AGPIOC_BIND", 0x40044108},
746 +{"linux/agpgart.h", "AGPIOC_UNBIND", 0x40044109},
747 +{"linux/pmu.h", "PMU_IOC_SET_BACKLIGHT", 0x40044202},
748 +{"linux/cciss_ioctl.h", "CCISS_REGNEWDISK", 0x4004420d},
749 +{"linux/input.h", "EVIOCRMFF", 0x40044581},
750 +{"linux/input.h", "EVIOCGRAB", 0x40044590},
751 +{"linux/matroxfb.h", "FBIO_WAITFORVSYNC", 0x40044620},
752 +{"linux/hiddev.h", "HIDIOCSFLAG", 0x4004480f},
753 +{"mtd/mtd-abi.h", "OTPGETREGIONCOUNT", 0x40044d0e},
754 +{"linux/ticable.h", "IOCTL_TIUSB_TIMEOUT", 0x40044e20},
755 +{"linux/ticable.h", "IOCTL_TIUSB_RESET_DEVICE", 0x40044e21},
756 +{"linux/ticable.h", "IOCTL_TIUSB_RESET_PIPES", 0x40044e22},
757 +{"linux/random.h", "RNDADDTOENTCNT", 0x40045201},
758 +{"asm/ioctls.h", "TIOCSPTLCK", 0x40045431},
759 +{"linux/if_tun.h", "TUNSETNOCSUM", 0x400454c8},
760 +{"linux/if_tun.h", "TUNSETDEBUG", 0x400454c9},
761 +{"linux/if_tun.h", "TUNSETIFF", 0x400454ca},
762 +{"linux/if_tun.h", "TUNSETPERSIST", 0x400454cb},
763 +{"linux/if_tun.h", "TUNSETOWNER", 0x400454cc},
764 +{"linux/if_tun.h", "TUNSETLINK", 0x400454cd},
765 +{"linux/uinput.h", "UI_SET_EVBIT", 0x40045564},
766 +{"linux/uinput.h", "UI_SET_KEYBIT", 0x40045565},
767 +{"linux/uinput.h", "UI_SET_RELBIT", 0x40045566},
768 +{"linux/uinput.h", "UI_SET_ABSBIT", 0x40045567},
769 +{"linux/uinput.h", "UI_SET_MSCBIT", 0x40045568},
770 +{"linux/uinput.h", "UI_SET_LEDBIT", 0x40045569},
771 +{"linux/uinput.h", "UI_SET_SNDBIT", 0x4004556a},
772 +{"linux/uinput.h", "UI_SET_FFBIT", 0x4004556b},
773 +{"linux/uinput.h", "UI_SET_PHYS", 0x4004556c},
774 +{"linux/uinput.h", "UI_SET_SWBIT", 0x4004556d},
775 +{"linux/videodev2.h", "VIDIOC_OVERLAY", 0x4004560e},
776 +{"linux/videodev2.h", "VIDIOC_STREAMON", 0x40045612},
777 +{"linux/videodev2.h", "VIDIOC_STREAMOFF", 0x40045613},
778 +{"linux/atmdev.h", "ATM_SETSC", 0x400461f1},
779 +{"linux/atmdev.h", "ATM_DROPPARTY", 0x400461f5},
780 +{"linux/cm4000_cs.h", "CM_IOCSPTS", 0x40046302},
781 +{"linux/chio.h", "CHIOSPICKER", 0x40046305},
782 +{"linux/cm4000_cs.h", "CM_IOSDBGLVL", 0x400463fa},
783 +{"linux/video_decoder.h", "DECODER_SET_NORM", 0x40046403},
784 +{"linux/video_decoder.h", "DECODER_SET_INPUT", 0x40046404},
785 +{"linux/video_decoder.h", "DECODER_SET_OUTPUT", 0x40046405},
786 +{"linux/video_decoder.h", "DECODER_ENABLE_OUTPUT", 0x40046406},
787 +{"linux/video_decoder.h", "DECODER_SET_GPIO", 0x40046408},
788 +{"linux/video_decoder.h", "DECODER_SET_VBI_BYPASS", 0x4004640a},
789 +{"linux/video_encoder.h", "ENCODER_SET_NORM", 0x40046502},
790 +{"linux/video_encoder.h", "ENCODER_SET_INPUT", 0x40046503},
791 +{"linux/video_encoder.h", "ENCODER_SET_OUTPUT", 0x40046504},
792 +{"linux/video_encoder.h", "ENCODER_ENABLE_OUTPUT", 0x40046505},
793 +{"linux/ext3_fs.h", "EXT3_IOC_SETFLAGS", 0x40046602},
794 +{"linux/ext2_fs.h", "EXT2_IOC_SETFLAGS", 0x40046602},
795 +{"linux/iflags.h", "IFLAGS_SET_IOC", 0x40046602},
796 +{"linux/ext3_fs.h", "EXT3_IOC_SETVERSION", 0x40046604},
797 +{"linux/ext3_fs.h", "EXT3_IOC_SETRSVSZ", 0x40046606},
798 +{"linux/ext3_fs.h", "EXT3_IOC_GROUP_EXTEND", 0x40046607},
799 +{"linux/hpet.h", "HPET_IRQFREQ", 0x40046806},
800 +{"linux/ncp_fs.h", "NCP_IOC_GETMOUNTUID2", 0x40046e02},
801 +{"linux/ncp_fs.h", "NCP_IOC_SET_SIGN_WANTED", 0x40046e06},
802 +{"linux/ncp_fs.h", "NCP_IOC_GETDENTRYTTL", 0x40046e0c},
803 +{"linux/matroxfb.h", "MATROXFB_SET_OUTPUT_CONNECTION", 0x40046ef8},
804 +{"linux/matroxfb.h", "MATROXFB_SET_OUTPUT_MODE", 0x40046efa},
805 +{"linux/rtc.h", "RTC_IRQP_SET", 0x4004700c},
806 +{"linux/rtc.h", "RTC_EPOCH_SET", 0x4004700e},
807 +{"linux/ppdev.h", "PPSETMODE", 0x40047080},
808 +{"linux/ppdev.h", "PPDATADIR", 0x40047090},
809 +{"linux/ppdev.h", "PPNEGOT", 0x40047091},
810 +{"linux/ppdev.h", "PPSETPHASE", 0x40047094},
811 +{"linux/ppdev.h", "PPSETFLAGS", 0x4004709b},
812 +{"linux/ticable.h", "IOCTL_TISER_DELAY", 0x400470a0},
813 +{"linux/ticable.h", "IOCTL_TISER_TIMEOUT", 0x400470a1},
814 +{"linux/ticable.h", "IOCTL_TIPAR_DELAY", 0x400470a8},
815 +{"linux/ticable.h", "IOCTL_TIPAR_TIMEOUT", 0x400470a9},
816 +{"linux/serio.h", "SPIOCSTYPE", 0x40047101},
817 +{"linux/telephony.h", "PHONE_CAPABILITIES_CHECK", 0x40047182},
818 +{"linux/telephony.h", "PHONE_RING_START", 0x40047187},
819 +{"linux/telephony.h", "PHONE_REC_CODEC", 0x40047189},
820 +{"linux/telephony.h", "PHONE_REC_DEPTH", 0x4004718c},
821 +{"linux/telephony.h", "PHONE_FRAME", 0x4004718d},
822 +{"linux/telephony.h", "PHONE_REC_VOLUME", 0x4004718e},
823 +{"linux/telephony.h", "PHONE_PLAY_CODEC", 0x40047190},
824 +{"linux/telephony.h", "PHONE_PLAY_DEPTH", 0x40047193},
825 +{"linux/telephony.h", "PHONE_PLAY_VOLUME", 0x40047194},
826 +{"linux/telephony.h", "PHONE_DTMF_OOB", 0x40047199},
827 +{"linux/telephony.h", "PHONE_SET_TONE_ON_TIME", 0x4004719c},
828 +{"linux/telephony.h", "PHONE_SET_TONE_OFF_TIME", 0x4004719d},
829 +{"linux/telephony.h", "PHONE_PSTN_SET_STATE", 0x400471a4},
830 +{"linux/telephony.h", "PHONE_WINK_DURATION", 0x400471a6},
831 +{"linux/telephony.h", "PHONE_VAD", 0x400471a9},
832 +{"linux/telephony.h", "PHONE_WINK", 0x400471aa},
833 +{"linux/ixjuser.h", "IXJCTL_SET_FILTER", 0x400471c7},
834 +{"linux/ixjuser.h", "IXJCTL_GET_FILTER_HIST", 0x400471c8},
835 +{"linux/ixjuser.h", "IXJCTL_INIT_TONE", 0x400471c9},
836 +{"linux/ixjuser.h", "IXJCTL_TONE_CADENCE", 0x400471ca},
837 +{"linux/ixjuser.h", "IXJCTL_AEC_START", 0x400471cb},
838 +{"linux/ixjuser.h", "IXJCTL_SET_LED", 0x400471ce},
839 +{"linux/ixjuser.h", "IXJCTL_MIXER", 0x400471cf},
840 +{"linux/ixjuser.h", "IXJCTL_DAA_COEFF_SET", 0x400471d0},
841 +{"linux/ixjuser.h", "IXJCTL_PORT", 0x400471d1},
842 +{"linux/ixjuser.h", "IXJCTL_DAA_AGAIN", 0x400471d2},
843 +{"linux/ixjuser.h", "IXJCTL_POTS_PSTN", 0x400471d5},
844 +{"linux/ixjuser.h", "IXJCTL_FILTER_CADENCE", 0x400471d6},
845 +{"linux/ixjuser.h", "IXJCTL_CIDCW", 0x400471d9},
846 +{"linux/telephony.h", "PHONE_REC_VOLUME_LINEAR", 0x400471db},
847 +{"linux/telephony.h", "PHONE_PLAY_VOLUME_LINEAR", 0x400471dc},
848 +{"linux/ixjuser.h", "IXJCTL_SET_FILTER_RAW", 0x400471dd},
849 +{"linux/ixjuser.h", "IXJCTL_HZ", 0x400471e0},
850 +{"linux/ixjuser.h", "IXJCTL_RATE", 0x400471e1},
851 +{"linux/ixjuser.h", "IXJCTL_DTMF_PRESCALE", 0x400471e8},
852 +{"linux/ixjuser.h", "IXJCTL_SIGCTL", 0x400471e9},
853 +{"linux/ixjuser.h", "IXJCTL_SC_RXG", 0x400471ea},
854 +{"linux/ixjuser.h", "IXJCTL_SC_TXG", 0x400471eb},
855 +{"linux/ixjuser.h", "IXJCTL_INTERCOM_START", 0x400471fd},
856 +{"linux/ixjuser.h", "IXJCTL_INTERCOM_STOP", 0x400471fe},
857 +{"linux/msdos_fs.h", "FAT_IOCTL_SET_ATTRIBUTES", 0x40047211},
858 +{"linux/if_ppp.h", "PPPIOCATTCHAN", 0x40047438},
859 +{"linux/if_ppp.h", "PPPIOCCONNECT", 0x4004743a},
860 +{"linux/if_ppp.h", "PPPIOCSMRRU", 0x4004743b},
861 +{"linux/if_ppp.h", "PPPIOCDETACH", 0x4004743c},
862 +{"linux/if_ppp.h", "PPPIOCATTACH", 0x4004743d},
863 +{"linux/if_ppp.h", "PPPIOCSDEBUG", 0x40047440},
864 +{"linux/if_ppp.h", "PPPIOCSMAXCID", 0x40047451},
865 +{"linux/if_ppp.h", "PPPIOCSMRU", 0x40047452},
866 +{"linux/if_ppp.h", "PPPIOCSRASYNCMAP", 0x40047454},
867 +{"linux/if_ppp.h", "PPPIOCSASYNCMAP", 0x40047457},
868 +{"linux/if_ppp.h", "PPPIOCSFLAGS", 0x40047459},
869 +{"linux/isdn_ppp.h", "PPPIOCBUNDLE", 0x40047481},
870 +{"linux/isdn_ppp.h", "PPPIOCSMPFLAGS", 0x40047483},
871 +{"linux/isdn_ppp.h", "PPPIOCSMPMTU", 0x40047484},
872 +{"linux/isdn_ppp.h", "PPPIOCSMPMRU", 0x40047485},
873 +{"linux/isdn_ppp.h", "PPPIOCSCOMPRESSOR", 0x40047487},
874 +{"linux/ext2_fs.h", "EXT2_IOC_SETVERSION", 0x40047602},
875 +{"linux/ext3_fs.h", "EXT3_IOC_SETVERSION_OLD", 0x40047602},
876 +{"linux/videodev.h", "VIDIOCCAPTURE", 0x40047608},
877 +{"linux/videodev.h", "VIDIOCSFREQ", 0x4004760f},
878 +{"linux/videodev.h", "VIDIOCSYNC", 0x40047612},
879 +{"linux/videodev.h", "VIDIOCSWRITEMODE", 0x40047619},
880 +{"linux/meye.h", "MEYEIOC_QBUF_CAPT", 0x400476c2},
881 +{"linux/videotext.h", "VTXIOCSETVIRT", 0x4004810c},
882 +{"linux/dn.h", "OSIOCSNETADDR", 0x400489e0},
883 +{"linux/dn.h", "SIOCSNETADDR", 0x400489e0},
884 +{"linux/auto_fs4.h", "AUTOFS_IOC_EXPIRE_MULTI", 0x40049366},
885 +{"linux/if_pppox.h", "PPPOEIOCSFWD", 0x4004b100},
886 +{"linux/gigaset_dev.h", "GIGASET_BRKCHARS", 0x40064702},
887 +{"linux/meye.h", "MEYEIOC_S_PARAMS", 0x400676c1},
888 +{"linux/cciss_ioctl.h", "CCISS_SETINTINFO", 0x40084203},
889 +{"linux/input.h", "EVIOCSREP", 0x40084503},
890 +{"linux/input.h", "EVIOCSKEYCODE", 0x40084504},
891 +{"mtd/mtd-abi.h", "MEMERASE", 0x40084d02},
892 +{"mtd/mtd-abi.h", "MEMLOCK", 0x40084d05},
893 +{"mtd/mtd-abi.h", "MEMUNLOCK", 0x40084d06},
894 +{"mtd/mtd-abi.h", "MEMGETBADBLOCK", 0x40084d0b},
895 +{"mtd/mtd-abi.h", "MEMSETBADBLOCK", 0x40084d0c},
896 +{"linux/random.h", "RNDADDENTROPY", 0x40085203},
897 +{"linux/videodev2.h", "VIDIOC_S_STD", 0x40085618},
898 +{"linux/videodev2.h", "VIDIOC_S_CTRL_OLD", 0x4008561c},
899 +{"linux/atmdev.h", "ATM_GETNAMES", 0x40086183},
900 +{"linux/atmdev.h", "ATM_ADDPARTY", 0x400861f4},
901 +{"linux/chio.h", "CHIOGSTATUS", 0x40086308},
902 +{"linux/video_decoder.h", "DECODER_INIT", 0x40086409},
903 +{"linux/mtio.h", "MTIOCTOP", 0x40086d01},
904 +{"linux/ppdev.h", "PPSETTIME", 0x40087096},
905 +{"linux/if_ppp.h", "PPPIOCSACTIVE", 0x40087446},
906 +{"linux/if_ppp.h", "PPPIOCSPASS", 0x40087447},
907 +{"linux/if_ppp.h", "PPPIOCSNPMODE", 0x4008744b},
908 +{"linux/fd.h", "FDFMTTRK", 0x400c0248},
909 +{"linux/capi.h", "CAPI_REGISTER", 0x400c4301},
910 +{"linux/hiddev.h", "HIDIOCGREPORT", 0x400c4807},
911 +{"linux/hiddev.h", "HIDIOCSREPORT", 0x400c4808},
912 +{"mtd/mtd-abi.h", "OTPGETREGIONINFO", 0x400c4d0f},
913 +{"linux/uinput.h", "UI_END_FF_ERASE", 0x400c55cb},
914 +{"linux/ite_gpio.h", "ITE_GPIO_OUT", 0x400c5a01},
915 +{"linux/ite_gpio.h", "ITE_GPIO_INT_CTRL", 0x400c5a02},
916 +{"linux/ite_gpio.h", "ITE_GPIO_IN_STATUS", 0x400c5a03},
917 +{"linux/ite_gpio.h", "ITE_GPIO_OUT_STATUS", 0x400c5a04},
918 +{"linux/ite_gpio.h", "ITE_GPIO_GEN_CTRL", 0x400c5a05},
919 +{"linux/ite_gpio.h", "ITE_GPIO_INT_WAIT", 0x400c5a06},
920 +{"linux/atm_idt77105.h", "IDT77105_GETSTAT", 0x400c6132},
921 +{"linux/atm_idt77105.h", "IDT77105_GETSTATZ", 0x400c6133},
922 +{"linux/atmdev.h", "ATM_GETSTAT", 0x400c6150},
923 +{"linux/atmdev.h", "ATM_GETSTATZ", 0x400c6151},
924 +{"linux/atmdev.h", "ATM_GETLOOP", 0x400c6152},
925 +{"linux/atmdev.h", "ATM_SETLOOP", 0x400c6153},
926 +{"linux/atmdev.h", "ATM_QUERYLOOP", 0x400c6154},
927 +{"linux/atm_eni.h", "ENI_MEMDUMP", 0x400c6160},
928 +{"linux/atm_he.h", "HE_GET_REG", 0x400c6160},
929 +{"linux/atm_zatm.h", "ZATM_GETPOOL", 0x400c6161},
930 +{"linux/atm_zatm.h", "ZATM_GETPOOLZ", 0x400c6162},
931 +{"linux/atm_nicstar.h", "NS_SETBUFLEV", 0x400c6162},
932 +{"linux/atm_zatm.h", "ZATM_SETPOOL", 0x400c6163},
933 +{"linux/atm_eni.h", "ENI_SETMULT", 0x400c6167},
934 +{"linux/atmdev.h", "ATM_GETLINKRATE", 0x400c6181},
935 +{"linux/atmdev.h", "ATM_GETTYPE", 0x400c6184},
936 +{"linux/atmdev.h", "ATM_GETESI", 0x400c6185},
937 +{"linux/atmdev.h", "ATM_GETADDR", 0x400c6186},
938 +{"linux/atmdev.h", "ATM_RSTADDR", 0x400c6187},
939 +{"linux/atmdev.h", "ATM_ADDADDR", 0x400c6188},
940 +{"linux/atmdev.h", "ATM_DELADDR", 0x400c6189},
941 +{"linux/atmdev.h", "ATM_GETCIRANGE", 0x400c618a},
942 +{"linux/atmdev.h", "ATM_SETCIRANGE", 0x400c618b},
943 +{"linux/atmdev.h", "ATM_SETESI", 0x400c618c},
944 +{"linux/atmdev.h", "ATM_SETESIF", 0x400c618d},
945 +{"linux/atmdev.h", "ATM_ADDLECSADDR", 0x400c618e},
946 +{"linux/atmdev.h", "ATM_DELLECSADDR", 0x400c618f},
947 +{"linux/atmdev.h", "ATM_GETLECSADDR", 0x400c6190},
948 +{"linux/chio.h", "CHIOPOSITION", 0x400c6303},
949 +{"linux/i2o-dev.h", "I2OEVTREG", 0x400c690a},
950 +{"linux/ncp_fs.h", "NCP_IOC_GETROOT", 0x400c6e08},
951 +{"linux/if_ppp.h", "PPPIOCSCOMPRESS", 0x400c744d},
952 +{"linux/videodev.h", "VIDIOCSPLAYMODE", 0x400c7618},
953 +{"linux/video_decoder.h", "DECODER_SET_PICTURE", 0x400e6407},
954 +{"linux/videodev.h", "VIDIOCSPICT", 0x400e7607},
955 +{"linux/cciss_ioctl.h", "CCISS_SETNODENAME", 0x40104205},
956 +{"linux/synclink.h", "MGSL_IOCSGPIO", 0x40106d10},
957 +{"linux/videodev.h", "VIDIOCMCAPTURE", 0x40107613},
958 +{"linux/fd.h", "FDSETMAXERRS", 0x4014024c},
959 +{"linux/videodev2.h", "VIDIOC_S_CROP", 0x4014563c},
960 +{"linux/chio.h", "CHIOMOVE", 0x40146301},
961 +{"linux/videodev.h", "VIDIOCSFBUF", 0x4014760c},
962 +{"linux/videodev.h", "VIDIOCSCAPTURE", 0x40147617},
963 +{"linux/hiddev.h", "HIDIOCSUSAGE", 0x4018480c},
964 +{"linux/hiddev.h", "HIDIOCGCOLLECTIONINDEX", 0x40184810},
965 +{"linux/ext3_fs.h", "EXT3_IOC_GROUP_ADD", 0x40186608},
966 +{"linux/videodev.h", "VIDIOCSMICROCODE", 0x4018761b},
967 +{"linux/fd.h", "FDSETPRM", 0x401c0242},
968 +{"linux/fd.h", "FDDEFPRM", 0x401c0243},
969 +{"linux/atmbr2684.h", "BR2684_SETFILT", 0x401c6190},
970 +{"linux/chio.h", "CHIOEXCHANGE", 0x401c6302},
971 +{"linux/rtc.h", "RTC_PLL_SET", 0x401c7012},
972 +{"linux/synclink.h", "MGSL_IOCSPARAMS", 0x40206d00},
973 +{"linux/if_ppp.h", "PPPIOCSXASYNCMAP", 0x4020744f},
974 +{"linux/videodev.h", "VIDIOCSWIN", 0x4020760a},
975 +{"linux/videodev.h", "VIDIOCSVBIFMT", 0x4020761d},
976 +{"linux/videotext.h", "VTXIOCCLRPAGE", 0x40208102},
977 +{"linux/videotext.h", "VTXIOCCLRFOUND", 0x40208103},
978 +{"linux/videotext.h", "VTXIOCPAGEREQ", 0x40208104},
979 +{"linux/videotext.h", "VTXIOCGETSTAT", 0x40208105},
980 +{"linux/videotext.h", "VTXIOCGETPAGE", 0x40208106},
981 +{"linux/videotext.h", "VTXIOCSTOPDAU", 0x40208107},
982 +{"linux/joystick.h", "JSIOCSCORR", 0x40246a21},
983 +{"linux/rtc.h", "RTC_ALM_SET", 0x40247007},
984 +{"linux/rtc.h", "RTC_SET_TIME", 0x4024700a},
985 +{"linux/rtc.h", "RTC_WKALM_SET", 0x4028700f},
986 +{"linux/smb_fs.h", "SMB_IOC_NEWCONN", 0x40287502},
987 +{"linux/videodev.h", "VIDIOCSAUDIO", 0x40287611},
988 +{"linux/videodev2.h", "VIDIOC_S_FBUF", 0x402c560b},
989 +{"linux/videodev2.h", "VIDIOC_S_FREQUENCY", 0x402c5639},
990 +{"linux/chio.h", "CHIOSVOLTAG", 0x40306312},
991 +{"linux/videodev.h", "VIDIOCSCHAN", 0x40307603},
992 +{"linux/uinput.h", "UI_END_FF_UPLOAD", 0x403455c9},
993 +{"linux/videodev2.h", "VIDIOC_S_AUDIO", 0x40345622},
994 +{"linux/videodev2.h", "VIDIOC_S_AUDOUT", 0x40345632},
995 +{"linux/videodev.h", "VIDIOCSTUNER", 0x40347605},
996 +{"linux/joystick.h", "JSIOCSAXMAP", 0x40406a31},
997 +{"linux/videodev2.h", "VIDIOC_S_MODULATOR", 0x40445637},
998 +{"linux/videodev2.h", "VIDIOC_S_TUNER", 0x4054561e},
999 +{"linux/fd.h", "FDSETDRVPRM", 0x40580290},
1000 +{"linux/chio.h", "CHIOGELEM", 0x406c6310},
1001 +{"linux/videodev2.h", "VIDIOC_S_JPEGCOMP", 0x408c563e},
1002 +{"mtd/mtd-abi.h", "MEMSETOOBSEL", 0x40c84d09},
1003 +{"linux/videodev2.h", "VIDIOC_S_PARM_OLD", 0x40cc5616},
1004 +{"linux/joystick.h", "JSIOCSBTNMAP", 0x42006a33},
1005 +{"linux/hiddev.h", "HIDIOCSUSAGES", 0x501c4814},
1006 +{"linux/videodev2.h", "VIDIOC_G_PRIORITY", 0x80015643},
1007 +{"linux/joystick.h", "JSIOCGAXES", 0x80016a11},
1008 +{"linux/joystick.h", "JSIOCGBUTTONS", 0x80016a12},
1009 +{"linux/ppdev.h", "PPRSTATUS", 0x80017081},
1010 +{"linux/ppdev.h", "PPRCONTROL", 0x80017083},
1011 +{"linux/ppdev.h", "PPRDATA", 0x80017085},
1012 +{"linux/sonypi.h", "SONYPI_IOCGBRT", 0x80017600},
1013 +{"linux/sonypi.h", "SONYPI_IOCGBATFLAGS", 0x80017607},
1014 +{"linux/sonypi.h", "SONYPI_IOCGBLUE", 0x80017608},
1015 +{"linux/sonypi.h", "SONYPI_IOCGFAN", 0x8001760a},
1016 +{"linux/sonypi.h", "SONYPI_IOCGTEMP", 0x8001760c},
1017 +{"linux/capi.h", "CAPI_GET_ERRCODE", 0x80024321},
1018 +{"linux/capi.h", "CAPI_INSTALLED", 0x80024322},
1019 +{"linux/ipmi.h", "IPMICTL_REGISTER_FOR_CMD", 0x8002690e},
1020 +{"linux/ipmi.h", "IPMICTL_UNREGISTER_FOR_CMD", 0x8002690f},
1021 +{"linux/smb_fs.h", "SMB_IOC_GETMOUNTUID", 0x80027501},
1022 +{"linux/sonypi.h", "SONYPI_IOCGBAT1CAP", 0x80027602},
1023 +{"linux/sonypi.h", "SONYPI_IOCGBAT1REM", 0x80027603},
1024 +{"linux/sonypi.h", "SONYPI_IOCGBAT2CAP", 0x80027604},
1025 +{"linux/sonypi.h", "SONYPI_IOCGBAT2REM", 0x80027605},
1026 +{"linux/fs.h", "BLKBSZGET", 0x80041270},
1027 +{"linux/fs.h", "BLKGETSIZE64", 0x80041272},
1028 +{"linux/radeonfb.h", "FBIO_RADEON_GET_MIRROR", 0x80044003},
1029 +{"linux/agpgart.h", "AGPIOC_INFO", 0x80044100},
1030 +{"linux/pmu.h", "PMU_IOC_GET_BACKLIGHT", 0x80044201},
1031 +{"linux/pmu.h", "PMU_IOC_GET_MODEL", 0x80044203},
1032 +{"linux/pmu.h", "PMU_IOC_HAS_ADB", 0x80044204},
1033 +{"linux/pmu.h", "PMU_IOC_CAN_SLEEP", 0x80044205},
1034 +{"linux/pmu.h", "PMU_IOC_GRAB_BACKLIGHT", 0x80044206},
1035 +{"linux/cciss_ioctl.h", "CCISS_GETHEARTBEAT", 0x80044206},
1036 +{"linux/cciss_ioctl.h", "CCISS_GETBUSTYPES", 0x80044207},
1037 +{"linux/cciss_ioctl.h", "CCISS_GETFIRMVER", 0x80044208},
1038 +{"linux/cciss_ioctl.h", "CCISS_GETDRIVVER", 0x80044209},
1039 +{"linux/capi.h", "CAPI_GET_FLAGS", 0x80044323},
1040 +{"linux/capi.h", "CAPI_SET_FLAGS", 0x80044324},
1041 +{"linux/capi.h", "CAPI_CLR_FLAGS", 0x80044325},
1042 +{"linux/capi.h", "CAPI_NCCI_OPENCOUNT", 0x80044326},
1043 +{"linux/capi.h", "CAPI_NCCI_GETUNIT", 0x80044327},
1044 +{"linux/input.h", "EVIOCGVERSION", 0x80044501},
1045 +{"linux/input.h", "EVIOCGEFFECTS", 0x80044584},
1046 +{"linux/arcfb.h", "FBIO_GETCONTROL2", 0x80044689},
1047 +{"linux/hiddev.h", "HIDIOCGVERSION", 0x80044801},
1048 +{"linux/hiddev.h", "HIDIOCGFLAG", 0x8004480e},
1049 +{"linux/soundcard.h", "SOUND_MIXER_READ_VOLUME", 0x80044d00},
1050 +{"linux/soundcard.h", "SOUND_MIXER_READ_BASS", 0x80044d01},
1051 +{"linux/soundcard.h", "SOUND_MIXER_READ_TREBLE", 0x80044d02},
1052 +{"linux/soundcard.h", "SOUND_MIXER_READ_SYNTH", 0x80044d03},
1053 +{"linux/soundcard.h", "SOUND_MIXER_READ_PCM", 0x80044d04},
1054 +{"linux/soundcard.h", "SOUND_MIXER_READ_SPEAKER", 0x80044d05},
1055 +{"linux/soundcard.h", "SOUND_MIXER_READ_LINE", 0x80044d06},
1056 +{"linux/soundcard.h", "SOUND_MIXER_READ_MIC", 0x80044d07},
1057 +{"mtd/mtd-abi.h", "MEMGETREGIONCOUNT", 0x80044d07},
1058 +{"linux/soundcard.h", "SOUND_MIXER_READ_CD", 0x80044d08},
1059 +{"linux/soundcard.h", "SOUND_MIXER_READ_IMIX", 0x80044d09},
1060 +{"linux/soundcard.h", "SOUND_MIXER_READ_ALTPCM", 0x80044d0a},
1061 +{"linux/soundcard.h", "SOUND_MIXER_READ_RECLEV", 0x80044d0b},
1062 +{"linux/soundcard.h", "SOUND_MIXER_READ_IGAIN", 0x80044d0c},
1063 +{"linux/soundcard.h", "SOUND_MIXER_READ_OGAIN", 0x80044d0d},
1064 +{"mtd/mtd-abi.h", "OTPSELECT", 0x80044d0d},
1065 +{"linux/soundcard.h", "SOUND_MIXER_READ_LINE1", 0x80044d0e},
1066 +{"linux/soundcard.h", "SOUND_MIXER_READ_LINE2", 0x80044d0f},
1067 +{"linux/soundcard.h", "SOUND_MIXER_READ_LINE3", 0x80044d10},
1068 +{"linux/soundcard.h", "SOUND_MIXER_READ_LOUD", 0x80044d1f},
1069 +{"linux/soundcard.h", "SOUND_MIXER_READ_ENHANCE", 0x80044d1f},
1070 +{"linux/soundcard.h", "SOUND_MIXER_READ_MUTE", 0x80044d1f},
1071 +{"linux/soundcard.h", "SOUND_MIXER_READ_STEREODEVS", 0x80044dfb},
1072 +{"linux/soundcard.h", "SOUND_MIXER_READ_CAPS", 0x80044dfc},
1073 +{"linux/soundcard.h", "SOUND_MIXER_READ_RECMASK", 0x80044dfd},
1074 +{"linux/soundcard.h", "SOUND_MIXER_READ_DEVMASK", 0x80044dfe},
1075 +{"linux/soundcard.h", "SOUND_MIXER_READ_RECSRC", 0x80044dff},
1076 +{"linux/ticable.h", "IOCTL_TIUSB_GET_MAXPS", 0x80044e23},
1077 +{"linux/ticable.h", "IOCTL_TIUSB_GET_DEVID", 0x80044e24},
1078 +{"linux/random.h", "RNDGETENTCNT", 0x80045200},
1079 +{"asm/ioctls.h", "TIOCGPTN", 0x80045430},
1080 +{"linux/videodev2.h", "VIDIOC_G_INPUT", 0x80045626},
1081 +{"linux/videodev2.h", "VIDIOC_G_OUTPUT", 0x8004562e},
1082 +{"linux/watchdog.h", "WDIOC_GETSTATUS", 0x80045701},
1083 +{"linux/watchdog.h", "WDIOC_GETBOOTSTATUS", 0x80045702},
1084 +{"linux/watchdog.h", "WDIOC_GETTEMP", 0x80045703},
1085 +{"linux/watchdog.h", "WDIOC_SETOPTIONS", 0x80045704},
1086 +{"linux/watchdog.h", "WDIOC_KEEPALIVE", 0x80045705},
1087 +{"linux/watchdog.h", "WDIOC_GETTIMEOUT", 0x80045707},
1088 +{"linux/watchdog.h", "WDIOC_GETPRETIMEOUT", 0x80045709},
1089 +{"linux/watchdog.h", "WDIOC_GETTIMELEFT", 0x8004570a},
1090 +{"linux/sonet.h", "SONET_GETDIAG", 0x80046114},
1091 +{"linux/sonet.h", "SONET_GETFRAMING", 0x80046116},
1092 +{"linux/cm4000_cs.h", "CM_IOCGSTATUS", 0x80046300},
1093 +{"linux/chio.h", "CHIOGPICKER", 0x80046304},
1094 +{"linux/video_decoder.h", "DECODER_GET_STATUS", 0x80046402},
1095 +{"linux/iflags.h", "IFLAGS_GET_IOC", 0x80046601},
1096 +{"linux/ext3_fs.h", "EXT3_IOC_GETFLAGS", 0x80046601},
1097 +{"linux/ext2_fs.h", "EXT2_IOC_GETFLAGS", 0x80046601},
1098 +{"linux/ext3_fs.h", "EXT3_IOC_GETVERSION", 0x80046603},
1099 +{"linux/ext3_fs.h", "EXT3_IOC_GETRSVSZ", 0x80046605},
1100 +{"linux/ext3_fs.h", "EXT3_IOC_WAIT_FOR_READONLY", 0x80046663},
1101 +{"linux/i2o-dev.h", "I2OVALIDATE", 0x80046908},
1102 +{"linux/ipmi.h", "IPMICTL_SET_GETS_EVENTS_CMD", 0x80046910},
1103 +{"linux/ipmi.h", "IPMICTL_SET_MY_ADDRESS_CMD", 0x80046911},
1104 +{"linux/ipmi.h", "IPMICTL_GET_MY_ADDRESS_CMD", 0x80046912},
1105 +{"linux/ipmi.h", "IPMICTL_SET_MY_LUN_CMD", 0x80046913},
1106 +{"linux/ipmi.h", "IPMICTL_GET_MY_LUN_CMD", 0x80046914},
1107 +{"linux/ipmi.h", "IPMICTL_SET_MY_CHANNEL_ADDRESS_CMD", 0x80046918},
1108 +{"linux/ipmi.h", "IPMICTL_GET_MY_CHANNEL_ADDRESS_CMD", 0x80046919},
1109 +{"linux/ipmi.h", "IPMICTL_SET_MY_CHANNEL_LUN_CMD", 0x8004691a},
1110 +{"linux/ipmi.h", "IPMICTL_GET_MY_CHANNEL_LUN_CMD", 0x8004691b},
1111 +{"linux/i8k.h", "I8K_BIOS_VERSION", 0x80046980},
1112 +{"linux/i8k.h", "I8K_MACHINE_ID", 0x80046981},
1113 +{"linux/i8k.h", "I8K_POWER_STATUS", 0x80046982},
1114 +{"linux/i8k.h", "I8K_FN_STATUS", 0x80046983},
1115 +{"linux/i8k.h", "I8K_GET_TEMP", 0x80046984},
1116 +{"linux/joystick.h", "JSIOCGVERSION", 0x80046a01},
1117 +{"linux/udf_fs_i.h", "UDF_GETEASIZE", 0x80046c40},
1118 +{"linux/udf_fs_i.h", "UDF_GETEABLOCK", 0x80046c41},
1119 +{"linux/udf_fs_i.h", "UDF_GETVOLIDENT", 0x80046c42},
1120 +{"linux/mmtimer.h", "MMTIMER_GETRES", 0x80046d01},
1121 +{"linux/mmtimer.h", "MMTIMER_GETFREQ", 0x80046d02},
1122 +{"linux/mtio.h", "MTIOCPOS", 0x80046d03},
1123 +{"linux/mmtimer.h", "MMTIMER_GETCOUNTER", 0x80046d09},
1124 +{"linux/zftape.h", "MTIOC_ZFTAPE_GETBLKSZ", 0x80046d68},
1125 +{"linux/ncp_fs.h", "NCP_IOC_SIGN_WANTED", 0x80046e06},
1126 +{"linux/ncp_fs.h", "NCP_IOC_SETDENTRYTTL", 0x80046e0c},
1127 +{"linux/matroxfb.h", "MATROXFB_GET_OUTPUT_CONNECTION", 0x80046ef8},
1128 +{"linux/matroxfb.h", "MATROXFB_GET_AVAILABLE_OUTPUTS", 0x80046ef9},
1129 +{"linux/matroxfb.h", "MATROXFB_GET_ALL_OUTPUTS", 0x80046efb},
1130 +{"linux/rtc.h", "RTC_IRQP_READ", 0x8004700b},
1131 +{"linux/rtc.h", "RTC_EPOCH_READ", 0x8004700d},
1132 +{"linux/ppdev.h", "PPCLRIRQ", 0x80047093},
1133 +{"linux/ppdev.h", "PPGETMODES", 0x80047097},
1134 +{"linux/ppdev.h", "PPGETMODE", 0x80047098},
1135 +{"linux/ppdev.h", "PPGETPHASE", 0x80047099},
1136 +{"linux/ppdev.h", "PPGETFLAGS", 0x8004709a},
1137 +{"linux/telephony.h", "PHONE_CAPABILITIES_LIST", 0x80047181},
1138 +{"linux/telephony.h", "PHONE_DTMF_READY", 0x80047196},
1139 +{"linux/telephony.h", "PHONE_GET_DTMF", 0x80047197},
1140 +{"linux/telephony.h", "PHONE_GET_DTMF_ASCII", 0x80047198},
1141 +{"linux/telephony.h", "PHONE_EXCEPTION", 0x8004719a},
1142 +{"linux/ixjuser.h", "IXJCTL_CARDTYPE", 0x800471c1},
1143 +{"linux/ixjuser.h", "IXJCTL_SERIAL", 0x800471c2},
1144 +{"linux/ixjuser.h", "IXJCTL_DSP_TYPE", 0x800471c3},
1145 +{"linux/ixjuser.h", "IXJCTL_DSP_VERSION", 0x800471c4},
1146 +{"linux/ixjuser.h", "IXJCTL_CID", 0x800471d4},
1147 +{"linux/ixjuser.h", "IXJCTL_VMWI", 0x800471d8},
1148 +{"linux/ixjuser.h", "IXJCTL_VERSION", 0x800471da},
1149 +{"linux/ixjuser.h", "IXJCTL_FRAMES_READ", 0x800471e2},
1150 +{"linux/ixjuser.h", "IXJCTL_FRAMES_WRITTEN", 0x800471e3},
1151 +{"linux/ixjuser.h", "IXJCTL_READ_WAIT", 0x800471e4},
1152 +{"linux/ixjuser.h", "IXJCTL_WRITE_WAIT", 0x800471e5},
1153 +{"linux/ixjuser.h", "IXJCTL_DRYBUFFER_READ", 0x800471e6},
1154 +{"linux/msdos_fs.h", "FAT_IOCTL_GET_ATTRIBUTES", 0x80047210},
1155 +{"linux/if_ppp.h", "PPPIOCGCHAN", 0x80047437},
1156 +{"linux/if_ppp.h", "PPPIOCGDEBUG", 0x80047441},
1157 +{"linux/if_ppp.h", "PPPIOCGMRU", 0x80047453},
1158 +{"linux/if_ppp.h", "PPPIOCGRASYNCMAP", 0x80047455},
1159 +{"linux/if_ppp.h", "PPPIOCGUNIT", 0x80047456},
1160 +{"linux/if_ppp.h", "PPPIOCGASYNCMAP", 0x80047458},
1161 +{"linux/if_ppp.h", "PPPIOCGFLAGS", 0x8004745a},
1162 +{"linux/isdn_ppp.h", "PPPIOCGMPFLAGS", 0x80047482},
1163 +{"linux/smb_fs.h", "SMB_IOC_GETMOUNTUID32", 0x80047503},
1164 +{"linux/ext2_fs.h", "EXT2_IOC_GETVERSION", 0x80047601},
1165 +{"linux/ext3_fs.h", "EXT3_IOC_GETVERSION_OLD", 0x80047601},
1166 +{"linux/videodev.h", "VIDIOCGFREQ", 0x8004760e},
1167 +{"linux/meye.h", "MEYEIOC_STILLJCAPT", 0x800476c5},
1168 +{"linux/dn.h", "SIOCGNETADDR", 0x800489e1},
1169 +{"linux/dn.h", "OSIOCGNETADDR", 0x800489e1},
1170 +{"linux/auto_fs.h", "AUTOFS_IOC_PROTOVER", 0x80049363},
1171 +{"linux/auto_fs4.h", "AUTOFS_IOC_PROTOSUBVER", 0x80049367},
1172 +{"linux/auto_fs4.h", "AUTOFS_IOC_ASKREGHOST", 0x80049368},
1173 +{"linux/auto_fs4.h", "AUTOFS_IOC_TOGGLEREGHOST", 0x80049369},
1174 +{"linux/auto_fs4.h", "AUTOFS_IOC_ASKUMOUNT", 0x80049370},
1175 +{"linux/sonet.h", "SONET_GETFRSENSE", 0x80066117},
1176 +{"linux/meye.h", "MEYEIOC_G_PARAMS", 0x800676c0},
1177 +{"linux/cciss_ioctl.h", "CCISS_GETPCIINFO", 0x80084201},
1178 +{"linux/cciss_ioctl.h", "CCISS_GETINTINFO", 0x80084202},
1179 +{"linux/input.h", "EVIOCGID", 0x80084502},
1180 +{"linux/input.h", "EVIOCGREP", 0x80084503},
1181 +{"linux/input.h", "EVIOCGKEYCODE", 0x80084504},
1182 +{"linux/random.h", "RNDGETPOOL", 0x80085202},
1183 +{"linux/videodev2.h", "VIDIOC_G_STD", 0x80085617},
1184 +{"linux/videodev2.h", "VIDIOC_QUERYSTD", 0x8008563f},
1185 +{"linux/i2o-dev.h", "I2OPASSTHRU", 0x8008690c},
1186 +{"linux/i2o-dev.h", "I2OPASSTHRU32", 0x8008690c},
1187 +{"linux/ipmi.h", "IPMICTL_SET_TIMING_PARMS_CMD", 0x80086916},
1188 +{"linux/ipmi.h", "IPMICTL_GET_TIMING_PARMS_CMD", 0x80086917},
1189 +{"linux/mtio.h", "MTIOCGETSIZE", 0x80086d09},
1190 +{"linux/ncp_fs.h", "NCP_IOC_SETPRIVATEDATA", 0x80086e0a},
1191 +{"linux/ppdev.h", "PPGETTIME", 0x80087095},
1192 +{"linux/if_ppp.h", "PPPIOCGIDLE", 0x8008743f},
1193 +{"linux/cciss_ioctl.h", "CCISS_GETLUNINFO", 0x800c4211},
1194 +{"mtd/mtd-abi.h", "OTPLOCK", 0x800c4d10},
1195 +{"linux/video_decoder.h", "DECODER_GET_CAPABILITIES", 0x800c6401},
1196 +{"linux/video_encoder.h", "ENCODER_GET_CAPABILITIES", 0x800c6501},
1197 +{"linux/hpet.h", "HPET_INFO", 0x800c6803},
1198 +{"linux/ncp_fs.h", "NCP_IOC_NCPREQUEST", 0x800c6e01},
1199 +{"linux/ncp_fs.h", "NCP_IOC_SETROOT", 0x800c6e08},
1200 +{"linux/ncp_fs.h", "NCP_IOC_SETOBJECTNAME", 0x800c6e09},
1201 +{"linux/videodev.h", "VIDIOCKEY", 0x800c760d},
1202 +{"linux/videodev.h", "VIDIOCGPICT", 0x800e7606},
1203 +{"linux/fd.h", "FDGETDRVTYP", 0x8010020f},
1204 +{"linux/cciss_ioctl.h", "CCISS_GETNODENAME", 0x80104204},
1205 +{"mtd/mtd-abi.h", "ECCGETSTATS", 0x80104d12},
1206 +{"linux/synclink.h", "MGSL_IOCGGPIO", 0x80106d11},
1207 +{"linux/isdn_ppp.h", "PPPIOCGIFNAME", 0x80107488},
1208 +{"linux/videotext.h", "VTXIOCGETINFO", 0x80108101},
1209 +{"linux/fd.h", "FDGETMAXERRS", 0x8014020e},
1210 +{"linux/chio.h", "CHIOGPARAMS", 0x80146306},
1211 +{"linux/ipmi.h", "IPMICTL_SEND_COMMAND", 0x8014690d},
1212 +{"linux/mtio.h", "MTIOCVOLINFO", 0x80146d08},
1213 +{"linux/ncp_fs.h", "NCP_IOC_LOCKUNLOCK", 0x80146e07},
1214 +{"linux/videodev.h", "VIDIOCGFBUF", 0x8014760b},
1215 +{"linux/videodev.h", "VIDIOCGUNIT", 0x80147615},
1216 +{"linux/videodev.h", "VIDIOCGCAPTURE", 0x80147616},
1217 +{"linux/fd.h", "FDWERRORGET", 0x80180217},
1218 +{"linux/ncp_fs.h", "NCP_IOC_SIGN_INIT", 0x80186e05},
1219 +{"linux/fd.h", "FDGETPRM", 0x801c0204},
1220 +{"linux/hiddev.h", "HIDIOCGDEVINFO", 0x801c4803},
1221 +{"linux/ipmi.h", "IPMICTL_SEND_COMMAND_SETTIME", 0x801c6915},
1222 +{"linux/mtio.h", "MTIOCGET", 0x801c6d02},
1223 +{"linux/rtc.h", "RTC_PLL_GET", 0x801c7011},
1224 +{"linux/fd.h", "FDGETFDCSTAT", 0x80200215},
1225 +{"linux/fb.h", "FBIOGET_VBLANK", 0x80204612},
1226 +{"mtd/mtd-abi.h", "MEMGETINFO", 0x80204d01},
1227 +{"linux/i2o-dev.h", "I2OGETIOPS", 0x80206900},
1228 +{"linux/synclink.h", "MGSL_IOCGPARAMS", 0x80206d01},
1229 +{"linux/if_ppp.h", "PPPIOCGXASYNCMAP", 0x80207450},
1230 +{"linux/isdn_ppp.h", "PPPIOCGCOMPRESSORS", 0x80207486},
1231 +{"linux/videodev.h", "VIDIOCGWIN", 0x80207609},
1232 +{"linux/videodev.h", "VIDIOCGVBIFMT", 0x8020761c},
1233 +{"linux/sonet.h", "SONET_GETSTAT", 0x80246110},
1234 +{"linux/sonet.h", "SONET_GETSTATZ", 0x80246111},
1235 +{"linux/joystick.h", "JSIOCGCORR", 0x80246a22},
1236 +{"linux/rtc.h", "RTC_ALM_READ", 0x80247008},
1237 +{"linux/rtc.h", "RTC_RD_TIME", 0x80247009},
1238 +{"linux/watchdog.h", "WDIOC_GETSUPPORT", 0x80285700},
1239 +{"linux/rtc.h", "RTC_WKALM_RD", 0x80287010},
1240 +{"linux/videodev.h", "VIDIOCGAUDIO", 0x80287610},
1241 +{"linux/ncp_fs.h", "NCP_IOC_SETCHARSETS", 0x802a6e0b},
1242 +{"linux/videodev2.h", "VIDIOC_G_FBUF", 0x802c560a},
1243 +{"linux/videodev2.h", "VIDIOC_CROPCAP_OLD", 0x802c563a},
1244 +{"linux/fd.h", "FDGETDRVSTAT", 0x80340212},
1245 +{"linux/fd.h", "FDPOLLDRVSTAT", 0x80340213},
1246 +{"linux/videodev2.h", "VIDIOC_G_AUDIO", 0x80345621},
1247 +{"linux/videodev2.h", "VIDIOC_G_AUDOUT", 0x80345631},
1248 +{"linux/videodev.h", "VIDIOCGCAP", 0x803c7601},
1249 +{"linux/joystick.h", "JSIOCGAXMAP", 0x80406a32},
1250 +{"linux/fd.h", "FDGETDRVPRM", 0x80580211},
1251 +{"linux/videodev2.h", "VIDIOC_QUERYCAP", 0x80685600},
1252 +{"linux/i2o-dev.h", "I2OEVTGET", 0x8068690b},
1253 +{"linux/chio.h", "CHIOGVPARAMS", 0x80706313},
1254 +{"linux/videodev2.h", "VIDIOC_G_SLICED_VBI_CAP", 0x80745645},
1255 +{"linux/videodev.h", "VIDIOCGMBUF", 0x80887614},
1256 +{"linux/videodev2.h", "VIDIOC_G_JPEGCOMP", 0x808c563d},
1257 +{"mtd/mtd-abi.h", "MEMGETOOBSEL", 0x80c84d0a},
1258 +{"linux/hiddev.h", "HIDIOCGSTRING", 0x81044804},
1259 +{"linux/auto_fs.h", "AUTOFS_IOC_EXPIRE", 0x810c9365},
1260 +{"linux/videodev.h", "VIDIOCGPLAYINFO", 0x8118761a},
1261 +{"mtd/mtd-abi.h", "ECCGETLAYOUT", 0x81484d11},
1262 +{"linux/joystick.h", "JSIOCGBTNMAP", 0x82006a34},
1263 +{"linux/msdos_fs.h", "VFAT_IOCTL_READDIR_BOTH", 0x82187201},
1264 +{"linux/msdos_fs.h", "VFAT_IOCTL_READDIR_SHORT", 0x82187202},
1265 +{"linux/agpgart.h", "AGPIOC_ALLOCATE", 0xc0044106},
1266 +{"linux/capi.h", "CAPI_GET_MANUFACTURER", 0xc0044306},
1267 +{"linux/capi.h", "CAPI_GET_SERIAL", 0xc0044308},
1268 +{"linux/gigaset_dev.h", "GIGASET_REDIR", 0xc0044700},
1269 +{"linux/gigaset_dev.h", "GIGASET_CONFIG", 0xc0044701},
1270 +{"linux/soundcard.h", "SOUND_MIXER_WRITE_VOLUME", 0xc0044d00},
1271 +{"linux/soundcard.h", "SOUND_MIXER_WRITE_BASS", 0xc0044d01},
1272 +{"linux/soundcard.h", "SOUND_MIXER_WRITE_TREBLE", 0xc0044d02},
1273 +{"linux/soundcard.h", "SOUND_MIXER_WRITE_SYNTH", 0xc0044d03},
1274 +{"linux/soundcard.h", "SOUND_MIXER_WRITE_PCM", 0xc0044d04},
1275 +{"linux/soundcard.h", "SOUND_MIXER_WRITE_SPEAKER", 0xc0044d05},
1276 +{"linux/soundcard.h", "SOUND_MIXER_WRITE_LINE", 0xc0044d06},
1277 +{"linux/soundcard.h", "SOUND_MIXER_WRITE_MIC", 0xc0044d07},
1278 +{"linux/soundcard.h", "SOUND_MIXER_WRITE_CD", 0xc0044d08},
1279 +{"linux/soundcard.h", "SOUND_MIXER_WRITE_IMIX", 0xc0044d09},
1280 +{"linux/soundcard.h", "SOUND_MIXER_WRITE_ALTPCM", 0xc0044d0a},
1281 +{"linux/soundcard.h", "SOUND_MIXER_WRITE_RECLEV", 0xc0044d0b},
1282 +{"linux/soundcard.h", "SOUND_MIXER_WRITE_IGAIN", 0xc0044d0c},
1283 +{"linux/soundcard.h", "SOUND_MIXER_WRITE_OGAIN", 0xc0044d0d},
1284 +{"linux/soundcard.h", "SOUND_MIXER_WRITE_LINE1", 0xc0044d0e},
1285 +{"linux/soundcard.h", "SOUND_MIXER_WRITE_LINE2", 0xc0044d0f},
1286 +{"linux/soundcard.h", "SOUND_MIXER_WRITE_LINE3", 0xc0044d10},
1287 +{"linux/soundcard.h", "SOUND_MIXER_WRITE_ENHANCE", 0xc0044d1f},
1288 +{"linux/soundcard.h", "SOUND_MIXER_WRITE_LOUD", 0xc0044d1f},
1289 +{"linux/soundcard.h", "SOUND_MIXER_WRITE_MUTE", 0xc0044d1f},
1290 +{"linux/soundcard.h", "SOUND_MIXER_WRITE_RECSRC", 0xc0044dff},
1291 +{"linux/videodev2.h", "VIDIOC_OVERLAY_OLD", 0xc004560e},
1292 +{"linux/videodev2.h", "VIDIOC_S_INPUT", 0xc0045627},
1293 +{"linux/videodev2.h", "VIDIOC_S_OUTPUT", 0xc004562f},
1294 +{"linux/watchdog.h", "WDIOC_SETTIMEOUT", 0xc0045706},
1295 +{"linux/watchdog.h", "WDIOC_SETPRETIMEOUT", 0xc0045708},
1296 +{"linux/sonet.h", "SONET_SETDIAG", 0xc0046112},
1297 +{"linux/sonet.h", "SONET_CLRDIAG", 0xc0046113},
1298 +{"linux/cm4000_cs.h", "CM_IOCGATR", 0xc0046301},
1299 +{"linux/coda.h", "CIOC_KERNEL_VERSION", 0xc004630a},
1300 +{"linux/i8k.h", "I8K_GET_SPEED", 0xc0046985},
1301 +{"linux/i8k.h", "I8K_GET_FAN", 0xc0046986},
1302 +{"linux/i8k.h", "I8K_SET_FAN", 0xc0046987},
1303 +{"linux/udf_fs_i.h", "UDF_RELOCATE_BLOCKS", 0xc0046c43},
1304 +{"linux/synclink.h", "MGSL_IOCWAITEVENT", 0xc0046d08},
1305 +{"linux/matroxfb.h", "MATROXFB_GET_OUTPUT_MODE", 0xc0046efa},
1306 +{"linux/telephony.h", "PHONE_QUERY_CODEC", 0xc00471a7},
1307 +{"linux/if_ppp.h", "PPPIOCNEWUNIT", 0xc004743e},
1308 +{"linux/toshiba.h", "TOSH_SMM", 0xc0047490},
1309 +{"linux/meye.h", "MEYEIOC_SYNC", 0xc00476c3},
1310 +{"linux/auto_fs.h", "AUTOFS_IOC_SETTIMEOUT", 0xc0049364},
1311 +{"linux/capi.h", "CAPI_MANUFACTURER_CMD", 0xc0084320},
1312 +{"linux/videodev2.h", "VIDIOC_G_CTRL", 0xc008561b},
1313 +{"linux/videodev2.h", "VIDIOC_S_CTRL", 0xc008561c},
1314 +{"linux/ncp_fs.h", "NCP_IOC_GETPRIVATEDATA", 0xc0086e0a},
1315 +{"linux/if_ppp.h", "PPPIOCGNPMODE", 0xc008744c},
1316 +{"linux/hiddev.h", "HIDIOCGREPORTINFO", 0xc00c4809},
1317 +{"mtd/mtd-abi.h", "MEMWRITEOOB", 0xc00c4d03},
1318 +{"mtd/mtd-abi.h", "MEMREADOOB", 0xc00c4d04},
1319 +{"linux/uinput.h", "UI_BEGIN_FF_ERASE", 0xc00c55ca},
1320 +{"linux/ite_gpio.h", "ITE_GPIO_IN", 0xc00c5a00},
1321 +{"linux/atm_nicstar.h", "NS_GETPSTAT", 0xc00c6161},
1322 +{"linux/i2o-dev.h", "I2OHRTGET", 0xc00c6901},
1323 +{"linux/i2o-dev.h", "I2OLCTGET", 0xc00c6902},
1324 +{"linux/mtio.h", "MTIOCFTFORMAT", 0xc00c6d0a},
1325 +{"linux/ncp_fs.h", "NCP_IOC_GETOBJECTNAME", 0xc00c6e09},
1326 +{"linux/capi.h", "CAPI_GET_VERSION", 0xc0104307},
1327 +{"linux/gigaset_dev.h", "GIGASET_VERSION", 0xc0104703},
1328 +{"linux/hiddev.h", "HIDIOCGCOLLECTIONINFO", 0xc0104811},
1329 +{"mtd/mtd-abi.h", "MEMGETREGIONINFO", 0xc0104d08},
1330 +{"linux/videodev2.h", "VIDIOC_REQBUFS", 0xc0105608},
1331 +{"linux/mtio.h", "MTIOCRDFTSEG", 0xc0106d06},
1332 +{"linux/mtio.h", "MTIOCWRFTSEG", 0xc0106d07},
1333 +{"linux/synclink.h", "MGSL_IOCWAITGPIO", 0xc0106d12},
1334 +{"linux/videodev2.h", "VIDIOC_G_CROP", 0xc014563b},
1335 +{"linux/hiddev.h", "HIDIOCGUSAGE", 0xc018480b},
1336 +{"linux/hiddev.h", "HIDIOCGUCODE", 0xc018480d},
1337 +{"linux/videodev2.h", "VIDIOC_G_EXT_CTRLS", 0xc0185647},
1338 +{"linux/videodev2.h", "VIDIOC_S_EXT_CTRLS", 0xc0185648},
1339 +{"linux/videodev2.h", "VIDIOC_TRY_EXT_CTRLS", 0xc0185649},
1340 +{"linux/pktcdvd.h", "PACKET_CTRL_CMD", 0xc0185801},
1341 +{"linux/i2o-dev.h", "I2OPARMSET", 0xc0186903},
1342 +{"linux/i2o-dev.h", "I2OPARMGET", 0xc0186904},
1343 +{"linux/ipmi.h", "IPMICTL_RECEIVE_MSG_TRUNC", 0xc018690b},
1344 +{"linux/ipmi.h", "IPMICTL_RECEIVE_MSG", 0xc018690c},
1345 +{"linux/i2o-dev.h", "I2OSWDL", 0xc01c6905},
1346 +{"linux/i2o-dev.h", "I2OSWUL", 0xc01c6906},
1347 +{"linux/i2o-dev.h", "I2OSWDEL", 0xc01c6907},
1348 +{"linux/i2o-dev.h", "I2OHTML", 0xc01c6909},
1349 +{"linux/mtio.h", "MTIOCFTCMD", 0xc0206d0b},
1350 +{"linux/ncp_fs.h", "NCP_IOC_GET_FS_INFO_V2", 0xc0246e04},
1351 +{"linux/ncp_fs.h", "NCP_IOC_GET_FS_INFO", 0xc0286e04},
1352 +{"linux/ncp_fs.h", "NCP_IOC_GETCHARSETS", 0xc02a6e0b},
1353 +{"linux/videodev2.h", "VIDIOC_QUERYMENU", 0xc02c5625},
1354 +{"linux/videodev2.h", "VIDIOC_G_FREQUENCY", 0xc02c5638},
1355 +{"linux/videodev2.h", "VIDIOC_CROPCAP", 0xc02c563a},
1356 +{"linux/videodev.h", "VIDIOCGCHAN", 0xc0307602},
1357 +{"linux/uinput.h", "UI_BEGIN_FF_UPLOAD", 0xc03455c8},
1358 +{"linux/videodev2.h", "VIDIOC_G_AUDIO_OLD", 0xc0345621},
1359 +{"linux/videodev2.h", "VIDIOC_G_AUDOUT_OLD", 0xc0345631},
1360 +{"linux/videodev2.h", "VIDIOC_ENUMAUDIO", 0xc0345641},
1361 +{"linux/videodev2.h", "VIDIOC_ENUMAUDOUT", 0xc0345642},
1362 +{"linux/videodev.h", "VIDIOCGTUNER", 0xc0347604},
1363 +{"linux/hiddev.h", "HIDIOCGFIELDINFO", 0xc038480a},
1364 +{"linux/capi.h", "CAPI_GET_PROFILE", 0xc0404309},
1365 +{"linux/videodev2.h", "VIDIOC_ENUM_FMT", 0xc0405602},
1366 +{"linux/videodev2.h", "VIDIOC_ENUMSTD", 0xc0405619},
1367 +{"linux/videodev2.h", "VIDIOC_QUERYBUF", 0xc0445609},
1368 +{"linux/videodev2.h", "VIDIOC_QBUF", 0xc044560f},
1369 +{"linux/videodev2.h", "VIDIOC_DQBUF", 0xc0445611},
1370 +{"linux/videodev2.h", "VIDIOC_QUERYCTRL", 0xc0445624},
1371 +{"linux/videodev2.h", "VIDIOC_G_MODULATOR", 0xc0445636},
1372 +{"linux/fb.h", "FBIO_CURSOR", 0xc0484608},
1373 +{"linux/videodev2.h", "VIDIOC_ENUMOUTPUT", 0xc0485630},
1374 +{"linux/videodev2.h", "VIDIOC_ENUMINPUT", 0xc04c561a},
1375 +{"linux/cciss_ioctl.h", "CCISS_PASSTHRU", 0xc054420b},
1376 +{"linux/videodev2.h", "VIDIOC_G_TUNER", 0xc054561d},
1377 +{"linux/cciss_ioctl.h", "CCISS_BIG_PASSTHRU", 0xc0584212},
1378 +{"linux/isdn_ppp.h", "PPPIOCGCALLINFO", 0xc0887480},
1379 +{"linux/videodev2.h", "VIDIOC_G_FMT", 0xc0cc5604},
1380 +{"linux/videodev2.h", "VIDIOC_S_FMT", 0xc0cc5605},
1381 +{"linux/videodev2.h", "VIDIOC_G_PARM", 0xc0cc5615},
1382 +{"linux/videodev2.h", "VIDIOC_S_PARM", 0xc0cc5616},
1383 +{"linux/videodev2.h", "VIDIOC_TRY_FMT", 0xc0cc5640},
1384 +{"linux/dm-ioctl.h", "DM_VERSION", 0xc134fd00},
1385 +{"linux/dm-ioctl.h", "DM_VERSION_32", 0xc134fd00},
1386 +{"linux/dm-ioctl.h", "DM_REMOVE_ALL_32", 0xc134fd01},
1387 +{"linux/dm-ioctl.h", "DM_REMOVE_ALL", 0xc134fd01},
1388 +{"linux/dm-ioctl.h", "DM_LIST_DEVICES_32", 0xc134fd02},
1389 +{"linux/dm-ioctl.h", "DM_LIST_DEVICES", 0xc134fd02},
1390 +{"linux/dm-ioctl.h", "DM_DEV_CREATE_32", 0xc134fd03},
1391 +{"linux/dm-ioctl.h", "DM_DEV_CREATE", 0xc134fd03},
1392 +{"linux/dm-ioctl.h", "DM_DEV_REMOVE", 0xc134fd04},
1393 +{"linux/dm-ioctl.h", "DM_DEV_REMOVE_32", 0xc134fd04},
1394 +{"linux/dm-ioctl.h", "DM_DEV_RENAME_32", 0xc134fd05},
1395 +{"linux/dm-ioctl.h", "DM_DEV_RENAME", 0xc134fd05},
1396 +{"linux/dm-ioctl.h", "DM_DEV_SUSPEND_32", 0xc134fd06},
1397 +{"linux/dm-ioctl.h", "DM_DEV_SUSPEND", 0xc134fd06},
1398 +{"linux/dm-ioctl.h", "DM_DEV_STATUS", 0xc134fd07},
1399 +{"linux/dm-ioctl.h", "DM_DEV_STATUS_32", 0xc134fd07},
1400 +{"linux/dm-ioctl.h", "DM_DEV_WAIT", 0xc134fd08},
1401 +{"linux/dm-ioctl.h", "DM_DEV_WAIT_32", 0xc134fd08},
1402 +{"linux/dm-ioctl.h", "DM_TABLE_LOAD", 0xc134fd09},
1403 +{"linux/dm-ioctl.h", "DM_TABLE_LOAD_32", 0xc134fd09},
1404 +{"linux/dm-ioctl.h", "DM_TABLE_CLEAR_32", 0xc134fd0a},
1405 +{"linux/dm-ioctl.h", "DM_TABLE_CLEAR", 0xc134fd0a},
1406 +{"linux/dm-ioctl.h", "DM_TABLE_DEPS_32", 0xc134fd0b},
1407 +{"linux/dm-ioctl.h", "DM_TABLE_DEPS", 0xc134fd0b},
1408 +{"linux/dm-ioctl.h", "DM_TABLE_STATUS", 0xc134fd0c},
1409 +{"linux/dm-ioctl.h", "DM_TABLE_STATUS_32", 0xc134fd0c},
1410 +{"linux/dm-ioctl.h", "DM_LIST_VERSIONS", 0xc134fd0d},
1411 +{"linux/dm-ioctl.h", "DM_LIST_VERSIONS_32", 0xc134fd0d},
1412 +{"linux/dm-ioctl.h", "DM_TARGET_MSG", 0xc134fd0e},
1413 +{"linux/dm-ioctl.h", "DM_TARGET_MSG_32", 0xc134fd0e},
1414 +{"linux/dm-ioctl.h", "DM_DEV_SET_GEOMETRY_32", 0xc134fd0f},
1415 +{"linux/dm-ioctl.h", "DM_DEV_SET_GEOMETRY", 0xc134fd0f},
1416 +{"linux/hiddev.h", "HIDIOCGUSAGES", 0xd01c4813},
1417 diff --git a/linux/avr32/ioctlent.sh b/linux/avr32/ioctlent.sh
1418 new file mode 100644
1419 index 0000000..8e1b448
1420 --- /dev/null
1421 +++ b/linux/avr32/ioctlent.sh
1422 @@ -0,0 +1,124 @@
1423 +#!/bin/sh
1424 +# Copyright (c) 1993, 1994, 1995 Rick Sladkey <jrs@world.std.com>
1425 +# All rights reserved.
1427 +# Copyright (c) 1995, 1996 Michael Elizabeth Chastain <mec@duracef.shout.net>
1428 +# All rights reserved.
1430 +# Redistribution and use in source and binary forms, with or without
1431 +# modification, are permitted provided that the following conditions
1432 +# are met:
1433 +# 1. Redistributions of source code must retain the above copyright
1434 +# notice, this list of conditions and the following disclaimer.
1435 +# 2. Redistributions in binary form must reproduce the above copyright
1436 +# notice, this list of conditions and the following disclaimer in the
1437 +# documentation and/or other materials provided with the distribution.
1438 +# 3. The name of the author may not be used to endorse or promote products
1439 +# derived from this software without specific prior written permission.
1441 +# THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
1442 +# IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
1443 +# OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
1444 +# IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
1445 +# INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
1446 +# NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
1447 +# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
1448 +# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
1449 +# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
1450 +# THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
1452 +# Files to find.
1453 +file_find='asm/*.h linux/*.h scsi/*.h mtd/*.h'
1455 +# Files to stop.
1456 +file_stop='asm/byteorder.h linux/config.h linux/elf-em.h linux/pci_ids.h linux/xd.h linux/reiserfs_fs.h linux/usbdevice_fs.h'
1458 +# Defs to find.
1459 +# Work on the kernel source to convert all to df_iowr.
1460 +# Don't know how to find low-numbered ioctls in linux/mc146818rtc.h.
1461 +df_name='^[ ]*#[ ]*define[ ]+[A-Z_][A-Z0-9_]*[ ]+'
1462 +df_iowr='_IO|_IOR|_IOW|_IOWR'
1463 +df_NNNN='0[Xx](03|06|22|46|4B|4C|53|54|56|89|90)[0-9A-Fa-f][0-9A-Fa-f]'
1464 +df_4359='0[Xx]4359[0-9A-Fa-f][0-9A-Fa-f]' # linux/cyclades.h
1465 +df_470N='470[0-9]' # linux/fs.h (only in 1.2.13)
1466 +df_smix='MIXER_READ|MIXER_WRITE' # linux/soundcard.h
1467 +df_12NN='12[3-4][0-9]' # linux/umsdos_fs.h (only in 1.2.13)
1468 +df_tail='([() ]|$)'
1469 +def_find="$df_name($df_iowr|$df_NNNN|$df_4359|$df_470N|$df_smix|$df_12NN)$df_tail"
1471 +# Defs to stop.
1472 +ds_tail='_MAGIC|_PATCH'
1473 +ds_fdmp='FD(DEF|GET|SET)MEDIAPRM' # linux/fd.h aliases (only in 1.2.13)
1474 +ds_mtio='MTIOC(GET|SET)CONFIG' # linux/mtio.h needs config (only in 1.2.13)
1475 +ds_soundcard='_SIO(RW?|W)?'
1476 +def_stop="$ds_tail|$ds_fdmp|$ds_mtio|$ds_soundcard"
1478 +# Validate arg count.
1479 +if [ $# -ne 1 ]
1480 +then
1481 + echo "usage: $0 include-directory" >&2
1482 + exit 1
1485 +# Grep through the files.
1487 + # Construct list: find files minus stop files.
1488 + cd $1 || exit
1489 + file_list=`(ls $file_find $file_stop $file_stop 2>/dev/null) | sort | uniq -u`
1491 + # Grep matching #define lines.
1492 + # Transform to C structure form.
1493 + # Filter out stop list.
1494 + egrep "$def_find" $file_list |
1495 + sed -n -e 's/^\(.*\):#[ ]*define[ ]*\([A-Z_][A-Z0-9_]*\).*$/ { "\1", "\2", \2 },/p' |
1496 + egrep -v "$def_stop"
1497 +) > ioctlent.tmp
1499 +# Generate the output file.
1500 +echo '/* This file is automatically generated by ioctlent.sh */'
1501 +echo
1502 +echo '#include <sys/types.h>'
1503 +echo '#include <sys/socket.h>'
1504 +echo '#include <stdint.h>'
1505 +echo
1506 +echo '/* Needed for <linux/baycom.h> */'
1507 +echo '#define BAYCOM_DEBUG'
1508 +echo
1509 +echo '/* Needed for <linux/dm-ioctl.h> */'
1510 +echo '#define CONFIG_COMPAT'
1511 +echo
1512 +echo '/* Needed for <linux/ext3_fs.h> */'
1513 +echo '#define CONFIG_JBD_DEBUG'
1514 +echo
1515 +echo '/* Needed for <linux/lp.h> */'
1516 +echo '#define LP_STATS'
1517 +echo
1518 +echo '/* Needed for <linux/videodev2.h> */'
1519 +echo '#define __OLD_VIDIOC_'
1520 +echo
1521 +echo '/* Needed for <linux/zftape.h> */'
1522 +echo '#define ZFT_OBSOLETE'
1523 +echo
1524 +echo '/* Needed for <linux/auto_fs.h> */'
1525 +echo '#include <linux/limits.h>'
1526 +echo
1527 +echo '/* Needed for <linux/cyclades.h> */'
1528 +echo '#include <linux/termios.h>'
1529 +#echo '#include <linux/tqueue.h>'
1530 +echo
1531 +echo '/* Needed for <linux/if_ppp.h> */'
1532 +echo '#include <linux/ppp_defs.h>'
1533 +echo '#include <linux/filter.h>'
1534 +echo
1535 +echo '/* Needed for <linux/msdos_fs.h> */'
1536 +echo '#include <linux/dirent.h>'
1537 +echo
1538 +awk '{ print "#include <" substr($2, 2, length($2) - 3) ">" }' ioctlent.tmp | sort -u
1539 +echo
1540 +echo 'struct ioctlent ioctlent [] ='
1541 +echo '{'
1542 +cat ioctlent.tmp
1543 +echo '};'
1545 +# Clean up.
1546 +rm -f ioctlent.tmp
1547 diff --git a/linux/avr32/syscallent.h b/linux/avr32/syscallent.h
1548 new file mode 100644
1549 index 0000000..702d28f
1550 --- /dev/null
1551 +++ b/linux/avr32/syscallent.h
1552 @@ -0,0 +1,307 @@
1554 + * Copyright (c) 2004-2006 Atmel Corporation
1555 + * All rights reserved.
1557 + * Redistribution and use in source and binary forms, with or without
1558 + * modification, are permitted provided that the following conditions
1559 + * are met:
1560 + * 1. Redistributions of source code must retain the above copyright
1561 + * notice, this list of conditions and the following disclaimer.
1562 + * 2. Redistributions in binary form must reproduce the above copyright
1563 + * notice, this list of conditions and the following disclaimer in the
1564 + * documentation and/or other materials provided with the distribution.
1565 + * 3. The name of the author may not be used to endorse or promote products
1566 + * derived from this software without specific prior written permission.
1568 + * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
1569 + * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
1570 + * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
1571 + * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
1572 + * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
1573 + * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
1574 + * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
1575 + * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
1576 + * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
1577 + * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
1579 + * $Id$
1580 + */
1582 + { 0, 0, sys_setup, "setup" }, /* 0 */
1583 + { 1, TP, sys_exit, "_exit" }, /* 1 */
1584 + { 0, TP, sys_fork, "fork" }, /* 2 */
1585 + { 3, 0, sys_read, "read" }, /* 3 */
1586 + { 3, 0, sys_write, "write" }, /* 4 */
1587 + { 3, TF, sys_open, "open" }, /* 5 */
1588 + { 1, 0, sys_close, "close" }, /* 6 */
1589 + { 1, 0, sys_umask, "umask" }, /* 7 */
1590 + { 2, TF, sys_creat, "creat" }, /* 8 */
1591 + { 2, TF, sys_link, "link" }, /* 9 */
1592 + { 1, TF, sys_unlink, "unlink" }, /* 10 */
1593 + { 3, TF|TP, sys_execve, "execve" }, /* 11 */
1594 + { 1, TF, sys_chdir, "chdir" }, /* 12 */
1595 + { 1, 0, sys_time, "time" }, /* 13 */
1596 + { 3, TF, sys_mknod, "mknod" }, /* 14 */
1597 + { 2, TF, sys_chmod, "chmod" }, /* 15 */
1598 + { 3, TF, sys_chown, "chown" }, /* 16 */
1599 + { 3, TF, sys_chown, "lchown" }, /* 17 */
1600 + { 3, 0, sys_lseek, "lseek" }, /* 18 */
1601 + { 5, 0, sys_llseek, "_llseek" }, /* 19 */
1602 + { 0, 0, sys_getpid, "getpid" }, /* 20 */
1603 + { 5, TF, sys_mount, "mount" }, /* 21 */
1604 + { 2, TF, sys_umount, "umount" }, /* 22 */
1605 + { 1, 0, sys_setuid, "setuid" }, /* 23 */
1606 + { 0, 0, sys_getuid, "getuid" }, /* 24 */
1607 + { 1, 0, sys_stime, "stime" }, /* 25 */
1608 + { 4, 0, sys_ptrace, "ptrace" }, /* 26 */
1609 + { 1, 0, sys_alarm, "alarm" }, /* 27 */
1610 + { 0, TS, sys_pause, "pause" }, /* 28 */
1611 + { 2, TF, sys_utime, "utime" }, /* 29 */
1612 + { 2, TF, sys_stat, "stat" }, /* 30 */
1613 + { 2, 0, sys_fstat, "fstat" }, /* 31 */
1614 + { 2, TF, sys_lstat, "lstat" }, /* 32 */
1615 + { 2, TF, sys_access, "access" }, /* 33 */
1616 + { 1, TF, sys_chroot, "chroot" }, /* 34 */
1617 + { 0, 0, sys_sync, "sync" }, /* 35 */
1618 + { 1, 0, sys_fsync, "fsync" }, /* 36 */
1619 + { 2, TS, sys_kill, "kill" }, /* 37 */
1620 + { 2, TF, sys_rename, "rename" }, /* 38 */
1621 + { 2, TF, sys_mkdir, "mkdir" }, /* 39 */
1622 + { 1, TF, sys_rmdir, "rmdir" }, /* 40 */
1623 + { 1, 0, sys_dup, "dup" }, /* 41 */
1624 + { 1, 0, sys_pipe, "pipe" }, /* 42 */
1625 + { 1, 0, sys_times, "times" }, /* 43 */
1626 + { 5, TP, sys_clone, "clone" }, /* 44 */
1627 + { 1, 0, sys_brk, "brk" }, /* 45 */
1628 + { 1, 0, sys_setgid, "setgid" }, /* 46 */
1629 + { 0, 0, sys_getgid, "getgid" }, /* 47 */
1630 + { 2, TF, sys_getcwd, "getcwd" }, /* 48 */
1631 + { 0, 0, sys_geteuid, "geteuid" }, /* 49 */
1632 + { 0, 0, sys_getegid, "getegid" }, /* 50 */
1633 + { 1, TF, sys_acct, "acct" }, /* 51 */
1634 + { 1, 0, sys_setfsuid, "setfsuid" }, /* 52 */
1635 + { 1, 0, sys_setfsgid, "setfsgid" }, /* 53 */
1636 + { 3, 0, sys_ioctl, "ioctl" }, /* 54 */
1637 + { 3, 0, sys_fcntl, "fcntl" }, /* 55 */
1638 + { 2, 0, sys_setpgid, "setpgid" }, /* 56 */
1639 + { 4, 0, sys_mremap, "mremap" }, /* 57 */
1640 + { 3, 0, sys_setresuid, "setresuid" }, /* 58 */
1641 + { 3, 0, sys_getresuid, "getresuid" }, /* 59 */
1642 + { 2, 0, sys_setreuid, "setreuid" }, /* 60 */
1643 + { 2, 0, sys_setregid, "setregid" }, /* 61 */
1644 + { 2, 0, sys_ustat, "ustat" }, /* 62 */
1645 + { 2, 0, sys_dup2, "dup2" }, /* 63 */
1646 + { 0, 0, sys_getppid, "getppid" }, /* 64 */
1647 + { 0, 0, sys_getpgrp, "getpgrp" }, /* 65 */
1648 + { 0, 0, sys_setsid, "setsid" }, /* 66 */
1649 + { 4, TS, sys_rt_sigaction, "rt_sigaction" }, /* 67 */
1650 + { 1, TS, printargs, "rt_sigreturn" }, /* 68 */
1651 + { 4, TS, sys_rt_sigprocmask, "rt_sigprocmask"}, /* 69 */
1652 + { 2, TS, sys_rt_sigpending, "rt_sigpending" }, /* 70 */
1653 + { 4, TS, sys_rt_sigtimedwait, "rt_sigtimedwait"}, /* 71 */
1654 + { 3, TS, sys_rt_sigqueueinfo, "rt_sigqueueinfo"}, /* 72 */
1655 + { 2, TS, sys_rt_sigsuspend, "rt_sigsuspend" }, /* 73 */
1656 + { 2, 0, sys_sethostname, "sethostname" }, /* 74 */
1657 + { 2, 0, sys_setrlimit, "setrlimit" }, /* 75 */
1658 + { 2, 0, sys_getrlimit, "old_getrlimit" }, /* 76 */
1659 + { 2, 0, sys_getrusage, "getrusage" }, /* 77 */
1660 + { 2, 0, sys_gettimeofday, "gettimeofday" }, /* 78 */
1661 + { 2, 0, sys_settimeofday, "settimeofday" }, /* 79 */
1662 + { 2, 0, sys_getgroups, "getgroups" }, /* 80 */
1663 + { 2, 0, sys_setgroups, "setgroups" }, /* 81 */
1664 + { 5, 0, sys_select, "select" }, /* 82 */
1665 + { 2, TF, sys_symlink, "symlink" }, /* 83 */
1666 + { 1, 0, sys_fchdir, "fchdir" }, /* 84 */
1667 + { 3, TF, sys_readlink, "readlink" }, /* 85 */
1668 + { 5, TF, sys_pread, "pread" }, /* 86 */
1669 + { 5, TF, sys_pwrite, "pwrite" }, /* 87 */
1670 + { 1, TF, sys_swapon, "swapon" }, /* 88 */
1671 + { 3, 0, sys_reboot, "reboot" }, /* 89 */
1672 + { 6, 0, sys_mmap, "mmap" }, /* 90 */
1673 + { 2, 0, sys_munmap, "munmap" }, /* 91 */
1674 + { 2, TF, sys_truncate, "truncate" }, /* 92 */
1675 + { 2, 0, sys_ftruncate, "ftruncate" }, /* 93 */
1676 + { 2, 0, sys_fchmod, "fchmod" }, /* 94 */
1677 + { 3, 0, sys_fchown, "fchown" }, /* 95 */
1678 + { 2, 0, sys_getpriority, "getpriority" }, /* 96 */
1679 + { 3, 0, sys_setpriority, "setpriority" }, /* 97 */
1680 + { 4, TP, sys_wait4, "wait4" }, /* 98 */
1681 + { 2, TF, sys_statfs, "statfs" }, /* 99 */
1682 + { 2, 0, sys_fstatfs, "fstatfs" }, /* 100 */
1683 + { 0, 0, sys_vhangup, "vhangup" }, /* 101 */
1684 + { 2, TS, sys_sigaltstack, "sigaltstack" }, /* 102 */
1685 + { 3, 0, sys_syslog, "syslog" }, /* 103 */
1686 + { 3, 0, sys_setitimer, "setitimer" }, /* 104 */
1687 + { 2, 0, sys_getitimer, "getitimer" }, /* 105 */
1688 + { 1, 0, sys_swapoff, "swapoff" }, /* 106 */
1689 + { 1, 0, sys_sysinfo, "sysinfo" }, /* 107 */
1690 + { 6, 0, sys_ipc, "ipc" }, /* 108 */
1691 + { 4, TF, sys_sendfile, "sendfile" }, /* 109 */
1692 + { 2, 0, sys_setdomainname, "setdomainname" }, /* 110 */
1693 + { 1, 0, sys_uname, "uname" }, /* 111 */
1694 + { 1, 0, sys_adjtimex, "adjtimex" }, /* 112 */
1695 + { 3, 0, sys_mprotect, "mprotect" }, /* 113 */
1696 + { 0, TP, sys_vfork, "vfork" }, /* 114 */
1697 + { 2, 0, sys_init_module, "init_module" }, /* 115 */
1698 + { 1, 0, sys_delete_module, "delete_module" }, /* 116 */
1699 + { 4, 0, sys_quotactl, "quotactl" }, /* 117 */
1700 + { 1, 0, sys_getpgid, "getpgid" }, /* 118 */
1701 + { 0, 0, sys_bdflush, "bdflush" }, /* 119 */
1702 + { 3, 0, sys_sysfs, "sysfs" }, /* 120 */
1703 + { 1, 0, sys_personality, "personality" }, /* 121 */
1704 + { 5, 0, sys_afs_syscall, "afs_syscall" }, /* 122 */
1705 + { 3, 0, sys_getdents, "getdents" }, /* 123 */
1706 + { 2, 0, sys_flock, "flock" }, /* 124 */
1707 + { 3, 0, sys_msync, "msync" }, /* 125 */
1708 + { 3, 0, sys_readv, "readv" }, /* 126 */
1709 + { 3, 0, sys_writev, "writev" }, /* 127 */
1710 + { 1, 0, sys_getsid, "getsid" }, /* 128 */
1711 + { 1, 0, sys_fdatasync, "fdatasync" }, /* 129 */
1712 + { 1, 0, sys_sysctl, "_sysctl" }, /* 130 */
1713 + { 2, 0, sys_mlock, "mlock" }, /* 131 */
1714 + { 2, 0, sys_munlock, "munlock" }, /* 132 */
1715 + { 2, 0, sys_mlockall, "mlockall" }, /* 133 */
1716 + { 0, 0, sys_munlockall, "munlockall" }, /* 134 */
1717 + { 0, 0, sys_sched_setparam, "sched_setparam"}, /* 135 */
1718 + { 2, 0, sys_sched_getparam, "sched_getparam"}, /* 136 */
1719 + { 3, 0, sys_sched_setscheduler, "sched_setscheduler"}, /* 137 */
1720 + { 1, 0, sys_sched_getscheduler, "sched_getscheduler"}, /* 138 */
1721 + { 0, 0, sys_sched_yield, "sched_yield"}, /* 139 */
1722 + { 1, 0, sys_sched_get_priority_max,"sched_get_priority_max"}, /* 140 */
1723 + { 1, 0, sys_sched_get_priority_min,"sched_get_priority_min"}, /* 141 */
1724 + { 2, 0, sys_sched_rr_get_interval,"sched_rr_get_interval"}, /* 142 */
1725 + { 2, 0, sys_nanosleep, "nanosleep" }, /* 143 */
1726 + { 3, 0, sys_poll, "poll" }, /* 144 */
1727 + { 3, 0, printargs, "nfsservctl" }, /* 145 */
1728 + { 3, 0, sys_setresgid, "setresgid" }, /* 146 */
1729 + { 3, 0, sys_getresgid, "getresgid" }, /* 147 */
1730 + { 5, 0, sys_prctl, "prctl" }, /* 148 */
1731 + { 3, TN, sys_socket, "socket" }, /* 149 */
1732 + { 3, TN, sys_bind, "bind" }, /* 150 */
1733 + { 3, TN, sys_connect, "connect" }, /* 151 */
1734 + { 2, TN, sys_listen, "listen" }, /* 152 */
1735 + { 3, TN, sys_accept, "accept" }, /* 153 */
1736 + { 3, TN, sys_getsockname, "getsockname" }, /* 154 */
1737 + { 3, TN, sys_getpeername, "getpeername" }, /* 155 */
1738 + { 4, TN, sys_socketpair, "socketpair" }, /* 156 */
1739 + { 4, TN, sys_send, "send" }, /* 157 */
1740 + { 4, TN, sys_recv, "recv" }, /* 158 */
1741 + { 6, TN, sys_sendto, "sendto" }, /* 159 */
1742 + { 6, TN, sys_recvfrom, "recvfrom" }, /* 160 */
1743 + { 2, TN, sys_shutdown, "shutdown" }, /* 161 */
1744 + { 5, TN, sys_setsockopt, "setsockopt" }, /* 162 */
1745 + { 5, TN, sys_getsockopt, "getsockopt" }, /* 163 */
1746 + { 3, TN, sys_sendmsg, "sendmsg" }, /* 164 */
1747 + { 3, TN, sys_recvmsg, "recvmsg" }, /* 165 */
1748 + { 3, TF, sys_truncate64, "truncate64" }, /* 166 */
1749 + { 3, TF, sys_ftruncate64, "ftruncate64" }, /* 167 */
1750 + { 2, TF, sys_stat64, "stat64" }, /* 168 */
1751 + { 2, TF, sys_lstat64, "lstat64" }, /* 169 */
1752 + { 2, TF, sys_fstat64, "fstat64" }, /* 170 */
1753 + { 2, TF, sys_pivotroot, "pivot_root" }, /* 171 */
1754 + { 3, 0, printargs, "mincore" }, /* 172 */
1755 + { 3, 0, sys_madvise, "madvise" }, /* 173 */
1756 + { 4, 0, sys_getdents64, "getdents64" }, /* 174 */
1757 + { 3, 0, sys_fcntl, "fcntl64" }, /* 175 */
1758 + { 0, 0, printargs, "gettid" }, /* 176 */
1759 + { 4, 0, sys_readahead, "readahead" }, /* 177 */
1760 + { 5, TF, sys_setxattr, "setxattr" }, /* 178 */
1761 + { 5, TF, sys_setxattr, "lsetxattr" }, /* 179 */
1762 + { 5, 0, sys_fsetxattr, "fsetxattr" }, /* 180 */
1763 + { 4, TF, sys_getxattr, "getxattr" }, /* 181 */
1764 + { 4, TF, sys_getxattr, "lgetxattr" }, /* 182 */
1765 + { 4, 0, sys_fgetxattr, "fgetxattr" }, /* 183 */
1766 + { 3, TF, sys_listxattr, "listxattr" }, /* 184 */
1767 + { 3, TF, sys_listxattr, "llistxattr" }, /* 185 */
1768 + { 3, 0, sys_flistxattr, "flistxattr" }, /* 186 */
1769 + { 2, TF, sys_removexattr, "removexattr" }, /* 187 */
1770 + { 2, TF, sys_removexattr, "lremovexattr" }, /* 188 */
1771 + { 2, 0, sys_fremovexattr, "fremovexattr" }, /* 189 */
1772 + { 2, TS, sys_kill, "tkill" }, /* 190 */
1773 + { 4, TF, sys_sendfile64, "sendfile64" }, /* 191 */
1774 + { 5, 0, sys_futex, "futex" }, /* 192 */
1775 + { 3, 0, sys_sched_setaffinity, "sched_setaffinity" },/* 193 */
1776 + { 3, 0, sys_sched_getaffinity, "sched_getaffinity" },/* 194 */
1777 + { 2, 0, sys_capget, "capget" }, /* 195 */
1778 + { 2, 0, sys_capset, "capset" }, /* 196 */
1779 + { 2, 0, sys_io_setup, "io_setup" }, /* 197 */
1780 + { 1, 0, sys_io_destroy, "io_destroy" }, /* 198 */
1781 + { 5, 0, sys_io_getevents, "io_getevents" }, /* 199 */
1782 + { 3, 0, sys_io_submit, "io_submit" }, /* 200 */
1783 + { 3, 0, sys_io_cancel, "io_cancel" }, /* 201 */
1784 + { 6, 0, sys_fadvise64, "fadvise64" }, /* 202 */
1785 + { 1, TP, sys_exit, "exit_group" }, /* 203 */
1786 + { 4, 0, printargs, "lookup_dcookie"}, /* 204 */
1787 + { 1, 0, sys_epoll_create, "epoll_create" }, /* 205 */
1788 + { 4, 0, sys_epoll_ctl, "epoll_ctl" }, /* 206 */
1789 + { 4, 0, sys_epoll_wait, "epoll_wait" }, /* 207 */
1790 + { 5, 0, sys_remap_file_pages, "remap_file_pages"}, /* 208 */
1791 + { 1, 0, printargs, "set_tid_address"}, /* 209 */
1792 + { 3, 0, sys_timer_create, "timer_create" }, /* 210 */
1793 + { 4, 0, sys_timer_settime, "timer_settime" }, /* 211 */
1794 + { 2, 0, sys_timer_gettime, "timer_gettime" }, /* 212 */
1795 + { 1, 0, sys_timer_getoverrun, "timer_getoverrun"}, /* 213 */
1796 + { 1, 0, sys_timer_delete, "timer_delete" }, /* 214 */
1797 + { 2, 0, sys_clock_settime, "clock_settime" }, /* 215 */
1798 + { 2, 0, sys_clock_gettime, "clock_gettime" }, /* 216 */
1799 + { 2, 0, sys_clock_getres, "clock_getres" }, /* 217 */
1800 + { 4, 0, sys_clock_nanosleep, "clock_nanosleep"}, /* 218 */
1801 + { 3, TF, sys_statfs64, "statfs64" }, /* 219 */
1802 + { 3, 0, sys_fstatfs64, "fstatfs64" }, /* 220 */
1803 + { 3, TS, sys_tgkill, "tgkill" }, /* 221 */
1804 + { 5, 0, printargs, "SYS_222" }, /* 222 */
1805 + { 2, TF, sys_utimes, "utimes" }, /* 223 */
1806 + { 6, 0, sys_fadvise64_64, "fadvise64_64" }, /* 224 */
1807 + { 3, 0, printargs, "cacheflush" }, /* 225 */
1808 + { 0, 0, printargs, "vserver" }, /* 226 */
1809 + { 4, 0, sys_mq_open, "mq_open" }, /* 227 */
1810 + { 1, 0, sys_mq_unlink, "mq_unlink" }, /* 228 */
1811 + { 5, 0, sys_mq_timedsend, "mq_timedsend" }, /* 229 */
1812 + { 5, 0, sys_mq_timedreceive, "mq_timedreceive" }, /* 230 */
1813 + { 2, 0, sys_mq_notify, "mq_notify" }, /* 231 */
1814 + { 3, 0, sys_mq_getsetattr, "mq_getsetattr" }, /* 232 */
1815 + { 4, 0, printargs, "kexec_load" }, /* 233 */
1816 + { 1, 0, sys_waitid, "waitid" }, /* 234 */
1817 + { 5, 0, printargs, "add_key" }, /* 235 */
1818 + { 4, 0, printargs, "request_key" }, /* 236 */
1819 + { 5, 0, printargs, "keyctl" }, /* 237 */
1820 + { 3, 0, printargs, "ioprio_set" }, /* 238 */
1821 + { 2, 0, printargs, "ioprio_get" }, /* 239 */
1822 + { 1, 0, printargs, "inotify_init" }, /* 240 */
1823 + { 3, 0, sys_inotify_add_watch, "inotify_add_watch" }, /* 241 */
1824 + { 2, 0, sys_inotify_rm_watch, "inotify_rm_watch" }, /* 242 */
1825 + { 4, 0, sys_openat, "openat" }, /* 243 */
1826 + { 3, 0, sys_mkdirat, "mkdirat" }, /* 244 */
1827 + { 4, 0, sys_mknodat, "mknodat" }, /* 245 */
1828 + { 5, 0, sys_fchownat, "fchownat" }, /* 246 */
1829 + { 3, 0, sys_futimesat, "futimesat" }, /* 247 */
1830 + { 4, 0, printargs, "fstatat64" }, /* 248 */
1831 + { 3, 0, sys_unlinkat, "unlinkat" }, /* 249 */
1832 + { 4, 0, sys_renameat, "renameat" }, /* 250 */
1833 + { 5, 0, sys_linkat, "linkat" }, /* 251 */
1834 + { 3, 0, sys_symlinkat, "symlinkat" }, /* 252 */
1835 + { 4, 0, sys_readlinkat, "readlinkat" }, /* 253 */
1836 + { 3, 0, sys_fchmodat, "fchmodat" }, /* 254 */
1837 + { 3, 0, sys_faccessat, "faccessat" }, /* 255 */
1838 + { 6, 0, sys_pselect6, "pselect6" }, /* 256 */
1839 + { 5, 0, sys_ppoll, "ppoll" }, /* 257 */
1840 + { 1, 0, sys_unshare, "unshare" }, /* 258 */
1841 + { 2, 0, printargs, "set_robust_list" }, /* 259 */
1842 + { 3, 0, printargs, "get_robust_list" }, /* 260 */
1843 + { 6, 0, printargs, "splice" }, /* 261 */
1844 + { 4, 0, printargs, "sync_file_range" }, /* 262 */
1845 + { 4, 0, printargs, "tee" }, /* 263 */
1846 + { 4, 0, printargs, "vmsplice" }, /* 264 */
1847 + { 6, 0, printargs, "sys_epoll_pwait" }, /* 265 */
1848 + { 2, TI, sys_msgget, "msgget" }, /* 266 */
1849 + { 4, TI, sys_msgsnd, "msgsnd" }, /* 267 */
1850 + { 5, TI, sys_msgrcv, "msgrcv" }, /* 268 */
1851 + { 3, TI, sys_msgctl, "msgctl" }, /* 269 */
1852 + { 3, TI, sys_semget, "semget" }, /* 270 */
1853 + { 3, TI, sys_semop, "semop" }, /* 271 */
1854 + { 4, TI, sys_semctl, "semctl" }, /* 272 */
1855 + { 4, TI, sys_semtimedop, "semtimedop" }, /* 273 */
1856 + { 3, TI, sys_shmat, "shmat" }, /* 274 */
1857 + { 3, TI, sys_shmget, "shmget" }, /* 275 */
1858 + { 1, TI, sys_shmdt, "shmdt" }, /* 276 */
1859 + { 3, TI, sys_shmctl, "shmctl" }, /* 277 */
1860 diff --git a/process.c b/process.c
1861 index 96e3676..dd11a0a 100644
1862 --- a/process.c
1863 +++ b/process.c
1864 @@ -714,6 +714,10 @@ int new;
1865 return -1;
1867 return 0;
1868 +#elif defined(AVR32)
1869 + if (ptrace(PTRACE_POKEUSER, tcp->pid, (char*)(REG_R8), new) < 0)
1870 + return -1;
1871 + return 0;
1872 #else
1873 #warning Do not know how to handle change_syscall for this architecture
1874 #endif /* architecture */
1875 @@ -794,6 +798,28 @@ setarg(tcp, argnum)
1876 if (errno)
1877 return -1;
1879 +#elif defined(AVR32)
1881 + errno = 0;
1882 + if (argnum == 0)
1883 + ptrace(PTRACE_POKEUSER, tcp->pid,
1884 + (char *)(REG_R12_ORIG),
1885 + tcp->u_arg[argnum]);
1886 + else if (argnum < 4)
1887 + /* r11 .. r9 */
1888 + ptrace(PTRACE_POKEUSER, tcp->pid,
1889 + (char *)(REG_R12 - 4 * argnum),
1890 + tcp->u_arg[argnum]);
1891 + else if (argnum < 6)
1892 + /* r6 .. r5 */
1893 + ptrace(PTRACE_POKEUSER, tcp->pid,
1894 + (char *)(REG_R10 - 4 * argnum),
1895 + tcp->u_arg[argnum]);
1896 + else
1897 + return -E2BIG;
1898 + if (errno)
1899 + return -1;
1901 #else
1902 # warning Sorry, setargs not implemented for this architecture.
1903 #endif
1904 @@ -2882,8 +2908,27 @@ const struct xlat struct_user_offsets[] = {
1905 { uoff(regs.ARM_pc), "pc" },
1906 { uoff(regs.ARM_cpsr), "cpsr" },
1907 #endif
1909 -#if !defined(S390) && !defined(S390X) && !defined(MIPS) && !defined(SPARC64)
1910 +#ifdef AVR32
1911 + { uoff(regs.sr), "sr" },
1912 + { uoff(regs.pc), "pc" },
1913 + { uoff(regs.lr), "lr" },
1914 + { uoff(regs.sp), "sp" },
1915 + { uoff(regs.r12), "r12" },
1916 + { uoff(regs.r11), "r11" },
1917 + { uoff(regs.r10), "r10" },
1918 + { uoff(regs.r9), "r9" },
1919 + { uoff(regs.r8), "r8" },
1920 + { uoff(regs.r7), "r7" },
1921 + { uoff(regs.r6), "r6" },
1922 + { uoff(regs.r5), "r5" },
1923 + { uoff(regs.r4), "r4" },
1924 + { uoff(regs.r3), "r3" },
1925 + { uoff(regs.r2), "r2" },
1926 + { uoff(regs.r1), "r1" },
1927 + { uoff(regs.r0), "r0" },
1928 + { uoff(regs.r12_orig), "orig_r12" },
1929 +#endif
1930 +#if !defined(S390) && !defined(S390X) && !defined(MIPS) && !defined(SPARC64) && !defined(AVR32)
1931 { uoff(u_fpvalid), "offsetof(struct user, u_fpvalid)" },
1932 #endif
1933 #if defined(I386) || defined(X86_64)
1934 @@ -2899,20 +2944,20 @@ const struct xlat struct_user_offsets[] = {
1935 #if !defined(SPARC64)
1936 { uoff(start_code), "offsetof(struct user, start_code)" },
1937 #endif
1938 -#ifdef SH64
1939 +#if defined(SH64) || defined(AVR32)
1940 { uoff(start_data), "offsetof(struct user, start_data)" },
1941 #endif
1942 #if !defined(SPARC64)
1943 { uoff(start_stack), "offsetof(struct user, start_stack)" },
1944 #endif
1945 { uoff(signal), "offsetof(struct user, signal)" },
1946 -#if !defined(S390) && !defined(S390X) && !defined(MIPS) && !defined(SH) && !defined(SH64) && !defined(SPARC64)
1947 +#if !defined(S390) && !defined(S390X) && !defined(MIPS) && !defined(SH) && !defined(SH64) && !defined(SPARC64) && !defined(AVR32)
1948 { uoff(reserved), "offsetof(struct user, reserved)" },
1949 #endif
1950 #if !defined(SPARC64)
1951 { uoff(u_ar0), "offsetof(struct user, u_ar0)" },
1952 #endif
1953 -#if !defined(ARM) && !defined(MIPS) && !defined(S390) && !defined(S390X) && !defined(SPARC64)
1954 +#if !defined(ARM) && !defined(MIPS) && !defined(S390) && !defined(S390X) && !defined(SPARC64) && !defined(AVR32)
1955 { uoff(u_fpstate), "offsetof(struct user, u_fpstate)" },
1956 #endif
1957 { uoff(magic), "offsetof(struct user, magic)" },
1958 diff --git a/syscall.c b/syscall.c
1959 index ade4f0d..9c26ecb 100644
1960 --- a/syscall.c
1961 +++ b/syscall.c
1962 @@ -809,6 +809,8 @@ internal_syscall(struct tcb *tcp)
1963 static long r9;
1964 #elif defined(X86_64)
1965 static long rax;
1966 +#elif defined(AVR32)
1967 + static struct pt_regs regs;
1968 #endif
1969 #endif /* LINUX */
1970 #ifdef FREEBSD
1971 @@ -1264,7 +1266,26 @@ struct tcb *tcp;
1972 return 0;
1975 -#endif /* SH64 */
1976 +#elif defined(AVR32)
1977 + /*
1978 + * Read complete register set in one go.
1979 + */
1980 + if (ptrace(PTRACE_GETREGS, pid, NULL, &regs) < 0)
1981 + return -1;
1983 + /*
1984 + * We only need to grab the syscall number on syscall entry.
1985 + */
1986 + if (!(tcp->flags & TCB_INSYSCALL)) {
1987 + scno = regs.r8;
1989 + /* Check if we return from execve. */
1990 + if (tcp->flags & TCB_WAITEXECVE) {
1991 + tcp->flags &= ~TCB_WAITEXECVE;
1992 + return 0;
1995 +#endif /* AVR32 */
1996 #endif /* LINUX */
1997 #ifdef SUNOS4
1998 if (upeek(pid, uoff(u_arg[7]), &scno) < 0)
1999 @@ -1623,6 +1644,17 @@ struct tcb *tcp;
2000 tcp->u_rval = r9;
2001 u_error = 0;
2003 +#else
2004 +#ifdef AVR32
2005 + if (regs.r12 && (unsigned) -regs.r12 < nerrnos) {
2006 + tcp->u_rval = -1;
2007 + u_error = -regs.r12;
2009 + else {
2010 + tcp->u_rval = regs.r12;
2011 + u_error = 0;
2013 +#endif /* AVR32 */
2014 #endif /* SH64 */
2015 #endif /* SH */
2016 #endif /* HPPA */
2017 @@ -1848,6 +1880,12 @@ force_result(tcp, error, rval)
2018 r9 = error ? -error : rval;
2019 if (ptrace(PTRACE_POKEUSER, tcp->pid, (char*)REG_GENERAL(9), r9) < 0)
2020 return -1;
2021 +#else
2022 +#ifdef AVR32
2023 + regs.r12 = error ? -error : rval;
2024 + if (ptrace(PTRACE_POKEUSER, tcp->pid, (char*)REG_R12, regs.r12) < 0)
2025 + return -1;
2026 +#endif /* AVR32 */
2027 #endif /* SH64 */
2028 #endif /* SH */
2029 #endif /* HPPA */
2030 @@ -2120,6 +2158,14 @@ struct tcb *tcp;
2031 return -1;
2034 +#elif defined(AVR32)
2035 + tcp->u_nargs = sysent[tcp->scno].nargs;
2036 + tcp->u_arg[0] = regs.r12;
2037 + tcp->u_arg[1] = regs.r11;
2038 + tcp->u_arg[2] = regs.r10;
2039 + tcp->u_arg[3] = regs.r9;
2040 + tcp->u_arg[4] = regs.r5;
2041 + tcp->u_arg[5] = regs.r3;
2042 #else /* Other architecture (like i386) (32bits specific) */
2044 int i;
2045 @@ -2382,7 +2428,7 @@ trace_syscall(struct tcb *tcp)
2047 switch (known_scno(tcp)) {
2048 #ifdef LINUX
2049 -#if !defined (ALPHA) && !defined(SPARC) && !defined(SPARC64) && !defined(MIPS) && !defined(HPPA)
2050 +#if !defined (ALPHA) && !defined(SPARC) && !defined(SPARC64) && !defined(MIPS) && !defined(HPPA) && !defined(AVR32)
2051 case SYS_socketcall:
2052 decode_subcall(tcp, SYS_socket_subcall,
2053 SYS_socket_nsubcalls, deref_style);
2054 @@ -2391,7 +2437,7 @@ trace_syscall(struct tcb *tcp)
2055 decode_subcall(tcp, SYS_ipc_subcall,
2056 SYS_ipc_nsubcalls, shift_style);
2057 break;
2058 -#endif /* !ALPHA && !MIPS && !SPARC && !SPARC64 && !HPPA */
2059 +#endif /* !ALPHA && !MIPS && !SPARC && !SPARC64 && !HPPA && !AVR32 */
2060 #if defined (SPARC) || defined (SPARC64)
2061 case SYS_socketcall:
2062 sparc_socket_decode (tcp);
2063 diff --git a/util.c b/util.c
2064 index 6359110..5cb1f50 100644
2065 --- a/util.c
2066 +++ b/util.c
2067 @@ -1069,6 +1069,9 @@ struct tcb *tcp;
2068 #elif defined(SH64)
2069 if (upeek(tcp->pid, REG_PC ,&pc) < 0)
2070 return -1;
2071 +#elif defined(AVR32)
2072 + if (upeek(tcp->pid, REG_PC, &pc) < 0)
2073 + return -1;
2074 #endif
2075 return pc;
2076 #endif /* LINUX */
2077 @@ -1217,6 +1220,14 @@ struct tcb *tcp;
2078 return;
2080 tprintf("[%08lx] ", pc);
2081 +#elif defined(AVR32)
2082 + long pc;
2084 + if (upeek(tcp->pid, REG_PC, &pc) < 0) {
2085 + tprintf("[????????] ");
2086 + return;
2088 + tprintf("[%08lx] ", pc);
2089 #endif /* !architecture */
2090 #endif /* LINUX */
2092 @@ -1398,6 +1409,9 @@ typedef struct regs arg_setup_state;
2093 # define arg0_offset (REG_OFFSET+16)
2094 # define arg1_offset (REG_OFFSET+24)
2095 # define restore_arg0(tcp, state, val) 0
2096 +# elif defined (AVR32)
2097 +# define arg0_offset (REG_R12)
2098 +# define arg1_offset (REG_R11)
2099 # else
2100 # define arg0_offset 0
2101 # define arg1_offset 4