initial import
authorroot <root@wh0rd.org>
Mon, 3 Nov 2008 04:05:40 +0000 (04:05 +0000)
committerroot <root@wh0rd.org>
Mon, 3 Nov 2008 04:05:40 +0000 (04:05 +0000)
415 files changed:
0001-call-usb_set_configuration-before-usb_claim_interf.patch [new file with mode: 0644]
0001-cfi_flash-do-not-reset-flash-when-probe-fails.patch [new file with mode: 0644]
0001-tools-envcrc.c-use-the-target-sizeof-rather-than-bu.patch [new file with mode: 0644]
0001-use-syscontrol-functions-where-possible.patch [new file with mode: 0644]
0002-Port-strace-to-the-Blackfin-architecture.patch [new file with mode: 0644]
1035_all_glibc-install-others.patch [new file with mode: 0644]
1035_all_glibc-respect-build-programs.patch [new file with mode: 0644]
10_all_generate-pie-scripts.patch [new file with mode: 0644]
600-missing_headers.patch [new file with mode: 0644]
80_all_binutils-2.15.96-arm-maxpagesize.patch [new file with mode: 0644]
950-unportability.patch [new file with mode: 0644]
BuildToolChain-scrub.patch [new file with mode: 0644]
MPlayer-mmap-fall-back-map-private.patch [new file with mode: 0644]
SDL-1.2.9-6.8.patch [new file with mode: 0644]
adsp-xml-remove-spurious.patch [new file with mode: 0644]
alloc.c.patch [new file with mode: 0644]
alsa-compile-scripts-set-e.patch [new file with mode: 0644]
alsa-lib-alisp-include-less.patch [new file with mode: 0644]
alsa-lib-build-out-of-tree.patch [new file with mode: 0644]
alsa-lib-names-include-less.patch [new file with mode: 0644]
alsa-lib-shared-fdpic.patch [new file with mode: 0644]
alsa-lib-symbol-prefix-version-script.patch [new file with mode: 0644]
apcupsd-drivers-updates.patch [new file with mode: 0644]
apcupsd-more-phonies.patch [new file with mode: 0644]
apcupsd-pass-recursive-errors.patch [new file with mode: 0644]
asterisk-pic-fix.patch [new file with mode: 0644]
audacious-plugins-useless-CXXFLAGS.patch [new file with mode: 0644]
autoconf-2.62-fix-multiline-string.patch [new file with mode: 0644]
baselayout-devfs.patch [new file with mode: 0644]
bash-3.2-ulimit.patch [new file with mode: 0644]
better-addr.patch [new file with mode: 0644]
bfin-alsa-ad1836-cleanup.patch [new file with mode: 0644]
bfin-alsa-lib.patch [new file with mode: 0644]
bfin-binutils-parallel-check.patch [new file with mode: 0644]
bfin-cleanup-reboot.patch [new file with mode: 0644]
bfin-gc-sections.patch [new file with mode: 0644]
bfin-libgloss-bf52x.patch [new file with mode: 0644]
bfin-new-serial-break.patch [new file with mode: 0644]
bfin-nommu-maps.patch [new file with mode: 0644]
bfin-proc-mem.patch [new file with mode: 0644]
bfin-pthreads-gcc-constraints.patch [new file with mode: 0644]
bfin-request-exception.patch [new file with mode: 0644]
bfin-revised-anomaly-handling.patch [new file with mode: 0644]
bfin-scrub-old-spinlock-exception.patch [new file with mode: 0644]
bfin-traps-update.patch [new file with mode: 0644]
bfin-uclibc-l1-fail-msg.patch [new file with mode: 0644]
bfin_mplayer.patch [new file with mode: 0644]
binutils-2.17-ld-dwarf-speedup.patch [new file with mode: 0644]
binutils-bfd-no-open-dir.patch [new file with mode: 0644]
binutils-bfd-vendor-version-tag.patch [new file with mode: 0644]
binutils-cross-multi-libsuffix.patch [new file with mode: 0644]
binutils-for-build.patch [new file with mode: 0644]
binutils-freebsd-sparc64-support.patch [new file with mode: 0644]
binutils-gas-obj-fdpicelf-2.patch [new file with mode: 0644]
binutils-hppa32-bfd-bed.patch [new file with mode: 0644]
binutils-i386-CONST_STRNEQ.patch [new file with mode: 0644]
binutils-ld-default-linux-uclibc.patch [new file with mode: 0644]
binutils-ld-discard-debuglink.patch [new file with mode: 0644]
binutils-ld-selective-pick-CXX.patch [new file with mode: 0644]
binutils-ld-test-defined-set.patch [new file with mode: 0644]
binutils-libtool-generic-linux.patch [new file with mode: 0644]
binutils-no-NBPG.patch [new file with mode: 0644]
bitpim-search-path-for-helpers.patch [new file with mode: 0644]
blackfin-dont-save-restore-retx-retn-rete.patch [new file with mode: 0644]
blackfin-old-serial-sysrq.patch [new file with mode: 0644]
blackfin-retn-or-rete.patch [new file with mode: 0644]
blackfin-serial-cts-rts-sep-ports.patch [new file with mode: 0644]
blackfin-set-ex-handler.patch [new file with mode: 0644]
blackfin-simpler-gcc-lib-install.patch [new file with mode: 0644]
blackfin-use-defines-not-constants.patch [new file with mode: 0644]
built_with_use.patch [new file with mode: 0644]
busybox-devmem.patch [new file with mode: 0644]
busybox-elf2flt.patch [new file with mode: 0644]
busybox-symlinks.patch [new file with mode: 0644]
busybox-xioctl.patch [new file with mode: 0644]
catalyst-cbuild.patch [new file with mode: 0644]
catalyst-export-bools.patch [new file with mode: 0644]
catalyst-relative-paths.patch [new file with mode: 0644]
catalyst-s390x.patch [new file with mode: 0644]
catalyst-sparc-setarch.patch [new file with mode: 0644]
catalyst-use-subarch.patch [new file with mode: 0644]
catalyst-verbose.patch [new file with mode: 0644]
check-cross-compile-mkimage.patch [new file with mode: 0644]
cmake-utils.eclass.patch [new file with mode: 0644]
coreutils-dircolors-cons25.patch [new file with mode: 0644]
coreutils-dircolors-gnome-256color.patch [new file with mode: 0644]
coreutils-more-dircolors.patch [new file with mode: 0644]
coreutils-xattr.diff [new file with mode: 0644]
coreutils-xattr.patch [new file with mode: 0644]
cracklib-libintl.patch [new file with mode: 0644]
cryptsetup-1.0.6-svn-udev.patch [new file with mode: 0644]
darcs-add-missing-php-tag.patch [new file with mode: 0644]
darcs-check-preg-match.patch [new file with mode: 0644]
darcs-world-read-email.patch [new file with mode: 0644]
dcron-3.2-makefile.patch [new file with mode: 0644]
dcron-3.2-pidfile.patch [new file with mode: 0644]
dokuwiki-allow-svg-by-default.patch [new file with mode: 0644]
dokuwiki-customizable-subjects.patch [new file with mode: 0644]
dropbear-multi-dbscp.patch [new file with mode: 0644]
dropbear-uclinux.patch [new file with mode: 0644]
e2fsprogs-AC_MSG.patch [new file with mode: 0644]
echangelog.patch [new file with mode: 0644]
ed-0.5-build.patch [new file with mode: 0644]
eject-2.1.5-handle-spaces.patch [new file with mode: 0644]
eject-typos.patch [new file with mode: 0644]
elf2flt-flat-stdint.patch [new file with mode: 0644]
elf2flt-libintl_dgettext.patch [new file with mode: 0644]
elf2flt-remove-unused.patch [new file with mode: 0644]
elf2flt-stack-hex.patch [new file with mode: 0644]
elf2flt-use-AC_MSG_ERROR.patch [new file with mode: 0644]
elf2flt-user-label-prefix.patch [new file with mode: 0644]
emerge-svn.diff [new file with mode: 0644]
eselect-opengl-non-multilib.patch [new file with mode: 0644]
eterm-atom-typo.patch [new file with mode: 0644]
eterm-init-vars-libscream.patch [new file with mode: 0644]
f.patch [new file with mode: 0644]
fadvise.patch [new file with mode: 0644]
ffmpeg-bfin-dir.patch [new file with mode: 0644]
ffmpeg-mmap-fallback.patch [new file with mode: 0644]
file-4.19-init-file.patch [new file with mode: 0644]
fillets-ng-autogen-makefile.patch [new file with mode: 0644]
fillets-ng-check-for-X.patch [new file with mode: 0644]
fillets-ng-custom-datadir.patch [new file with mode: 0644]
fillets-ng-no-local-paths.patch [new file with mode: 0644]
fillets-ng-use-lua-pkg-config.patch [new file with mode: 0644]
fish-fillets-X.patch [new file with mode: 0644]
gaim-2.0.0_beta3-always-idle.patch [new file with mode: 0644]
gcc-ca-translation-typo.patch [new file with mode: 0644]
gcc-cris-uclibc-subtarget.patch [new file with mode: 0644]
gcc-default-cross-headers.patch [new file with mode: 0644]
gcc-invert-Wattributes-doc.patch [new file with mode: 0644]
gcc-libtool-generic-linux.patch [new file with mode: 0644]
gcc-uclinux-not-uclibc.patch [new file with mode: 0644]
gdb-clarify-load.patch [new file with mode: 0644]
gdb-dont-load-world-writable-gdbinit.patch [new file with mode: 0644]
gdb-gdbtk-no-sys-ioctl.patch [new file with mode: 0644]
gdb-gdbtk-pull-in-windows.patch [new file with mode: 0644]
gdb-hppa-dollar-lookups.patch [new file with mode: 0644]
gdb-locale.patch [new file with mode: 0644]
gdb-lookup-internal-first-2.patch [new file with mode: 0644]
gdb-lookup-internal-first-3.patch [new file with mode: 0644]
gdb-lookup-internal-first.patch [new file with mode: 0644]
gdb-sim-superh-targets.patch [new file with mode: 0644]
gdbserver-check-initial-startup.patch [new file with mode: 0644]
gdbserver-use-execvp.patch [new file with mode: 0644]
genext2fs-chmod-srcdir.patch [new file with mode: 0644]
genext2fs-integrate-tests.patch [new file with mode: 0644]
genext2fs-root-test-check.patch [new file with mode: 0644]
genkernel-manpage-touchups.patch [new file with mode: 0644]
gentoo-handbook-integrate-ia64-bootloader.patch [new file with mode: 0644]
glibc-2.3.6-i686.patch [new file with mode: 0644]
glibc-2.5-linuxthreads-gai-headers.patch [new file with mode: 0644]
glibc-alpha-no-asm-page.patch [new file with mode: 0644]
glibc-awk-in-C-locale.patch [new file with mode: 0644]
glibc-bash-2.patch [new file with mode: 0644]
glibc-bash-prog-search.patch [new file with mode: 0644]
glibc-error-header-updates.patch [new file with mode: 0644]
glibc-fdatasync-lockf-cancellation.patch [new file with mode: 0644]
glibc-fix-generic-strchr-signed-warning.patch [new file with mode: 0644]
glibc-getcwd-param-MAX.patch [new file with mode: 0644]
glibc-handle-long-kernel-versions.patch [new file with mode: 0644]
glibc-hppa-tighter-atomic-constraints.patch [new file with mode: 0644]
glibc-inet-network-0x.patch [new file with mode: 0644]
glibc-libc-symbols-set-support.patch [new file with mode: 0644]
glibc-linux-ptrace-updates.patch [new file with mode: 0644]
glibc-locale-gen-src-install.patch [new file with mode: 0644]
glibc-no-elf-header.patch [new file with mode: 0644]
glibc-sh-broken-nptl-lock-macros.patch [new file with mode: 0644]
glibc-sh-no-sys-io-header.patch [new file with mode: 0644]
glibc-tst-network.patch [new file with mode: 0644]
glibc-undefine-__i686.patch [new file with mode: 0644]
gnuconfig-no-function.patch [new file with mode: 0644]
gnulib-acl-optional.patch [new file with mode: 0644]
hal-use-libpci.patch [new file with mode: 0644]
hwtracebuffer.patch [new file with mode: 0644]
imlib2-gnu99.patch [new file with mode: 0644]
inotify.patch [new file with mode: 0644]
iproute2-2.6.16.20060323-build.patch [new file with mode: 0644]
iproute2-check-make-exit-status.patch [new file with mode: 0644]
iproute2-genl-linking-order.patch [new file with mode: 0644]
iptables-log-prefix-no-empty-strings.patch [new file with mode: 0644]
iputils-ipg-tweaks.patch [new file with mode: 0644]
iputils-makefile.patch [new file with mode: 0644]
iputils-socklen.patch [new file with mode: 0644]
iputils-use-proper-loops.patch [new file with mode: 0644]
kbd-1.12-cz-qwerty-map.patch [new file with mode: 0644]
kbd-1.12-jp-escape.patch [new file with mode: 0644]
kbd-1.12-unimap.patch [new file with mode: 0644]
kbd-1.14.1-missing-configure.patch [new file with mode: 0644]
ldr-utils-prompt.patch [new file with mode: 0644]
ldr.patch [new file with mode: 0644]
ldrviewer-retry.patch [new file with mode: 0644]
ldso-safe-runpath.patch [new file with mode: 0644]
less.patch [new file with mode: 0644]
libc-string-x86_64-head.diff.patch [new file with mode: 0644]
libdv-0.104-pic-fix-pax.patch [new file with mode: 0644]
libdv-0.104-pic-fix.patch [new file with mode: 0644]
libdv-1.0.0-pic.patch [new file with mode: 0644]
libdv-cvs-pic-fix.patch [new file with mode: 0644]
libezv24.patch [new file with mode: 0644]
libipod-build-cleanup.patch [new file with mode: 0644]
libnfsidmap-optional-ldap.patch [new file with mode: 0644]
libpcap-cross-linux.patch [new file with mode: 0644]
libperl.patch [new file with mode: 0644]
libsdl-fbcon-no-mmu-mmap.patch [new file with mode: 0644]
libsdl-remove-joystick-limits-hack.patch [new file with mode: 0644]
libsdl-uclinux-support.patch [new file with mode: 0644]
libstdf-init-header-state.patch [new file with mode: 0644]
libtool-1.5.23-tagdemo-c++.patch [new file with mode: 0644]
libtool-blackfin-linux.patch [new file with mode: 0644]
libtool-more-gcc-profile-linker-flags.patch [new file with mode: 0644]
libtool-use-AC_MSG_RESULT.patch [new file with mode: 0644]
linux-alpha-epoll-sysnums.patch [new file with mode: 0644]
linux-blackfin-checkstack.patch [new file with mode: 0644]
linux-check-headers-for-asm.patch [new file with mode: 0644]
linux-clean-external-Module.symvers.patch [new file with mode: 0644]
linux-cpufreq-kconfig-updates.patch [new file with mode: 0644]
linux-dirent-types.patch [new file with mode: 0644]
linux-docbook-trees.patch [new file with mode: 0644]
linux-dont-export-asm-page.patch [new file with mode: 0644]
linux-dont-force-enable-rts.patch [new file with mode: 0644]
linux-export-ufs-fs-header.patch [new file with mode: 0644]
linux-gen-init-cpio-stdin.patch [new file with mode: 0644]
linux-get-unaligned-__val.patch [new file with mode: 0644]
linux-headers-check-all.patch [new file with mode: 0644]
linux-headersinst-translate-dash.patch [new file with mode: 0644]
linux-i2c-smbus-doc-typo.patch [new file with mode: 0644]
linux-ia64-asm-volatile-gcc-intrin.patch [new file with mode: 0644]
linux-ia64-hide-intrin-headers.patch [new file with mode: 0644]
linux-include-types-header.patch [new file with mode: 0644]
linux-isdn-divertif.patch [new file with mode: 0644]
linux-kallsyms-no-memmove.patch [new file with mode: 0644]
linux-kconfig-libintl.patch [new file with mode: 0644]
linux-kconfig-project-customize.patch [new file with mode: 0644]
linux-log_buf_read.patch [new file with mode: 0644]
linux-lxdialog-curses-search.patch [new file with mode: 0644]
linux-lxdialog-dont-use-index-func.patch [new file with mode: 0644]
linux-lxdialog-posix-eq.patch [new file with mode: 0644]
linux-m68k-remove-page-from-user-header.patch [new file with mode: 0644]
linux-move-cond-syscall-to-kernel.patch [new file with mode: 0644]
linux-netfilter-dont-use-type-names.patch [new file with mode: 0644]
linux-powerpc-use-__attribute__.patch [new file with mode: 0644]
linux-ppc-defconfig.patch [new file with mode: 0644]
linux-quota-header-spinlock.patch [new file with mode: 0644]
linux-rename-val-in-get_unaligned.patch [new file with mode: 0644]
linux-rtc-doc-update.patch [new file with mode: 0644]
linux-rtc-sysfs-no-devinit-add.patch [new file with mode: 0644]
linux-s390-use-asm-ptrace.patch [new file with mode: 0644]
linux-scrub-GLIBC-ifdefs.patch [new file with mode: 0644]
linux-sh-delete-PTRACE_O_TRACESYSGOOD.patch [new file with mode: 0644]
linux-sh-ioctls.patch [new file with mode: 0644]
linux-squash-initramfs-owners.patch [new file with mode: 0644]
linux-sumversion-limits.patch [new file with mode: 0644]
linux-uclinux-dont-force-root-dev.patch [new file with mode: 0644]
linux-uinput-header.patch [new file with mode: 0644]
linux-use-__-types-in-hdreg-header.patch [new file with mode: 0644]
linux-use-__-types-in-i2o-header.patch [new file with mode: 0644]
linux-use-__-types-in-parisc-statfs.patch [new file with mode: 0644]
linux-use-__-types-in-usbdevice-fs-header.patch [new file with mode: 0644]
linux-use-__-types-in-x86-64-msr.patch [new file with mode: 0644]
linux-use-__asm__.patch [new file with mode: 0644]
linux-use-posix-sed-in-headersinst.patch [new file with mode: 0644]
linux-x86_64-msr-asm-volatile.patch [new file with mode: 0644]
linuxthreads-ia64-tcb-typo.patch [new file with mode: 0644]
lirc-0.8.2-out-of-tree-build-drivers.patch [new file with mode: 0644]
lirc-0.8.2-out-of-tree-build.patch [new file with mode: 0644]
lirc-0.8.2-out-of-tree-build3.patch [new file with mode: 0644]
lirc-cvs-control-daemonize.patch [new file with mode: 0644]
man-1.6d-headers.patch [new file with mode: 0644]
man-1.6e-readonly-whatis.patch [new file with mode: 0644]
man-1.6e-readonly-whatis2.patch [new file with mode: 0644]
man-dont-kill-shebangs.patch [new file with mode: 0644]
man-pages-fopen-e-flag.patch [new file with mode: 0644]
mbuffer-makefile-cleanup.patch [new file with mode: 0644]
mdev.patch [new file with mode: 0644]
metalog-0.7beta-ext2attr.patch [new file with mode: 0644]
minised-build.patch [new file with mode: 0644]
mit-krb5-no-static-USE-flag.patch [new file with mode: 0644]
module-init-tools-3.2.2-handle-dupliate-aliases.patch [new file with mode: 0644]
module-init-tools-3.2.2-try-more-tmpdirs.patch [new file with mode: 0644]
module-init-tools-generate-modprobe-abort.patch [new file with mode: 0644]
msh-pipes.patch [new file with mode: 0644]
nano-python-string-hilite.patch [new file with mode: 0644]
nano-trailing-space.patch [new file with mode: 0644]
nasm-elf-visibility.patch [new file with mode: 0644]
nasm-underquoted-AC_PROG_MAKE_VPATHOK.patch [new file with mode: 0644]
nbd-configure-cross-compile.patch [new file with mode: 0644]
nbd-configure-no-linux-types.patch [new file with mode: 0644]
nbd-gznbd-makefile-cleanup.patch [new file with mode: 0644]
nbd-needs-linux-types.patch [new file with mode: 0644]
nbd-no-page-header.patch [new file with mode: 0644]
netflash-cleanup.patch [new file with mode: 0644]
netstress.patch [new file with mode: 0644]
newlib-ebuild-cleanup.patch [new file with mode: 0644]
nfs-utils-1.1.2-rpcgen-ioctl.patch [new file with mode: 0644]
nfs-utils-autotools.patch [new file with mode: 0644]
nfsd-man-see-also-exports.patch [new file with mode: 0644]
nommu-map-list-debug.patch [new file with mode: 0644]
nommu-map-list.patch [new file with mode: 0644]
nommu-process-vm.patch [new file with mode: 0644]
ode-autogen-sanity.patch [new file with mode: 0644]
ode-configure-touchups.patch [new file with mode: 0644]
ode-empty-x-flags.patch [new file with mode: 0644]
openobex-check-for-EOF.patch [new file with mode: 0644]
openobex-test-usage.patch [new file with mode: 0644]
openocd-9999.ebuild.diff [new file with mode: 0644]
openssh-4.4p1pkcs11-0.17.patch [new file with mode: 0644]
openssh-5.0p1-blacklist.patch [new file with mode: 0644]
openssh-opensc-libs.patch [new file with mode: 0644]
openssl-sha-sys-types.patch [new file with mode: 0644]
pciutils-build-touchup.patch [new file with mode: 0644]
portage-debug-build-backend.patch [new file with mode: 0644]
portage-debug-build.patch [new file with mode: 0644]
portage-ecompress.patch [new file with mode: 0644]
portage-ignore-kernel-modules.patch [new file with mode: 0644]
portage-only-ldconfig-when-needed.patch [new file with mode: 0644]
portage-qa-ignores.patch [new file with mode: 0644]
portmap-build-cleanup.patch [new file with mode: 0644]
portmap-destdir-strip.patch [new file with mode: 0644]
portmap-help.patch [new file with mode: 0644]
portmap-no-tcpd-header.patch [new file with mode: 0644]
posixtestsuite-flags.patch [new file with mode: 0644]
ppmtompeg-handle-gop.patch [new file with mode: 0644]
ppmtompeg-no-shadow.patch [new file with mode: 0644]
pread_write_sh.patch [new file with mode: 0644]
printk-add-interfaces-for-external-access-to-the-log-buffer-dont-use-ring-buffer.patch [new file with mode: 0644]
psmisc-dont-need-c++.patch [new file with mode: 0644]
qemu-friendlier-syscall.patch [new file with mode: 0644]
qemu-socklen-t.patch [new file with mode: 0644]
redland-bindings-mkdir.patch [new file with mode: 0644]
redland-configure-threads.patch [new file with mode: 0644]
reiserfsprogs-3.6.20-swab-non-portable.patch [new file with mode: 0644]
rrdtool-bindings-build-cleanup.patch [new file with mode: 0644]
sdl-check-reversed.patch [new file with mode: 0644]
sdl-fbcon-page-header.patch [new file with mode: 0644]
sdl-no-inline-BlitRGBtoRGBPixelAlphaMMX3DNOW.patch [new file with mode: 0644]
sdl-sound-1.0.2-headers.patch [new file with mode: 0644]
sdl-yasm-sections.patch [new file with mode: 0644]
sed-help2man-locales.patch [new file with mode: 0644]
sed-manpage-quit.patch [new file with mode: 0644]
shadow-4.0.13-nonis.patch [new file with mode: 0644]
shadow-4.0.14-su-fix-environment.patch [new file with mode: 0644]
shadow-4.0.16-fix-useradd-usergroups.patch [new file with mode: 0644]
shadow-abort-when-man-support-fails.patch [new file with mode: 0644]
shadow-document-USERGROUPS_ENAB.patch [new file with mode: 0644]
shadow-fix-useradd-usergroups.patch [new file with mode: 0644]
shadow-friendly-selinux.patch [new file with mode: 0644]
shadow-no-innetgr-simpler.patch [new file with mode: 0644]
shadow-no-innetgr.patch [new file with mode: 0644]
shadow-su-logging.patch [new file with mode: 0644]
shadow-user-friendly-man-error.patch [new file with mode: 0644]
shadow-useradd-no-gid-option.patch [new file with mode: 0644]
shadow-userdel-grammar-touchup.patch [new file with mode: 0644]
sqlite-cross-compile.patch [new file with mode: 0644]
sqlite-readline.patch [new file with mode: 0644]
sysklogd-1.4.1-accept.patch [new file with mode: 0644]
syslinux-3.36-nopie.patch [new file with mode: 0644]
telnetd-ptmx.patch [new file with mode: 0644]
tftp-hpa-0.45-parallel.patch [new file with mode: 0644]
thread_stack.patch [new file with mode: 0644]
trylinkbug.diff [new file with mode: 0644]
u-boot-MAKEALL-size.patch [new file with mode: 0644]
u-boot-cpp-linker-script.patch [new file with mode: 0644]
u-boot-envcrc-export.patch [new file with mode: 0644]
u-boot-init-rts.patch [new file with mode: 0644]
u-boot-jump-cmd.patch [new file with mode: 0644]
u-boot-nand-warning.patch [new file with mode: 0644]
u-boot-nand.patch [new file with mode: 0644]
u-boot-nicer-version-handling.patch [new file with mode: 0644]
u-boot-no-TEXT_BASE.patch [new file with mode: 0644]
u-boot-no-host-ppc-check.patch [new file with mode: 0644]
uCam.patch [new file with mode: 0644]
uClibc-0.9.28.3-endian.patch [new file with mode: 0644]
uClibc-0.9.29-libc_string_tester_memcmp.diff [new file with mode: 0644]
uClibc-mutex-cancel.patch [new file with mode: 0644]
uclibc-cleanup-whitespaces.patch [new file with mode: 0644]
uclibc-misc1.diff [new file with mode: 0644]
uclibc-pt-manager.patch [new file with mode: 0644]
uclibc-tempname3.patch [new file with mode: 0644]
uclinux-config-help-source.patch [new file with mode: 0644]
uclinux-dosfstools-headers.patch [new file with mode: 0644]
uclinux-flashw-cleanup.patch [new file with mode: 0644]
uclinux-libpcap-config.patch [new file with mode: 0644]
uclinux-libpcap-host.patch [new file with mode: 0644]
uclinux-makefile-cksum.patch [new file with mode: 0644]
uclinux-makefile-makearch.patch [new file with mode: 0644]
uclinux-no-autoconf-included-define.patch [new file with mode: 0644]
uclinux-ntp-makefile.patch [new file with mode: 0644]
uclinux-picocom.patch [new file with mode: 0644]
uclinux-sash-cleanup.patch [new file with mode: 0644]
uclinux-search-LINUXDIR-for-defconfig.patch [new file with mode: 0644]
uclinux-sysutils-cleanup.patch [new file with mode: 0644]
uclinux-user-makefile-customize.patch [new file with mode: 0644]
uclinux-vendors-eat-dos-gremlins.patch [new file with mode: 0644]
uclinux-vplay-mixer.patch [new file with mode: 0644]
udev-ccw-renaming.patch [new file with mode: 0644]
udev-restart.patch [new file with mode: 0644]
udev-state.patch [new file with mode: 0644]
util-linux-autogen-set.patch [new file with mode: 0644]
util-linux-fdisk-check-change-return.patch [new file with mode: 0644]
util-linux-mount-bg-fstab.patch [new file with mode: 0644]
util-linux-no-error-on-fake-mount.patch [new file with mode: 0644]
util-linux-readprofile-stext.patch [new file with mode: 0644]
util-linux-swapon-cleanup.patch [new file with mode: 0644]
util-linux-swapon-headers.patch [new file with mode: 0644]
util-linux-tests-source.patch [new file with mode: 0644]
vfb-module-kconfig-docs.patch [new file with mode: 0644]
visibility_hidden.m4-AC_DEFINE.patch [new file with mode: 0644]
watchdog-headers.patch [new file with mode: 0644]
wine-debug-checks.patch [new file with mode: 0644]
xiptech-sdl-1.2.9.patch [new file with mode: 0644]
xiptech-xmame-0.105.patch [new file with mode: 0644]
xmame-0.104-6.8.patch [new file with mode: 0644]
zziplib-doc-typo.patch [new file with mode: 0644]
zziplib-read-void.patch [new file with mode: 0644]

diff --git a/0001-call-usb_set_configuration-before-usb_claim_interf.patch b/0001-call-usb_set_configuration-before-usb_claim_interf.patch
new file mode 100644 (file)
index 0000000..9eb1acf
--- /dev/null
@@ -0,0 +1,40 @@
+From 128f757596a32ae23fe61711883f6210e1d90bd0 Mon Sep 17 00:00:00 2001
+From: Mike Frysinger <vapier@gentoo.org>
+Date: Thu, 24 Apr 2008 02:00:15 -0400
+Subject: [PATCH] call usb_set_configuration() before usb_claim_interface()
+
+---
+ src/ftdi.c |   10 ++++++++++
+ 1 files changed, 10 insertions(+), 0 deletions(-)
+
+diff --git a/src/ftdi.c b/src/ftdi.c
+index 043d24a..56fea0c 100644
+--- a/src/ftdi.c
++++ b/src/ftdi.c
+@@ -341,6 +341,7 @@ int ftdi_usb_get_strings(struct ftdi_context * ftdi, struct usb_device * dev,
+     \param dev libusb usb_dev to use
+     \retval  0: all fine
++    \retval -3: unable to config device
+     \retval -4: unable to open device
+     \retval -5: unable to claim device
+     \retval -6: reset failed
+@@ -359,6 +360,15 @@ int ftdi_usb_open_dev(struct ftdi_context *ftdi, struct usb_device *dev)
+         detach_errno = errno;
+ #endif
++    if (usb_set_configuration(ftdi->usb_dev, dev->config[0].bConfigurationValue)) {
++        usb_close (ftdi->usb_dev);
++        if (detach_errno == EPERM) {
++            ftdi_error_return(-8, "inappropriate permissions on device!");
++        } else {
++            ftdi_error_return(-3, "unable to set usb configuration. Make sure ftdi_sio is unloaded!");
++        }
++    }
++
+     if (usb_claim_interface(ftdi->usb_dev, ftdi->interface) != 0) {
+         usb_close (ftdi->usb_dev);
+         if (detach_errno == EPERM) {
+-- 
+1.5.5
+
diff --git a/0001-cfi_flash-do-not-reset-flash-when-probe-fails.patch b/0001-cfi_flash-do-not-reset-flash-when-probe-fails.patch
new file mode 100644 (file)
index 0000000..e80fc85
--- /dev/null
@@ -0,0 +1,39 @@
+From 14c7476b1cc961931e587aecae832f0c6e3edba1 Mon Sep 17 00:00:00 2001
+From: Mike Frysinger <vapier@gentoo.org>
+Date: Thu, 2 Oct 2008 01:47:55 -0400
+Subject: [PATCH] cfi_flash: do not reset flash when probe fails
+
+The CFI flash driver starts at flash_init() which calls down into
+flash_get_size().  This starts by calling flash_detect_cfi().  If said
+function fails, flash_get_size() finishes by attempting to reset the
+flash.  Unfortunately, it does this with an info->portwidth set to 0x10
+which filters down into flash_make_cmd() and that happily smashes the
+stack by sticking info->portwidth bytes into a cfiword_t variable that
+lives on the stack.  On a 64bit system you probably won't notice, but
+killing the last 8 bytes on a 32bit system usually leads to a corrupt
+return address.  Which is what happens on a Blackfin system.
+
+Signed-off-by: Mike Frysinger <vapier@gentoo.org>
+---
+ drivers/mtd/cfi_flash.c |    3 ++-
+ 1 files changed, 2 insertions(+), 1 deletions(-)
+
+diff --git a/drivers/mtd/cfi_flash.c b/drivers/mtd/cfi_flash.c
+index 0d1ee8a..72d063a 100644
+--- a/drivers/mtd/cfi_flash.c
++++ b/drivers/mtd/cfi_flash.c
+@@ -1932,9 +1932,10 @@ ulong flash_get_size (ulong base, int banknum)
+                       /* XXX - Need to test on x8/x16 in parallel. */
+                       info->portwidth >>= 1;
+               }
++
++              flash_write_cmd (info, 0, 0, info->cmd_reset);
+       }
+-      flash_write_cmd (info, 0, 0, info->cmd_reset);
+       return (info->size);
+ }
+-- 
+1.6.0.2
+
diff --git a/0001-tools-envcrc.c-use-the-target-sizeof-rather-than-bu.patch b/0001-tools-envcrc.c-use-the-target-sizeof-rather-than-bu.patch
new file mode 100644 (file)
index 0000000..4472ab8
--- /dev/null
@@ -0,0 +1,102 @@
+From d7603745eb4cd64397f741746afaeba230e69bc4 Mon Sep 17 00:00:00 2001
+From: Mike Frysinger <vapier@gentoo.org>
+Date: Sun, 30 Mar 2008 21:36:07 -0400
+Subject: [PATCH] tools/envcrc.c: use the target sizeof rather than build
+
+The envcrc.c does sizeof(unsigned long) when calculating the crc, but this
+is done with the build toolchain instead of the target toolchain, so if
+the build is a 64bit system but the target is 32bits, the size will
+obviously be wrong.  This introduces a sizeof.sh script to calculate the
+required sizeof() value of any type with any compiler.
+
+Signed-off-by: Mike Frysinger <vapier@gentoo.org>
+---
+ tools/Makefile  |    2 +-
+ tools/envcrc.c  |    4 ++--
+ tools/sizeof.sh |   45 +++++++++++++++++++++++++++++++++++++++++++++
+ 3 files changed, 48 insertions(+), 3 deletions(-)
+ create mode 100755 tools/sizeof.sh
+
+diff --git a/tools/Makefile b/tools/Makefile
+index 8784a6d..7351f28 100644
+--- a/tools/Makefile
++++ b/tools/Makefile
+@@ -168,7 +168,7 @@ $(obj)mpc86x_clk$(SFX):    $(obj)mpc86x_clk.o
+               $(STRIP) $@
+ $(obj)envcrc.o:       $(src)envcrc.c
+-              $(CC) -g $(CFLAGS) -c -o $@ $<
++              $(CC) -g $(CFLAGS) -c -o $@ $< -DTARGET_SIZEOF_ULONG=$(shell $(CONFIG_SHELL) $(src)sizeof.sh unsigned long)
+ $(obj)ubsha1.o:       $(src)ubsha1.c
+               $(CC) -g $(CFLAGS) -c -o $@ $<
+diff --git a/tools/envcrc.c b/tools/envcrc.c
+index 7b77183..afde912 100644
+--- a/tools/envcrc.c
++++ b/tools/envcrc.c
+@@ -58,9 +58,9 @@
+ #endif        /* CFG_ENV_IS_IN_FLASH */
+ #ifdef CFG_REDUNDAND_ENVIRONMENT
+-# define ENV_HEADER_SIZE      (sizeof(unsigned long) + 1)
++# define ENV_HEADER_SIZE      (TARGET_SIZEOF_ULONG + 1)
+ #else
+-# define ENV_HEADER_SIZE      (sizeof(unsigned long))
++# define ENV_HEADER_SIZE      (TARGET_SIZEOF_ULONG)
+ #endif
+ #define ENV_SIZE (CFG_ENV_SIZE - ENV_HEADER_SIZE)
+diff --git a/tools/sizeof.sh b/tools/sizeof.sh
+new file mode 100755
+index 0000000..4eadb3c
+--- /dev/null
++++ b/tools/sizeof.sh
+@@ -0,0 +1,45 @@
++#!/bin/sh
++# Copyright (C) 2000, 2001, 2002, 2004, 2005, 2006 Free Software
++# Foundation, Inc.
++# Licensed under the GPL-2 or later.
++
++#
++# Get the sizeof(type) for a compiler
++#
++
++type="$*"
++CC=${CC:-gcc}
++
++if [ -z "$type" ] ; then
++      echo "Usage: sizeof.sh <type>" 1>&2
++      exit 1
++fi
++
++test_size() {
++      cat <<-EOF > sizeof.c
++      typedef $type ac__type_sizeof_;
++      int main() {
++              static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $size)];
++              test_array [0] = 0;
++              return 0;
++      }
++      EOF
++      ${CC} -c sizeof.c >/dev/null 2>&1
++      ret=$?
++      rm -f sizeof.[co]
++      return $ret
++}
++
++size=4
++while [ ${size} -lt 512 ] ; do
++      if test_size ${size} ; then
++              ((size-=1))
++              while test_size ${size} ; do
++                      ((size-=1))
++              done
++              echo $((size+1))
++              exit 0
++      fi
++      ((size+=4))
++done
++exit 1
+-- 
+1.5.4.4
+
diff --git a/0001-use-syscontrol-functions-where-possible.patch b/0001-use-syscontrol-functions-where-possible.patch
new file mode 100644 (file)
index 0000000..8f5f121
--- /dev/null
@@ -0,0 +1,123 @@
+From f2501ad7f47f0b912b53e3e2094e9bfe12f2a491 Mon Sep 17 00:00:00 2001
+From: Mike Frysinger <vapier.adi@gmail.com>
+Date: Fri, 4 Jan 2008 17:05:28 -0500
+Subject: [PATCH] use syscontrol functions where possible
+
+this works on my bf548-ezkit 0.1 and should use the bootrom func to
+program the memory which means the otp fps will be taken into account
+---
+ cpu/blackfin/initcode.c |   57 +++++++++++++++++++++++++++++-----------------
+ cpu/blackfin/reset.c    |    8 +++++-
+ 2 files changed, 42 insertions(+), 23 deletions(-)
+
+diff --git a/cpu/blackfin/initcode.c b/cpu/blackfin/initcode.c
+index 360caa8..1e39043 100644
+--- a/cpu/blackfin/initcode.c
++++ b/cpu/blackfin/initcode.c
+@@ -299,34 +299,49 @@ void initcode(ADI_BOOT_DATA *bootstruct)
+       bfin_write_SIC_IWR(1);
+ #endif
+-      serial_putc('L');
++      /* With newer bootroms, we use the helper function to set up
++       * the memory controller.  Older bootroms lacks such helpers
++       * so we do it ourselves.
++       */
++      if (BOOTROM_CAPS_SYSCONTROL) {
++              serial_putc('S');
+-      bfin_write_PLL_LOCKCNT(CONFIG_PLL_LOCKCNT_VAL);
++              ADI_SYSCTRL_VALUES memory_settings;
++              memory_settings.uwVrCtl = CONFIG_VR_CTL_VAL;
++              memory_settings.uwPllCtl = CONFIG_PLL_CTL_VAL;
++              memory_settings.uwPllDiv = CONFIG_PLL_DIV_VAL;
++              memory_settings.uwPllLockCnt = CONFIG_PLL_LOCKCNT_VAL;
++              syscontrol(SYSCTRL_WRITE | SYSCTRL_PLLCTL | SYSCTRL_PLLDIV | SYSCTRL_VRCTL | SYSCTRL_INTVOLTAGE, &memory_settings, NULL);
++      } else {
++              serial_putc('L');
+-      serial_putc('A');
++              bfin_write_PLL_LOCKCNT(CONFIG_PLL_LOCKCNT_VAL);
+-      /* Only reprogram when needed to avoid triggering unnecessary
+-       * PLL relock sequences.
+-       */
+-      if (bfin_read_VR_CTL() != CONFIG_VR_CTL_VAL) {
+-              serial_putc('!');
+-              bfin_write_VR_CTL(CONFIG_VR_CTL_VAL);
+-              asm("idle;");
+-      }
++              serial_putc('A');
+-      serial_putc('C');
++              /* Only reprogram when needed to avoid triggering unnecessary
++               * PLL relock sequences.
++               */
++              if (bfin_read_VR_CTL() != CONFIG_VR_CTL_VAL) {
++                      serial_putc('!');
++                      bfin_write_VR_CTL(CONFIG_VR_CTL_VAL);
++                      asm("idle;");
++              }
+-      bfin_write_PLL_DIV(CONFIG_PLL_DIV_VAL);
++              serial_putc('C');
+-      serial_putc('K');
++              bfin_write_PLL_DIV(CONFIG_PLL_DIV_VAL);
+-      /* Only reprogram when needed to avoid triggering unnecessary
+-       * PLL relock sequences.
+-       */
+-      if (bfin_read_PLL_CTL() != CONFIG_PLL_CTL_VAL) {
+-              serial_putc('!');
+-              bfin_write_PLL_CTL(CONFIG_PLL_CTL_VAL);
+-              asm("idle;");
++              serial_putc('K');
++
++              /* Only reprogram when needed to avoid triggering unnecessary
++               * PLL relock sequences.
++               */
++              if (bfin_read_PLL_CTL() != CONFIG_PLL_CTL_VAL) {
++                      serial_putc('!');
++                      bfin_write_PLL_CTL(CONFIG_PLL_CTL_VAL);
++                      asm("idle;");
++              }
+       }
+       /* Since we've changed the SCLK above, we may need to update
+diff --git a/cpu/blackfin/reset.c b/cpu/blackfin/reset.c
+index b796740..be08d80 100644
+--- a/cpu/blackfin/reset.c
++++ b/cpu/blackfin/reset.c
+@@ -8,6 +8,7 @@
+ #include <common.h>
+ #include <command.h>
+ #include <asm/blackfin.h>
++#include <asm/mach-common/bits/bootrom.h>
+ #include "cpu.h"
+ /* A system soft reset makes external memory unusable so force
+@@ -19,7 +20,7 @@
+  * the core reset.
+  */
+ __attribute__ ((__l1_text__, __noreturn__))
+-void bfin_reset(void)
++static void bfin_reset(void)
+ {
+       /* Wait for completion of "system" events such as cache line
+        * line fills so that we avoid infinite stalls later on as
+@@ -75,7 +76,10 @@ static inline void bfin_reset_trampoline(void)
+       if (board_reset)
+               board_reset();
+       while (1)
+-              asm("jump (%0);" : : "a" (bfin_reset));
++              if (0 /*BOOTROM_CAPS_SYSCONTROL -- current silicon is broken*/)
++                      syscontrol(SYSCTRL_SOFTRESET, NULL, NULL);
++              else
++                      asm("jump (%0);" : : "a" (bfin_reset));
+ }
+ __attribute__ ((__noreturn__))
+-- 
+1.5.5.3
+
diff --git a/0002-Port-strace-to-the-Blackfin-architecture.patch b/0002-Port-strace-to-the-Blackfin-architecture.patch
new file mode 100644 (file)
index 0000000..3b80f0c
--- /dev/null
@@ -0,0 +1,2492 @@
+From 8a5cbbf0cda1076b300e27a6108a0dcabd807858 Mon Sep 17 00:00:00 2001
+From: Mike Frysinger <vapier@gentoo.org>
+Date: Thu, 18 Sep 2008 17:05:40 -0400
+Subject: [PATCH] Port strace to the Blackfin architecture
+
+2008-10-23  Mike Frysinger  <vapier@gentoo.org>
+
+       * configure.ac: Add bfin to supported architectures.
+       * process.c: Skip u_fpvalid/u_fpstate for Blackfin architecture.
+       (change_syscall): Support Blackfin architecture.
+       * syscall.c: Declare r0 for Blackfin architecture.
+       (get_scno): Decode Blackfin syscall number.
+       (syscall_fixup): Extract Blackfin return value.
+       (get_error): Decode Blackfin return value.
+       (force_result): Poke Blackfin return value.
+       (syscall_enter): Extract Blackfin syscall arguments.
+       * defs.h: Define TCB_WAITEXECVE for Blackfin architecture.
+       * linux/syscall.h (sys_sram_alloc): Declare for Blackfin architecture.
+       * system.c (sys_sram_alloc): Decode Blackfin sram_alloc() syscall.
+       * util.c (getpc): Handle PC on Blackfin architecture.
+       (printcall): Likewise.
+       * linux/bfin/ioctlent.h, linux/bfin/syscallent.h: New Blackfin headers.
+       * Makefile.am (EXTRA_DIST): Add linux/bfin/ioctlent.h and
+       linux/bfin/syscallent.h.
+
+Signed-off-by: Mike Frysinger <vapier@gentoo.org>
+---
+ Makefile.am             |    1 +
+ configure.ac            |    4 +
+ defs.h                  |    2 +-
+ linux/bfin/ioctlent.h   | 1792 +++++++++++++++++++++++++++++++++++++++++++++++
+ linux/bfin/syscallent.h |  391 +++++++++++
+ linux/syscall.h         |    4 +
+ process.c               |    8 +-
+ syscall.c               |   41 ++
+ system.c                |   27 +
+ util.c                  |   11 +
+ 10 files changed, 2278 insertions(+), 3 deletions(-)
+ create mode 100644 linux/bfin/ioctlent.h
+ create mode 100644 linux/bfin/syscallent.h
+
+diff --git a/Makefile.am b/Makefile.am
+index 54492cf..7fdc7fd 100644
+--- a/Makefile.am
++++ b/Makefile.am
+@@ -34,6 +34,7 @@ EXTRA_DIST = $(man_MANS) errnoent.sh signalent.sh syscallent.sh ioctlsort.c \
+            linux/arm/syscallent.h linux/arm/syscallent1.h \
+            linux/arm/signalent1.h linux/arm/ioctlent1.h \
+            linux/arm/errnoent1.h \
++           linux/bfin/ioctlent.h linux/bfin/syscallent.h \
+            linux/hppa/errnoent.h linux/hppa/ioctlent.h \
+            linux/hppa/signalent.h linux/hppa/syscallent.h \
+            linux/ia64/syscallent.h linux/ia64/errnoent.h \
+diff --git a/configure.ac b/configure.ac
+index 9852e20..3554ab6 100644
+--- a/configure.ac
++++ b/configure.ac
+@@ -43,6 +43,10 @@ AC_MSG_RESULT($opsys)
+ AC_MSG_CHECKING([for supported architecture])
+ case "$host_cpu" in
++bfin)
++      arch=bfin
++      AC_DEFINE([BFIN], 1, [Define for the Blackfin architecture.])
++      ;;
+ i[[3456]]86|pentium)
+       arch=i386
+       AC_DEFINE([I386], 1, [Define for the i386 architecture.])
+diff --git a/defs.h b/defs.h
+index 2a44ae7..4b051d0 100644
+--- a/defs.h
++++ b/defs.h
+@@ -356,7 +356,7 @@ struct tcb {
+ #define TCB_FOLLOWFORK        00400   /* Process should have forks followed */
+ #define TCB_REPRINT   01000   /* We should reprint this syscall on exit */
+ #ifdef LINUX
+-# if defined(ALPHA) || defined(SPARC) || defined(SPARC64) || defined(POWERPC) || defined(IA64) || defined(HPPA) || defined(SH) || defined(SH64) || defined(S390) || defined(S390X) || defined(ARM) || defined(MIPS)
++# if defined(ALPHA) || defined(SPARC) || defined(SPARC64) || defined(POWERPC) || defined(IA64) || defined(HPPA) || defined(SH) || defined(SH64) || defined(S390) || defined(S390X) || defined(ARM) || defined(MIPS) || defined(BFIN)
+ #  define TCB_WAITEXECVE 02000        /* ignore SIGTRAP after exceve */
+ # endif
+ # define TCB_CLONE_DETACHED 04000 /* CLONE_DETACHED set in creating syscall */
+diff --git a/linux/bfin/ioctlent.h b/linux/bfin/ioctlent.h
+new file mode 100644
+index 0000000..63b0417
+--- /dev/null
++++ b/linux/bfin/ioctlent.h
+@@ -0,0 +1,1792 @@
++      /* Generated by ioctlsort */
++      {"linux/fs.h",  "FIBMAP",       0x1},
++      {"linux/fs.h",  "FIGETBSZ",     0x2},
++      {"linux/fd.h",  "FDGETPRM",     0x204},
++      {"linux/fd.h",  "FDGETMAXERRS", 0x20e},
++      {"linux/fd.h",  "FDGETDRVTYP",  0x20f},
++      {"linux/fd.h",  "FDGETDRVPRM",  0x211},
++      {"linux/fd.h",  "FDGETDRVSTAT", 0x212},
++      {"linux/fd.h",  "FDPOLLDRVSTAT",        0x213},
++      {"linux/fd.h",  "FDGETFDCSTAT", 0x215},
++      {"linux/fd.h",  "FDWERRORGET",  0x217},
++      {"linux/fd.h",  "FDCLRPRM",     0x241},
++      {"linux/fd.h",  "FDSETPRM",     0x242},
++      {"linux/fd.h",  "FDDEFPRM",     0x243},
++      {"linux/fd.h",  "FDMSGON",      0x245},
++      {"linux/fd.h",  "FDMSGOFF",     0x246},
++      {"linux/fd.h",  "FDFMTBEG",     0x247},
++      {"linux/fd.h",  "FDFMTTRK",     0x248},
++      {"linux/fd.h",  "FDFMTEND",     0x249},
++      {"linux/fd.h",  "FDSETEMSGTRESH",       0x24a},
++      {"linux/fd.h",  "FDFLUSH",      0x24b},
++      {"linux/fd.h",  "FDSETMAXERRS", 0x24c},
++      {"linux/fd.h",  "FDRESET",      0x254},
++      {"linux/fd.h",  "FDWERRORCLR",  0x256},
++      {"linux/fd.h",  "FDRAWCMD",     0x258},
++      {"linux/fd.h",  "FDTWADDLE",    0x259},
++      {"linux/fd.h",  "FDEJECT",      0x25a},
++      {"linux/fd.h",  "FDSETDRVPRM",  0x290},
++      {"linux/raid/md_u.h",   "RAID_VERSION", 0x910},
++      {"linux/raid/md_u.h",   "GET_ARRAY_INFO",       0x911},
++      {"linux/raid/md_u.h",   "GET_DISK_INFO",        0x912},
++      {"linux/raid/md_u.h",   "PRINT_RAID_DEBUG",     0x913},
++      {"linux/raid/md_u.h",   "RAID_AUTORUN", 0x914},
++      {"linux/raid/md_u.h",   "GET_BITMAP_FILE",      0x915},
++      {"linux/raid/md_u.h",   "CLEAR_ARRAY",  0x920},
++      {"linux/raid/md_u.h",   "ADD_NEW_DISK", 0x921},
++      {"linux/raid/md_u.h",   "HOT_REMOVE_DISK",      0x922},
++      {"linux/raid/md_u.h",   "SET_ARRAY_INFO",       0x923},
++      {"linux/raid/md_u.h",   "SET_DISK_INFO",        0x924},
++      {"linux/raid/md_u.h",   "WRITE_RAID_INFO",      0x925},
++      {"linux/raid/md_u.h",   "UNPROTECT_ARRAY",      0x926},
++      {"linux/raid/md_u.h",   "PROTECT_ARRAY",        0x927},
++      {"linux/raid/md_u.h",   "HOT_ADD_DISK", 0x928},
++      {"linux/raid/md_u.h",   "SET_DISK_FAULTY",      0x929},
++      {"linux/raid/md_u.h",   "HOT_GENERATE_ERROR",   0x92a},
++      {"linux/raid/md_u.h",   "SET_BITMAP_FILE",      0x92b},
++      {"linux/raid/md_u.h",   "RUN_ARRAY",    0x930},
++      {"linux/raid/md_u.h",   "STOP_ARRAY",   0x932},
++      {"linux/raid/md_u.h",   "STOP_ARRAY_RO",        0x933},
++      {"linux/raid/md_u.h",   "RESTART_ARRAY_RW",     0x934},
++      {"linux/fs.h",  "BLKROSET",     0x125d},
++      {"linux/fs.h",  "BLKROGET",     0x125e},
++      {"linux/fs.h",  "BLKRRPART",    0x125f},
++      {"linux/fs.h",  "BLKGETSIZE",   0x1260},
++      {"linux/fs.h",  "BLKFLSBUF",    0x1261},
++      {"linux/fs.h",  "BLKRASET",     0x1262},
++      {"linux/fs.h",  "BLKRAGET",     0x1263},
++      {"linux/fs.h",  "BLKFRASET",    0x1264},
++      {"linux/fs.h",  "BLKFRAGET",    0x1265},
++      {"linux/fs.h",  "BLKSECTSET",   0x1266},
++      {"linux/fs.h",  "BLKSECTGET",   0x1267},
++      {"linux/fs.h",  "BLKSSZGET",    0x1268},
++      {"linux/blkpg.h",       "BLKPG",        0x1269},
++      {"linux/fs.h",  "BLKELVGET",    0x126a},
++      {"linux/fs.h",  "BLKELVSET",    0x126b},
++      {"linux/fs.h",  "BLKBSZGET",    0x1270},
++      {"linux/fs.h",  "BLKBSZSET",    0x1271},
++      {"linux/fs.h",  "BLKGETSIZE64", 0x1272},
++      {"linux/fs.h",  "BLKTRACESETUP",        0x1273},
++      {"linux/fs.h",  "BLKTRACESTART",        0x1274},
++      {"linux/fs.h",  "BLKTRACESTOP", 0x1275},
++      {"linux/fs.h",  "BLKTRACETEARDOWN",     0x1276},
++      {"rdma/ib_user_mad.h",  "IB_USER_MAD_REGISTER_AGENT",   0x1b01},
++      {"rdma/ib_user_mad.h",  "IB_USER_MAD_UNREGISTER_AGENT", 0x1b02},
++      {"rdma/ib_user_mad.h",  "IB_USER_MAD_ENABLE_PKEY",      0x1b03},
++      {"scsi/sg.h",   "SG_SET_TIMEOUT",       0x2201},
++      {"scsi/sg.h",   "SG_GET_TIMEOUT",       0x2202},
++      {"scsi/sg.h",   "SG_EMULATED_HOST",     0x2203},
++      {"scsi/sg.h",   "SG_SET_TRANSFORM",     0x2204},
++      {"scsi/sg.h",   "SG_GET_TRANSFORM",     0x2205},
++      {"scsi/sg.h",   "SG_GET_COMMAND_Q",     0x2270},
++      {"scsi/sg.h",   "SG_SET_COMMAND_Q",     0x2271},
++      {"scsi/sg.h",   "SG_GET_RESERVED_SIZE", 0x2272},
++      {"scsi/sg.h",   "SG_SET_RESERVED_SIZE", 0x2275},
++      {"scsi/sg.h",   "SG_GET_SCSI_ID",       0x2276},
++      {"scsi/sg.h",   "SG_SET_FORCE_LOW_DMA", 0x2279},
++      {"scsi/sg.h",   "SG_GET_LOW_DMA",       0x227a},
++      {"scsi/sg.h",   "SG_SET_FORCE_PACK_ID", 0x227b},
++      {"scsi/sg.h",   "SG_GET_PACK_ID",       0x227c},
++      {"scsi/sg.h",   "SG_GET_NUM_WAITING",   0x227d},
++      {"scsi/sg.h",   "SG_SET_DEBUG", 0x227e},
++      {"scsi/sg.h",   "SG_GET_SG_TABLESIZE",  0x227f},
++      {"scsi/sg.h",   "SG_GET_VERSION_NUM",   0x2282},
++      {"scsi/sg.h",   "SG_NEXT_CMD_LEN",      0x2283},
++      {"scsi/sg.h",   "SG_SCSI_RESET",        0x2284},
++      {"scsi/sg.h",   "SG_IO",        0x2285},
++      {"scsi/sg.h",   "SG_GET_REQUEST_TABLE", 0x2286},
++      {"scsi/sg.h",   "SG_SET_KEEP_ORPHAN",   0x2287},
++      {"scsi/sg.h",   "SG_GET_KEEP_ORPHAN",   0x2288},
++      {"scsi/sg.h",   "SG_GET_ACCESS_COUNT",  0x2289},
++      {"linux/firewire-cdev.h",       "FW_CDEV_IOC_GET_INFO", 0x2300},
++      {"linux/firewire-cdev.h",       "FW_CDEV_IOC_SEND_REQUEST",     0x2301},
++      {"linux/firewire-cdev.h",       "FW_CDEV_IOC_ALLOCATE", 0x2302},
++      {"linux/firewire-cdev.h",       "FW_CDEV_IOC_DEALLOCATE",       0x2303},
++      {"linux/firewire-cdev.h",       "FW_CDEV_IOC_SEND_RESPONSE",    0x2304},
++      {"linux/firewire-cdev.h",       "FW_CDEV_IOC_INITIATE_BUS_RESET",       0x2305},
++      {"linux/firewire-cdev.h",       "FW_CDEV_IOC_ADD_DESCRIPTOR",   0x2306},
++      {"linux/firewire-cdev.h",       "FW_CDEV_IOC_REMOVE_DESCRIPTOR",        0x2307},
++      {"linux/firewire-cdev.h",       "FW_CDEV_IOC_CREATE_ISO_CONTEXT",       0x2308},
++      {"linux/firewire-cdev.h",       "FW_CDEV_IOC_QUEUE_ISO",        0x2309},
++      {"linux/firewire-cdev.h",       "FW_CDEV_IOC_START_ISO",        0x230a},
++      {"linux/firewire-cdev.h",       "FW_CDEV_IOC_STOP_ISO", 0x230b},
++      {"linux/firewire-cdev.h",       "FW_CDEV_IOC_GET_CYCLE_TIMER",  0x230c},
++      {"linux/i2o.h", "BLKI2OGRSTRAT",        0x3201},
++      {"linux/i2o.h", "BLKI2OGWSTRAT",        0x3202},
++      {"linux/i2o.h", "BLKI2OSRSTRAT",        0x3203},
++      {"linux/i2o.h", "BLKI2OSWSTRAT",        0x3204},
++      {"linux/suspend_ioctls.h",      "SNAPSHOT_FREEZE",      0x3301},
++      {"linux/suspend_ioctls.h",      "SNAPSHOT_UNFREEZE",    0x3302},
++      {"linux/suspend_ioctls.h",      "SNAPSHOT_ATOMIC_RESTORE",      0x3304},
++      {"linux/suspend_ioctls.h",      "SNAPSHOT_FREE",        0x3305},
++      {"linux/suspend_ioctls.h",      "SNAPSHOT_FREE_SWAP_PAGES",     0x3309},
++      {"linux/suspend_ioctls.h",      "SNAPSHOT_S2RAM",       0x330b},
++      {"linux/suspend_ioctls.h",      "SNAPSHOT_SET_SWAP_AREA",       0x330d},
++      {"linux/suspend_ioctls.h",      "SNAPSHOT_GET_IMAGE_SIZE",      0x330e},
++      {"linux/suspend_ioctls.h",      "SNAPSHOT_PLATFORM_SUPPORT",    0x330f},
++      {"linux/suspend_ioctls.h",      "SNAPSHOT_POWER_OFF",   0x3310},
++      {"linux/suspend_ioctls.h",      "SNAPSHOT_CREATE_IMAGE",        0x3311},
++      {"linux/suspend_ioctls.h",      "SNAPSHOT_PREF_IMAGE_SIZE",     0x3312},
++      {"linux/suspend_ioctls.h",      "SNAPSHOT_AVAIL_SWAP_SIZE",     0x3313},
++      {"linux/suspend_ioctls.h",      "SNAPSHOT_ALLOC_SWAP_PAGE",     0x3314},
++      {"linux/radeonfb.h",    "FBIO_RADEON_GET_MIRROR",       0x4003},
++      {"linux/radeonfb.h",    "FBIO_RADEON_SET_MIRROR",       0x4004},
++      {"linux/agpgart.h",     "AGPIOC_INFO",  0x4100},
++      {"linux/agpgart.h",     "AGPIOC_ACQUIRE",       0x4101},
++      {"linux/apm_bios.h",    "APM_IOC_STANDBY",      0x4101},
++      {"linux/agpgart.h",     "AGPIOC_RELEASE",       0x4102},
++      {"linux/apm_bios.h",    "APM_IOC_SUSPEND",      0x4102},
++      {"linux/agpgart.h",     "AGPIOC_SETUP", 0x4103},
++      {"linux/agpgart.h",     "AGPIOC_RESERVE",       0x4104},
++      {"linux/agpgart.h",     "AGPIOC_PROTECT",       0x4105},
++      {"linux/agpgart.h",     "AGPIOC_ALLOCATE",      0x4106},
++      {"linux/agpgart.h",     "AGPIOC_DEALLOCATE",    0x4107},
++      {"linux/agpgart.h",     "AGPIOC_BIND",  0x4108},
++      {"linux/agpgart.h",     "AGPIOC_UNBIND",        0x4109},
++      {"linux/agpgart.h",     "AGPIOC_CHIPSET_FLUSH", 0x410a},
++      {"linux/pmu.h", "PMU_IOC_SLEEP",        0x4200},
++      {"linux/cciss_ioctl.h", "CCISS_GETPCIINFO",     0x4201},
++      {"linux/pmu.h", "PMU_IOC_GET_BACKLIGHT",        0x4201},
++      {"linux/cciss_ioctl.h", "CCISS_GETINTINFO",     0x4202},
++      {"linux/pmu.h", "PMU_IOC_SET_BACKLIGHT",        0x4202},
++      {"linux/cciss_ioctl.h", "CCISS_SETINTINFO",     0x4203},
++      {"linux/pmu.h", "PMU_IOC_GET_MODEL",    0x4203},
++      {"linux/cciss_ioctl.h", "CCISS_GETNODENAME",    0x4204},
++      {"linux/pmu.h", "PMU_IOC_HAS_ADB",      0x4204},
++      {"linux/cciss_ioctl.h", "CCISS_SETNODENAME",    0x4205},
++      {"linux/pmu.h", "PMU_IOC_CAN_SLEEP",    0x4205},
++      {"linux/cciss_ioctl.h", "CCISS_GETHEARTBEAT",   0x4206},
++      {"linux/pmu.h", "PMU_IOC_GRAB_BACKLIGHT",       0x4206},
++      {"linux/cciss_ioctl.h", "CCISS_GETBUSTYPES",    0x4207},
++      {"linux/cciss_ioctl.h", "CCISS_GETFIRMVER",     0x4208},
++      {"linux/cciss_ioctl.h", "CCISS_GETDRIVVER",     0x4209},
++      {"linux/cciss_ioctl.h", "CCISS_REVALIDVOLS",    0x420a},
++      {"linux/cciss_ioctl.h", "CCISS_PASSTHRU",       0x420b},
++      {"linux/cciss_ioctl.h", "CCISS_PASSTHRU32",     0x420b},
++      {"linux/cciss_ioctl.h", "CCISS_DEREGDISK",      0x420c},
++      {"linux/cciss_ioctl.h", "CCISS_REGNEWDISK",     0x420d},
++      {"linux/cciss_ioctl.h", "CCISS_REGNEWD",        0x420e},
++      {"linux/cciss_ioctl.h", "CCISS_RESCANDISK",     0x4210},
++      {"linux/cciss_ioctl.h", "CCISS_GETLUNINFO",     0x4211},
++      {"linux/cciss_ioctl.h", "CCISS_BIG_PASSTHRU",   0x4212},
++      {"linux/cciss_ioctl.h", "CCISS_BIG_PASSTHRU32", 0x4212},
++      {"linux/soundcard.h",   "SNDCTL_COPR_RESET",    0x4300},
++      {"linux/capi.h",        "CAPI_REGISTER",        0x4301},
++      {"linux/soundcard.h",   "SNDCTL_COPR_LOAD",     0x4301},
++      {"linux/soundcard.h",   "SNDCTL_COPR_RDATA",    0x4302},
++      {"linux/soundcard.h",   "SNDCTL_COPR_RCODE",    0x4303},
++      {"linux/soundcard.h",   "SNDCTL_COPR_WDATA",    0x4304},
++      {"linux/soundcard.h",   "SNDCTL_COPR_WCODE",    0x4305},
++      {"linux/capi.h",        "CAPI_GET_MANUFACTURER",        0x4306},
++      {"linux/soundcard.h",   "SNDCTL_COPR_RUN",      0x4306},
++      {"linux/capi.h",        "CAPI_GET_VERSION",     0x4307},
++      {"linux/soundcard.h",   "SNDCTL_COPR_HALT",     0x4307},
++      {"linux/capi.h",        "CAPI_GET_SERIAL",      0x4308},
++      {"linux/soundcard.h",   "SNDCTL_COPR_SENDMSG",  0x4308},
++      {"linux/capi.h",        "CAPI_GET_PROFILE",     0x4309},
++      {"linux/soundcard.h",   "SNDCTL_COPR_RCVMSG",   0x4309},
++      {"linux/capi.h",        "CAPI_MANUFACTURER_CMD",        0x4320},
++      {"linux/capi.h",        "CAPI_GET_ERRCODE",     0x4321},
++      {"linux/capi.h",        "CAPI_INSTALLED",       0x4322},
++      {"linux/capi.h",        "CAPI_GET_FLAGS",       0x4323},
++      {"linux/capi.h",        "CAPI_SET_FLAGS",       0x4324},
++      {"linux/capi.h",        "CAPI_CLR_FLAGS",       0x4325},
++      {"linux/capi.h",        "CAPI_NCCI_OPENCOUNT",  0x4326},
++      {"linux/capi.h",        "CAPI_NCCI_GETUNIT",    0x4327},
++      {"linux/input.h",       "EVIOCGVERSION",        0x4501},
++      {"linux/input.h",       "EVIOCGID",     0x4502},
++      {"linux/input.h",       "EVIOCGREP",    0x4503},
++      {"linux/input.h",       "EVIOCSREP",    0x4503},
++      {"linux/input.h",       "EVIOCGKEYCODE",        0x4504},
++      {"linux/input.h",       "EVIOCSKEYCODE",        0x4504},
++      {"linux/input.h",       "EVIOCRMFF",    0x4581},
++      {"linux/input.h",       "EVIOCGEFFECTS",        0x4584},
++      {"linux/input.h",       "EVIOCGRAB",    0x4590},
++      {"linux/fb.h",  "FBIOGET_VSCREENINFO",  0x4600},
++      {"linux/fb.h",  "FBIOPUT_VSCREENINFO",  0x4601},
++      {"linux/fb.h",  "FBIOGET_FSCREENINFO",  0x4602},
++      {"linux/fb.h",  "FBIOGETCMAP",  0x4604},
++      {"linux/fb.h",  "FBIOPUTCMAP",  0x4605},
++      {"linux/fb.h",  "FBIOPAN_DISPLAY",      0x4606},
++      {"linux/fb.h",  "FBIO_CURSOR",  0x4608},
++      {"linux/fb.h",  "FBIOGET_CON2FBMAP",    0x460f},
++      {"linux/fb.h",  "FBIOPUT_CON2FBMAP",    0x4610},
++      {"linux/fb.h",  "FBIOBLANK",    0x4611},
++      {"linux/fb.h",  "FBIOGET_VBLANK",       0x4612},
++      {"linux/fb.h",  "FBIO_ALLOC",   0x4613},
++      {"linux/fb.h",  "FBIO_FREE",    0x4614},
++      {"linux/fb.h",  "FBIOGET_GLYPH",        0x4615},
++      {"linux/fb.h",  "FBIOGET_HWCINFO",      0x4616},
++      {"linux/fb.h",  "FBIOPUT_MODEINFO",     0x4617},
++      {"linux/fb.h",  "FBIOGET_DISPINFO",     0x4618},
++      {"linux/ivtvfb.h",      "FBIO_WAITFORVSYNC",    0x4620},
++      {"linux/matroxfb.h",    "FBIO_WAITFORVSYNC",    0x4620},
++      {"linux/arcfb.h",       "FBIO_WAITEVENT",       0x4688},
++      {"linux/arcfb.h",       "FBIO_GETCONTROL2",     0x4689},
++      {"video/sstfb.h",       "SSTFB_GET_VGAPASS",    0x46dd},
++      {"video/sstfb.h",       "SSTFB_SET_VGAPASS",    0x46dd},
++      {"linux/gigaset_dev.h", "GIGASET_REDIR",        0x4700},
++      {"linux/gigaset_dev.h", "GIGASET_CONFIG",       0x4701},
++      {"linux/gigaset_dev.h", "GIGASET_BRKCHARS",     0x4702},
++      {"linux/gigaset_dev.h", "GIGASET_VERSION",      0x4703},
++      {"linux/hidraw.h",      "HIDIOCGRDESCSIZE",     0x4801},
++      {"linux/hiddev.h",      "HIDIOCGVERSION",       0x4801},
++      {"linux/hiddev.h",      "HIDIOCAPPLICATION",    0x4802},
++      {"linux/hidraw.h",      "HIDIOCGRDESC", 0x4802},
++      {"linux/hiddev.h",      "HIDIOCGDEVINFO",       0x4803},
++      {"linux/hidraw.h",      "HIDIOCGRAWINFO",       0x4803},
++      {"linux/hiddev.h",      "HIDIOCGSTRING",        0x4804},
++      {"linux/hiddev.h",      "HIDIOCINITREPORT",     0x4805},
++      {"linux/hiddev.h",      "HIDIOCGREPORT",        0x4807},
++      {"linux/hiddev.h",      "HIDIOCSREPORT",        0x4808},
++      {"linux/hiddev.h",      "HIDIOCGREPORTINFO",    0x4809},
++      {"linux/hiddev.h",      "HIDIOCGFIELDINFO",     0x480a},
++      {"linux/hiddev.h",      "HIDIOCGUSAGE", 0x480b},
++      {"linux/hiddev.h",      "HIDIOCSUSAGE", 0x480c},
++      {"linux/hiddev.h",      "HIDIOCGUCODE", 0x480d},
++      {"linux/hiddev.h",      "HIDIOCGFLAG",  0x480e},
++      {"linux/hiddev.h",      "HIDIOCSFLAG",  0x480f},
++      {"sound/hda_hwdep.h",   "HDA_IOCTL_PVERSION",   0x4810},
++      {"linux/hiddev.h",      "HIDIOCGCOLLECTIONINDEX",       0x4810},
++      {"sound/emu10k1.h",     "SNDRV_EMU10K1_IOCTL_INFO",     0x4810},
++      {"sound/sb16_csp.h",    "SNDRV_SB_CSP_IOCTL_INFO",      0x4810},
++      {"sound/hda_hwdep.h",   "HDA_IOCTL_VERB_WRITE", 0x4811},
++      {"linux/hiddev.h",      "HIDIOCGCOLLECTIONINFO",        0x4811},
++      {"sound/emu10k1.h",     "SNDRV_EMU10K1_IOCTL_CODE_POKE",        0x4811},
++      {"sound/sb16_csp.h",    "SNDRV_SB_CSP_IOCTL_LOAD_CODE", 0x4811},
++      {"sound/hda_hwdep.h",   "HDA_IOCTL_GET_WCAP",   0x4812},
++      {"sound/emu10k1.h",     "SNDRV_EMU10K1_IOCTL_CODE_PEEK",        0x4812},
++      {"sound/sb16_csp.h",    "SNDRV_SB_CSP_IOCTL_UNLOAD_CODE",       0x4812},
++      {"linux/hiddev.h",      "HIDIOCGUSAGES",        0x4813},
++      {"sound/sb16_csp.h",    "SNDRV_SB_CSP_IOCTL_START",     0x4813},
++      {"linux/hiddev.h",      "HIDIOCSUSAGES",        0x4814},
++      {"sound/sb16_csp.h",    "SNDRV_SB_CSP_IOCTL_STOP",      0x4814},
++      {"sound/sb16_csp.h",    "SNDRV_SB_CSP_IOCTL_PAUSE",     0x4815},
++      {"sound/sb16_csp.h",    "SNDRV_SB_CSP_IOCTL_RESTART",   0x4816},
++      {"sound/asound_fm.h",   "SNDRV_DM_FM_IOCTL_INFO",       0x4820},
++      {"sound/emu10k1.h",     "SNDRV_EMU10K1_IOCTL_TRAM_SETUP",       0x4820},
++      {"sound/asound_fm.h",   "SNDRV_DM_FM_IOCTL_RESET",      0x4821},
++      {"sound/emu10k1.h",     "SNDRV_EMU10K1_IOCTL_TRAM_POKE",        0x4821},
++      {"sound/asound_fm.h",   "SNDRV_DM_FM_IOCTL_PLAY_NOTE",  0x4822},
++      {"sound/emu10k1.h",     "SNDRV_EMU10K1_IOCTL_TRAM_PEEK",        0x4822},
++      {"sound/asound_fm.h",   "SNDRV_DM_FM_IOCTL_SET_VOICE",  0x4823},
++      {"sound/asound_fm.h",   "SNDRV_DM_FM_IOCTL_SET_PARAMS", 0x4824},
++      {"sound/asound_fm.h",   "SNDRV_DM_FM_IOCTL_SET_MODE",   0x4825},
++      {"sound/asound_fm.h",   "SNDRV_DM_FM_IOCTL_SET_CONNECTION",     0x4826},
++      {"sound/emu10k1.h",     "SNDRV_EMU10K1_IOCTL_PCM_POKE", 0x4830},
++      {"sound/emu10k1.h",     "SNDRV_EMU10K1_IOCTL_PCM_PEEK", 0x4831},
++      {"sound/asound_fm.h",   "SNDRV_DM_FM_IOCTL_CLEAR_PATCHES",      0x4840},
++      {"sound/emu10k1.h",     "SNDRV_EMU10K1_IOCTL_PVERSION", 0x4840},
++      {"sound/hdsp.h",        "SNDRV_HDSP_IOCTL_GET_PEAK_RMS",        0x4840},
++      {"sound/hdsp.h",        "SNDRV_HDSP_IOCTL_GET_CONFIG_INFO",     0x4841},
++      {"sound/hdsp.h",        "SNDRV_HDSP_IOCTL_UPLOAD_FIRMWARE",     0x4842},
++      {"sound/hdspm.h",       "SNDRV_HDSPM_IOCTL_GET_VERSION",        0x4843},
++      {"sound/hdsp.h",        "SNDRV_HDSP_IOCTL_GET_VERSION", 0x4843},
++      {"sound/hdspm.h",       "SNDRV_HDSPM_IOCTL_GET_MIXER",  0x4844},
++      {"sound/hdsp.h",        "SNDRV_HDSP_IOCTL_GET_MIXER",   0x4844},
++      {"sound/hdsp.h",        "SNDRV_HDSP_IOCTL_GET_9632_AEB",        0x4845},
++      {"sound/emu10k1.h",     "SNDRV_EMU10K1_IOCTL_STOP",     0x4880},
++      {"sound/emu10k1.h",     "SNDRV_EMU10K1_IOCTL_CONTINUE", 0x4881},
++      {"sound/emu10k1.h",     "SNDRV_EMU10K1_IOCTL_ZERO_TRAM_COUNTER",        0x4882},
++      {"sound/emu10k1.h",     "SNDRV_EMU10K1_IOCTL_SINGLE_STEP",      0x4883},
++      {"sound/emu10k1.h",     "SNDRV_EMU10K1_IOCTL_DBG_READ", 0x4884},
++      {"net/bluetooth/hci.h", "HCIDEVUP",     0x48c9},
++      {"net/bluetooth/hci.h", "HCIDEVDOWN",   0x48ca},
++      {"net/bluetooth/hci.h", "HCIDEVRESET",  0x48cb},
++      {"net/bluetooth/hci.h", "HCIDEVRESTAT", 0x48cc},
++      {"net/bluetooth/hci.h", "HCIGETDEVLIST",        0x48d2},
++      {"net/bluetooth/hci.h", "HCIGETDEVINFO",        0x48d3},
++      {"net/bluetooth/hci.h", "HCIGETCONNLIST",       0x48d4},
++      {"net/bluetooth/hci.h", "HCIGETCONNINFO",       0x48d5},
++      {"net/bluetooth/hci.h", "HCISETRAW",    0x48dc},
++      {"net/bluetooth/hci.h", "HCISETSCAN",   0x48dd},
++      {"net/bluetooth/hci.h", "HCISETAUTH",   0x48de},
++      {"net/bluetooth/hci.h", "HCISETENCRYPT",        0x48df},
++      {"net/bluetooth/hci.h", "HCISETPTYPE",  0x48e0},
++      {"net/bluetooth/hci.h", "HCISETLINKPOL",        0x48e1},
++      {"net/bluetooth/hci.h", "HCISETLINKMODE",       0x48e2},
++      {"net/bluetooth/hci.h", "HCISETACLMTU", 0x48e3},
++      {"net/bluetooth/hci.h", "HCISETSCOMTU", 0x48e4},
++      {"net/bluetooth/hci.h", "HCISETSECMGR", 0x48e6},
++      {"net/bluetooth/hci.h", "HCIINQUIRY",   0x48f0},
++      {"linux/isdn.h",        "IIOCNETAIF",   0x4901},
++      {"linux/isdn.h",        "IIOCNETDIF",   0x4902},
++      {"linux/isdn.h",        "IIOCNETSCF",   0x4903},
++      {"linux/isdn.h",        "IIOCNETGCF",   0x4904},
++      {"linux/isdn.h",        "IIOCNETANM",   0x4905},
++      {"linux/isdn.h",        "IIOCNETDNM",   0x4906},
++      {"linux/isdn.h",        "IIOCNETGNM",   0x4907},
++      {"linux/isdn.h",        "IIOCGETSET",   0x4908},
++      {"linux/isdn.h",        "IIOCSETSET",   0x4909},
++      {"linux/isdn.h",        "IIOCSETVER",   0x490a},
++      {"linux/isdn.h",        "IIOCNETHUP",   0x490b},
++      {"linux/isdn.h",        "IIOCSETGST",   0x490c},
++      {"linux/isdn.h",        "IIOCSETBRJ",   0x490d},
++      {"linux/isdn.h",        "IIOCSIGPRF",   0x490e},
++      {"linux/isdn.h",        "IIOCGETPRF",   0x490f},
++      {"linux/isdn.h",        "IIOCSETPRF",   0x4910},
++      {"linux/isdn.h",        "IIOCGETMAP",   0x4911},
++      {"linux/isdn.h",        "IIOCSETMAP",   0x4912},
++      {"linux/isdn.h",        "IIOCNETASL",   0x4913},
++      {"linux/isdn.h",        "IIOCNETDIL",   0x4914},
++      {"linux/isdn.h",        "IIOCGETCPS",   0x4915},
++      {"linux/isdn.h",        "IIOCGETDVR",   0x4916},
++      {"linux/isdn.h",        "IIOCNETLCR",   0x4917},
++      {"linux/isdn.h",        "IIOCNETDWRSET",        0x4918},
++      {"linux/isdn.h",        "IIOCNETALN",   0x4920},
++      {"linux/isdn.h",        "IIOCNETDLN",   0x4921},
++      {"linux/isdn.h",        "IIOCNETGPN",   0x4922},
++      {"linux/isdn.h",        "IIOCDBGVAR",   0x497f},
++      {"linux/isdn.h",        "IIOCDRVCTL",   0x4980},
++      {"linux/kd.h",  "KIOCSOUND",    0x4b2f},
++      {"linux/kd.h",  "KDMKTONE",     0x4b30},
++      {"linux/kd.h",  "KDGETLED",     0x4b31},
++      {"linux/kd.h",  "KDSETLED",     0x4b32},
++      {"linux/kd.h",  "KDGKBTYPE",    0x4b33},
++      {"linux/kd.h",  "KDADDIO",      0x4b34},
++      {"linux/kd.h",  "KDDELIO",      0x4b35},
++      {"linux/kd.h",  "KDENABIO",     0x4b36},
++      {"linux/kd.h",  "KDDISABIO",    0x4b37},
++      {"linux/kd.h",  "KDSETMODE",    0x4b3a},
++      {"linux/kd.h",  "KDGETMODE",    0x4b3b},
++      {"linux/kd.h",  "KDMAPDISP",    0x4b3c},
++      {"linux/kd.h",  "KDUNMAPDISP",  0x4b3d},
++      {"linux/kd.h",  "GIO_SCRNMAP",  0x4b40},
++      {"linux/kd.h",  "PIO_SCRNMAP",  0x4b41},
++      {"linux/kd.h",  "KDGKBMODE",    0x4b44},
++      {"linux/kd.h",  "KDSKBMODE",    0x4b45},
++      {"linux/kd.h",  "KDGKBENT",     0x4b46},
++      {"linux/kd.h",  "KDSKBENT",     0x4b47},
++      {"linux/kd.h",  "KDGKBSENT",    0x4b48},
++      {"linux/kd.h",  "KDSKBSENT",    0x4b49},
++      {"linux/kd.h",  "KDGKBDIACR",   0x4b4a},
++      {"linux/kd.h",  "KDSKBDIACR",   0x4b4b},
++      {"linux/kd.h",  "KDGETKEYCODE", 0x4b4c},
++      {"linux/kd.h",  "KDSETKEYCODE", 0x4b4d},
++      {"linux/kd.h",  "KDSIGACCEPT",  0x4b4e},
++      {"linux/kd.h",  "KDKBDREP",     0x4b52},
++      {"linux/kd.h",  "GIO_FONT",     0x4b60},
++      {"linux/kd.h",  "PIO_FONT",     0x4b61},
++      {"linux/kd.h",  "KDGKBMETA",    0x4b62},
++      {"linux/kd.h",  "KDSKBMETA",    0x4b63},
++      {"linux/kd.h",  "KDGKBLED",     0x4b64},
++      {"linux/kd.h",  "KDSKBLED",     0x4b65},
++      {"linux/kd.h",  "GIO_UNIMAP",   0x4b66},
++      {"linux/kd.h",  "PIO_UNIMAP",   0x4b67},
++      {"linux/kd.h",  "PIO_UNIMAPCLR",        0x4b68},
++      {"linux/kd.h",  "GIO_UNISCRNMAP",       0x4b69},
++      {"linux/kd.h",  "PIO_UNISCRNMAP",       0x4b6a},
++      {"linux/kd.h",  "GIO_FONTX",    0x4b6b},
++      {"linux/kd.h",  "PIO_FONTX",    0x4b6c},
++      {"linux/kd.h",  "PIO_FONTRESET",        0x4b6d},
++      {"linux/kd.h",  "GIO_CMAP",     0x4b70},
++      {"linux/kd.h",  "PIO_CMAP",     0x4b71},
++      {"linux/kd.h",  "KDFONTOP",     0x4b72},
++      {"linux/kd.h",  "KDGKBDIACRUC", 0x4bfa},
++      {"linux/kd.h",  "KDSKBDIACRUC", 0x4bfb},
++      {"mtd/mtd-abi.h",       "MEMGETINFO",   0x4d01},
++      {"mtd/mtd-abi.h",       "MEMERASE",     0x4d02},
++      {"mtd/mtd-abi.h",       "MEMWRITEOOB",  0x4d03},
++      {"mtd/mtd-abi.h",       "MEMREADOOB",   0x4d04},
++      {"mtd/mtd-abi.h",       "MEMLOCK",      0x4d05},
++      {"mtd/mtd-abi.h",       "MEMUNLOCK",    0x4d06},
++      {"mtd/mtd-abi.h",       "MEMGETREGIONCOUNT",    0x4d07},
++      {"mtd/mtd-abi.h",       "MEMGETREGIONINFO",     0x4d08},
++      {"mtd/mtd-abi.h",       "MEMSETOOBSEL", 0x4d09},
++      {"mtd/mtd-abi.h",       "MEMGETOOBSEL", 0x4d0a},
++      {"mtd/mtd-abi.h",       "MEMGETBADBLOCK",       0x4d0b},
++      {"mtd/mtd-abi.h",       "MEMSETBADBLOCK",       0x4d0c},
++      {"mtd/mtd-abi.h",       "OTPSELECT",    0x4d0d},
++      {"mtd/mtd-abi.h",       "OTPGETREGIONCOUNT",    0x4d0e},
++      {"mtd/mtd-abi.h",       "OTPGETREGIONINFO",     0x4d0f},
++      {"mtd/mtd-abi.h",       "OTPLOCK",      0x4d10},
++      {"mtd/mtd-abi.h",       "ECCGETLAYOUT", 0x4d11},
++      {"mtd/mtd-abi.h",       "ECCGETSTATS",  0x4d12},
++      {"mtd/mtd-abi.h",       "MTDFILEMODE",  0x4d13},
++      {"linux/soundcard.h",   "SOUND_MIXER_INFO",     0x4d65},
++      {"linux/soundcard.h",   "SOUND_OLD_MIXER_INFO", 0x4d65},
++      {"linux/soundcard.h",   "SOUND_MIXER_ACCESS",   0x4d66},
++      {"linux/soundcard.h",   "SOUND_MIXER_AGC",      0x4d67},
++      {"linux/soundcard.h",   "SOUND_MIXER_3DSE",     0x4d68},
++      {"linux/soundcard.h",   "SOUND_MIXER_PRIVATE1", 0x4d6f},
++      {"linux/soundcard.h",   "SOUND_MIXER_PRIVATE2", 0x4d70},
++      {"linux/soundcard.h",   "SOUND_MIXER_PRIVATE3", 0x4d71},
++      {"linux/soundcard.h",   "SOUND_MIXER_PRIVATE4", 0x4d72},
++      {"linux/soundcard.h",   "SOUND_MIXER_PRIVATE5", 0x4d73},
++      {"linux/soundcard.h",   "SOUND_MIXER_GETLEVELS",        0x4d74},
++      {"linux/soundcard.h",   "SOUND_MIXER_SETLEVELS",        0x4d75},
++      {"linux/soundcard.h",   "OSS_GETVERSION",       0x4d76},
++      {"linux/ticable.h",     "IOCTL_TIUSB_TIMEOUT",  0x4e20},
++      {"linux/ticable.h",     "IOCTL_TIUSB_RESET_DEVICE",     0x4e21},
++      {"linux/ticable.h",     "IOCTL_TIUSB_RESET_PIPES",      0x4e22},
++      {"linux/ticable.h",     "IOCTL_TIUSB_GET_MAXPS",        0x4e23},
++      {"linux/ticable.h",     "IOCTL_TIUSB_GET_DEVID",        0x4e24},
++      {"mtd/ubi-user.h",      "UBI_IOCVOLUP", 0x4f00},
++      {"mtd/ubi-user.h",      "UBI_IOCEBER",  0x4f01},
++      {"mtd/ubi-user.h",      "UBI_IOCEBCH",  0x4f02},
++      {"linux/soundcard.h",   "SNDCTL_DSP_RESET",     0x5000},
++      {"linux/soundcard.h",   "SNDCTL_DSP_SYNC",      0x5001},
++      {"asm/bfin_sport.h",    "SPORT_IOC_CONFIG",     0x5001},
++      {"asm/bfin_sport.h",    "ENABLE_AD73311",       0x5002},
++      {"linux/soundcard.h",   "SNDCTL_DSP_SPEED",     0x5002},
++      {"linux/soundcard.h",   "SOUND_PCM_READ_RATE",  0x5002},
++      {"linux/soundcard.h",   "SNDCTL_DSP_STEREO",    0x5003},
++      {"linux/soundcard.h",   "SNDCTL_DSP_GETBLKSIZE",        0x5004},
++      {"linux/soundcard.h",   "SNDCTL_DSP_SETFMT",    0x5005},
++      {"linux/soundcard.h",   "SOUND_PCM_READ_BITS",  0x5005},
++      {"linux/soundcard.h",   "SNDCTL_DSP_CHANNELS",  0x5006},
++      {"linux/soundcard.h",   "SOUND_PCM_READ_CHANNELS",      0x5006},
++      {"linux/soundcard.h",   "SOUND_PCM_READ_FILTER",        0x5007},
++      {"linux/soundcard.h",   "SOUND_PCM_WRITE_FILTER",       0x5007},
++      {"linux/soundcard.h",   "SNDCTL_DSP_POST",      0x5008},
++      {"linux/soundcard.h",   "SNDCTL_DSP_SUBDIVIDE", 0x5009},
++      {"linux/soundcard.h",   "SNDCTL_DSP_SETFRAGMENT",       0x500a},
++      {"linux/soundcard.h",   "SNDCTL_DSP_GETFMTS",   0x500b},
++      {"linux/soundcard.h",   "SNDCTL_DSP_GETOSPACE", 0x500c},
++      {"linux/soundcard.h",   "SNDCTL_DSP_GETISPACE", 0x500d},
++      {"linux/soundcard.h",   "SNDCTL_DSP_NONBLOCK",  0x500e},
++      {"linux/soundcard.h",   "SNDCTL_DSP_GETCAPS",   0x500f},
++      {"linux/soundcard.h",   "SNDCTL_DSP_GETTRIGGER",        0x5010},
++      {"linux/soundcard.h",   "SNDCTL_DSP_SETTRIGGER",        0x5010},
++      {"linux/soundcard.h",   "SNDCTL_DSP_GETIPTR",   0x5011},
++      {"linux/soundcard.h",   "SNDCTL_DSP_GETOPTR",   0x5012},
++      {"linux/soundcard.h",   "SNDCTL_DSP_MAPINBUF",  0x5013},
++      {"linux/soundcard.h",   "SNDCTL_DSP_MAPOUTBUF", 0x5014},
++      {"linux/soundcard.h",   "SNDCTL_DSP_SETSYNCRO", 0x5015},
++      {"linux/soundcard.h",   "SNDCTL_DSP_SETDUPLEX", 0x5016},
++      {"linux/soundcard.h",   "SNDCTL_DSP_GETODELAY", 0x5017},
++      {"linux/soundcard.h",   "SNDCTL_DSP_PROFILE",   0x5017},
++      {"linux/soundcard.h",   "SNDCTL_DSP_GETCHANNELMASK",    0x5040},
++      {"linux/soundcard.h",   "SNDCTL_DSP_BIND_CHANNEL",      0x5041},
++      {"linux/soundcard.h",   "SNDCTL_DSP_SETSPDIF",  0x5042},
++      {"linux/soundcard.h",   "SNDCTL_DSP_GETSPDIF",  0x5043},
++      {"sound/sscape_ioctl.h",        "SND_SSCAPE_LOAD_BOOTB",        0x5064},
++      {"sound/sscape_ioctl.h",        "SND_SSCAPE_LOAD_MCODE",        0x5065},
++      {"linux/soundcard.h",   "SNDCTL_SEQ_RESET",     0x5100},
++      {"linux/soundcard.h",   "SNDCTL_SEQ_SYNC",      0x5101},
++      {"linux/soundcard.h",   "SNDCTL_SYNTH_INFO",    0x5102},
++      {"linux/soundcard.h",   "SNDCTL_SEQ_CTRLRATE",  0x5103},
++      {"linux/soundcard.h",   "SNDCTL_SEQ_GETOUTCOUNT",       0x5104},
++      {"linux/soundcard.h",   "SNDCTL_SEQ_GETINCOUNT",        0x5105},
++      {"linux/soundcard.h",   "SNDCTL_SEQ_PERCMODE",  0x5106},
++      {"linux/soundcard.h",   "SNDCTL_FM_LOAD_INSTR", 0x5107},
++      {"linux/soundcard.h",   "SNDCTL_SEQ_TESTMIDI",  0x5108},
++      {"linux/soundcard.h",   "SNDCTL_SEQ_RESETSAMPLES",      0x5109},
++      {"linux/soundcard.h",   "SNDCTL_SEQ_NRSYNTHS",  0x510a},
++      {"linux/soundcard.h",   "SNDCTL_SEQ_NRMIDIS",   0x510b},
++      {"linux/soundcard.h",   "SNDCTL_MIDI_INFO",     0x510c},
++      {"linux/soundcard.h",   "SNDCTL_SEQ_THRESHOLD", 0x510d},
++      {"linux/soundcard.h",   "SNDCTL_SYNTH_MEMAVL",  0x510e},
++      {"linux/soundcard.h",   "SNDCTL_FM_4OP_ENABLE", 0x510f},
++      {"linux/soundcard.h",   "SNDCTL_SEQ_PANIC",     0x5111},
++      {"linux/soundcard.h",   "SNDCTL_SEQ_OUTOFBAND", 0x5112},
++      {"linux/soundcard.h",   "SNDCTL_SEQ_GETTIME",   0x5113},
++      {"linux/soundcard.h",   "SNDCTL_SYNTH_ID",      0x5114},
++      {"linux/soundcard.h",   "SNDCTL_SYNTH_CONTROL", 0x5115},
++      {"linux/soundcard.h",   "SNDCTL_SYNTH_REMOVESAMPLE",    0x5116},
++      {"linux/random.h",      "RNDGETENTCNT", 0x5200},
++      {"media/rds.h", "RDS_CMD_OPEN", 0x5201},
++      {"linux/random.h",      "RNDADDTOENTCNT",       0x5201},
++      {"media/rds.h", "RDS_CMD_CLOSE",        0x5202},
++      {"linux/random.h",      "RNDGETPOOL",   0x5202},
++      {"media/rds.h", "RDS_CMD_READ", 0x5203},
++      {"linux/random.h",      "RNDADDENTROPY",        0x5203},
++      {"media/rds.h", "RDS_CMD_POLL", 0x5204},
++      {"linux/random.h",      "RNDZAPENTCNT", 0x5204},
++      {"linux/random.h",      "RNDCLEARPOOL", 0x5206},
++      {"net/bluetooth/rfcomm.h",      "RFCOMMCREATEDEV",      0x52c8},
++      {"net/bluetooth/rfcomm.h",      "RFCOMMRELEASEDEV",     0x52c9},
++      {"net/bluetooth/rfcomm.h",      "RFCOMMGETDEVLIST",     0x52d2},
++      {"net/bluetooth/rfcomm.h",      "RFCOMMGETDEVINFO",     0x52d3},
++      {"net/bluetooth/rfcomm.h",      "RFCOMMSTEALDLC",       0x52dc},
++      {"sound/asequencer.h",  "SNDRV_SEQ_IOCTL_PVERSION",     0x5300},
++      {"linux/cdrom.h",       "CDROMPAUSE",   0x5301},
++      {"sound/asequencer.h",  "SNDRV_SEQ_IOCTL_CLIENT_ID",    0x5301},
++      {"linux/cdrom.h",       "CDROMRESUME",  0x5302},
++      {"sound/asequencer.h",  "SNDRV_SEQ_IOCTL_SYSTEM_INFO",  0x5302},
++      {"linux/cdrom.h",       "CDROMPLAYMSF", 0x5303},
++      {"sound/asequencer.h",  "SNDRV_SEQ_IOCTL_RUNNING_MODE", 0x5303},
++      {"linux/cdrom.h",       "CDROMPLAYTRKIND",      0x5304},
++      {"linux/cdrom.h",       "CDROMREADTOCHDR",      0x5305},
++      {"linux/cdrom.h",       "CDROMREADTOCENTRY",    0x5306},
++      {"linux/cdrom.h",       "CDROMSTOP",    0x5307},
++      {"linux/cdrom.h",       "CDROMSTART",   0x5308},
++      {"linux/cdrom.h",       "CDROMEJECT",   0x5309},
++      {"linux/cdrom.h",       "CDROMVOLCTRL", 0x530a},
++      {"linux/cdrom.h",       "CDROMSUBCHNL", 0x530b},
++      {"linux/cdrom.h",       "CDROMREADMODE2",       0x530c},
++      {"linux/cdrom.h",       "CDROMREADMODE1",       0x530d},
++      {"linux/cdrom.h",       "CDROMREADAUDIO",       0x530e},
++      {"linux/cdrom.h",       "CDROMEJECT_SW",        0x530f},
++      {"linux/cdrom.h",       "CDROMMULTISESSION",    0x5310},
++      {"sound/asequencer.h",  "SNDRV_SEQ_IOCTL_GET_CLIENT_INFO",      0x5310},
++      {"linux/cdrom.h",       "CDROM_GET_MCN",        0x5311},
++      {"sound/asequencer.h",  "SNDRV_SEQ_IOCTL_SET_CLIENT_INFO",      0x5311},
++      {"linux/cdrom.h",       "CDROMRESET",   0x5312},
++      {"linux/cdrom.h",       "CDROMVOLREAD", 0x5313},
++      {"linux/cdrom.h",       "CDROMREADRAW", 0x5314},
++      {"linux/cdrom.h",       "CDROMREADCOOKED",      0x5315},
++      {"linux/cdrom.h",       "CDROMSEEK",    0x5316},
++      {"linux/cdrom.h",       "CDROMPLAYBLK", 0x5317},
++      {"linux/cdrom.h",       "CDROMREADALL", 0x5318},
++      {"linux/cdrom.h",       "CDROMCLOSETRAY",       0x5319},
++      {"linux/cdrom.h",       "CDROMGETSPINDOWN",     0x531d},
++      {"linux/cdrom.h",       "CDROMSETSPINDOWN",     0x531e},
++      {"linux/cdrom.h",       "CDROM_SET_OPTIONS",    0x5320},
++      {"sound/asequencer.h",  "SNDRV_SEQ_IOCTL_CREATE_PORT",  0x5320},
++      {"linux/cdrom.h",       "CDROM_CLEAR_OPTIONS",  0x5321},
++      {"sound/asequencer.h",  "SNDRV_SEQ_IOCTL_DELETE_PORT",  0x5321},
++      {"linux/cdrom.h",       "CDROM_SELECT_SPEED",   0x5322},
++      {"sound/asequencer.h",  "SNDRV_SEQ_IOCTL_GET_PORT_INFO",        0x5322},
++      {"linux/cdrom.h",       "CDROM_SELECT_DISC",    0x5323},
++      {"sound/asequencer.h",  "SNDRV_SEQ_IOCTL_SET_PORT_INFO",        0x5323},
++      {"linux/cdrom.h",       "CDROM_MEDIA_CHANGED",  0x5325},
++      {"linux/cdrom.h",       "CDROM_DRIVE_STATUS",   0x5326},
++      {"linux/cdrom.h",       "CDROM_DISC_STATUS",    0x5327},
++      {"linux/cdrom.h",       "CDROM_CHANGER_NSLOTS", 0x5328},
++      {"linux/cdrom.h",       "CDROM_LOCKDOOR",       0x5329},
++      {"linux/cdrom.h",       "CDROM_DEBUG",  0x5330},
++      {"sound/asequencer.h",  "SNDRV_SEQ_IOCTL_SUBSCRIBE_PORT",       0x5330},
++      {"linux/cdrom.h",       "CDROM_GET_CAPABILITY", 0x5331},
++      {"sound/asequencer.h",  "SNDRV_SEQ_IOCTL_UNSUBSCRIBE_PORT",     0x5331},
++      {"sound/asequencer.h",  "SNDRV_SEQ_IOCTL_CREATE_QUEUE", 0x5332},
++      {"sound/asequencer.h",  "SNDRV_SEQ_IOCTL_DELETE_QUEUE", 0x5333},
++      {"sound/asequencer.h",  "SNDRV_SEQ_IOCTL_GET_QUEUE_INFO",       0x5334},
++      {"sound/asequencer.h",  "SNDRV_SEQ_IOCTL_SET_QUEUE_INFO",       0x5335},
++      {"sound/asequencer.h",  "SNDRV_SEQ_IOCTL_GET_NAMED_QUEUE",      0x5336},
++      {"sound/asequencer.h",  "SNDRV_SEQ_IOCTL_GET_QUEUE_STATUS",     0x5340},
++      {"sound/asequencer.h",  "SNDRV_SEQ_IOCTL_GET_QUEUE_TEMPO",      0x5341},
++      {"sound/asequencer.h",  "SNDRV_SEQ_IOCTL_SET_QUEUE_TEMPO",      0x5342},
++      {"sound/asequencer.h",  "SNDRV_SEQ_IOCTL_GET_QUEUE_OWNER",      0x5343},
++      {"sound/asequencer.h",  "SNDRV_SEQ_IOCTL_SET_QUEUE_OWNER",      0x5344},
++      {"sound/asequencer.h",  "SNDRV_SEQ_IOCTL_GET_QUEUE_TIMER",      0x5345},
++      {"sound/asequencer.h",  "SNDRV_SEQ_IOCTL_SET_QUEUE_TIMER",      0x5346},
++      {"sound/asequencer.h",  "SNDRV_SEQ_IOCTL_GET_QUEUE_CLIENT",     0x5349},
++      {"sound/asequencer.h",  "SNDRV_SEQ_IOCTL_SET_QUEUE_CLIENT",     0x534a},
++      {"sound/asequencer.h",  "SNDRV_SEQ_IOCTL_GET_CLIENT_POOL",      0x534b},
++      {"sound/asequencer.h",  "SNDRV_SEQ_IOCTL_SET_CLIENT_POOL",      0x534c},
++      {"sound/asequencer.h",  "SNDRV_SEQ_IOCTL_REMOVE_EVENTS",        0x534e},
++      {"sound/asequencer.h",  "SNDRV_SEQ_IOCTL_QUERY_SUBS",   0x534f},
++      {"sound/asequencer.h",  "SNDRV_SEQ_IOCTL_GET_SUBSCRIPTION",     0x5350},
++      {"sound/asequencer.h",  "SNDRV_SEQ_IOCTL_QUERY_NEXT_CLIENT",    0x5351},
++      {"sound/asequencer.h",  "SNDRV_SEQ_IOCTL_QUERY_NEXT_PORT",      0x5352},
++      {"sound/asequencer.h",  "SNDRV_SEQ_IOCTL_GET_QUEUE_SYNC",       0x5353},
++      {"sound/asequencer.h",  "SNDRV_SEQ_IOCTL_SET_QUEUE_SYNC",       0x5354},
++      {"scsi/scsi_ioctl.h",   "SCSI_IOCTL_DOORLOCK",  0x5380},
++      {"scsi/scsi_ioctl.h",   "SCSI_IOCTL_DOORUNLOCK",        0x5381},
++      {"linux/cdrom.h",       "CDROMAUDIOBUFSIZ",     0x5382},
++      {"scsi/scsi.h", "SCSI_IOCTL_GET_IDLUN", 0x5382},
++      {"scsi/scsi.h", "SCSI_IOCTL_PROBE_HOST",        0x5385},
++      {"scsi/scsi.h", "SCSI_IOCTL_GET_BUS_NUMBER",    0x5386},
++      {"scsi/scsi.h", "SCSI_IOCTL_GET_PCI",   0x5387},
++      {"linux/cdrom.h",       "DVD_READ_STRUCT",      0x5390},
++      {"linux/cdrom.h",       "DVD_WRITE_STRUCT",     0x5391},
++      {"linux/cdrom.h",       "DVD_AUTH",     0x5392},
++      {"linux/cdrom.h",       "CDROM_SEND_PACKET",    0x5393},
++      {"linux/cdrom.h",       "CDROM_NEXT_WRITABLE",  0x5394},
++      {"linux/cdrom.h",       "CDROM_LAST_WRITTEN",   0x5395},
++      {"linux/soundcard.h",   "SNDCTL_TMR_TIMEBASE",  0x5401},
++      {"asm/ioctls.h",        "TCGETS",       0x5401},
++      {"linux/soundcard.h",   "SNDCTL_TMR_START",     0x5402},
++      {"asm/ioctls.h",        "TCSETS",       0x5402},
++      {"linux/soundcard.h",   "SNDCTL_TMR_STOP",      0x5403},
++      {"asm/ioctls.h",        "TCSETSW",      0x5403},
++      {"linux/soundcard.h",   "SNDCTL_TMR_CONTINUE",  0x5404},
++      {"asm/ioctls.h",        "TCSETSF",      0x5404},
++      {"linux/soundcard.h",   "SNDCTL_TMR_TEMPO",     0x5405},
++      {"asm/ioctls.h",        "TCGETA",       0x5405},
++      {"linux/soundcard.h",   "SNDCTL_TMR_SOURCE",    0x5406},
++      {"asm/ioctls.h",        "TCSETA",       0x5406},
++      {"linux/soundcard.h",   "SNDCTL_TMR_METRONOME", 0x5407},
++      {"asm/ioctls.h",        "TCSETAW",      0x5407},
++      {"linux/soundcard.h",   "SNDCTL_TMR_SELECT",    0x5408},
++      {"asm/ioctls.h",        "TCSETAF",      0x5408},
++      {"asm/ioctls.h",        "TCSBRK",       0x5409},
++      {"asm/ioctls.h",        "TCXONC",       0x540a},
++      {"asm/ioctls.h",        "TCFLSH",       0x540b},
++      {"asm/ioctls.h",        "TIOCEXCL",     0x540c},
++      {"asm/ioctls.h",        "TIOCNXCL",     0x540d},
++      {"asm/ioctls.h",        "TIOCSCTTY",    0x540e},
++      {"asm/ioctls.h",        "TIOCGPGRP",    0x540f},
++      {"asm/ioctls.h",        "TIOCSPGRP",    0x5410},
++      {"asm/ioctls.h",        "TIOCOUTQ",     0x5411},
++      {"asm/ioctls.h",        "TIOCSTI",      0x5412},
++      {"asm/ioctls.h",        "TIOCGWINSZ",   0x5413},
++      {"asm/ioctls.h",        "TIOCSWINSZ",   0x5414},
++      {"asm/ioctls.h",        "TIOCMGET",     0x5415},
++      {"asm/ioctls.h",        "TIOCMBIS",     0x5416},
++      {"asm/ioctls.h",        "TIOCMBIC",     0x5417},
++      {"asm/ioctls.h",        "TIOCMSET",     0x5418},
++      {"asm/ioctls.h",        "TIOCGSOFTCAR", 0x5419},
++      {"asm/ioctls.h",        "TIOCSSOFTCAR", 0x541a},
++      {"asm/ioctls.h",        "FIONREAD",     0x541b},
++      {"asm/ioctls.h",        "TIOCLINUX",    0x541c},
++      {"asm/ioctls.h",        "TIOCCONS",     0x541d},
++      {"asm/ioctls.h",        "TIOCGSERIAL",  0x541e},
++      {"asm/ioctls.h",        "TIOCSSERIAL",  0x541f},
++      {"asm/ioctls.h",        "TIOCPKT",      0x5420},
++      {"asm/ioctls.h",        "FIONBIO",      0x5421},
++      {"asm/ioctls.h",        "TIOCNOTTY",    0x5422},
++      {"asm/ioctls.h",        "TIOCSETD",     0x5423},
++      {"asm/ioctls.h",        "TIOCGETD",     0x5424},
++      {"asm/ioctls.h",        "TCSBRKP",      0x5425},
++      {"asm/ioctls.h",        "TIOCTTYGSTRUCT",       0x5426},
++      {"asm/ioctls.h",        "TIOCSBRK",     0x5427},
++      {"asm/ioctls.h",        "TIOCCBRK",     0x5428},
++      {"asm/ioctls.h",        "TIOCGSID",     0x5429},
++      {"asm/ioctls.h",        "TCGETS2",      0x542a},
++      {"asm/ioctls.h",        "TCSETS2",      0x542b},
++      {"asm/ioctls.h",        "TCSETSW2",     0x542c},
++      {"asm/ioctls.h",        "TCSETSF2",     0x542d},
++      {"asm/ioctls.h",        "TIOCGPTN",     0x5430},
++      {"asm/ioctls.h",        "TIOCSPTLCK",   0x5431},
++      {"asm/ioctls.h",        "FIONCLEX",     0x5450},
++      {"asm/ioctls.h",        "FIOCLEX",      0x5451},
++      {"asm/ioctls.h",        "FIOASYNC",     0x5452},
++      {"asm/ioctls.h",        "TIOCSERCONFIG",        0x5453},
++      {"asm/ioctls.h",        "TIOCSERGWILD", 0x5454},
++      {"asm/ioctls.h",        "TIOCSERSWILD", 0x5455},
++      {"asm/ioctls.h",        "TIOCGLCKTRMIOS",       0x5456},
++      {"asm/ioctls.h",        "TIOCSLCKTRMIOS",       0x5457},
++      {"asm/ioctls.h",        "TIOCSERGSTRUCT",       0x5458},
++      {"asm/ioctls.h",        "TIOCSERGETLSR",        0x5459},
++      {"asm/ioctls.h",        "TIOCSERGETMULTI",      0x545a},
++      {"asm/ioctls.h",        "TIOCSERSETMULTI",      0x545b},
++      {"asm/ioctls.h",        "TIOCMIWAIT",   0x545c},
++      {"asm/ioctls.h",        "TIOCGICOUNT",  0x545d},
++      {"asm/ioctls.h",        "FIOQSIZE",     0x545e},
++      {"linux/if_tun.h",      "TUNSETNOCSUM", 0x54c8},
++      {"linux/if_tun.h",      "TUNSETDEBUG",  0x54c9},
++      {"linux/if_tun.h",      "TUNSETIFF",    0x54ca},
++      {"linux/if_tun.h",      "TUNSETPERSIST",        0x54cb},
++      {"linux/if_tun.h",      "TUNSETOWNER",  0x54cc},
++      {"linux/if_tun.h",      "TUNSETLINK",   0x54cd},
++      {"linux/if_tun.h",      "TUNSETGROUP",  0x54ce},
++      {"linux/usbdevice_fs.h",        "USBDEVFS_CONTROL",     0x5500},
++      {"linux/uinput.h",      "UI_DEV_CREATE",        0x5501},
++      {"linux/uinput.h",      "UI_DEV_DESTROY",       0x5502},
++      {"linux/usbdevice_fs.h",        "USBDEVFS_BULK",        0x5502},
++      {"linux/usbdevice_fs.h",        "USBDEVFS_RESETEP",     0x5503},
++      {"linux/usbdevice_fs.h",        "USBDEVFS_SETINTERFACE",        0x5504},
++      {"linux/usbdevice_fs.h",        "USBDEVFS_SETCONFIGURATION",    0x5505},
++      {"linux/usbdevice_fs.h",        "USBDEVFS_GETDRIVER",   0x5508},
++      {"linux/usbdevice_fs.h",        "USBDEVFS_SUBMITURB",   0x550a},
++      {"linux/usbdevice_fs.h",        "USBDEVFS_SUBMITURB32", 0x550a},
++      {"linux/usbdevice_fs.h",        "USBDEVFS_DISCARDURB",  0x550b},
++      {"linux/usbdevice_fs.h",        "USBDEVFS_REAPURB",     0x550c},
++      {"linux/usbdevice_fs.h",        "USBDEVFS_REAPURB32",   0x550c},
++      {"linux/usbdevice_fs.h",        "USBDEVFS_REAPURBNDELAY",       0x550d},
++      {"linux/usbdevice_fs.h",        "USBDEVFS_REAPURBNDELAY32",     0x550d},
++      {"linux/usbdevice_fs.h",        "USBDEVFS_DISCSIGNAL",  0x550e},
++      {"linux/usbdevice_fs.h",        "USBDEVFS_CLAIMINTERFACE",      0x550f},
++      {"linux/usbdevice_fs.h",        "USBDEVFS_RELEASEINTERFACE",    0x5510},
++      {"linux/usbdevice_fs.h",        "USBDEVFS_CONNECTINFO", 0x5511},
++      {"linux/usbdevice_fs.h",        "USBDEVFS_IOCTL",       0x5512},
++      {"linux/usbdevice_fs.h",        "USBDEVFS_IOCTL32",     0x5512},
++      {"linux/usbdevice_fs.h",        "USBDEVFS_HUB_PORTINFO",        0x5513},
++      {"linux/usbdevice_fs.h",        "USBDEVFS_RESET",       0x5514},
++      {"linux/usbdevice_fs.h",        "USBDEVFS_CLEAR_HALT",  0x5515},
++      {"linux/usbdevice_fs.h",        "USBDEVFS_DISCONNECT",  0x5516},
++      {"linux/usbdevice_fs.h",        "USBDEVFS_CONNECT",     0x5517},
++      {"linux/uinput.h",      "UI_SET_EVBIT", 0x5564},
++      {"linux/uinput.h",      "UI_SET_KEYBIT",        0x5565},
++      {"linux/uinput.h",      "UI_SET_RELBIT",        0x5566},
++      {"linux/uinput.h",      "UI_SET_ABSBIT",        0x5567},
++      {"linux/uinput.h",      "UI_SET_MSCBIT",        0x5568},
++      {"linux/uinput.h",      "UI_SET_LEDBIT",        0x5569},
++      {"linux/uinput.h",      "UI_SET_SNDBIT",        0x556a},
++      {"linux/uinput.h",      "UI_SET_FFBIT", 0x556b},
++      {"linux/uinput.h",      "UI_SET_PHYS",  0x556c},
++      {"linux/uinput.h",      "UI_SET_SWBIT", 0x556d},
++      {"linux/uinput.h",      "UI_BEGIN_FF_UPLOAD",   0x55c8},
++      {"linux/uinput.h",      "UI_END_FF_UPLOAD",     0x55c9},
++      {"linux/uinput.h",      "UI_BEGIN_FF_ERASE",    0x55ca},
++      {"linux/uinput.h",      "UI_END_FF_ERASE",      0x55cb},
++      {"linux/videodev2.h",   "VIDIOC_QUERYCAP",      0x5600},
++      {"linux/vt.h",  "VT_OPENQRY",   0x5600},
++      {"linux/videodev2.h",   "VIDIOC_RESERVED",      0x5601},
++      {"linux/vt.h",  "VT_GETMODE",   0x5601},
++      {"linux/videodev2.h",   "VIDIOC_ENUM_FMT",      0x5602},
++      {"linux/vt.h",  "VT_SETMODE",   0x5602},
++      {"linux/vt.h",  "VT_GETSTATE",  0x5603},
++      {"linux/videodev2.h",   "VIDIOC_G_FMT", 0x5604},
++      {"linux/vt.h",  "VT_SENDSIG",   0x5604},
++      {"linux/videodev2.h",   "VIDIOC_S_FMT", 0x5605},
++      {"linux/vt.h",  "VT_RELDISP",   0x5605},
++      {"linux/vt.h",  "VT_ACTIVATE",  0x5606},
++      {"linux/vt.h",  "VT_WAITACTIVE",        0x5607},
++      {"linux/videodev2.h",   "VIDIOC_REQBUFS",       0x5608},
++      {"linux/vt.h",  "VT_DISALLOCATE",       0x5608},
++      {"linux/videodev2.h",   "VIDIOC_QUERYBUF",      0x5609},
++      {"linux/vt.h",  "VT_RESIZE",    0x5609},
++      {"linux/videodev2.h",   "VIDIOC_G_FBUF",        0x560a},
++      {"linux/vt.h",  "VT_RESIZEX",   0x560a},
++      {"linux/videodev2.h",   "VIDIOC_S_FBUF",        0x560b},
++      {"linux/vt.h",  "VT_LOCKSWITCH",        0x560b},
++      {"linux/vt.h",  "VT_UNLOCKSWITCH",      0x560c},
++      {"linux/vt.h",  "VT_GETHIFONTMASK",     0x560d},
++      {"linux/videodev2.h",   "VIDIOC_OVERLAY",       0x560e},
++      {"linux/videodev2.h",   "VIDIOC_OVERLAY_OLD",   0x560e},
++      {"linux/videodev2.h",   "VIDIOC_QBUF",  0x560f},
++      {"linux/videodev2.h",   "VIDIOC_DQBUF", 0x5611},
++      {"linux/videodev2.h",   "VIDIOC_STREAMON",      0x5612},
++      {"linux/videodev2.h",   "VIDIOC_STREAMOFF",     0x5613},
++      {"linux/videodev2.h",   "VIDIOC_G_PARM",        0x5615},
++      {"linux/videodev2.h",   "VIDIOC_S_PARM",        0x5616},
++      {"linux/videodev2.h",   "VIDIOC_S_PARM_OLD",    0x5616},
++      {"linux/videodev2.h",   "VIDIOC_G_STD", 0x5617},
++      {"linux/videodev2.h",   "VIDIOC_S_STD", 0x5618},
++      {"linux/videodev2.h",   "VIDIOC_ENUMSTD",       0x5619},
++      {"linux/videodev2.h",   "VIDIOC_ENUMINPUT",     0x561a},
++      {"linux/videodev2.h",   "VIDIOC_G_CTRL",        0x561b},
++      {"linux/videodev2.h",   "VIDIOC_S_CTRL",        0x561c},
++      {"linux/videodev2.h",   "VIDIOC_S_CTRL_OLD",    0x561c},
++      {"linux/videodev2.h",   "VIDIOC_G_TUNER",       0x561d},
++      {"linux/videodev2.h",   "VIDIOC_S_TUNER",       0x561e},
++      {"linux/videodev2.h",   "VIDIOC_G_AUDIO",       0x5621},
++      {"linux/videodev2.h",   "VIDIOC_G_AUDIO_OLD",   0x5621},
++      {"linux/videodev2.h",   "VIDIOC_S_AUDIO",       0x5622},
++      {"linux/videodev2.h",   "VIDIOC_QUERYCTRL",     0x5624},
++      {"linux/videodev2.h",   "VIDIOC_QUERYMENU",     0x5625},
++      {"linux/videodev2.h",   "VIDIOC_G_INPUT",       0x5626},
++      {"linux/videodev2.h",   "VIDIOC_S_INPUT",       0x5627},
++      {"linux/videodev2.h",   "VIDIOC_G_OUTPUT",      0x562e},
++      {"linux/videodev2.h",   "VIDIOC_S_OUTPUT",      0x562f},
++      {"linux/videodev2.h",   "VIDIOC_ENUMOUTPUT",    0x5630},
++      {"linux/videodev2.h",   "VIDIOC_G_AUDOUT",      0x5631},
++      {"linux/videodev2.h",   "VIDIOC_G_AUDOUT_OLD",  0x5631},
++      {"linux/videodev2.h",   "VIDIOC_S_AUDOUT",      0x5632},
++      {"linux/videodev2.h",   "VIDIOC_G_MODULATOR",   0x5636},
++      {"linux/videodev2.h",   "VIDIOC_S_MODULATOR",   0x5637},
++      {"linux/videodev2.h",   "VIDIOC_G_FREQUENCY",   0x5638},
++      {"linux/videodev2.h",   "VIDIOC_S_FREQUENCY",   0x5639},
++      {"linux/videodev2.h",   "VIDIOC_CROPCAP",       0x563a},
++      {"linux/videodev2.h",   "VIDIOC_CROPCAP_OLD",   0x563a},
++      {"linux/videodev2.h",   "VIDIOC_G_CROP",        0x563b},
++      {"linux/videodev2.h",   "VIDIOC_S_CROP",        0x563c},
++      {"linux/videodev2.h",   "VIDIOC_G_JPEGCOMP",    0x563d},
++      {"linux/videodev2.h",   "VIDIOC_S_JPEGCOMP",    0x563e},
++      {"linux/videodev2.h",   "VIDIOC_QUERYSTD",      0x563f},
++      {"linux/videodev2.h",   "VIDIOC_TRY_FMT",       0x5640},
++      {"linux/videodev2.h",   "VIDIOC_ENUMAUDIO",     0x5641},
++      {"linux/videodev2.h",   "VIDIOC_ENUMAUDOUT",    0x5642},
++      {"linux/videodev2.h",   "VIDIOC_G_PRIORITY",    0x5643},
++      {"linux/videodev2.h",   "VIDIOC_S_PRIORITY",    0x5644},
++      {"linux/videodev2.h",   "VIDIOC_G_SLICED_VBI_CAP",      0x5645},
++      {"linux/videodev2.h",   "VIDIOC_LOG_STATUS",    0x5646},
++      {"linux/videodev2.h",   "VIDIOC_G_EXT_CTRLS",   0x5647},
++      {"linux/videodev2.h",   "VIDIOC_S_EXT_CTRLS",   0x5648},
++      {"linux/videodev2.h",   "VIDIOC_TRY_EXT_CTRLS", 0x5649},
++      {"linux/videodev2.h",   "VIDIOC_ENUM_FRAMESIZES",       0x564a},
++      {"linux/videodev2.h",   "VIDIOC_ENUM_FRAMEINTERVALS",   0x564b},
++      {"linux/videodev2.h",   "VIDIOC_G_ENC_INDEX",   0x564c},
++      {"linux/videodev2.h",   "VIDIOC_ENCODER_CMD",   0x564d},
++      {"linux/videodev2.h",   "VIDIOC_TRY_ENCODER_CMD",       0x564e},
++      {"linux/videodev2.h",   "VIDIOC_DBG_S_REGISTER",        0x564f},
++      {"linux/videodev2.h",   "VIDIOC_DBG_G_REGISTER",        0x5650},
++      {"linux/videodev2.h",   "VIDIOC_G_CHIP_IDENT",  0x5651},
++      {"linux/ivtvfb.h",      "IVTVFB_IOC_DMA_FRAME", 0x56c0},
++      {"linux/ivtv.h",        "IVTV_IOC_DMA_FRAME",   0x56c0},
++      {"linux/watchdog.h",    "WDIOC_GETSUPPORT",     0x5700},
++      {"linux/watchdog.h",    "WDIOC_GETSTATUS",      0x5701},
++      {"linux/watchdog.h",    "WDIOC_GETBOOTSTATUS",  0x5702},
++      {"linux/watchdog.h",    "WDIOC_GETTEMP",        0x5703},
++      {"linux/watchdog.h",    "WDIOC_SETOPTIONS",     0x5704},
++      {"linux/watchdog.h",    "WDIOC_KEEPALIVE",      0x5705},
++      {"linux/watchdog.h",    "WDIOC_SETTIMEOUT",     0x5706},
++      {"linux/watchdog.h",    "WDIOC_GETTIMEOUT",     0x5707},
++      {"linux/watchdog.h",    "WDIOC_SETPRETIMEOUT",  0x5708},
++      {"linux/watchdog.h",    "WDIOC_GETPRETIMEOUT",  0x5709},
++      {"linux/watchdog.h",    "WDIOC_GETTIMELEFT",    0x570a},
++      {"linux/pktcdvd.h",     "PACKET_CTRL_CMD",      0x5801},
++      {"linux/sonet.h",       "SONET_GETSTAT",        0x6110},
++      {"linux/sonet.h",       "SONET_GETSTATZ",       0x6111},
++      {"linux/sonet.h",       "SONET_SETDIAG",        0x6112},
++      {"linux/sonet.h",       "SONET_CLRDIAG",        0x6113},
++      {"linux/sonet.h",       "SONET_GETDIAG",        0x6114},
++      {"linux/sonet.h",       "SONET_SETFRAMING",     0x6115},
++      {"linux/sonet.h",       "SONET_GETFRAMING",     0x6116},
++      {"linux/sonet.h",       "SONET_GETFRSENSE",     0x6117},
++      {"linux/atm_idt77105.h",        "IDT77105_GETSTAT",     0x6132},
++      {"linux/atm_idt77105.h",        "IDT77105_GETSTATZ",    0x6133},
++      {"linux/atmdev.h",      "ATM_GETSTAT",  0x6150},
++      {"linux/atmdev.h",      "ATM_GETSTATZ", 0x6151},
++      {"linux/atmdev.h",      "ATM_GETLOOP",  0x6152},
++      {"linux/atmdev.h",      "ATM_SETLOOP",  0x6153},
++      {"linux/atmdev.h",      "ATM_QUERYLOOP",        0x6154},
++      {"linux/atm_eni.h",     "ENI_MEMDUMP",  0x6160},
++      {"linux/atm_he.h",      "HE_GET_REG",   0x6160},
++      {"linux/atm_nicstar.h", "NS_GETPSTAT",  0x6161},
++      {"linux/atm_zatm.h",    "ZATM_GETPOOL", 0x6161},
++      {"linux/atm_nicstar.h", "NS_SETBUFLEV", 0x6162},
++      {"linux/atm_zatm.h",    "ZATM_GETPOOLZ",        0x6162},
++      {"linux/atm_nicstar.h", "NS_ADJBUFLEV", 0x6163},
++      {"linux/atm_zatm.h",    "ZATM_SETPOOL", 0x6163},
++      {"linux/atm_eni.h",     "ENI_SETMULT",  0x6167},
++      {"linux/atm_tcp.h",     "SIOCSIFATMTCP",        0x6180},
++      {"linux/atmdev.h",      "ATM_GETLINKRATE",      0x6181},
++      {"linux/atmdev.h",      "ATM_GETNAMES", 0x6183},
++      {"linux/atmdev.h",      "ATM_GETTYPE",  0x6184},
++      {"linux/atmdev.h",      "ATM_GETESI",   0x6185},
++      {"linux/atmdev.h",      "ATM_GETADDR",  0x6186},
++      {"linux/atmdev.h",      "ATM_RSTADDR",  0x6187},
++      {"linux/atmdev.h",      "ATM_ADDADDR",  0x6188},
++      {"linux/atmdev.h",      "ATM_DELADDR",  0x6189},
++      {"linux/atmdev.h",      "ATM_GETCIRANGE",       0x618a},
++      {"linux/atmdev.h",      "ATM_SETCIRANGE",       0x618b},
++      {"linux/atmdev.h",      "ATM_SETESI",   0x618c},
++      {"linux/atmdev.h",      "ATM_SETESIF",  0x618d},
++      {"linux/atm_tcp.h",     "ATMTCP_CREATE",        0x618e},
++      {"linux/atmdev.h",      "ATM_ADDLECSADDR",      0x618e},
++      {"linux/atm_tcp.h",     "ATMTCP_REMOVE",        0x618f},
++      {"linux/atmdev.h",      "ATM_DELLECSADDR",      0x618f},
++      {"linux/atmdev.h",      "ATM_GETLECSADDR",      0x6190},
++      {"linux/atmbr2684.h",   "BR2684_SETFILT",       0x6190},
++      {"linux/atmlec.h",      "ATMLEC_CTRL",  0x61d0},
++      {"linux/atmlec.h",      "ATMLEC_DATA",  0x61d1},
++      {"linux/atmlec.h",      "ATMLEC_MCAST", 0x61d2},
++      {"linux/atmmpc.h",      "ATMMPC_CTRL",  0x61d8},
++      {"linux/atmmpc.h",      "ATMMPC_DATA",  0x61d9},
++      {"linux/atmclip.h",     "SIOCMKCLIP",   0x61e0},
++      {"linux/atmarp.h",      "ATMARPD_CTRL", 0x61e1},
++      {"linux/atmarp.h",      "ATMARP_MKIP",  0x61e2},
++      {"linux/atmarp.h",      "ATMARP_SETENTRY",      0x61e3},
++      {"linux/atmarp.h",      "ATMARP_ENCAP", 0x61e5},
++      {"linux/atmsvc.h",      "ATMSIGD_CTRL", 0x61f0},
++      {"linux/atmdev.h",      "ATM_SETSC",    0x61f1},
++      {"linux/atmdev.h",      "ATM_SETBACKEND",       0x61f2},
++      {"linux/atmdev.h",      "ATM_NEWBACKENDIF",     0x61f3},
++      {"linux/atmdev.h",      "ATM_ADDPARTY", 0x61f4},
++      {"linux/atmdev.h",      "ATM_DROPPARTY",        0x61f5},
++      {"linux/cm4000_cs.h",   "CM_IOCGSTATUS",        0x6300},
++      {"linux/chio.h",        "CHIOMOVE",     0x6301},
++      {"linux/cm4000_cs.h",   "CM_IOCGATR",   0x6301},
++      {"linux/chio.h",        "CHIOEXCHANGE", 0x6302},
++      {"linux/cm4000_cs.h",   "CM_IOCSPTS",   0x6302},
++      {"linux/chio.h",        "CHIOPOSITION", 0x6303},
++      {"linux/cm4000_cs.h",   "CM_IOCSRDR",   0x6303},
++      {"linux/chio.h",        "CHIOGPICKER",  0x6304},
++      {"linux/cm4000_cs.h",   "CM_IOCARDOFF", 0x6304},
++      {"linux/chio.h",        "CHIOSPICKER",  0x6305},
++      {"linux/chio.h",        "CHIOGPARAMS",  0x6306},
++      {"linux/chio.h",        "CHIOGSTATUS",  0x6308},
++      {"linux/coda.h",        "CIOC_KERNEL_VERSION",  0x630a},
++      {"linux/chio.h",        "CHIOGELEM",    0x6310},
++      {"linux/chio.h",        "CHIOINITELEM", 0x6311},
++      {"linux/chio.h",        "CHIOSVOLTAG",  0x6312},
++      {"linux/chio.h",        "CHIOGVPARAMS", 0x6313},
++      {"linux/comstats.h",    "COM_GETPORTSTATS",     0x631e},
++      {"linux/comstats.h",    "COM_CLRPORTSTATS",     0x631f},
++      {"linux/comstats.h",    "COM_GETBRDSTATS",      0x6320},
++      {"linux/comstats.h",    "COM_READPORT", 0x6328},
++      {"linux/comstats.h",    "COM_READBOARD",        0x6329},
++      {"linux/comstats.h",    "COM_READPANEL",        0x632a},
++      {"linux/cm4000_cs.h",   "CM_IOSDBGLVL", 0x63fa},
++      {"linux/video_decoder.h",       "DECODER_GET_CAPABILITIES",     0x6401},
++      {"linux/video_decoder.h",       "DECODER_GET_STATUS",   0x6402},
++      {"pcmcia/ds.h", "DS_ADJUST_RESOURCE_INFO",      0x6402},
++      {"linux/video_decoder.h",       "DECODER_SET_NORM",     0x6403},
++      {"pcmcia/ds.h", "DS_GET_CONFIGURATION_INFO",    0x6403},
++      {"linux/video_decoder.h",       "DECODER_SET_INPUT",    0x6404},
++      {"pcmcia/ds.h", "DS_GET_FIRST_TUPLE",   0x6404},
++      {"linux/video_decoder.h",       "DECODER_SET_OUTPUT",   0x6405},
++      {"pcmcia/ds.h", "DS_GET_NEXT_TUPLE",    0x6405},
++      {"linux/video_decoder.h",       "DECODER_ENABLE_OUTPUT",        0x6406},
++      {"pcmcia/ds.h", "DS_GET_TUPLE_DATA",    0x6406},
++      {"linux/video_decoder.h",       "DECODER_SET_PICTURE",  0x6407},
++      {"pcmcia/ds.h", "DS_PARSE_TUPLE",       0x6407},
++      {"linux/video_decoder.h",       "DECODER_SET_GPIO",     0x6408},
++      {"pcmcia/ds.h", "DS_RESET_CARD",        0x6408},
++      {"linux/video_decoder.h",       "DECODER_INIT", 0x6409},
++      {"pcmcia/ds.h", "DS_GET_STATUS",        0x6409},
++      {"linux/video_decoder.h",       "DECODER_SET_VBI_BYPASS",       0x640a},
++      {"pcmcia/ds.h", "DS_ACCESS_CONFIGURATION_REGISTER",     0x640a},
++      {"pcmcia/ds.h", "DS_VALIDATE_CIS",      0x640b},
++      {"pcmcia/ds.h", "DS_SUSPEND_CARD",      0x640c},
++      {"pcmcia/ds.h", "DS_RESUME_CARD",       0x640d},
++      {"pcmcia/ds.h", "DS_EJECT_CARD",        0x640e},
++      {"pcmcia/ds.h", "DS_INSERT_CARD",       0x640f},
++      {"pcmcia/ds.h", "DS_GET_FIRST_REGION",  0x6410},
++      {"pcmcia/ds.h", "DS_GET_NEXT_REGION",   0x6411},
++      {"pcmcia/ds.h", "DS_REPLACE_CIS",       0x6412},
++      {"pcmcia/ds.h", "DS_GET_FIRST_WINDOW",  0x6413},
++      {"pcmcia/ds.h", "DS_GET_NEXT_WINDOW",   0x6414},
++      {"pcmcia/ds.h", "DS_GET_MEM_PAGE",      0x6415},
++      {"pcmcia/ds.h", "DS_BIND_REQUEST",      0x643c},
++      {"pcmcia/ds.h", "DS_GET_DEVICE_INFO",   0x643d},
++      {"pcmcia/ds.h", "DS_GET_NEXT_DEVICE",   0x643e},
++      {"pcmcia/ds.h", "DS_UNBIND_REQUEST",    0x643f},
++      {"pcmcia/ds.h", "DS_BIND_MTD",  0x6440},
++      {"media/v4l2-common.h", "AUDC_SET_RADIO",       0x6458},
++      {"media/v4l2-common.h", "TUNER_SET_TYPE_ADDR",  0x645a},
++      {"media/v4l2-common.h", "TUNER_SET_STANDBY",    0x645b},
++      {"media/v4l2-common.h", "TUNER_SET_CONFIG",     0x645c},
++      {"media/v4l2-common.h", "VIDIOC_INT_S_TUNER_MODE",      0x645d},
++      {"media/v4l2-common.h", "VIDIOC_INT_S_STANDBY", 0x645e},
++      {"media/v4l2-common.h", "VIDIOC_INT_RESET",     0x6466},
++      {"media/v4l2-common.h", "VIDIOC_INT_AUDIO_CLOCK_FREQ",  0x6467},
++      {"media/v4l2-common.h", "VIDIOC_INT_DECODE_VBI_LINE",   0x6468},
++      {"media/v4l2-common.h", "VIDIOC_INT_S_VBI_DATA",        0x6469},
++      {"media/v4l2-common.h", "VIDIOC_INT_G_VBI_DATA",        0x646a},
++      {"media/v4l2-common.h", "VIDIOC_INT_I2S_CLOCK_FREQ",    0x646c},
++      {"media/v4l2-common.h", "VIDIOC_INT_S_AUDIO_ROUTING",   0x646d},
++      {"media/v4l2-common.h", "VIDIOC_INT_G_AUDIO_ROUTING",   0x646e},
++      {"media/v4l2-common.h", "VIDIOC_INT_S_VIDEO_ROUTING",   0x646f},
++      {"media/v4l2-common.h", "VIDIOC_INT_G_VIDEO_ROUTING",   0x6470},
++      {"media/v4l2-common.h", "VIDIOC_INT_S_CRYSTAL_FREQ",    0x6471},
++      {"media/v4l2-common.h", "VIDIOC_INT_INIT",      0x6472},
++      {"media/v4l2-common.h", "VIDIOC_INT_S_STD_OUTPUT",      0x6473},
++      {"media/v4l2-common.h", "VIDIOC_INT_G_STD_OUTPUT",      0x6474},
++      {"linux/video_decoder.h",       "DECODER_DUMP", 0x64c0},
++      {"linux/video_encoder.h",       "ENCODER_GET_CAPABILITIES",     0x6501},
++      {"linux/video_encoder.h",       "ENCODER_SET_NORM",     0x6502},
++      {"linux/video_encoder.h",       "ENCODER_SET_INPUT",    0x6503},
++      {"linux/video_encoder.h",       "ENCODER_SET_OUTPUT",   0x6504},
++      {"linux/video_encoder.h",       "ENCODER_ENABLE_OUTPUT",        0x6505},
++      {"linux/fs.h",  "FS_IOC32_GETFLAGS",    0x6601},
++      {"linux/fs.h",  "FS_IOC_GETFLAGS",      0x6601},
++      {"linux/fs.h",  "FS_IOC32_SETFLAGS",    0x6602},
++      {"linux/fs.h",  "FS_IOC_SETFLAGS",      0x6602},
++      {"linux/ext3_fs.h",     "EXT3_IOC32_GETVERSION",        0x6603},
++      {"linux/ext3_fs.h",     "EXT3_IOC_GETVERSION",  0x6603},
++      {"linux/ext3_fs.h",     "EXT3_IOC32_SETVERSION",        0x6604},
++      {"linux/ext3_fs.h",     "EXT3_IOC_SETVERSION",  0x6604},
++      {"linux/ext2_fs.h",     "EXT2_IOC_GETRSVSZ",    0x6605},
++      {"linux/ext3_fs.h",     "EXT3_IOC32_GETRSVSZ",  0x6605},
++      {"linux/ext3_fs.h",     "EXT3_IOC_GETRSVSZ",    0x6605},
++      {"linux/ext2_fs.h",     "EXT2_IOC_SETRSVSZ",    0x6606},
++      {"linux/ext3_fs.h",     "EXT3_IOC32_SETRSVSZ",  0x6606},
++      {"linux/ext3_fs.h",     "EXT3_IOC_SETRSVSZ",    0x6606},
++      {"linux/ext3_fs.h",     "EXT3_IOC32_GROUP_EXTEND",      0x6607},
++      {"linux/ext3_fs.h",     "EXT3_IOC_GROUP_EXTEND",        0x6607},
++      {"linux/ext3_fs.h",     "EXT3_IOC_GROUP_ADD",   0x6608},
++      {"linux/ext3_fs.h",     "EXT3_IOC32_WAIT_FOR_READONLY", 0x6663},
++      {"linux/ext3_fs.h",     "EXT3_IOC_WAIT_FOR_READONLY",   0x6663},
++      {"linux/usb/gadgetfs.h",        "GADGETFS_FIFO_STATUS", 0x6701},
++      {"linux/usb/gadgetfs.h",        "GADGETFS_FIFO_FLUSH",  0x6702},
++      {"linux/usb/gadgetfs.h",        "GADGETFS_CLEAR_HALT",  0x6703},
++      {"linux/usb/g_printer.h",       "GADGET_GET_PRINTER_STATUS",    0x6721},
++      {"linux/usb/g_printer.h",       "GADGET_SET_PRINTER_STATUS",    0x6722},
++      {"linux/hpet.h",        "HPET_IE_ON",   0x6801},
++      {"linux/hpet.h",        "HPET_IE_OFF",  0x6802},
++      {"linux/hpet.h",        "HPET_INFO",    0x6803},
++      {"linux/hpet.h",        "HPET_EPI",     0x6804},
++      {"linux/hpet.h",        "HPET_DPI",     0x6805},
++      {"linux/hpet.h",        "HPET_IRQFREQ", 0x6806},
++      {"linux/i2o-dev.h",     "I2OGETIOPS",   0x6900},
++      {"linux/i2o-dev.h",     "I2OHRTGET",    0x6901},
++      {"linux/i2o-dev.h",     "I2OLCTGET",    0x6902},
++      {"linux/i2o-dev.h",     "I2OPARMSET",   0x6903},
++      {"linux/i2o-dev.h",     "I2OPARMGET",   0x6904},
++      {"linux/i2o-dev.h",     "I2OSWDL",      0x6905},
++      {"linux/i2o-dev.h",     "I2OSWUL",      0x6906},
++      {"linux/i2o-dev.h",     "I2OSWDEL",     0x6907},
++      {"linux/i2o-dev.h",     "I2OVALIDATE",  0x6908},
++      {"linux/i2o-dev.h",     "I2OHTML",      0x6909},
++      {"linux/i2o-dev.h",     "I2OEVTREG",    0x690a},
++      {"linux/i2o-dev.h",     "I2OEVTGET",    0x690b},
++      {"linux/ipmi.h",        "IPMICTL_RECEIVE_MSG_TRUNC",    0x690b},
++      {"linux/i2o-dev.h",     "I2OPASSTHRU",  0x690c},
++      {"linux/i2o-dev.h",     "I2OPASSTHRU32",        0x690c},
++      {"linux/ipmi.h",        "IPMICTL_RECEIVE_MSG",  0x690c},
++      {"linux/ipmi.h",        "IPMICTL_SEND_COMMAND", 0x690d},
++      {"linux/ipmi.h",        "IPMICTL_REGISTER_FOR_CMD",     0x690e},
++      {"linux/ipmi.h",        "IPMICTL_UNREGISTER_FOR_CMD",   0x690f},
++      {"linux/ipmi.h",        "IPMICTL_SET_GETS_EVENTS_CMD",  0x6910},
++      {"linux/ipmi.h",        "IPMICTL_SET_MY_ADDRESS_CMD",   0x6911},
++      {"linux/ipmi.h",        "IPMICTL_GET_MY_ADDRESS_CMD",   0x6912},
++      {"linux/ipmi.h",        "IPMICTL_SET_MY_LUN_CMD",       0x6913},
++      {"linux/ipmi.h",        "IPMICTL_GET_MY_LUN_CMD",       0x6914},
++      {"linux/ipmi.h",        "IPMICTL_SEND_COMMAND_SETTIME", 0x6915},
++      {"linux/ipmi.h",        "IPMICTL_SET_TIMING_PARMS_CMD", 0x6916},
++      {"linux/ipmi.h",        "IPMICTL_GET_TIMING_PARMS_CMD", 0x6917},
++      {"linux/ipmi.h",        "IPMICTL_SET_MY_CHANNEL_ADDRESS_CMD",   0x6918},
++      {"linux/ipmi.h",        "IPMICTL_GET_MY_CHANNEL_ADDRESS_CMD",   0x6919},
++      {"linux/ipmi.h",        "IPMICTL_SET_MY_CHANNEL_LUN_CMD",       0x691a},
++      {"linux/ipmi.h",        "IPMICTL_GET_MY_CHANNEL_LUN_CMD",       0x691b},
++      {"linux/ipmi.h",        "IPMICTL_REGISTER_FOR_CMD_CHANS",       0x691c},
++      {"linux/ipmi.h",        "IPMICTL_UNREGISTER_FOR_CMD_CHANS",     0x691d},
++      {"linux/ipmi.h",        "IPMICTL_GET_MAINTENANCE_MODE_CMD",     0x691e},
++      {"linux/ipmi.h",        "IPMICTL_SET_MAINTENANCE_MODE_CMD",     0x691f},
++      {"linux/i8k.h", "I8K_BIOS_VERSION",     0x6980},
++      {"linux/i8k.h", "I8K_MACHINE_ID",       0x6981},
++      {"linux/i8k.h", "I8K_POWER_STATUS",     0x6982},
++      {"linux/i8k.h", "I8K_FN_STATUS",        0x6983},
++      {"linux/i8k.h", "I8K_GET_TEMP", 0x6984},
++      {"linux/i8k.h", "I8K_GET_SPEED",        0x6985},
++      {"linux/i8k.h", "I8K_GET_FAN",  0x6986},
++      {"linux/i8k.h", "I8K_SET_FAN",  0x6987},
++      {"linux/joystick.h",    "JSIOCGVERSION",        0x6a01},
++      {"linux/joystick.h",    "JSIOCGAXES",   0x6a11},
++      {"linux/joystick.h",    "JSIOCGBUTTONS",        0x6a12},
++      {"linux/joystick.h",    "JSIOCSCORR",   0x6a21},
++      {"linux/joystick.h",    "JSIOCGCORR",   0x6a22},
++      {"linux/joystick.h",    "JSIOCSAXMAP",  0x6a31},
++      {"linux/joystick.h",    "JSIOCGAXMAP",  0x6a32},
++      {"linux/joystick.h",    "JSIOCSBTNMAP", 0x6a33},
++      {"linux/joystick.h",    "JSIOCGBTNMAP", 0x6a34},
++      {"video/kyro.h",        "KYRO_IOCTL_OVERLAY_CREATE",    0x6b00},
++      {"video/kyro.h",        "KYRO_IOCTL_OVERLAY_VIEWPORT_SET",      0x6b01},
++      {"linux/spi/spidev.h",  "SPI_IOC_RD_MODE",      0x6b01},
++      {"linux/spi/spidev.h",  "SPI_IOC_WR_MODE",      0x6b01},
++      {"video/kyro.h",        "KYRO_IOCTL_SET_VIDEO_MODE",    0x6b02},
++      {"linux/spi/spidev.h",  "SPI_IOC_RD_LSB_FIRST", 0x6b02},
++      {"linux/spi/spidev.h",  "SPI_IOC_WR_LSB_FIRST", 0x6b02},
++      {"video/kyro.h",        "KYRO_IOCTL_UVSTRIDE",  0x6b03},
++      {"linux/spi/spidev.h",  "SPI_IOC_RD_BITS_PER_WORD",     0x6b03},
++      {"linux/spi/spidev.h",  "SPI_IOC_WR_BITS_PER_WORD",     0x6b03},
++      {"video/kyro.h",        "KYRO_IOCTL_OVERLAY_OFFSET",    0x6b04},
++      {"linux/spi/spidev.h",  "SPI_IOC_RD_MAX_SPEED_HZ",      0x6b04},
++      {"linux/spi/spidev.h",  "SPI_IOC_WR_MAX_SPEED_HZ",      0x6b04},
++      {"video/kyro.h",        "KYRO_IOCTL_STRIDE",    0x6b05},
++      {"linux/udf_fs_i.h",    "UDF_GETEASIZE",        0x6c40},
++      {"linux/udf_fs_i.h",    "UDF_GETEABLOCK",       0x6c41},
++      {"linux/udf_fs_i.h",    "UDF_GETVOLIDENT",      0x6c42},
++      {"linux/udf_fs_i.h",    "UDF_RELOCATE_BLOCKS",  0x6c43},
++      {"linux/synclink.h",    "MGSL_IOCSPARAMS",      0x6d00},
++      {"linux/synclink.h",    "MGSL_IOCSPARAMS32",    0x6d00},
++      {"linux/mmtimer.h",     "MMTIMER_GETOFFSET",    0x6d00},
++      {"linux/soundcard.h",   "SNDCTL_MIDI_PRETIME",  0x6d00},
++      {"linux/synclink.h",    "MGSL_IOCGPARAMS",      0x6d01},
++      {"linux/synclink.h",    "MGSL_IOCGPARAMS32",    0x6d01},
++      {"linux/mmtimer.h",     "MMTIMER_GETRES",       0x6d01},
++      {"linux/mtio.h",        "MTIOCTOP",     0x6d01},
++      {"linux/soundcard.h",   "SNDCTL_MIDI_MPUMODE",  0x6d01},
++      {"linux/synclink.h",    "MGSL_IOCSTXIDLE",      0x6d02},
++      {"linux/mmtimer.h",     "MMTIMER_GETFREQ",      0x6d02},
++      {"linux/mtio.h",        "MTIOCGET",     0x6d02},
++      {"linux/soundcard.h",   "SNDCTL_MIDI_MPUCMD",   0x6d02},
++      {"linux/synclink.h",    "MGSL_IOCGTXIDLE",      0x6d03},
++      {"linux/mtio.h",        "MTIOCPOS",     0x6d03},
++      {"linux/synclink.h",    "MGSL_IOCTXENABLE",     0x6d04},
++      {"linux/mmtimer.h",     "MMTIMER_GETBITS",      0x6d04},
++      {"linux/mtio.h",        "MTIOCGETCONFIG",       0x6d04},
++      {"linux/synclink.h",    "MGSL_IOCRXENABLE",     0x6d05},
++      {"linux/mtio.h",        "MTIOCSETCONFIG",       0x6d05},
++      {"linux/synclink.h",    "MGSL_IOCTXABORT",      0x6d06},
++      {"linux/mmtimer.h",     "MMTIMER_MMAPAVAIL",    0x6d06},
++      {"linux/mtio.h",        "MTIOCRDFTSEG", 0x6d06},
++      {"linux/synclink.h",    "MGSL_IOCGSTATS",       0x6d07},
++      {"linux/mtio.h",        "MTIOCWRFTSEG", 0x6d07},
++      {"linux/synclink.h",    "MGSL_IOCWAITEVENT",    0x6d08},
++      {"linux/mtio.h",        "MTIOCVOLINFO", 0x6d08},
++      {"linux/synclink.h",    "MGSL_IOCLOOPTXDONE",   0x6d09},
++      {"linux/mmtimer.h",     "MMTIMER_GETCOUNTER",   0x6d09},
++      {"linux/mtio.h",        "MTIOCGETSIZE", 0x6d09},
++      {"linux/synclink.h",    "MGSL_IOCSIF",  0x6d0a},
++      {"linux/mtio.h",        "MTIOCFTFORMAT",        0x6d0a},
++      {"linux/synclink.h",    "MGSL_IOCGIF",  0x6d0b},
++      {"linux/mtio.h",        "MTIOCFTCMD",   0x6d0b},
++      {"linux/synclink.h",    "MGSL_IOCCLRMODCOUNT",  0x6d0f},
++      {"linux/synclink.h",    "MGSL_IOCSGPIO",        0x6d10},
++      {"linux/synclink.h",    "MGSL_IOCGGPIO",        0x6d11},
++      {"linux/synclink.h",    "MGSL_IOCWAITGPIO",     0x6d12},
++      {"linux/zftape.h",      "MTIOC_ZFTAPE_GETBLKSZ",        0x6d68},
++      {"linux/ncp_fs.h",      "NCP_IOC_NCPREQUEST",   0x6e01},
++      {"linux/ncp_fs.h",      "NCP_IOC_GETMOUNTUID",  0x6e02},
++      {"linux/ncp_fs.h",      "NCP_IOC_GETMOUNTUID2", 0x6e02},
++      {"linux/ncp_fs.h",      "NCP_IOC_CONN_LOGGED_IN",       0x6e03},
++      {"linux/ncp_fs.h",      "NCP_IOC_GET_FS_INFO",  0x6e04},
++      {"linux/ncp_fs.h",      "NCP_IOC_GET_FS_INFO_V2",       0x6e04},
++      {"linux/ncp_fs.h",      "NCP_IOC_SIGN_INIT",    0x6e05},
++      {"linux/ncp_fs.h",      "NCP_IOC_SET_SIGN_WANTED",      0x6e06},
++      {"linux/ncp_fs.h",      "NCP_IOC_SIGN_WANTED",  0x6e06},
++      {"linux/ncp_fs.h",      "NCP_IOC_LOCKUNLOCK",   0x6e07},
++      {"linux/ncp_fs.h",      "NCP_IOC_GETROOT",      0x6e08},
++      {"linux/ncp_fs.h",      "NCP_IOC_SETROOT",      0x6e08},
++      {"linux/ncp_fs.h",      "NCP_IOC_GETOBJECTNAME",        0x6e09},
++      {"linux/ncp_fs.h",      "NCP_IOC_SETOBJECTNAME",        0x6e09},
++      {"linux/ncp_fs.h",      "NCP_IOC_GETPRIVATEDATA",       0x6e0a},
++      {"linux/ncp_fs.h",      "NCP_IOC_SETPRIVATEDATA",       0x6e0a},
++      {"linux/ncp_fs.h",      "NCP_IOC_GETCHARSETS",  0x6e0b},
++      {"linux/ncp_fs.h",      "NCP_IOC_SETCHARSETS",  0x6e0b},
++      {"linux/ncp_fs.h",      "NCP_IOC_GETDENTRYTTL", 0x6e0c},
++      {"linux/ncp_fs.h",      "NCP_IOC_SETDENTRYTTL", 0x6e0c},
++      {"linux/matroxfb.h",    "MATROXFB_GET_OUTPUT_CONNECTION",       0x6ef8},
++      {"linux/matroxfb.h",    "MATROXFB_SET_OUTPUT_CONNECTION",       0x6ef8},
++      {"video/sisfb.h",       "SISFB_GET_INFO_OLD",   0x6ef8},
++      {"linux/matroxfb.h",    "MATROXFB_GET_AVAILABLE_OUTPUTS",       0x6ef9},
++      {"video/sisfb.h",       "SISFB_GET_VBRSTATUS_OLD",      0x6ef9},
++      {"linux/matroxfb.h",    "MATROXFB_GET_OUTPUT_MODE",     0x6efa},
++      {"linux/matroxfb.h",    "MATROXFB_SET_OUTPUT_MODE",     0x6efa},
++      {"video/sisfb.h",       "SISFB_GET_AUTOMAXIMIZE_OLD",   0x6efa},
++      {"video/sisfb.h",       "SISFB_SET_AUTOMAXIMIZE_OLD",   0x6efa},
++      {"linux/matroxfb.h",    "MATROXFB_GET_ALL_OUTPUTS",     0x6efb},
++      {"mtd/ubi-user.h",      "UBI_IOCMKVOL", 0x6f00},
++      {"linux/dvb/audio.h",   "AUDIO_STOP",   0x6f01},
++      {"mtd/ubi-user.h",      "UBI_IOCRMVOL", 0x6f01},
++      {"linux/dvb/audio.h",   "AUDIO_PLAY",   0x6f02},
++      {"mtd/ubi-user.h",      "UBI_IOCRSVOL", 0x6f02},
++      {"linux/dvb/audio.h",   "AUDIO_PAUSE",  0x6f03},
++      {"linux/dvb/audio.h",   "AUDIO_CONTINUE",       0x6f04},
++      {"linux/dvb/audio.h",   "AUDIO_SELECT_SOURCE",  0x6f05},
++      {"linux/dvb/audio.h",   "AUDIO_SET_MUTE",       0x6f06},
++      {"linux/dvb/audio.h",   "AUDIO_SET_AV_SYNC",    0x6f07},
++      {"linux/dvb/audio.h",   "AUDIO_SET_BYPASS_MODE",        0x6f08},
++      {"linux/dvb/audio.h",   "AUDIO_CHANNEL_SELECT", 0x6f09},
++      {"linux/dvb/audio.h",   "AUDIO_GET_STATUS",     0x6f0a},
++      {"linux/dvb/audio.h",   "AUDIO_GET_CAPABILITIES",       0x6f0b},
++      {"linux/dvb/audio.h",   "AUDIO_CLEAR_BUFFER",   0x6f0c},
++      {"linux/dvb/audio.h",   "AUDIO_SET_ID", 0x6f0d},
++      {"linux/dvb/audio.h",   "AUDIO_SET_MIXER",      0x6f0e},
++      {"linux/dvb/audio.h",   "AUDIO_SET_STREAMTYPE", 0x6f0f},
++      {"linux/dvb/audio.h",   "AUDIO_SET_EXT_ID",     0x6f10},
++      {"linux/dvb/audio.h",   "AUDIO_SET_ATTRIBUTES", 0x6f11},
++      {"linux/dvb/audio.h",   "AUDIO_SET_KARAOKE",    0x6f12},
++      {"linux/dvb/audio.h",   "AUDIO_GET_PTS",        0x6f13},
++      {"linux/dvb/audio.h",   "AUDIO_BILINGUAL_CHANNEL_SELECT",       0x6f14},
++      {"linux/dvb/video.h",   "VIDEO_STOP",   0x6f15},
++      {"linux/dvb/video.h",   "VIDEO_PLAY",   0x6f16},
++      {"linux/dvb/video.h",   "VIDEO_FREEZE", 0x6f17},
++      {"linux/dvb/video.h",   "VIDEO_CONTINUE",       0x6f18},
++      {"linux/dvb/video.h",   "VIDEO_SELECT_SOURCE",  0x6f19},
++      {"linux/dvb/video.h",   "VIDEO_SET_BLANK",      0x6f1a},
++      {"linux/dvb/video.h",   "VIDEO_GET_STATUS",     0x6f1b},
++      {"linux/dvb/video.h",   "VIDEO_GET_EVENT",      0x6f1c},
++      {"linux/dvb/video.h",   "VIDEO_SET_DISPLAY_FORMAT",     0x6f1d},
++      {"linux/dvb/video.h",   "VIDEO_STILLPICTURE",   0x6f1e},
++      {"linux/dvb/video.h",   "VIDEO_FAST_FORWARD",   0x6f1f},
++      {"linux/dvb/video.h",   "VIDEO_SLOWMOTION",     0x6f20},
++      {"linux/dvb/video.h",   "VIDEO_GET_CAPABILITIES",       0x6f21},
++      {"linux/dvb/video.h",   "VIDEO_CLEAR_BUFFER",   0x6f22},
++      {"linux/dvb/video.h",   "VIDEO_SET_ID", 0x6f23},
++      {"linux/dvb/video.h",   "VIDEO_SET_STREAMTYPE", 0x6f24},
++      {"linux/dvb/video.h",   "VIDEO_SET_FORMAT",     0x6f25},
++      {"linux/dvb/video.h",   "VIDEO_SET_SYSTEM",     0x6f26},
++      {"linux/dvb/video.h",   "VIDEO_SET_HIGHLIGHT",  0x6f27},
++      {"linux/dvb/dmx.h",     "DMX_START",    0x6f29},
++      {"linux/dvb/dmx.h",     "DMX_STOP",     0x6f2a},
++      {"linux/dvb/dmx.h",     "DMX_SET_FILTER",       0x6f2b},
++      {"linux/dvb/dmx.h",     "DMX_SET_PES_FILTER",   0x6f2c},
++      {"linux/dvb/dmx.h",     "DMX_SET_BUFFER_SIZE",  0x6f2d},
++      {"linux/dvb/dmx.h",     "DMX_GET_PES_PIDS",     0x6f2f},
++      {"linux/dvb/dmx.h",     "DMX_GET_CAPS", 0x6f30},
++      {"linux/dvb/dmx.h",     "DMX_SET_SOURCE",       0x6f31},
++      {"linux/dvb/dmx.h",     "DMX_GET_STC",  0x6f32},
++      {"linux/dvb/video.h",   "VIDEO_SET_SPU",        0x6f32},
++      {"linux/dvb/video.h",   "VIDEO_SET_SPU_PALETTE",        0x6f33},
++      {"linux/dvb/net.h",     "NET_ADD_IF",   0x6f34},
++      {"linux/dvb/video.h",   "VIDEO_GET_NAVI",       0x6f34},
++      {"linux/dvb/net.h",     "NET_REMOVE_IF",        0x6f35},
++      {"linux/dvb/video.h",   "VIDEO_SET_ATTRIBUTES", 0x6f35},
++      {"linux/dvb/net.h",     "NET_GET_IF",   0x6f36},
++      {"linux/dvb/video.h",   "VIDEO_GET_SIZE",       0x6f37},
++      {"linux/dvb/video.h",   "VIDEO_GET_FRAME_RATE", 0x6f38},
++      {"linux/dvb/video.h",   "VIDEO_GET_PTS",        0x6f39},
++      {"linux/dvb/video.h",   "VIDEO_GET_FRAME_COUNT",        0x6f3a},
++      {"linux/dvb/video.h",   "VIDEO_COMMAND",        0x6f3b},
++      {"linux/dvb/video.h",   "VIDEO_TRY_COMMAND",    0x6f3c},
++      {"linux/dvb/frontend.h",        "FE_GET_INFO",  0x6f3d},
++      {"linux/dvb/frontend.h",        "FE_DISEQC_RESET_OVERLOAD",     0x6f3e},
++      {"linux/dvb/frontend.h",        "FE_DISEQC_SEND_MASTER_CMD",    0x6f3f},
++      {"linux/dvb/frontend.h",        "FE_DISEQC_RECV_SLAVE_REPLY",   0x6f40},
++      {"mtd/ubi-user.h",      "UBI_IOCATT",   0x6f40},
++      {"linux/dvb/frontend.h",        "FE_DISEQC_SEND_BURST", 0x6f41},
++      {"mtd/ubi-user.h",      "UBI_IOCDET",   0x6f41},
++      {"linux/dvb/frontend.h",        "FE_SET_TONE",  0x6f42},
++      {"linux/dvb/frontend.h",        "FE_SET_VOLTAGE",       0x6f43},
++      {"linux/dvb/frontend.h",        "FE_ENABLE_HIGH_LNB_VOLTAGE",   0x6f44},
++      {"linux/dvb/frontend.h",        "FE_READ_STATUS",       0x6f45},
++      {"linux/dvb/frontend.h",        "FE_READ_BER",  0x6f46},
++      {"linux/dvb/frontend.h",        "FE_READ_SIGNAL_STRENGTH",      0x6f47},
++      {"linux/dvb/frontend.h",        "FE_READ_SNR",  0x6f48},
++      {"linux/dvb/frontend.h",        "FE_READ_UNCORRECTED_BLOCKS",   0x6f49},
++      {"linux/dvb/frontend.h",        "FE_SET_FRONTEND",      0x6f4c},
++      {"linux/dvb/frontend.h",        "FE_GET_FRONTEND",      0x6f4d},
++      {"linux/dvb/frontend.h",        "FE_GET_EVENT", 0x6f4e},
++      {"linux/dvb/frontend.h",        "FE_DISHNETWORK_SEND_LEGACY_CMD",       0x6f50},
++      {"linux/dvb/frontend.h",        "FE_SET_FRONTEND_TUNE_MODE",    0x6f51},
++      {"linux/dvb/ca.h",      "CA_RESET",     0x6f80},
++      {"linux/dvb/ca.h",      "CA_GET_CAP",   0x6f81},
++      {"linux/dvb/ca.h",      "CA_GET_SLOT_INFO",     0x6f82},
++      {"linux/dvb/ca.h",      "CA_GET_DESCR_INFO",    0x6f83},
++      {"linux/dvb/ca.h",      "CA_GET_MSG",   0x6f84},
++      {"linux/dvb/ca.h",      "CA_SEND_MSG",  0x6f85},
++      {"linux/dvb/ca.h",      "CA_SET_DESCR", 0x6f86},
++      {"linux/dvb/ca.h",      "CA_SET_PID",   0x6f87},
++      {"linux/dvb/osd.h",     "OSD_SEND_CMD", 0x6fa0},
++      {"linux/dvb/osd.h",     "OSD_GET_CAPABILITY",   0x6fa1},
++      {"linux/phantom.h",     "PHN_GET_REG",  0x7000},
++      {"linux/phantom.h",     "PHN_SET_REG",  0x7001},
++      {"linux/rtc.h", "RTC_AIE_ON",   0x7001},
++      {"linux/phantom.h",     "PHN_GET_REGS", 0x7002},
++      {"linux/rtc.h", "RTC_AIE_OFF",  0x7002},
++      {"linux/phantom.h",     "PHN_SET_REGS", 0x7003},
++      {"linux/rtc.h", "RTC_UIE_ON",   0x7003},
++      {"linux/phantom.h",     "PHN_NOT_OH",   0x7004},
++      {"linux/rtc.h", "RTC_UIE_OFF",  0x7004},
++      {"linux/phantom.h",     "PHN_GETREG",   0x7005},
++      {"linux/rtc.h", "RTC_PIE_ON",   0x7005},
++      {"linux/phantom.h",     "PHN_SETREG",   0x7006},
++      {"linux/rtc.h", "RTC_PIE_OFF",  0x7006},
++      {"linux/phantom.h",     "PHN_GETREGS",  0x7007},
++      {"linux/rtc.h", "RTC_ALM_SET",  0x7007},
++      {"linux/phantom.h",     "PHN_SETREGS",  0x7008},
++      {"linux/rtc.h", "RTC_ALM_READ", 0x7008},
++      {"linux/rtc.h", "RTC_RD_TIME",  0x7009},
++      {"linux/rtc.h", "RTC_SET_TIME", 0x700a},
++      {"linux/rtc.h", "RTC_IRQP_READ",        0x700b},
++      {"linux/rtc.h", "RTC_IRQP_SET", 0x700c},
++      {"linux/rtc.h", "RTC_EPOCH_READ",       0x700d},
++      {"linux/rtc.h", "RTC_EPOCH_SET",        0x700e},
++      {"linux/rtc.h", "RTC_WIE_ON",   0x700f},
++      {"linux/rtc.h", "RTC_WKALM_SET",        0x700f},
++      {"linux/rtc.h", "RTC_WIE_OFF",  0x7010},
++      {"linux/rtc.h", "RTC_WKALM_RD", 0x7010},
++      {"linux/rtc.h", "RTC_PLL_GET",  0x7011},
++      {"linux/rtc.h", "RTC_PLL_SET",  0x7012},
++      {"linux/nvram.h",       "NVRAM_INIT",   0x7040},
++      {"linux/nvram.h",       "NVRAM_SETCKS", 0x7041},
++      {"linux/ppdev.h",       "PPSETMODE",    0x7080},
++      {"linux/ppdev.h",       "PPRSTATUS",    0x7081},
++      {"linux/ppdev.h",       "PPRCONTROL",   0x7083},
++      {"linux/ppdev.h",       "PPWCONTROL",   0x7084},
++      {"linux/ppdev.h",       "PPRDATA",      0x7085},
++      {"linux/ppdev.h",       "PPWDATA",      0x7086},
++      {"linux/ppdev.h",       "PPCLAIM",      0x708b},
++      {"linux/ppdev.h",       "PPRELEASE",    0x708c},
++      {"linux/ppdev.h",       "PPYIELD",      0x708d},
++      {"linux/ppdev.h",       "PPFCONTROL",   0x708e},
++      {"linux/ppdev.h",       "PPEXCL",       0x708f},
++      {"linux/ppdev.h",       "PPDATADIR",    0x7090},
++      {"linux/ppdev.h",       "PPNEGOT",      0x7091},
++      {"linux/ppdev.h",       "PPWCTLONIRQ",  0x7092},
++      {"linux/ppdev.h",       "PPCLRIRQ",     0x7093},
++      {"linux/ppdev.h",       "PPSETPHASE",   0x7094},
++      {"linux/ppdev.h",       "PPGETTIME",    0x7095},
++      {"linux/ppdev.h",       "PPSETTIME",    0x7096},
++      {"linux/ppdev.h",       "PPGETMODES",   0x7097},
++      {"linux/ppdev.h",       "PPGETMODE",    0x7098},
++      {"linux/ppdev.h",       "PPGETPHASE",   0x7099},
++      {"linux/ppdev.h",       "PPGETFLAGS",   0x709a},
++      {"linux/ppdev.h",       "PPSETFLAGS",   0x709b},
++      {"linux/ticable.h",     "IOCTL_TISER_DELAY",    0x70a0},
++      {"linux/ticable.h",     "IOCTL_TISER_TIMEOUT",  0x70a1},
++      {"linux/ticable.h",     "IOCTL_TIPAR_DELAY",    0x70a8},
++      {"linux/ticable.h",     "IOCTL_TIPAR_TIMEOUT",  0x70a9},
++      {"linux/serio.h",       "SPIOCSTYPE",   0x7101},
++      {"linux/videotext.h",   "VTXIOCGETINFO_OLD",    0x7101},
++      {"linux/videotext.h",   "VTXIOCCLRPAGE_OLD",    0x7102},
++      {"linux/videotext.h",   "VTXIOCCLRFOUND_OLD",   0x7103},
++      {"linux/videotext.h",   "VTXIOCPAGEREQ_OLD",    0x7104},
++      {"linux/videotext.h",   "VTXIOCGETSTAT_OLD",    0x7105},
++      {"linux/videotext.h",   "VTXIOCGETPAGE_OLD",    0x7106},
++      {"linux/videotext.h",   "VTXIOCSTOPDAU_OLD",    0x7107},
++      {"linux/videotext.h",   "VTXIOCPUTPAGE_OLD",    0x7108},
++      {"linux/videotext.h",   "VTXIOCSETDISP_OLD",    0x7109},
++      {"linux/videotext.h",   "VTXIOCPUTSTAT_OLD",    0x710a},
++      {"linux/videotext.h",   "VTXIOCCLRCACHE_OLD",   0x710b},
++      {"linux/videotext.h",   "VTXIOCSETVIRT_OLD",    0x710c},
++      {"linux/telephony.h",   "PHONE_CAPABILITIES",   0x7180},
++      {"linux/telephony.h",   "PHONE_CAPABILITIES_LIST",      0x7181},
++      {"linux/telephony.h",   "PHONE_CAPABILITIES_CHECK",     0x7182},
++      {"linux/telephony.h",   "PHONE_RING",   0x7183},
++      {"linux/telephony.h",   "PHONE_HOOKSTATE",      0x7184},
++      {"linux/telephony.h",   "PHONE_MAXRINGS",       0x7185},
++      {"linux/telephony.h",   "PHONE_RING_CADENCE",   0x7186},
++      {"linux/telephony.h",   "OLD_PHONE_RING_START", 0x7187},
++      {"linux/telephony.h",   "PHONE_RING_START",     0x7187},
++      {"linux/telephony.h",   "PHONE_RING_STOP",      0x7188},
++      {"linux/telephony.h",   "PHONE_REC_CODEC",      0x7189},
++      {"linux/telephony.h",   "PHONE_REC_START",      0x718a},
++      {"linux/telephony.h",   "PHONE_REC_STOP",       0x718b},
++      {"linux/telephony.h",   "PHONE_REC_DEPTH",      0x718c},
++      {"linux/telephony.h",   "PHONE_FRAME",  0x718d},
++      {"linux/telephony.h",   "PHONE_REC_VOLUME",     0x718e},
++      {"linux/telephony.h",   "PHONE_REC_LEVEL",      0x718f},
++      {"linux/telephony.h",   "PHONE_PLAY_CODEC",     0x7190},
++      {"linux/telephony.h",   "PHONE_PLAY_START",     0x7191},
++      {"linux/telephony.h",   "PHONE_PLAY_STOP",      0x7192},
++      {"linux/telephony.h",   "PHONE_PLAY_DEPTH",     0x7193},
++      {"linux/telephony.h",   "PHONE_PLAY_VOLUME",    0x7194},
++      {"linux/telephony.h",   "PHONE_PLAY_LEVEL",     0x7195},
++      {"linux/telephony.h",   "PHONE_DTMF_READY",     0x7196},
++      {"linux/telephony.h",   "PHONE_GET_DTMF",       0x7197},
++      {"linux/telephony.h",   "PHONE_GET_DTMF_ASCII", 0x7198},
++      {"linux/telephony.h",   "PHONE_DTMF_OOB",       0x7199},
++      {"linux/telephony.h",   "PHONE_EXCEPTION",      0x719a},
++      {"linux/telephony.h",   "PHONE_PLAY_TONE",      0x719b},
++      {"linux/telephony.h",   "PHONE_SET_TONE_ON_TIME",       0x719c},
++      {"linux/telephony.h",   "PHONE_SET_TONE_OFF_TIME",      0x719d},
++      {"linux/telephony.h",   "PHONE_GET_TONE_ON_TIME",       0x719e},
++      {"linux/telephony.h",   "PHONE_GET_TONE_OFF_TIME",      0x719f},
++      {"linux/telephony.h",   "PHONE_GET_TONE_STATE", 0x71a0},
++      {"linux/telephony.h",   "PHONE_BUSY",   0x71a1},
++      {"linux/telephony.h",   "PHONE_RINGBACK",       0x71a2},
++      {"linux/telephony.h",   "PHONE_DIALTONE",       0x71a3},
++      {"linux/telephony.h",   "PHONE_CPT_STOP",       0x71a4},
++      {"linux/telephony.h",   "PHONE_PSTN_SET_STATE", 0x71a4},
++      {"linux/telephony.h",   "PHONE_PSTN_GET_STATE", 0x71a5},
++      {"linux/telephony.h",   "PHONE_WINK_DURATION",  0x71a6},
++      {"linux/telephony.h",   "PHONE_QUERY_CODEC",    0x71a7},
++      {"linux/telephony.h",   "PHONE_PSTN_LINETEST",  0x71a8},
++      {"linux/telephony.h",   "PHONE_VAD",    0x71a9},
++      {"linux/telephony.h",   "PHONE_WINK",   0x71aa},
++      {"linux/ixjuser.h",     "IXJCTL_DSP_RESET",     0x71c0},
++      {"linux/ixjuser.h",     "IXJCTL_CARDTYPE",      0x71c1},
++      {"linux/ixjuser.h",     "IXJCTL_SERIAL",        0x71c2},
++      {"linux/ixjuser.h",     "IXJCTL_DSP_TYPE",      0x71c3},
++      {"linux/ixjuser.h",     "IXJCTL_DSP_VERSION",   0x71c4},
++      {"linux/ixjuser.h",     "IXJCTL_DSP_IDLE",      0x71c5},
++      {"linux/ixjuser.h",     "IXJCTL_TESTRAM",       0x71c6},
++      {"linux/ixjuser.h",     "IXJCTL_SET_FILTER",    0x71c7},
++      {"linux/ixjuser.h",     "IXJCTL_GET_FILTER_HIST",       0x71c8},
++      {"linux/ixjuser.h",     "IXJCTL_INIT_TONE",     0x71c9},
++      {"linux/ixjuser.h",     "IXJCTL_TONE_CADENCE",  0x71ca},
++      {"linux/ixjuser.h",     "IXJCTL_AEC_START",     0x71cb},
++      {"linux/ixjuser.h",     "IXJCTL_AEC_STOP",      0x71cc},
++      {"linux/ixjuser.h",     "IXJCTL_AEC_GET_LEVEL", 0x71cd},
++      {"linux/ixjuser.h",     "IXJCTL_SET_LED",       0x71ce},
++      {"linux/ixjuser.h",     "IXJCTL_MIXER", 0x71cf},
++      {"linux/ixjuser.h",     "IXJCTL_DAA_COEFF_SET", 0x71d0},
++      {"linux/ixjuser.h",     "IXJCTL_PORT",  0x71d1},
++      {"linux/ixjuser.h",     "IXJCTL_DAA_AGAIN",     0x71d2},
++      {"linux/ixjuser.h",     "IXJCTL_PSTN_LINETEST", 0x71d3},
++      {"linux/ixjuser.h",     "IXJCTL_CID",   0x71d4},
++      {"linux/ixjuser.h",     "IXJCTL_POTS_PSTN",     0x71d5},
++      {"linux/ixjuser.h",     "IXJCTL_FILTER_CADENCE",        0x71d6},
++      {"linux/ixjuser.h",     "IXJCTL_PLAY_CID",      0x71d7},
++      {"linux/ixjuser.h",     "IXJCTL_VMWI",  0x71d8},
++      {"linux/ixjuser.h",     "IXJCTL_CIDCW", 0x71d9},
++      {"linux/ixjuser.h",     "IXJCTL_VERSION",       0x71da},
++      {"linux/telephony.h",   "PHONE_REC_VOLUME_LINEAR",      0x71db},
++      {"linux/telephony.h",   "PHONE_PLAY_VOLUME_LINEAR",     0x71dc},
++      {"linux/ixjuser.h",     "IXJCTL_SET_FILTER_RAW",        0x71dd},
++      {"linux/ixjuser.h",     "IXJCTL_HZ",    0x71e0},
++      {"linux/ixjuser.h",     "IXJCTL_RATE",  0x71e1},
++      {"linux/ixjuser.h",     "IXJCTL_FRAMES_READ",   0x71e2},
++      {"linux/ixjuser.h",     "IXJCTL_FRAMES_WRITTEN",        0x71e3},
++      {"linux/ixjuser.h",     "IXJCTL_READ_WAIT",     0x71e4},
++      {"linux/ixjuser.h",     "IXJCTL_WRITE_WAIT",    0x71e5},
++      {"linux/ixjuser.h",     "IXJCTL_DRYBUFFER_READ",        0x71e6},
++      {"linux/ixjuser.h",     "IXJCTL_DRYBUFFER_CLEAR",       0x71e7},
++      {"linux/ixjuser.h",     "IXJCTL_DTMF_PRESCALE", 0x71e8},
++      {"linux/ixjuser.h",     "IXJCTL_SIGCTL",        0x71e9},
++      {"linux/ixjuser.h",     "IXJCTL_SC_RXG",        0x71ea},
++      {"linux/ixjuser.h",     "IXJCTL_SC_TXG",        0x71eb},
++      {"linux/ixjuser.h",     "IXJCTL_INTERCOM_START",        0x71fd},
++      {"linux/ixjuser.h",     "IXJCTL_INTERCOM_STOP", 0x71fe},
++      {"linux/msdos_fs.h",    "VFAT_IOCTL_READDIR_BOTH",      0x7201},
++      {"linux/msdos_fs.h",    "VFAT_IOCTL_READDIR_SHORT",     0x7202},
++      {"linux/msdos_fs.h",    "FAT_IOCTL_GET_ATTRIBUTES",     0x7210},
++      {"linux/msdos_fs.h",    "FAT_IOCTL_SET_ATTRIBUTES",     0x7211},
++      {"linux/cdk.h", "STL_BINTR",    0x7314},
++      {"linux/cdk.h", "STL_BSTART",   0x7315},
++      {"linux/cdk.h", "STL_BSTOP",    0x7316},
++      {"linux/cdk.h", "STL_BRESET",   0x7317},
++      {"linux/cdk.h", "STL_GETPFLAG", 0x7350},
++      {"linux/cdk.h", "STL_SETPFLAG", 0x7351},
++      {"asm/bfin_simple_timer.h",     "BFIN_SIMPLE_TIMER_SET_PERIOD", 0x7402},
++      {"asm/bfin_simple_timer.h",     "BFIN_SIMPLE_TIMER_START",      0x7406},
++      {"asm/bfin_simple_timer.h",     "BFIN_SIMPLE_TIMER_STOP",       0x7408},
++      {"asm/bfin_simple_timer.h",     "BFIN_SIMPLE_TIMER_READ",       0x740a},
++      {"linux/if_ppp.h",      "PPPIOCGL2TPSTATS",     0x7436},
++      {"linux/if_ppp.h",      "PPPIOCGCHAN",  0x7437},
++      {"linux/if_ppp.h",      "PPPIOCATTCHAN",        0x7438},
++      {"linux/if_ppp.h",      "PPPIOCDISCONN",        0x7439},
++      {"linux/if_ppp.h",      "PPPIOCCONNECT",        0x743a},
++      {"linux/if_ppp.h",      "PPPIOCSMRRU",  0x743b},
++      {"linux/if_ppp.h",      "PPPIOCDETACH", 0x743c},
++      {"linux/if_ppp.h",      "PPPIOCATTACH", 0x743d},
++      {"linux/if_ppp.h",      "PPPIOCNEWUNIT",        0x743e},
++      {"linux/if_ppp.h",      "PPPIOCGIDLE",  0x743f},
++      {"linux/if_ppp.h",      "PPPIOCSDEBUG", 0x7440},
++      {"linux/if_ppp.h",      "PPPIOCGDEBUG", 0x7441},
++      {"linux/if_ppp.h",      "PPPIOCSACTIVE",        0x7446},
++      {"linux/if_ppp.h",      "PPPIOCSPASS",  0x7447},
++      {"linux/if_ppp.h",      "PPPIOCSNPMODE",        0x744b},
++      {"linux/if_ppp.h",      "PPPIOCGNPMODE",        0x744c},
++      {"linux/if_ppp.h",      "PPPIOCSCOMPRESS",      0x744d},
++      {"linux/if_ppp.h",      "PPPIOCXFERUNIT",       0x744e},
++      {"linux/if_ppp.h",      "PPPIOCSXASYNCMAP",     0x744f},
++      {"linux/if_ppp.h",      "PPPIOCGXASYNCMAP",     0x7450},
++      {"linux/if_ppp.h",      "PPPIOCSMAXCID",        0x7451},
++      {"linux/if_ppp.h",      "PPPIOCSMRU",   0x7452},
++      {"linux/if_ppp.h",      "PPPIOCGMRU",   0x7453},
++      {"linux/if_ppp.h",      "PPPIOCSRASYNCMAP",     0x7454},
++      {"linux/if_ppp.h",      "PPPIOCGRASYNCMAP",     0x7455},
++      {"linux/if_ppp.h",      "PPPIOCGUNIT",  0x7456},
++      {"linux/if_ppp.h",      "PPPIOCSASYNCMAP",      0x7457},
++      {"linux/if_ppp.h",      "PPPIOCGASYNCMAP",      0x7458},
++      {"linux/if_ppp.h",      "PPPIOCSFLAGS", 0x7459},
++      {"linux/if_ppp.h",      "PPPIOCGFLAGS", 0x745a},
++      {"linux/isdn_ppp.h",    "PPPIOCGCALLINFO",      0x7480},
++      {"linux/isdn_ppp.h",    "PPPIOCBUNDLE", 0x7481},
++      {"linux/isdn_ppp.h",    "PPPIOCGMPFLAGS",       0x7482},
++      {"linux/isdn_ppp.h",    "PPPIOCSMPFLAGS",       0x7483},
++      {"linux/isdn_ppp.h",    "PPPIOCSMPMTU", 0x7484},
++      {"linux/isdn_ppp.h",    "PPPIOCSMPMRU", 0x7485},
++      {"linux/isdn_ppp.h",    "PPPIOCGCOMPRESSORS",   0x7486},
++      {"linux/isdn_ppp.h",    "PPPIOCSCOMPRESSOR",    0x7487},
++      {"linux/isdn_ppp.h",    "PPPIOCGIFNAME",        0x7488},
++      {"linux/toshiba.h",     "TOSH_SMM",     0x7490},
++      {"linux/smb_fs.h",      "SMB_IOC_GETMOUNTUID",  0x7501},
++      {"linux/smb_fs.h",      "SMB_IOC_NEWCONN",      0x7502},
++      {"linux/smb_fs.h",      "SMB_IOC_GETMOUNTUID32",        0x7503},
++      {"linux/sonypi.h",      "SONYPI_IOCGBRT",       0x7600},
++      {"linux/sonypi.h",      "SONYPI_IOCSBRT",       0x7600},
++      {"linux/fs.h",  "FS_IOC32_GETVERSION",  0x7601},
++      {"linux/fs.h",  "FS_IOC_GETVERSION",    0x7601},
++      {"linux/videodev.h",    "VIDIOCGCAP",   0x7601},
++      {"linux/fs.h",  "FS_IOC32_SETVERSION",  0x7602},
++      {"linux/fs.h",  "FS_IOC_SETVERSION",    0x7602},
++      {"linux/sonypi.h",      "SONYPI_IOCGBAT1CAP",   0x7602},
++      {"linux/videodev.h",    "VIDIOCGCHAN",  0x7602},
++      {"linux/sonypi.h",      "SONYPI_IOCGBAT1REM",   0x7603},
++      {"linux/videodev.h",    "VIDIOCSCHAN",  0x7603},
++      {"linux/sonypi.h",      "SONYPI_IOCGBAT2CAP",   0x7604},
++      {"linux/videodev.h",    "VIDIOCGTUNER", 0x7604},
++      {"linux/sonypi.h",      "SONYPI_IOCGBAT2REM",   0x7605},
++      {"linux/videodev.h",    "VIDIOCSTUNER", 0x7605},
++      {"linux/videodev.h",    "VIDIOCGPICT",  0x7606},
++      {"linux/sonypi.h",      "SONYPI_IOCGBATFLAGS",  0x7607},
++      {"linux/videodev.h",    "VIDIOCSPICT",  0x7607},
++      {"linux/sonypi.h",      "SONYPI_IOCGBLUE",      0x7608},
++      {"linux/videodev.h",    "VIDIOCCAPTURE",        0x7608},
++      {"linux/sonypi.h",      "SONYPI_IOCSBLUE",      0x7609},
++      {"linux/videodev.h",    "VIDIOCGWIN",   0x7609},
++      {"linux/sonypi.h",      "SONYPI_IOCGFAN",       0x760a},
++      {"linux/videodev.h",    "VIDIOCSWIN",   0x760a},
++      {"linux/sonypi.h",      "SONYPI_IOCSFAN",       0x760b},
++      {"linux/videodev.h",    "VIDIOCGFBUF",  0x760b},
++      {"linux/sonypi.h",      "SONYPI_IOCGTEMP",      0x760c},
++      {"linux/videodev.h",    "VIDIOCSFBUF",  0x760c},
++      {"linux/videodev.h",    "VIDIOCKEY",    0x760d},
++      {"linux/videodev.h",    "VIDIOCGFREQ",  0x760e},
++      {"linux/videodev.h",    "VIDIOCSFREQ",  0x760f},
++      {"linux/videodev.h",    "VIDIOCGAUDIO", 0x7610},
++      {"linux/videodev.h",    "VIDIOCSAUDIO", 0x7611},
++      {"linux/videodev.h",    "VIDIOCSYNC",   0x7612},
++      {"linux/videodev.h",    "VIDIOCMCAPTURE",       0x7613},
++      {"linux/videodev.h",    "VIDIOCGMBUF",  0x7614},
++      {"linux/videodev.h",    "VIDIOCGUNIT",  0x7615},
++      {"linux/videodev.h",    "VIDIOCGCAPTURE",       0x7616},
++      {"linux/videodev.h",    "VIDIOCSCAPTURE",       0x7617},
++      {"linux/videodev.h",    "VIDIOCSPLAYMODE",      0x7618},
++      {"linux/videodev.h",    "VIDIOCSWRITEMODE",     0x7619},
++      {"linux/videodev.h",    "VIDIOCGPLAYINFO",      0x761a},
++      {"linux/videodev.h",    "VIDIOCSMICROCODE",     0x761b},
++      {"linux/videodev.h",    "VIDIOCGVBIFMT",        0x761c},
++      {"linux/videodev.h",    "VIDIOCSVBIFMT",        0x761d},
++      {"linux/meye.h",        "MEYEIOC_G_PARAMS",     0x76c0},
++      {"media/pwc-ioctl.h",   "VIDIOCPWCRUSER",       0x76c0},
++      {"linux/meye.h",        "MEYEIOC_S_PARAMS",     0x76c1},
++      {"media/pwc-ioctl.h",   "VIDIOCPWCSUSER",       0x76c1},
++      {"linux/meye.h",        "MEYEIOC_QBUF_CAPT",    0x76c2},
++      {"media/pwc-ioctl.h",   "VIDIOCPWCFACTORY",     0x76c2},
++      {"linux/meye.h",        "MEYEIOC_SYNC", 0x76c3},
++      {"media/pwc-ioctl.h",   "VIDIOCPWCGCQUAL",      0x76c3},
++      {"media/pwc-ioctl.h",   "VIDIOCPWCSCQUAL",      0x76c3},
++      {"linux/meye.h",        "MEYEIOC_STILLCAPT",    0x76c4},
++      {"linux/meye.h",        "MEYEIOC_STILLJCAPT",   0x76c5},
++      {"media/pwc-ioctl.h",   "VIDIOCPWCGSERIAL",     0x76c6},
++      {"media/pwc-ioctl.h",   "VIDIOCPWCPROBE",       0x76c7},
++      {"media/pwc-ioctl.h",   "VIDIOCPWCGAGC",        0x76c8},
++      {"media/pwc-ioctl.h",   "VIDIOCPWCSAGC",        0x76c8},
++      {"media/pwc-ioctl.h",   "VIDIOCPWCSSHUTTER",    0x76c9},
++      {"media/pwc-ioctl.h",   "VIDIOCPWCGAWB",        0x76ca},
++      {"media/pwc-ioctl.h",   "VIDIOCPWCSAWB",        0x76ca},
++      {"media/pwc-ioctl.h",   "VIDIOCPWCGAWBSPEED",   0x76cb},
++      {"media/pwc-ioctl.h",   "VIDIOCPWCSAWBSPEED",   0x76cb},
++      {"media/pwc-ioctl.h",   "VIDIOCPWCGLED",        0x76cd},
++      {"media/pwc-ioctl.h",   "VIDIOCPWCSLED",        0x76cd},
++      {"media/pwc-ioctl.h",   "VIDIOCPWCGCONTOUR",    0x76ce},
++      {"media/pwc-ioctl.h",   "VIDIOCPWCSCONTOUR",    0x76ce},
++      {"media/pwc-ioctl.h",   "VIDIOCPWCGBACKLIGHT",  0x76cf},
++      {"media/pwc-ioctl.h",   "VIDIOCPWCSBACKLIGHT",  0x76cf},
++      {"media/pwc-ioctl.h",   "VIDIOCPWCGFLICKER",    0x76d0},
++      {"media/pwc-ioctl.h",   "VIDIOCPWCSFLICKER",    0x76d0},
++      {"media/pwc-ioctl.h",   "VIDIOCPWCGDYNNOISE",   0x76d1},
++      {"media/pwc-ioctl.h",   "VIDIOCPWCSDYNNOISE",   0x76d1},
++      {"media/pwc-ioctl.h",   "VIDIOCPWCGREALSIZE",   0x76d2},
++      {"media/pwc-ioctl.h",   "VIDIOCPWCMPTGRANGE",   0x76d3},
++      {"media/pwc-ioctl.h",   "VIDIOCPWCMPTRESET",    0x76d3},
++      {"media/pwc-ioctl.h",   "VIDIOCPWCMPTGANGLE",   0x76d4},
++      {"media/pwc-ioctl.h",   "VIDIOCPWCMPTSANGLE",   0x76d4},
++      {"linux/videodev.h",    "VIDIOSFPS",    0x76d4},
++      {"media/pwc-ioctl.h",   "VIDIOCPWCMPTSTATUS",   0x76d5},
++      {"media/pwc-ioctl.h",   "VIDIOCPWCGVIDCMD",     0x76d7},
++      {"media/pwc-ioctl.h",   "VIDIOCPWCGVIDTABLE",   0x76d8},
++      {"linux/videotext.h",   "VTXIOCGETINFO",        0x8101},
++      {"linux/videotext.h",   "VTXIOCCLRPAGE",        0x8102},
++      {"linux/videotext.h",   "VTXIOCCLRFOUND",       0x8103},
++      {"linux/videotext.h",   "VTXIOCPAGEREQ",        0x8104},
++      {"linux/videotext.h",   "VTXIOCGETSTAT",        0x8105},
++      {"linux/videotext.h",   "VTXIOCGETPAGE",        0x8106},
++      {"linux/videotext.h",   "VTXIOCSTOPDAU",        0x8107},
++      {"linux/videotext.h",   "VTXIOCPUTPAGE",        0x8108},
++      {"linux/videotext.h",   "VTXIOCSETDISP",        0x8109},
++      {"linux/videotext.h",   "VTXIOCPUTSTAT",        0x810a},
++      {"linux/videotext.h",   "VTXIOCCLRCACHE",       0x810b},
++      {"linux/videotext.h",   "VTXIOCSETVIRT",        0x810c},
++      {"media/ovcamchip.h",   "OVCAMCHIP_CMD_Q_SUBTYPE",      0x8800},
++      {"media/ovcamchip.h",   "OVCAMCHIP_CMD_INITIALIZE",     0x8801},
++      {"media/ovcamchip.h",   "OVCAMCHIP_CMD_S_CTRL", 0x8802},
++      {"media/ovcamchip.h",   "OVCAMCHIP_CMD_G_CTRL", 0x8803},
++      {"media/ovcamchip.h",   "OVCAMCHIP_CMD_S_MODE", 0x8804},
++      {"media/ovcamchip.h",   "OVCAMCHIP_MAX_CMD",    0x883f},
++      {"asm/sockios.h",       "FIOSETOWN",    0x8901},
++      {"asm/sockios.h",       "SIOCSPGRP",    0x8902},
++      {"asm/sockios.h",       "FIOGETOWN",    0x8903},
++      {"asm/sockios.h",       "SIOCGPGRP",    0x8904},
++      {"asm/sockios.h",       "SIOCATMARK",   0x8905},
++      {"asm/sockios.h",       "SIOCGSTAMP",   0x8906},
++      {"asm/sockios.h",       "SIOCGSTAMPNS", 0x8907},
++      {"linux/sockios.h",     "SIOCADDRT",    0x890b},
++      {"linux/sockios.h",     "SIOCDELRT",    0x890c},
++      {"linux/sockios.h",     "SIOCRTMSG",    0x890d},
++      {"linux/sockios.h",     "SIOCGIFNAME",  0x8910},
++      {"linux/sockios.h",     "SIOCSIFLINK",  0x8911},
++      {"linux/sockios.h",     "SIOCGIFCONF",  0x8912},
++      {"linux/sockios.h",     "SIOCGIFFLAGS", 0x8913},
++      {"linux/sockios.h",     "SIOCSIFFLAGS", 0x8914},
++      {"linux/sockios.h",     "SIOCGIFADDR",  0x8915},
++      {"linux/sockios.h",     "SIOCSIFADDR",  0x8916},
++      {"linux/sockios.h",     "SIOCGIFDSTADDR",       0x8917},
++      {"linux/sockios.h",     "SIOCSIFDSTADDR",       0x8918},
++      {"linux/sockios.h",     "SIOCGIFBRDADDR",       0x8919},
++      {"linux/sockios.h",     "SIOCSIFBRDADDR",       0x891a},
++      {"linux/sockios.h",     "SIOCGIFNETMASK",       0x891b},
++      {"linux/sockios.h",     "SIOCSIFNETMASK",       0x891c},
++      {"linux/sockios.h",     "SIOCGIFMETRIC",        0x891d},
++      {"linux/sockios.h",     "SIOCSIFMETRIC",        0x891e},
++      {"linux/sockios.h",     "SIOCGIFMEM",   0x891f},
++      {"linux/sockios.h",     "SIOCSIFMEM",   0x8920},
++      {"linux/sockios.h",     "SIOCGIFMTU",   0x8921},
++      {"linux/sockios.h",     "SIOCSIFMTU",   0x8922},
++      {"linux/sockios.h",     "SIOCSIFNAME",  0x8923},
++      {"linux/sockios.h",     "SIOCSIFHWADDR",        0x8924},
++      {"linux/sockios.h",     "SIOCGIFENCAP", 0x8925},
++      {"linux/sockios.h",     "SIOCSIFENCAP", 0x8926},
++      {"linux/sockios.h",     "SIOCGIFHWADDR",        0x8927},
++      {"linux/sockios.h",     "SIOCGIFSLAVE", 0x8929},
++      {"linux/sockios.h",     "SIOCSIFSLAVE", 0x8930},
++      {"linux/sockios.h",     "SIOCADDMULTI", 0x8931},
++      {"linux/sockios.h",     "SIOCDELMULTI", 0x8932},
++      {"linux/sockios.h",     "SIOCGIFINDEX", 0x8933},
++      {"linux/sockios.h",     "SIOCSIFPFLAGS",        0x8934},
++      {"linux/sockios.h",     "SIOCGIFPFLAGS",        0x8935},
++      {"linux/sockios.h",     "SIOCDIFADDR",  0x8936},
++      {"linux/sockios.h",     "SIOCSIFHWBROADCAST",   0x8937},
++      {"linux/sockios.h",     "SIOCGIFCOUNT", 0x8938},
++      {"linux/sockios.h",     "SIOCGIFBR",    0x8940},
++      {"linux/sockios.h",     "SIOCSIFBR",    0x8941},
++      {"linux/sockios.h",     "SIOCGIFTXQLEN",        0x8942},
++      {"linux/sockios.h",     "SIOCSIFTXQLEN",        0x8943},
++      {"linux/sockios.h",     "SIOCGIFDIVERT",        0x8944},
++      {"linux/sockios.h",     "SIOCSIFDIVERT",        0x8945},
++      {"linux/sockios.h",     "SIOCETHTOOL",  0x8946},
++      {"linux/sockios.h",     "SIOCGMIIPHY",  0x8947},
++      {"linux/sockios.h",     "SIOCGMIIREG",  0x8948},
++      {"linux/sockios.h",     "SIOCSMIIREG",  0x8949},
++      {"linux/sockios.h",     "SIOCWANDEV",   0x894a},
++      {"linux/sockios.h",     "SIOCDARP",     0x8953},
++      {"linux/sockios.h",     "SIOCGARP",     0x8954},
++      {"linux/sockios.h",     "SIOCSARP",     0x8955},
++      {"linux/sockios.h",     "SIOCDRARP",    0x8960},
++      {"linux/sockios.h",     "SIOCGRARP",    0x8961},
++      {"linux/sockios.h",     "SIOCSRARP",    0x8962},
++      {"linux/sockios.h",     "SIOCGIFMAP",   0x8970},
++      {"linux/sockios.h",     "SIOCSIFMAP",   0x8971},
++      {"linux/sockios.h",     "SIOCADDDLCI",  0x8980},
++      {"linux/sockios.h",     "SIOCDELDLCI",  0x8981},
++      {"linux/sockios.h",     "SIOCGIFVLAN",  0x8982},
++      {"linux/sockios.h",     "SIOCSIFVLAN",  0x8983},
++      {"linux/sockios.h",     "SIOCBONDENSLAVE",      0x8990},
++      {"linux/sockios.h",     "SIOCBONDRELEASE",      0x8991},
++      {"linux/sockios.h",     "SIOCBONDSETHWADDR",    0x8992},
++      {"linux/sockios.h",     "SIOCBONDSLAVEINFOQUERY",       0x8993},
++      {"linux/sockios.h",     "SIOCBONDINFOQUERY",    0x8994},
++      {"linux/sockios.h",     "SIOCBONDCHANGEACTIVE", 0x8995},
++      {"linux/sockios.h",     "SIOCBRADDBR",  0x89a0},
++      {"linux/sockios.h",     "SIOCBRDELBR",  0x89a1},
++      {"linux/sockios.h",     "SIOCBRADDIF",  0x89a2},
++      {"linux/sockios.h",     "SIOCBRDELIF",  0x89a3},
++      {"linux/dn.h",  "OSIOCSNETADDR",        0x89e0},
++      {"linux/sockios.h",     "SIOCPROTOPRIVATE",     0x89e0},
++      {"linux/dn.h",  "SIOCSNETADDR", 0x89e0},
++      {"linux/dn.h",  "OSIOCGNETADDR",        0x89e1},
++      {"linux/dn.h",  "SIOCGNETADDR", 0x89e1},
++      {"linux/sockios.h",     "SIOCDEVPRIVATE",       0x89f0},
++      {"linux/wireless.h",    "SIOCIWFIRST",  0x8b00},
++      {"linux/wireless.h",    "SIOCSIWCOMMIT",        0x8b00},
++      {"linux/wireless.h",    "SIOCGIWNAME",  0x8b01},
++      {"linux/wireless.h",    "SIOCSIWNWID",  0x8b02},
++      {"linux/wireless.h",    "SIOCGIWNWID",  0x8b03},
++      {"linux/wireless.h",    "SIOCSIWFREQ",  0x8b04},
++      {"linux/wireless.h",    "SIOCGIWFREQ",  0x8b05},
++      {"linux/wireless.h",    "SIOCSIWMODE",  0x8b06},
++      {"linux/wireless.h",    "SIOCGIWMODE",  0x8b07},
++      {"linux/wireless.h",    "SIOCSIWSENS",  0x8b08},
++      {"linux/wireless.h",    "SIOCGIWSENS",  0x8b09},
++      {"linux/wireless.h",    "SIOCSIWRANGE", 0x8b0a},
++      {"linux/wireless.h",    "SIOCGIWRANGE", 0x8b0b},
++      {"linux/wireless.h",    "SIOCSIWPRIV",  0x8b0c},
++      {"linux/wireless.h",    "SIOCGIWPRIV",  0x8b0d},
++      {"linux/wireless.h",    "SIOCSIWSTATS", 0x8b0e},
++      {"linux/wireless.h",    "SIOCGIWSTATS", 0x8b0f},
++      {"linux/wireless.h",    "SIOCSIWSPY",   0x8b10},
++      {"linux/wireless.h",    "SIOCGIWSPY",   0x8b11},
++      {"linux/wireless.h",    "SIOCSIWTHRSPY",        0x8b12},
++      {"linux/wireless.h",    "SIOCGIWTHRSPY",        0x8b13},
++      {"linux/wireless.h",    "SIOCSIWAP",    0x8b14},
++      {"linux/wireless.h",    "SIOCGIWAP",    0x8b15},
++      {"linux/wireless.h",    "SIOCSIWMLME",  0x8b16},
++      {"linux/wireless.h",    "SIOCGIWAPLIST",        0x8b17},
++      {"linux/wireless.h",    "SIOCSIWSCAN",  0x8b18},
++      {"linux/wireless.h",    "SIOCGIWSCAN",  0x8b19},
++      {"linux/wireless.h",    "SIOCSIWESSID", 0x8b1a},
++      {"linux/wireless.h",    "SIOCGIWESSID", 0x8b1b},
++      {"linux/wireless.h",    "SIOCSIWNICKN", 0x8b1c},
++      {"linux/wireless.h",    "SIOCGIWNICKN", 0x8b1d},
++      {"linux/wireless.h",    "SIOCSIWRATE",  0x8b20},
++      {"linux/wireless.h",    "SIOCGIWRATE",  0x8b21},
++      {"linux/wireless.h",    "SIOCSIWRTS",   0x8b22},
++      {"linux/wireless.h",    "SIOCGIWRTS",   0x8b23},
++      {"linux/wireless.h",    "SIOCSIWFRAG",  0x8b24},
++      {"linux/wireless.h",    "SIOCGIWFRAG",  0x8b25},
++      {"linux/wireless.h",    "SIOCSIWTXPOW", 0x8b26},
++      {"linux/wireless.h",    "SIOCGIWTXPOW", 0x8b27},
++      {"linux/wireless.h",    "SIOCSIWRETRY", 0x8b28},
++      {"linux/wireless.h",    "SIOCGIWRETRY", 0x8b29},
++      {"linux/wireless.h",    "SIOCSIWENCODE",        0x8b2a},
++      {"linux/wireless.h",    "SIOCGIWENCODE",        0x8b2b},
++      {"linux/wireless.h",    "SIOCSIWPOWER", 0x8b2c},
++      {"linux/wireless.h",    "SIOCGIWPOWER", 0x8b2d},
++      {"linux/wireless.h",    "SIOCSIWGENIE", 0x8b30},
++      {"linux/wireless.h",    "SIOCGIWGENIE", 0x8b31},
++      {"linux/wireless.h",    "SIOCSIWAUTH",  0x8b32},
++      {"linux/wireless.h",    "SIOCGIWAUTH",  0x8b33},
++      {"linux/wireless.h",    "SIOCSIWENCODEEXT",     0x8b34},
++      {"linux/wireless.h",    "SIOCGIWENCODEEXT",     0x8b35},
++      {"linux/wireless.h",    "SIOCSIWPMKSA", 0x8b36},
++      {"linux/wireless.h",    "SIOCIWFIRSTPRIV",      0x8be0},
++      {"linux/wireless.h",    "SIOCIWLASTPRIV",       0x8bff},
++      {"linux/auto_fs.h",     "AUTOFS_IOC_READY",     0x9360},
++      {"linux/auto_fs.h",     "AUTOFS_IOC_FAIL",      0x9361},
++      {"linux/auto_fs.h",     "AUTOFS_IOC_CATATONIC", 0x9362},
++      {"linux/auto_fs.h",     "AUTOFS_IOC_PROTOVER",  0x9363},
++      {"linux/auto_fs.h",     "AUTOFS_IOC_SETTIMEOUT",        0x9364},
++      {"linux/auto_fs.h",     "AUTOFS_IOC_EXPIRE",    0x9365},
++      {"linux/auto_fs4.h",    "AUTOFS_IOC_EXPIRE_MULTI",      0x9366},
++      {"linux/auto_fs4.h",    "AUTOFS_IOC_PROTOSUBVER",       0x9367},
++      {"linux/auto_fs4.h",    "AUTOFS_IOC_ASKREGHOST",        0x9368},
++      {"linux/auto_fs4.h",    "AUTOFS_IOC_TOGGLEREGHOST",     0x9369},
++      {"linux/auto_fs4.h",    "AUTOFS_IOC_ASKUMOUNT", 0x9370},
++      {"linux/nbd.h", "NBD_SET_SOCK", 0xab00},
++      {"linux/nbd.h", "NBD_SET_BLKSIZE",      0xab01},
++      {"linux/nbd.h", "NBD_SET_SIZE", 0xab02},
++      {"linux/nbd.h", "NBD_DO_IT",    0xab03},
++      {"linux/nbd.h", "NBD_CLEAR_SOCK",       0xab04},
++      {"linux/nbd.h", "NBD_CLEAR_QUE",        0xab05},
++      {"linux/nbd.h", "NBD_PRINT_DEBUG",      0xab06},
++      {"linux/nbd.h", "NBD_SET_SIZE_BLOCKS",  0xab07},
++      {"linux/nbd.h", "NBD_DISCONNECT",       0xab08},
++      {"linux/nbd.h", "NBD_SET_TIMEOUT",      0xab09},
++      {"linux/raw.h", "RAW_SETBIND",  0xac00},
++      {"linux/raw.h", "RAW_GETBIND",  0xac01},
++      {"linux/kvm.h", "KVM_GET_API_VERSION",  0xae00},
++      {"linux/kvm.h", "KVM_CREATE_VM",        0xae01},
++      {"linux/kvm.h", "KVM_GET_MSR_INDEX_LIST",       0xae02},
++      {"linux/kvm.h", "KVM_CHECK_EXTENSION",  0xae03},
++      {"linux/kvm.h", "KVM_GET_VCPU_MMAP_SIZE",       0xae04},
++      {"linux/kvm.h", "KVM_GET_SUPPORTED_CPUID",      0xae05},
++      {"linux/kvm.h", "KVM_S390_ENABLE_SIE",  0xae06},
++      {"linux/kvm.h", "KVM_TRACE_ENABLE",     0xae06},
++      {"linux/kvm.h", "KVM_TRACE_PAUSE",      0xae07},
++      {"linux/kvm.h", "KVM_TRACE_DISABLE",    0xae08},
++      {"linux/kvm.h", "KVM_SET_MEMORY_REGION",        0xae40},
++      {"linux/kvm.h", "KVM_CREATE_VCPU",      0xae41},
++      {"linux/kvm.h", "KVM_GET_DIRTY_LOG",    0xae42},
++      {"linux/kvm.h", "KVM_SET_MEMORY_ALIAS", 0xae43},
++      {"linux/kvm.h", "KVM_SET_NR_MMU_PAGES", 0xae44},
++      {"linux/kvm.h", "KVM_GET_NR_MMU_PAGES", 0xae45},
++      {"linux/kvm.h", "KVM_SET_USER_MEMORY_REGION",   0xae46},
++      {"linux/kvm.h", "KVM_SET_TSS_ADDR",     0xae47},
++      {"linux/kvm.h", "KVM_CREATE_IRQCHIP",   0xae60},
++      {"linux/kvm.h", "KVM_IRQ_LINE", 0xae61},
++      {"linux/kvm.h", "KVM_GET_IRQCHIP",      0xae62},
++      {"linux/kvm.h", "KVM_SET_IRQCHIP",      0xae63},
++      {"linux/kvm.h", "KVM_CREATE_PIT",       0xae64},
++      {"linux/kvm.h", "KVM_GET_PIT",  0xae65},
++      {"linux/kvm.h", "KVM_SET_PIT",  0xae66},
++      {"linux/kvm.h", "KVM_RUN",      0xae80},
++      {"linux/kvm.h", "KVM_GET_REGS", 0xae81},
++      {"linux/kvm.h", "KVM_SET_REGS", 0xae82},
++      {"linux/kvm.h", "KVM_GET_SREGS",        0xae83},
++      {"linux/kvm.h", "KVM_SET_SREGS",        0xae84},
++      {"linux/kvm.h", "KVM_TRANSLATE",        0xae85},
++      {"linux/kvm.h", "KVM_INTERRUPT",        0xae86},
++      {"linux/kvm.h", "KVM_DEBUG_GUEST",      0xae87},
++      {"linux/kvm.h", "KVM_GET_MSRS", 0xae88},
++      {"linux/kvm.h", "KVM_SET_MSRS", 0xae89},
++      {"linux/kvm.h", "KVM_SET_CPUID",        0xae8a},
++      {"linux/kvm.h", "KVM_SET_SIGNAL_MASK",  0xae8b},
++      {"linux/kvm.h", "KVM_GET_FPU",  0xae8c},
++      {"linux/kvm.h", "KVM_SET_FPU",  0xae8d},
++      {"linux/kvm.h", "KVM_GET_LAPIC",        0xae8e},
++      {"linux/kvm.h", "KVM_SET_LAPIC",        0xae8f},
++      {"linux/kvm.h", "KVM_SET_CPUID2",       0xae90},
++      {"linux/kvm.h", "KVM_GET_CPUID2",       0xae91},
++      {"linux/kvm.h", "KVM_TPR_ACCESS_REPORTING",     0xae92},
++      {"linux/kvm.h", "KVM_SET_VAPIC_ADDR",   0xae93},
++      {"linux/kvm.h", "KVM_S390_INTERRUPT",   0xae94},
++      {"linux/kvm.h", "KVM_S390_STORE_STATUS",        0xae95},
++      {"linux/kvm.h", "KVM_S390_SET_INITIAL_PSW",     0xae96},
++      {"linux/kvm.h", "KVM_S390_INITIAL_RESET",       0xae97},
++      {"linux/kvm.h", "KVM_GET_MP_STATE",     0xae98},
++      {"linux/kvm.h", "KVM_SET_MP_STATE",     0xae99},
++      {"linux/if_pppox.h",    "PPPOEIOCSFWD", 0xb100},
++      {"linux/if_pppox.h",    "PPPOEIOCDFWD", 0xb101},
++      {"linux/usb/iowarrior.h",       "IOW_WRITE",    0xc001},
++      {"linux/usb/iowarrior.h",       "IOW_READ",     0xc002},
++      {"linux/usb/iowarrior.h",       "IOW_GETINFO",  0xc003},
++      {"linux/reiserfs_fs.h", "REISERFS_IOC32_UNPACK",        0xcd01},
++      {"linux/reiserfs_fs.h", "REISERFS_IOC_UNPACK",  0xcd01},
++      {"video/sisfb.h",       "SISFB_GET_INFO_SIZE",  0xf300},
++      {"video/sisfb.h",       "SISFB_GET_INFO",       0xf301},
++      {"video/sisfb.h",       "SISFB_GET_VBRSTATUS",  0xf302},
++      {"video/sisfb.h",       "SISFB_GET_AUTOMAXIMIZE",       0xf303},
++      {"video/sisfb.h",       "SISFB_SET_AUTOMAXIMIZE",       0xf303},
++      {"video/sisfb.h",       "SISFB_GET_TVPOSOFFSET",        0xf304},
++      {"video/sisfb.h",       "SISFB_SET_TVPOSOFFSET",        0xf304},
++      {"video/sisfb.h",       "SISFB_COMMAND",        0xf305},
++      {"video/sisfb.h",       "SISFB_SET_LOCK",       0xf306},
++      {"video/mbxfb.h",       "MBXFB_IOCX_OVERLAY",   0xf400},
++      {"video/mbxfb.h",       "MBXFB_IOCG_ALPHA",     0xf401},
++      {"video/mbxfb.h",       "MBXFB_IOCS_ALPHA",     0xf402},
++      {"video/mbxfb.h",       "MBXFB_IOCS_PLANEORDER",        0xf403},
++      {"video/mbxfb.h",       "MBXFB_IOCS_REG",       0xf404},
++      {"video/mbxfb.h",       "MBXFB_IOCX_REG",       0xf405},
++      {"linux/dm-ioctl.h",    "DM_VERSION",   0xfd00},
++      {"linux/dm-ioctl.h",    "DM_VERSION_32",        0xfd00},
++      {"linux/dm-ioctl.h",    "DM_REMOVE_ALL",        0xfd01},
++      {"linux/dm-ioctl.h",    "DM_REMOVE_ALL_32",     0xfd01},
++      {"linux/dm-ioctl.h",    "DM_LIST_DEVICES",      0xfd02},
++      {"linux/dm-ioctl.h",    "DM_LIST_DEVICES_32",   0xfd02},
++      {"linux/dm-ioctl.h",    "DM_DEV_CREATE",        0xfd03},
++      {"linux/dm-ioctl.h",    "DM_DEV_CREATE_32",     0xfd03},
++      {"linux/dm-ioctl.h",    "DM_DEV_REMOVE",        0xfd04},
++      {"linux/dm-ioctl.h",    "DM_DEV_REMOVE_32",     0xfd04},
++      {"linux/dm-ioctl.h",    "DM_DEV_RENAME",        0xfd05},
++      {"linux/dm-ioctl.h",    "DM_DEV_RENAME_32",     0xfd05},
++      {"linux/dm-ioctl.h",    "DM_DEV_SUSPEND",       0xfd06},
++      {"linux/dm-ioctl.h",    "DM_DEV_SUSPEND_32",    0xfd06},
++      {"linux/dm-ioctl.h",    "DM_DEV_STATUS",        0xfd07},
++      {"linux/dm-ioctl.h",    "DM_DEV_STATUS_32",     0xfd07},
++      {"linux/dm-ioctl.h",    "DM_DEV_WAIT",  0xfd08},
++      {"linux/dm-ioctl.h",    "DM_DEV_WAIT_32",       0xfd08},
++      {"linux/dm-ioctl.h",    "DM_TABLE_LOAD",        0xfd09},
++      {"linux/dm-ioctl.h",    "DM_TABLE_LOAD_32",     0xfd09},
++      {"linux/dm-ioctl.h",    "DM_TABLE_CLEAR",       0xfd0a},
++      {"linux/dm-ioctl.h",    "DM_TABLE_CLEAR_32",    0xfd0a},
++      {"linux/dm-ioctl.h",    "DM_TABLE_DEPS",        0xfd0b},
++      {"linux/dm-ioctl.h",    "DM_TABLE_DEPS_32",     0xfd0b},
++      {"linux/dm-ioctl.h",    "DM_TABLE_STATUS",      0xfd0c},
++      {"linux/dm-ioctl.h",    "DM_TABLE_STATUS_32",   0xfd0c},
++      {"linux/dm-ioctl.h",    "DM_LIST_VERSIONS",     0xfd0d},
++      {"linux/dm-ioctl.h",    "DM_LIST_VERSIONS_32",  0xfd0d},
++      {"linux/dm-ioctl.h",    "DM_TARGET_MSG",        0xfd0e},
++      {"linux/dm-ioctl.h",    "DM_TARGET_MSG_32",     0xfd0e},
++      {"linux/dm-ioctl.h",    "DM_DEV_SET_GEOMETRY",  0xfd0f},
++      {"linux/dm-ioctl.h",    "DM_DEV_SET_GEOMETRY_32",       0xfd0f},
+diff --git a/linux/bfin/syscallent.h b/linux/bfin/syscallent.h
+new file mode 100644
+index 0000000..ba84b2c
+--- /dev/null
++++ b/linux/bfin/syscallent.h
+@@ -0,0 +1,391 @@
++/*
++ * Copyright (c) 1993 Branko Lankester <branko@hacktic.nl>
++ * Copyright (c) 1993, 1994, 1995 Rick Sladkey <jrs@world.std.com>
++ * All rights reserved.
++ *
++ * Redistribution and use in source and binary forms, with or without
++ * modification, are permitted provided that the following conditions
++ * are met:
++ * 1. Redistributions of source code must retain the above copyright
++ *    notice, this list of conditions and the following disclaimer.
++ * 2. Redistributions in binary form must reproduce the above copyright
++ *    notice, this list of conditions and the following disclaimer in the
++ *    documentation and/or other materials provided with the distribution.
++ * 3. The name of the author may not be used to endorse or promote products
++ *    derived from this software without specific prior written permission.
++ *
++ * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
++ * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
++ * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
++ * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
++ * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
++ * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
++ * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
++ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
++ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
++ * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
++ *
++ *    $Id: syscallent.h 6985 2008-08-09 01:13:40Z vapier $
++ */
++
++      { 0,    0,      sys_restart_syscall,    "restart_syscall"       }, /* 0 */
++      { 1,    TP,     sys_exit,               "_exit", SYS_exit }, /* 1 */
++      { 0,    TP,     sys_fork,               "fork", SYS_fork }, /* 2 */
++      { 3,    TD,     sys_read,               "read", SYS_read }, /* 3 */
++      { 3,    TD,     sys_write,              "write", SYS_write }, /* 4 */
++      { 3,    TD|TF,  sys_open,               "open"          }, /* 5 */
++      { 1,    TD,     sys_close,              "close"         }, /* 6 */
++      { 3,    TP,     sys_waitpid,            "waitpid", SYS_wait4 }, /* 7 */
++      { 2,    TD|TF,  sys_creat,              "creat"         }, /* 8 */
++      { 2,    TF,     sys_link,               "link"          }, /* 9 */
++      { 1,    TF,     sys_unlink,             "unlink"        }, /* 10 */
++      { 3,    TF|TP,  sys_execve,             "execve", SYS_execve }, /* 11 */
++      { 1,    TF,     sys_chdir,              "chdir"         }, /* 12 */
++      { 1,    0,      sys_time,               "time"          }, /* 13 */
++      { 3,    TF,     sys_mknod,              "mknod"         }, /* 14 */
++      { 2,    TF,     sys_chmod,              "chmod"         }, /* 15 */
++      { 3,    TF,     sys_chown,              "chown"         }, /* 16 */
++      { 0,    0,      sys_break,              "break"         }, /* 17 */
++      { 2,    TF,     sys_oldstat,            "oldstat"       }, /* 18 */
++      { 3,    TD,     sys_lseek,              "lseek"         }, /* 19 */
++      { 0,    0,      sys_getpid,             "getpid"        }, /* 20 */
++      { 5,    TF,     sys_mount,              "mount"         }, /* 21 */
++      { 1,    TF,     sys_umount,             "oldumount"     }, /* 22 */
++      { 1,    0,      sys_setuid,             "setuid"        }, /* 23 */
++      { 0,    0,      sys_getuid,             "getuid"        }, /* 24 */
++      { 1,    0,      sys_stime,              "stime"         }, /* 25 */
++      { 4,    0,      sys_ptrace,             "ptrace"        }, /* 26 */
++      { 1,    0,      sys_alarm,              "alarm"         }, /* 27 */
++      { 2,    TD,     sys_oldfstat,           "oldfstat"      }, /* 28 */
++      { 0,    TS,     sys_pause,              "pause"         }, /* 29 */
++      { 2,    TF,     sys_utime,              "utime"         }, /* 30 */
++      { 2,    0,      sys_stty,               "stty"          }, /* 31 */
++      { 2,    0,      sys_gtty,               "gtty"          }, /* 32 */
++      { 2,    TF,     sys_access,             "access"        }, /* 33 */
++      { 1,    0,      sys_nice,               "nice"          }, /* 34 */
++      { 0,    0,      sys_ftime,              "ftime"         }, /* 35 */
++      { 0,    0,      sys_sync,               "sync"          }, /* 36 */
++      { 2,    TS,     sys_kill,               "kill"          }, /* 37 */
++      { 2,    TF,     sys_rename,             "rename"        }, /* 38 */
++      { 2,    TF,     sys_mkdir,              "mkdir"         }, /* 39 */
++      { 1,    TF,     sys_rmdir,              "rmdir"         }, /* 40 */
++      { 1,    TD,     sys_dup,                "dup"           }, /* 41 */
++      { 1,    TD,     sys_pipe,               "pipe"          }, /* 42 */
++      { 1,    0,      sys_times,              "times"         }, /* 43 */
++      { 0,    0,      sys_prof,               "prof"          }, /* 44 */
++      { 1,    0,      sys_brk,                "brk"           }, /* 45 */
++      { 1,    0,      sys_setgid,             "setgid"        }, /* 46 */
++      { 0,    0,      sys_getgid,             "getgid"        }, /* 47 */
++      { 3,    TS,     sys_signal,             "signal"        }, /* 48 */
++      { 0,    0,      sys_geteuid,            "geteuid"       }, /* 49 */
++      { 0,    0,      sys_getegid,            "getegid"       }, /* 50 */
++      { 1,    TF,     sys_acct,               "acct"          }, /* 51 */
++      { 2,    TF,     sys_umount2,            "umount"        }, /* 52 */
++      { 0,    0,      sys_lock,               "lock"          }, /* 53 */
++      { 3,    TD,     sys_ioctl,              "ioctl"         }, /* 54 */
++      { 3,    TD,     sys_fcntl,              "fcntl"         }, /* 55 */
++      { 0,    0,      sys_mpx,                "mpx"           }, /* 56 */
++      { 2,    0,      sys_setpgid,            "setpgid"       }, /* 57 */
++      { 2,    0,      sys_ulimit,             "ulimit"        }, /* 58 */
++      { 1,    0,      sys_oldolduname,        "oldolduname"   }, /* 59 */
++      { 1,    0,      sys_umask,              "umask"         }, /* 60 */
++      { 1,    TF,     sys_chroot,             "chroot"        }, /* 61 */
++      { 2,    0,      sys_ustat,              "ustat"         }, /* 62 */
++      { 2,    TD,     sys_dup2,               "dup2"          }, /* 63 */
++      { 0,    0,      sys_getppid,            "getppid"       }, /* 64 */
++      { 0,    0,      sys_getpgrp,            "getpgrp"       }, /* 65 */
++      { 0,    0,      sys_setsid,             "setsid"        }, /* 66 */
++      { 3,    TS,     sys_sigaction,          "sigaction"     }, /* 67 */
++      { 0,    TS,     sys_siggetmask,         "siggetmask"    }, /* 68 */
++      { 1,    TS,     sys_sigsetmask,         "sigsetmask"    }, /* 69 */
++      { 2,    0,      sys_setreuid,           "setreuid"      }, /* 70 */
++      { 2,    0,      sys_setregid,           "setregid"      }, /* 71 */
++      { 3,    TS,     sys_sigsuspend,         "sigsuspend"    }, /* 72 */
++      { 1,    TS,     sys_sigpending,         "sigpending"    }, /* 73 */
++      { 2,    0,      sys_sethostname,        "sethostname"   }, /* 74 */
++      { 2,    0,      sys_setrlimit,          "setrlimit"     }, /* 75 */
++      { 2,    0,      sys_getrlimit,          "old_getrlimit" }, /* 76 */
++      { 2,    0,      sys_getrusage,          "getrusage"     }, /* 77 */
++      { 2,    0,      sys_gettimeofday,       "gettimeofday"  }, /* 78 */
++      { 2,    0,      sys_settimeofday,       "settimeofday"  }, /* 79 */
++      { 2,    0,      sys_getgroups,          "getgroups"     }, /* 80 */
++      { 2,    0,      sys_setgroups,          "setgroups"     }, /* 81 */
++      { 1,    TD,     sys_oldselect,          "oldselect"     }, /* 82 */
++      { 2,    TF,     sys_symlink,            "symlink"       }, /* 83 */
++      { 2,    TF,     sys_oldlstat,           "oldlstat"      }, /* 84 */
++      { 3,    TF,     sys_readlink,           "readlink"      }, /* 85 */
++      { 1,    TF,     sys_uselib,             "uselib"        }, /* 86 */
++      { 1,    TF,     sys_swapon,             "swapon"        }, /* 87 */
++      { 3,    0,      sys_reboot,             "reboot"        }, /* 88 */
++      { 3,    TD,     sys_readdir,            "readdir"       }, /* 89 */
++      { 6,    TD,     sys_old_mmap,           "old_mmap"      }, /* 90 */
++      { 2,    0,      sys_munmap,             "munmap"        }, /* 91 */
++      { 2,    TF,     sys_truncate,           "truncate"      }, /* 92 */
++      { 2,    TD,     sys_ftruncate,          "ftruncate"     }, /* 93 */
++      { 2,    TD,     sys_fchmod,             "fchmod"        }, /* 94 */
++      { 3,    TD,     sys_fchown,             "fchown"        }, /* 95 */
++      { 2,    0,      sys_getpriority,        "getpriority"   }, /* 96 */
++      { 3,    0,      sys_setpriority,        "setpriority"   }, /* 97 */
++      { 4,    0,      sys_profil,             "profil"        }, /* 98 */
++      { 2,    TF,     sys_statfs,             "statfs"        }, /* 99 */
++      { 2,    TD,     sys_fstatfs,            "fstatfs"       }, /* 100 */
++      { 3,    0,      sys_ioperm,             "ioperm"        }, /* 101 */
++      { 2,    TD,     sys_socketcall,         "socketcall", SYS_socketcall }, /* 102 */
++      { 3,    0,      sys_syslog,             "syslog"        }, /* 103 */
++      { 3,    0,      sys_setitimer,          "setitimer"     }, /* 104 */
++      { 2,    0,      sys_getitimer,          "getitimer"     }, /* 105 */
++      { 2,    TF,     sys_stat,               "stat"          }, /* 106 */
++      { 2,    TF,     sys_lstat,              "lstat"         }, /* 107 */
++      { 2,    TD,     sys_fstat,              "fstat"         }, /* 108 */
++      { 1,    0,      sys_olduname,           "olduname"      }, /* 109 */
++      { 1,    0,      sys_iopl,               "iopl"          }, /* 110 */
++      { 0,    0,      sys_vhangup,            "vhangup"       }, /* 111 */
++      { 0,    0,      sys_idle,               "idle"          }, /* 112 */
++      { 1,    0,      sys_vm86old,            "vm86old"       }, /* 113 */
++      { 4,    TP,     sys_wait4,              "wait4", SYS_wait4 }, /* 114 */
++      { 1,    0,      sys_swapoff,            "swapoff"       }, /* 115 */
++      { 1,    0,      sys_sysinfo,            "sysinfo"       }, /* 116 */
++      { 6,    0,      sys_ipc,                "ipc", SYS_ipc }, /* 117 */
++      { 1,    TD,     sys_fsync,              "fsync"         }, /* 118 */
++      { 1,    TS,     sys_sigreturn,          "sigreturn"     }, /* 119 */
++      { 5,    TP,     sys_clone,              "clone", SYS_clone }, /* 120 */
++      { 2,    0,      sys_setdomainname,      "setdomainname" }, /* 121 */
++      { 1,    0,      sys_uname,              "uname"         }, /* 122 */
++      { 3,    0,      sys_modify_ldt,         "modify_ldt"    }, /* 123 */
++      { 1,    0,      sys_adjtimex,           "adjtimex"      }, /* 124 */
++      { 3,    0,      sys_mprotect,           "mprotect"      }, /* 125 */
++      { 3,    TS,     sys_sigprocmask,        "sigprocmask"   }, /* 126 */
++      { 2,    0,      sys_create_module,      "create_module" }, /* 127 */
++      { 3,    0,      sys_init_module,        "init_module"   }, /* 128 */
++      { 1,    0,      sys_delete_module,      "delete_module" }, /* 129 */
++      { 1,    0,      sys_get_kernel_syms,    "get_kernel_syms"       }, /* 130 */
++      { 4,    0,      sys_quotactl,           "quotactl"      }, /* 131 */
++      { 1,    0,      sys_getpgid,            "getpgid"       }, /* 132 */
++      { 1,    TD,     sys_fchdir,             "fchdir"        }, /* 133 */
++      { 0,    0,      sys_bdflush,            "bdflush"       }, /* 134 */
++      { 3,    0,      printargs,              "sysfs"         }, /* 135 */
++      { 1,    0,      sys_personality,        "personality"   }, /* 136 */
++      { 5,    0,      sys_afs_syscall,        "afs_syscall"   }, /* 137 */
++      { 1,    0,      sys_setfsuid,           "setfsuid"      }, /* 138 */
++      { 1,    0,      sys_setfsgid,           "setfsgid"      }, /* 139 */
++      { 5,    TD,     sys_llseek,             "_llseek"       }, /* 140 */
++      { 3,    TD,     sys_getdents,           "getdents"      }, /* 141 */
++      { 5,    TD,     sys_select,             "select"        }, /* 142 */
++      { 2,    TD,     sys_flock,              "flock"         }, /* 143 */
++      { 3,    0,      sys_msync,              "msync"         }, /* 144 */
++      { 3,    TD,     sys_readv,              "readv", SYS_readv }, /* 145 */
++      { 3,    TD,     sys_writev,             "writev", SYS_writev }, /* 146 */
++      { 1,    0,      sys_getsid,             "getsid"        }, /* 147 */
++      { 1,    TD,     sys_fdatasync,          "fdatasync"     }, /* 148 */
++      { 1,    0,      sys_sysctl,             "_sysctl"       }, /* 149 */
++      { 2,    0,      sys_mlock,              "mlock"         }, /* 150 */
++      { 2,    0,      sys_munlock,            "munlock"       }, /* 151 */
++      { 2,    0,      sys_mlockall,           "mlockall"      }, /* 152 */
++      { 0,    0,      sys_munlockall,         "munlockall"    }, /* 153 */
++      { 0,    0,      sys_sched_setparam,     "sched_setparam"        }, /* 154 */
++      { 2,    0,      sys_sched_getparam,     "sched_getparam"        }, /* 155 */
++      { 3,    0,      sys_sched_setscheduler, "sched_setscheduler"    }, /* 156 */
++      { 1,    0,      sys_sched_getscheduler, "sched_getscheduler"    }, /* 157 */
++      { 0,    0,      sys_sched_yield,        "sched_yield"   }, /* 158 */
++      { 1,    0,      sys_sched_get_priority_max,     "sched_get_priority_max"        }, /* 159 */
++      { 1,    0,      sys_sched_get_priority_min,     "sched_get_priority_min"        }, /* 160 */
++      { 2,    0,      sys_sched_rr_get_interval,      "sched_rr_get_interval" }, /* 161 */
++      { 2,    0,      sys_nanosleep,          "nanosleep"     }, /* 162 */
++      { 4,    0,      sys_mremap,             "mremap"        }, /* 163 */
++      { 3,    0,      sys_setresuid,          "setresuid"     }, /* 164 */
++      { 3,    0,      sys_getresuid,          "getresuid"     }, /* 165 */
++      { 5,    0,      printargs,              "vm86"          }, /* 166 */
++      { 5,    0,      sys_query_module,       "query_module"  }, /* 167 */
++      { 3,    TD,     sys_poll,               "poll"          }, /* 168 */
++      { 3,    0,      printargs,              "nfsservctl"    }, /* 169 */
++      { 3,    0,      sys_setresgid,          "setresgid"     }, /* 170 */
++      { 3,    0,      sys_getresgid,          "getresgid"     }, /* 171 */
++      { 5,    0,      printargs,              "prctl"         }, /* 172 */
++      { 1,    TS,     printargs,              "rt_sigreturn"  }, /* 173 */
++      { 4,    TS,     sys_rt_sigaction,       "rt_sigaction"  }, /* 174 */
++      { 4,    TS,     sys_rt_sigprocmask,     "rt_sigprocmask"        }, /* 175 */
++      { 2,    TS,     sys_rt_sigpending,      "rt_sigpending" }, /* 176 */
++      { 4,    TS,     sys_rt_sigtimedwait,    "rt_sigtimedwait"       }, /* 177 */
++      { 3,    TS,     sys_rt_sigqueueinfo,    "rt_sigqueueinfo"       }, /* 178 */
++      { 2,    TS,     sys_rt_sigsuspend,      "rt_sigsuspend" }, /* 179 */
++      { 5,    TD,     sys_pread,              "pread", SYS_read }, /* 180 */
++      { 5,    TD,     sys_pwrite,             "pwrite", SYS_write }, /* 181 */
++      { 3,    TF,     sys_chown,              "lchown"        }, /* 182 */
++      { 2,    TF,     sys_getcwd,             "getcwd"        }, /* 183 */
++      { 2,    0,      sys_capget,             "capget"        }, /* 184 */
++      { 2,    0,      sys_capset,             "capset"        }, /* 185 */
++      { 2,    TS,     sys_sigaltstack,        "sigaltstack"   }, /* 186 */
++      { 4,    TD,     sys_sendfile,           "sendfile"      }, /* 187 */
++      { 5,    0,      sys_getpmsg,            "getpmsg"       }, /* 188 */
++      { 5,    0,      sys_putpmsg,            "putpmsg"       }, /* 189 */
++      { 0,    TP,     sys_vfork,              "vfork", SYS_vfork }, /* 190 */
++      { 2,    0,      sys_getrlimit,          "getrlimit"     }, /* 191 */
++      { 6,    0,      sys_mmap,               "mmap2"         }, /* 192 */
++      { 3,    TF,     sys_truncate64,         "truncate64"    }, /* 193 */
++      { 3,    TD,     sys_ftruncate64,        "ftruncate64"   }, /* 194 */
++      { 2,    TF,     sys_stat64,             "stat64"        }, /* 195 */
++      { 2,    TF,     sys_lstat64,            "lstat64"       }, /* 196 */
++      { 2,    TD,     sys_fstat64,            "fstat64"       }, /* 197 */
++      { 3,    TF,     sys_chown,              "chown32"       }, /* 198 */
++      { 0,    0,      sys_getuid,             "getuid32"      }, /* 199 */
++      { 0,    0,      sys_getgid,             "getgid32"      }, /* 200 */
++      { 0,    0,      sys_geteuid,            "geteuid32"     }, /* 201 */
++      { 0,    0,      sys_geteuid,            "getegid32"     }, /* 202 */
++      { 2,    0,      sys_setreuid,           "setreuid32"    }, /* 203 */
++      { 2,    0,      sys_setregid,           "setregid32"    }, /* 204 */
++      { 2,    0,      sys_getgroups32,        "getgroups32"   }, /* 205 */
++      { 2,    0,      sys_setgroups32,        "setgroups32"   }, /* 206 */
++      { 3,    TD,     sys_fchown,             "fchown32"      }, /* 207 */
++      { 3,    0,      sys_setresuid,          "setresuid32"   }, /* 208 */
++      { 3,    0,      sys_getresuid,          "getresuid32"   }, /* 209 */
++      { 3,    0,      sys_setresgid,          "setresgid32"   }, /* 210 */
++      { 3,    0,      sys_getresgid,          "getresgid32"   }, /* 211 */
++      { 3,    TF,     sys_chown,              "lchown32"      }, /* 212 */
++      { 1,    0,      sys_setuid,             "setuid32"      }, /* 213 */
++      { 1,    0,      sys_setgid,             "setgid32"      }, /* 214 */
++      { 1,    0,      sys_setfsuid,           "setfsuid32"    }, /* 215 */
++      { 1,    0,      sys_setfsgid,           "setfsgid32"    }, /* 216 */
++      { 2,    TF,     sys_pivotroot,          "pivot_root"    }, /* 217 */
++      { 3,    0,      sys_mincore,            "mincore"       }, /* 218 */
++      { 3,    0,      sys_madvise,            "madvise"       }, /* 219 */
++      { 3,    TD,     sys_getdents64,         "getdents64"    }, /* 220 */
++      { 3,    TD,     sys_fcntl,              "fcntl64"       }, /* 221 */
++      { 4,    0,      printargs,              "SYS_222"       }, /* 222 */
++      { 5,    0,      printargs,              "security"      }, /* 223 */
++      { 0,    0,      printargs,              "gettid"        }, /* 224 */
++      { 4,    TD,     sys_readahead,          "readahead"     }, /* 225 */
++      { 5,    TF,     sys_setxattr,           "setxattr"      }, /* 226 */
++      { 5,    TF,     sys_setxattr,           "lsetxattr"     }, /* 227 */
++      { 5,    TD,     sys_fsetxattr,          "fsetxattr"     }, /* 228 */
++      { 4,    TF,     sys_getxattr,           "getxattr"      }, /* 229 */
++      { 4,    TF,     sys_getxattr,           "lgetxattr"     }, /* 230 */
++      { 4,    0,      sys_fgetxattr,          "fgetxattr"     }, /* 231 */
++      { 3,    TF,     sys_listxattr,          "listxattr"     }, /* 232 */
++      { 3,    TF,     sys_listxattr,          "llistxattr"    }, /* 233 */
++      { 3,    0,      sys_flistxattr,         "flistxattr"    }, /* 234 */
++      { 2,    TF,     sys_removexattr,        "removexattr"   }, /* 235 */
++      { 2,    TF,     sys_removexattr,        "lremovexattr"  }, /* 236 */
++      { 2,    TD,     sys_fremovexattr,       "fremovexattr"  }, /* 237 */
++      { 2,    TS,     sys_kill,               "tkill"         }, /* 238 */
++      { 4,    TD,     sys_sendfile64,         "sendfile64"    }, /* 239 */
++      { 5,    0,      sys_futex,              "futex"         }, /* 240 */
++      { 3,    0,      sys_sched_setaffinity,  "sched_setaffinity"     },/* 241 */
++      { 3,    0,      sys_sched_getaffinity,  "sched_getaffinity"     },/* 242 */
++      { 1,    0,      sys_set_thread_area,    "set_thread_area"       }, /* 243 */
++      { 1,    0,      sys_get_thread_area,    "get_thread_area"       }, /* 244 */
++      { 2,    0,      sys_io_setup,           "io_setup"      }, /* 245 */
++      { 1,    0,      sys_io_destroy,         "io_destroy"    }, /* 246 */
++      { 5,    0,      sys_io_getevents,       "io_getevents"  }, /* 247 */
++      { 3,    0,      sys_io_submit,          "io_submit"     }, /* 248 */
++      { 3,    0,      sys_io_cancel,          "io_cancel"     }, /* 249 */
++      { 5,    0,      printargs,              "alloc_hugepages"       }, /* 250 */
++      { 1,    0,      printargs,              "free_hugepages"        }, /* 251 */
++      { 1,    TP,     sys_exit,               "exit_group", __NR_exit_group }, /* 252 */
++      { 4,    0,      printargs,              "lookup_dcookie"        }, /* 253 */
++      { 1,    0,      printargs,              "bfin_spinlock" }, /* 254 */
++      { 1,    0,      sys_epoll_create,       "epoll_create"  }, /* 255 */
++      { 4,    TD,     sys_epoll_ctl,          "epoll_ctl"     }, /* 256 */
++      { 4,    TD,     sys_epoll_wait,         "epoll_wait"    }, /* 257 */
++      { 5,    0,      sys_remap_file_pages,   "remap_file_pages"      }, /* 258 */
++      { 1,    0,      printargs,              "set_tid_address"       }, /* 259 */
++      { 3,    0,      sys_timer_create,       "timer_create"  }, /* 260 */
++      { 4,    0,      sys_timer_settime,      "timer_settime" }, /* 261 */
++      { 2,    0,      sys_timer_gettime,      "timer_gettime" }, /* 262 */
++      { 1,    0,      sys_timer_getoverrun,   "timer_getoverrun"      }, /* 263 */
++      { 1,    0,      sys_timer_delete,       "timer_delete"  }, /* 264 */
++      { 2,    0,      sys_clock_settime,      "clock_settime" }, /* 265 */
++      { 2,    0,      sys_clock_gettime,      "clock_gettime" }, /* 266 */
++      { 2,    0,      sys_clock_getres,       "clock_getres"  }, /* 267 */
++      { 4,    0,      sys_clock_nanosleep,    "clock_nanosleep"       }, /* 268 */
++      { 3,    TF,     sys_statfs64,           "statfs64"      }, /* 269 */
++      { 3,    TD,     sys_fstatfs64,          "fstatfs64"     }, /* 270 */
++      { 3,    TS,     sys_tgkill,             "tgkill"        }, /* 271 */
++      { 2,    TF,     sys_utimes,             "utimes"        }, /* 272 */
++      { 6,    0,      sys_fadvise64_64,       "fadvise64_64"  }, /* 273 */
++      { 5,    0,      printargs,              "vserver"       }, /* 274 */
++      { 6,    0,      sys_mbind,              "mbind"         }, /* 275 */
++      { 5,    0,      sys_get_mempolicy,      "get_mempolicy" }, /* 276 */
++      { 3,    0,      sys_set_mempolicy,      "set_mempolicy" }, /* 277 */
++      { 4,    0,      sys_mq_open,            "mq_open"       }, /* 278 */
++      { 1,    0,      sys_mq_unlink,          "mq_unlink"     }, /* 279 */
++      { 5,    0,      sys_mq_timedsend,       "mq_timedsend"  }, /* 280 */
++      { 5,    0,      sys_mq_timedreceive,    "mq_timedreceive"       }, /* 281 */
++      { 2,    0,      sys_mq_notify,          "mq_notify"     }, /* 282 */
++      { 3,    0,      sys_mq_getsetattr,      "mq_getsetattr" }, /* 283 */
++      { 5,    0,      printargs,              "kexec_load"    }, /* 284 */
++      { 5,    TP,     sys_waitid,             "waitid", SYS_waitid }, /* 285 */
++      { 5,    0,      printargs,              "add_key"       }, /* 286 */
++      { 4,    0,      printargs,              "request_key"   }, /* 287 */
++      { 5,    0,      printargs,              "keyctl"        }, /* 288 */
++      { 3,    0,      printargs,              "ioprio_set"    }, /* 289 */
++      { 2,    0,      printargs,              "ioprio_get"    }, /* 290 */
++      { 0,    TD,     printargs,              "inotify_init"  }, /* 291 */
++      { 3,    TD,     sys_inotify_add_watch,  "inotify_add_watch"     }, /* 292 */
++      { 2,    TD,     sys_inotify_rm_watch,   "inotify_rm_watch"      }, /* 293 */
++      { 4,    0,      printargs,              "migrate_pages" }, /* 294 */
++      { 4,    TD|TF,  sys_openat,             "openat"        }, /* 295 */
++      { 3,    TD|TF,  sys_mkdirat,            "mkdirat"       }, /* 296 */
++      { 4,    TD|TF,  sys_mknodat,            "mknodat"       }, /* 297 */
++      { 5,    TD|TF,  sys_fchownat,           "fchownat"      }, /* 298 */
++      { 3,    TD|TF,  sys_futimesat,          "futimesat"     }, /* 299 */
++      { 4,    TD|TD,  sys_newfstatat,         "fstatat64"     }, /* 300 */
++      { 3,    TD|TF,  sys_unlinkat,           "unlinkat"      }, /* 301 */
++      { 4,    TD|TF,  sys_renameat,           "renameat"      }, /* 302 */
++      { 5,    TD|TF,  sys_linkat,             "linkat"        }, /* 303 */
++      { 3,    TD|TF,  sys_symlinkat,          "symlinkat"     }, /* 304 */
++      { 4,    TD|TF,  sys_readlinkat,         "readlinkat"    }, /* 305 */
++      { 3,    TD|TF,  sys_fchmodat,           "fchmodat"      }, /* 306 */
++      { 3,    TD|TF,  sys_faccessat,          "faccessat"     }, /* 307 */
++      { 6,    TD,     sys_pselect6,           "pselect6"      }, /* 308 */
++      { 5,    TD,     sys_ppoll,              "ppoll"         }, /* 309 */
++      { 1,    TP,     sys_unshare,            "unshare"       }, /* 310 */
++      { 2,    0,      sys_sram_alloc,         "sram_alloc"    }, /* 311 */
++      { 1,    0,      printargs,              "sram_free"     }, /* 312 */
++      { 3,    0,      printargs,              "dma_memcpy"    }, /* 313 */
++      { 3,    TN,     sys_accept,             "accept"        }, /* 314 */
++      { 3,    TN,     sys_bind,               "bind"          }, /* 315 */
++      { 3,    TN,     sys_connect,            "connect"       }, /* 316 */
++      { 3,    TN,     sys_getpeername,        "getpeername"   }, /* 317 */
++      { 3,    TN,     sys_getsockname,        "getsockname"   }, /* 318 */
++      { 5,    TN,     sys_getsockopt,         "getsockopt"    }, /* 319 */
++      { 2,    TN,     sys_listen,             "listen"        }, /* 320 */
++      { 4,    TN,     sys_recv,               "recv", SYS_sub_recv }, /* 321 */
++      { 6,    TN,     sys_recvfrom,           "recvfrom", SYS_sub_recvfrom }, /* 322 */
++      { 5,    TN,     sys_recvmsg,            "recvmsg"       }, /* 323 */
++      { 4,    TN,     sys_send,               "send", SYS_sub_send }, /* 324 */
++      { 5,    TN,     sys_sendmsg,            "sendmsg"       }, /* 325 */
++      { 6,    TN,     sys_sendto,             "sendto", SYS_sub_sendto }, /* 326 */
++      { 5,    TN,     sys_setsockopt,         "setsockopt"    }, /* 327 */
++      { 2,    TN,     sys_shutdown,           "shutdown"      }, /* 328 */
++      { 3,    TN,     sys_socket,             "socket"        }, /* 329 */
++      { 4,    TN,     sys_socketpair,         "socketpair"    }, /* 330 */
++      { 4,    TI,     sys_semctl,             "semctl"        }, /* 331 */
++      { 4,    TI,     sys_semget,             "semget"        }, /* 332 */
++      { 4,    TI,     sys_semop,              "semop"         }, /* 333 */
++      { 4,    TI,     sys_msgctl,             "msgctl"        }, /* 334 */
++      { 4,    TI,     sys_msgget,             "msgget"        }, /* 335 */
++      { 4,    TI,     sys_msgrcv,             "msgrcv"        }, /* 336 */
++      { 4,    TI,     sys_msgsnd,             "msgsnd"        }, /* 337 */
++      { 4,    TI,     sys_shmat,              "shmat"         }, /* 338 */
++      { 4,    TI,     sys_shmctl,             "shmctl"        }, /* 339 */
++      { 4,    TI,     sys_shmdt,              "shmdt"         }, /* 340 */
++      { 4,    TI,     sys_shmget,             "shmget"        }, /* 341 */
++      { 6,    TD,     printargs,              "splice"        }, /* 342 */
++      { 4,    TD,     printargs,              "sync_file_range"       }, /* 343 */
++      { 4,    TD,     printargs,              "tee"           }, /* 344 */
++      { 4,    TD,     printargs,              "vmsplice"      }, /* 345 */
++      { 5,    TD,     sys_epoll_pwait,        "epoll_pwait"   }, /* 346 */
++      { 4,    TD|TF,  sys_utimensat,          "utimensat"     }, /* 347 */
++      { 3,    TD|TS,  sys_signalfd,           "signalfd"      }, /* 348 */
++      { 2,    TD,     sys_timerfd,            "timerfd_create"        }, /* 349 */
++      { 1,    TD,     sys_eventfd,            "eventfd"       }, /* 350 */
++      { 5,    0,      sys_pread,              "pread64"       }, /* 351 */
++      { 5,    0,      sys_pwrite,             "pwrite64"      }, /* 352 */
++      { 5,    0,      sys_fadvise64,          "fadvise64"     }, /* 353 */
++      { 2,    0,      printargs,              "set_robust_list"       }, /* 354 */
++      { 3,    0,      printargs,              "get_robust_list"       }, /* 355 */
++      { 4,    0,      printargs,              "fallocate"     }, /* 356 */
++      { 5,    TI,     sys_semtimedop,         "semtimedop"    }, /* 357 */
++      { 7,    0,      printargs,              "syscall"       }, /* 358 */
++      { 4,    TD,     printargs,      "timerfd_settime"       }, /* 358 */
++      { 2,    TD,     printargs,      "timerfd_gettime"       }, /* 359 */
+diff --git a/linux/syscall.h b/linux/syscall.h
+index c41bc42..a8a3fa3 100644
+--- a/linux/syscall.h
++++ b/linux/syscall.h
+@@ -326,3 +326,7 @@ int sys_pread64(), sys_pwrite64();
+ #ifdef POWERPC
+ int sys_subpage_prot();
+ #endif
++
++#ifdef BFIN
++int sys_sram_alloc();
++#endif
+diff --git a/process.c b/process.c
+index a1a02b7..40ae1c4 100644
+--- a/process.c
++++ b/process.c
+@@ -742,6 +742,10 @@ int new;
+       if (ptrace(PTRACE_POKEUSER, tcp->pid, (char*)(REG_A3), new)<0)
+               return -1;
+       return 0;
++#elif defined(BFIN)
++      if (ptrace(PTRACE_POKEUSER, tcp->pid, (char*)(REG_P0), new)<0)
++              return -1;
++      return 0;
+ #elif defined(IA64)
+       if (ia32) {
+               switch (new) {
+@@ -3036,7 +3040,7 @@ const struct xlat struct_user_offsets[] = {
+       { 70,                   "fpeir"                                 },
+ #endif
+-#if !defined(S390) && !defined(S390X) && !defined(MIPS) && !defined(SPARC64)
++#if !defined(S390) && !defined(S390X) && !defined(MIPS) && !defined(SPARC64) && !defined(BFIN)
+       { uoff(u_fpvalid),      "offsetof(struct user, u_fpvalid)"      },
+ #endif
+ #if  defined(I386) || defined(X86_64)
+@@ -3065,7 +3069,7 @@ const struct xlat struct_user_offsets[] = {
+ #if !defined(SPARC64)
+       { uoff(u_ar0),          "offsetof(struct user, u_ar0)"          },
+ #endif
+-#if !defined(ARM) && !defined(MIPS) && !defined(S390) && !defined(S390X) && !defined(SPARC64)
++#if !defined(ARM) && !defined(MIPS) && !defined(S390) && !defined(S390X) && !defined(SPARC64) && !defined(BFIN)
+       { uoff(u_fpstate),      "offsetof(struct user, u_fpstate)"      },
+ #endif
+       { uoff(magic),          "offsetof(struct user, magic)"          },
+diff --git a/syscall.c b/syscall.c
+index 086a793..b7fe14c 100644
+--- a/syscall.c
++++ b/syscall.c
+@@ -746,6 +746,8 @@ internal_syscall(struct tcb *tcp)
+       static long result,flags;
+ #elif defined (M68K)
+       static int d0;
++#elif defined(BFIN)
++      static long r0;
+ #elif defined (ARM)
+       static struct pt_regs regs;
+ #elif defined (ALPHA)
+@@ -899,6 +901,12 @@ struct tcb *tcp;
+                       return 0;
+               }
+       }
++#elif defined(BFIN)
++      if (upeek(pid, PT_ORIG_P0, &scno))
++              return -1;
++      /* Check if we return from execve. */
++      if (tcp->flags & TCB_WAITEXECVE && tcp->flags & TCB_INSYSCALL)
++              tcp->flags &= ~(TCB_INSYSCALL | TCB_WAITEXECVE);
+ #elif defined (I386)
+       if (upeek(pid, 4*ORIG_EAX, &scno) < 0)
+               return -1;
+@@ -1455,6 +1463,9 @@ struct tcb *tcp;
+       /*
+        * Nothing required
+        */
++#elif defined(BFIN)
++      if (upeek(pid, PT_R0, &r0) < 0)
++              return -1;
+ #elif defined (HPPA)
+       if (upeek(pid, PT_GR28, &r28) < 0)
+               return -1;
+@@ -1588,6 +1599,15 @@ struct tcb *tcp;
+                       u_error = 0;
+               }
+ #else /* !ARM */
++#ifdef BFIN
++              if (is_negated_errno(r0)) {
++                      tcp->u_rval = -1;
++                      u_error = -r0;
++              } else {
++                      tcp->u_rval = r0;
++                      u_error = 0;
++              }
++#else /* !BFIN */
+ #ifdef ALPHA
+               if (a3) {
+                       tcp->u_rval = -1;
+@@ -1655,6 +1675,7 @@ struct tcb *tcp;
+ #endif /* SPARC */
+ #endif /* SPARC64 */
+ #endif /* ALPHA */
++#endif /* BFIN */
+ #endif /* ARM */
+ #endif /* M68K */
+ #endif /* POWERPC */
+@@ -1781,6 +1802,11 @@ force_result(tcp, error, rval)
+                       return -1;
+       }
+ #else /* !IA64 */
++#ifdef BFIN
++      r0 = error ? -error : rval;
++      if (ptrace(PTRACE_POKEUSER, tcp->pid, (char*)PT_R0, r0) < 0)
++              return -1;
++#else /* !BFIN */
+ #ifdef MIPS
+       if (error) {
+               r2 = error;
+@@ -1885,6 +1911,7 @@ force_result(tcp, error, rval)
+ #endif /* M68K */
+ #endif /* POWERPC */
+ #endif /* MIPS */
++#endif /* BFIN */
+ #endif /* IA64 */
+ #endif /* X86_64 */
+ #endif /* I386 */
+@@ -2116,6 +2143,20 @@ struct tcb *tcp;
+               for (i = 0; i < tcp->u_nargs; i++)
+                       tcp->u_arg[i] = regs.uregs[i];
+       }
++#elif defined(BFIN)
++      {
++              int i;
++              int argreg[] = {PT_R0, PT_R1, PT_R2, PT_R3, PT_R4, PT_R5};
++
++              if (tcp->scno >= 0 && tcp->scno < nsyscalls && sysent[tcp->scno].nargs != -1)
++                      tcp->u_nargs = sysent[tcp->scno].nargs;
++              else
++                      tcp->u_nargs = sizeof(argreg) / sizeof(argreg[0]);
++
++              for (i = 0; i < tcp->u_nargs; ++i)
++                      if (upeek(pid, argreg[i], &tcp->u_arg[i]) < 0)
++                              return -1;
++      }
+ #elif defined(SH)
+        {
+                int i;
+diff --git a/system.c b/system.c
+index 306b0df..6c16baf 100644
+--- a/system.c
++++ b/system.c
+@@ -293,6 +293,33 @@ struct tcb *tcp;
+ }
+ #endif /* M68K */
++#ifdef BFIN
++
++#include <bfin_sram.h>
++
++static const struct xlat sram_alloc_flags[] = {
++      { L1_INST_SRAM,         "L1_INST_SRAM" },
++      { L1_DATA_A_SRAM,       "L1_DATA_A_SRAM" },
++      { L1_DATA_B_SRAM,       "L1_DATA_B_SRAM" },
++      { L1_DATA_SRAM,         "L1_DATA_SRAM" },
++      { 0,                    NULL },
++};
++
++int
++sys_sram_alloc(tcp)
++struct tcb *tcp;
++{
++      if (entering(tcp)) {
++              /* size */
++              tprintf("%zu, ", tcp->u_arg[0]);
++              /* flags */
++              printxval(sram_alloc_flags, tcp->u_arg[1], "L1_???_SRAM");
++      }
++      return 1;
++}
++
++#endif
++
+ #endif /* LINUX */
+ #ifdef SUNOS4
+diff --git a/util.c b/util.c
+index 07a03ec..77a8404 100644
+--- a/util.c
++++ b/util.c
+@@ -1068,6 +1068,9 @@ struct tcb *tcp;
+ #elif defined(ARM)
+       if (upeek(tcp->pid, 4*15, &pc) < 0)
+               return -1;
++#elif defined(BFIN)
++      if (upeek(tcp->pid, REG_PC, &pc) < 0)
++              return -1;
+ #elif defined(POWERPC)
+       if (upeek(tcp->pid, sizeof(unsigned long)*PT_NIP, &pc) < 0)
+               return -1;
+@@ -1245,6 +1248,14 @@ struct tcb *tcp;
+               return;
+       }
+       tprintf("[%08lx] ", pc);
++#elif defined(BFIN)
++      long pc;
++
++      if (upeek(tcp->pid, PT_PC, &pc) < 0) {
++              PRINTBADPC;
++              return;
++      }
++      tprintf("[%08lx] ", pc);
+ #endif /* !architecture */
+ #endif /* LINUX */
+-- 
+1.6.0.2
+
diff --git a/1035_all_glibc-install-others.patch b/1035_all_glibc-install-others.patch
new file mode 100644 (file)
index 0000000..4ab4f3c
--- /dev/null
@@ -0,0 +1,156 @@
+2007-07-24  Mike Frysinger  <vapier@gentoo.org>
+
+       * Makefile (+subdir_targets): Add extras with install- prefix.
+       (install-extras): Change from install-others.
+       (install-extras-nosubdir): Change from install-others-nosubdir.
+       * Makerules (install-extras-nosubdir): Define.
+       (install-no-libc.a-nosubdir): Add install-extras-nosubdir when
+       build-programs.  Delete install-others-nosubdir when not.
+       * elf/Makefile (install-extras): Change from install-others.
+       * iconvdata/Makefile (install-extras): Likewise.
+       * intl/Makefile (install-extras): Likewise.
+       * localedata/Makefile (install-extras): Likewise.
+       * po/Makefile (install-extras): Likewise.
+       * stdio-common/Makefile (install-extras): Likewise.
+       * timezone/Makefile (install-extras): Likewise.
+
+--- Makefile
++++ Makefile
+@@ -66,7 +66,7 @@
+                  subdir_echo-headers                                  \
+                  subdir_install                                       \
+                  subdir_objs subdir_stubs subdir_testclean            \
+-                 $(addprefix install-, no-libc.a bin lib data headers others)
++                 $(addprefix install-, no-libc.a bin lib data headers others extras)
\f
+ headers := limits.h values.h features.h gnu-versions.h bits/libc-lock.h \
+          bits/xopen_lim.h gnu/libc-version.h
+@@ -78,7 +78,7 @@
+ vpath %.h $(subdir-dirs)
+ # What to install.
+-install-others = $(inst_includedir)/gnu/stubs.h
++install-extras = $(inst_includedir)/gnu/stubs.h
+ install-bin-script =
+ ifeq (yes,$(build-shared))
+@@ -167,7 +167,7 @@
+       $(make-target-directory)
+       $(INSTALL_DATA) $< $@
+-install-others-nosubdir: $(installed-stubs)
++install-extras-nosubdir: $(installed-stubs)
+ endif
+--- Makerules
++++ Makerules
+@@ -1144,6 +1144,7 @@
+ install-data-nosubdir: $(addprefix $(inst_datadir)/,$(install-data))
+ install-headers-nosubdir: $(addprefix $(inst_includedir)/,$(headers))
+ install-others-nosubdir: $(install-others)
++install-extras-nosubdir: $(install-extras)
+ # We need all the `-nosubdir' targets so that `install' in the parent
+ # doesn't depend on several things which each iterate over the subdirs.
+@@ -1155,11 +1156,12 @@
+ ifeq ($(build-programs),yes)
+ install-no-libc.a-nosubdir: install-headers-nosubdir install-data-nosubdir\
+                           install-bin-nosubdir install-bin-script-nosubdir \
+-                          install-lib-nosubdir install-others-nosubdir \
+-                          install-rootsbin-nosubdir install-sbin-nosubdir
++                          install-lib-nosubdir install-extras-nosubdir \
++                          install-others-nosubdir install-rootsbin-nosubdir \
++                          install-sbin-nosubdir
+ else
+ install-no-libc.a-nosubdir: install-headers-nosubdir install-data-nosubdir\
+-                          install-lib-nosubdir install-others-nosubdir
++                          install-lib-nosubdir install-extras-nosubdir
+ endif
+ install: install-no-libc.a-nosubdir
\f
+--- elf/Makefile
++++ elf/Makefile
+@@ -116,7 +116,7 @@
+ ifeq (yes,$(build-shared))
+ extra-objs    = $(all-rtld-routines:%=%.os) soinit.os sofini.os interp.os
+ generated     += librtld.os dl-allobjs.os ld.so ldd
+-install-others        = $(inst_slibdir)/$(rtld-installed-name)
++install-extras        = $(inst_slibdir)/$(rtld-installed-name)
+ install-bin-script = ldd
+ endif
+--- iconvdata/Makefile
++++ iconvdata/Makefile
+@@ -210,7 +210,7 @@
+ extra-objs    += $(modules.so)
+-install-others        = $(addprefix $(inst_gconvdir)/, $(modules.so)) \
++install-extras        = $(addprefix $(inst_gconvdir)/, $(modules.so)) \
+                 $(inst_gconvdir)/gconv-modules
+ # We can build the conversion tables for numerous charsets automatically.
+--- intl/Makefile
++++ intl/Makefile
+@@ -45,7 +45,7 @@
+ before-compile = $(objpfx)msgs.h
+-install-others = $(inst_msgcatdir)/locale.alias
++install-extras = $(inst_msgcatdir)/locale.alias
+ generated = msgs.h mtrace-tst-gettext tst-gettext.mtrace
+ generated-dirs := domaindir localedir
+--- localedata/Makefile
++++ localedata/Makefile
+@@ -102,7 +102,7 @@
+ endif
+ # Files to install.
+-install-others := $(addprefix $(inst_i18ndir)/, \
++install-extras := $(addprefix $(inst_i18ndir)/, \
+                             $(addsuffix .gz, $(charmaps)) \
+                             $(locales))
+--- po/Makefile
++++ po/Makefile
+@@ -46,7 +46,7 @@
+ mo-installed = $(inst_msgcatdir)/%/LC_MESSAGES/$(domainname).mo
+ # Files to install: a $(domainname).mo file for each language.
+-install-others = $(LINGUAS:%=$(mo-installed))
++install-extras = $(LINGUAS:%=$(mo-installed))
+ # Files to distribute: all the source and compiled binary translation files.
+ distribute = $(ALL_LINGUAS:=.po) $(BROKEN_LINGUAS:=.po) $(ALL_LINGUAS:=.mo) \
+--- stdio-common/Makefile
++++ stdio-common/Makefile
+@@ -36,7 +36,7 @@
+       remove rename renameat                                                \
+       flockfile ftrylockfile funlockfile
+-install-others = $(inst_includedir)/bits/stdio_lim.h
++install-extras = $(inst_includedir)/bits/stdio_lim.h
+ include ../Makeconfig
+--- timezone/Makefile
++++ timezone/Makefile
+@@ -71,14 +71,14 @@
+ ifeq ($(cross-compiling),no)
+ # Don't try to install the zoneinfo files since we can't run zic.
+-install-others = $(addprefix $(inst_zonedir)/,$(zonenames) \
++install-extras = $(addprefix $(inst_zonedir)/,$(zonenames) \
+                                             $(zonenames:%=posix/%) \
+                                             $(zonenames:%=right/%)) \
+                $(installed-localtime-file) $(installed-posixrules-file)
+ endif
+ ifeq ($(have-ksh),yes)
+-install-others += $(inst_zonedir)/iso3166.tab $(inst_zonedir)/zone.tab
++install-extras += $(inst_zonedir)/iso3166.tab $(inst_zonedir)/zone.tab
+ install-bin-script = tzselect
+ generated += tzselect
+ endif
diff --git a/1035_all_glibc-respect-build-programs.patch b/1035_all_glibc-respect-build-programs.patch
new file mode 100644 (file)
index 0000000..29607f3
--- /dev/null
@@ -0,0 +1,44 @@
+2007-07-23  Mike Frysinger  <vapier@gentoo.org>
+
+       * iconv/Makefile (install-others): Don't define if not build-programs.
+       * login/Makefile (install-others): Likewise.
+       * posix/Makefile (install-others): Likewise.
+
+--- iconv/Makefile
++++ iconv/Makefile
+@@ -56,8 +56,10 @@
+                 iconvconfig.h
+ others                = iconv_prog iconvconfig
+-install-others        = $(inst_bindir)/iconv
+ install-sbin  = iconvconfig
++ifeq ($(build-programs),yes)
++install-others        = $(inst_bindir)/iconv
++endif
+ CFLAGS-gconv_cache.c += -DGCONV_DIR='"$(gconvdir)"'
+ CFLAGS-gconv_conf.c = -DGCONV_PATH='"$(gconvdir)"'
+--- login/Makefile
++++ login/Makefile
+@@ -30,7 +30,9 @@
+ CFLAGS-grantpt.c = -DLIBEXECDIR='"$(libexecdir)"'
+ others = utmpdump pt_chown
++ifeq ($(build-programs),yes)
+ install-others = $(inst_libexecdir)/pt_chown
++endif
+ distribute := utmp-private.h utmp-equal.h pty-private.h
+--- posix/Makefile
++++ posix/Makefile
+@@ -98,7 +98,9 @@
+ endif
+ others                := getconf
+ install-bin   := getconf
++ifeq ($(build-programs),yes)
+ install-others        := $(inst_libexecdir)/getconf
++endif
+ before-compile        := testcases.h ptestcases.h
diff --git a/10_all_generate-pie-scripts.patch b/10_all_generate-pie-scripts.patch
new file mode 100644 (file)
index 0000000..935008f
--- /dev/null
@@ -0,0 +1,14 @@
+2006-07-19  Mike Frysinger  <vapier@gentoo.org>
+
+       * emulparams/hppa64linux.sh (GENERATE_PIE_SCRIPT): Set to yes.
+
+--- ld/emulparams/hppa64linux.sh
++++ ld/emulparams/hppa64linux.sh
+@@ -13,6 +13,7 @@
+ ENTRY="main"
+ TEMPLATE_NAME=elf32
+ GENERATE_SHLIB_SCRIPT=yes
++GENERATE_PIE_SCRIPT=yes
+ # We really want multiple .stub sections, one for each input .text section,
+ # but for now this is good enough.
diff --git a/600-missing_headers.patch b/600-missing_headers.patch
new file mode 100644 (file)
index 0000000..afda703
--- /dev/null
@@ -0,0 +1,11 @@
+$FreeWRT$
+--- busybox-1.4.1/modutils/rmmod.c.orig        2007-01-24 21:34:39.000000000 +0000
++++ busybox-1.4.1/modutils/rmmod.c     2007-03-27 11:26:31.000000000 +0000
+@@ -9,6 +9,7 @@
+ #include "busybox.h"
+ #include <sys/syscall.h>
++#include <asm/unistd.h>
+ #ifdef CONFIG_FEATURE_2_6_MODULES
+ static inline void filename2modname(char *modname, const char *afterslash)
diff --git a/80_all_binutils-2.15.96-arm-maxpagesize.patch b/80_all_binutils-2.15.96-arm-maxpagesize.patch
new file mode 100644 (file)
index 0000000..1b31677
--- /dev/null
@@ -0,0 +1,16 @@
+2006-07-19  Peter S. Mazinger  <ps.m@gmx.net>
+
+       * emulparams/armelf.sh (MAXPAGESIZE): Changed to
+       "CONSTANT (MAXPAGESIZE)".
+
+--- ld/emulparams/armelf.sh
++++ ld/emulparams/armelf.sh
+@@ -23,7 +23,7 @@
+ ARCH=arm
+ MACHINE=
+-MAXPAGESIZE=256
++MAXPAGESIZE="CONSTANT (MAXPAGESIZE)"
+ ENTRY=_start
+ EMBEDDED=yes
diff --git a/950-unportability.patch b/950-unportability.patch
new file mode 100644 (file)
index 0000000..466ffc3
--- /dev/null
@@ -0,0 +1,28 @@
+$FreeWRT$
+
+       collect all unportability fixes for the build
+       system (not what ends up in the .ipk) here
+
+--- busybox-1.4.2/scripts/trylink.orig Sun Mar 18 16:59:02 2007
++++ busybox-1.4.2/scripts/trylink      Fri Jul 20 12:07:14 2007
+@@ -1,4 +1,4 @@
+-#!/bin/sh
++#!/usr/bin/env bash
+ debug=false
+--- busybox-1.4.2/applets/Kbuild.orig  Sun Mar 18 16:59:13 2007
++++ busybox-1.4.2/applets/Kbuild       Fri Jul 20 12:08:48 2007
+@@ -8,6 +8,7 @@ obj-y:=
+ obj-y += applets.o
+ obj-y += busybox.o
++ifneq (${HOST_OS_IS_NOT_LINUX},)
+ # Generated file needs additional love
+ applets/applets.o: include/usage_compressed.h
+@@ -20,3 +21,4 @@ quiet_cmd_gen_usage_compressed = GEN    
+       cmd_gen_usage_compressed = $(srctree)/applets/usage_compressed include/usage_compressed.h applets
+ include/usage_compressed.h: $(srctree)/include/usage.h applets/usage
+       $(call cmd,gen_usage_compressed)
++endif
diff --git a/BuildToolChain-scrub.patch b/BuildToolChain-scrub.patch
new file mode 100644 (file)
index 0000000..26e4a0f
--- /dev/null
@@ -0,0 +1,137 @@
+Index: BuildToolChain
+===================================================================
+--- BuildToolChain     (revision 1371)
++++ BuildToolChain     (working copy)
+@@ -199,15 +199,9 @@
+             HOST_TARGET="--host=$OPTARG"
+             ;;
+         k)
+-            if [ -d $OPTARG/uClibc ] ; then
+-                UCLINUX_ROOT=$OPTARG
+-                KERNEL_SOURCE=$OPTARG/linux-2.6.x
+-                if [ ! -d $KERNEL_SOURCE/arch/blackfin ] ; then
+-                    echo "Can't find $KERNEL_SOURCE/arch/blackfin"
+-                    exit 1
+-                fi
+-            else
+-                echo "Invalid Kernel path : $OPTARG"
++            KERNEL_SOURCE=$OPTARG
++            if [ ! -d $KERNEL_SOURCE/arch/blackfin ] ; then
++                echo "Can't find $KERNEL_SOURCE/arch/blackfin"
+                 exit 1
+             fi
+             ;;
+@@ -811,8 +805,7 @@
+ #
+ build_uClibc()
+ {
+-    #ARGS="CROSS=bfin-elf- PREFIX=$2 DEVEL_PREFIX=\"/\" RUNTIME_PREFIX=/runtime/ KERNEL_SOURCE=$KERNEL_SOURCE ROOTDIR=$UCLINUX_ROOT"
+-    ARGS="CROSS=bfin-elf- PREFIX=$2 DEVEL_PREFIX=\"/\" RUNTIME_PREFIX=/runtime/ KERNEL_SOURCE=$DIR_KBUILD_OUTPUT/usr ROOTDIR=$UCLINUX_ROOT"
++    ARGS="CROSS=bfin-elf- PREFIX=$2 DEVEL_PREFIX=\"/\" RUNTIME_PREFIX=/runtime/ KERNEL_SOURCE=$DIR_KBUILD_OUTPUT/usr"
+     echo -n "*** Cleaning uClibc                " ; date
+     RUN="$MAKE clean $ARGS"
+     (echo "echo -e '###\n$RUN\n' $LOGFILE" ) | sh
+@@ -869,11 +862,6 @@
+             echo "uClibc $1 did not install properly : Missing $RUN"
+             echo "Please report an error to http://blackfin.uclinux.org"
+             tail -10 $ACTUAL_LOGFILE
+-            mv saved-config-toplevel .config 2>/dev/null
+-            mv saved-config-linux linux-2.6.x/.config 2>/dev/null
+-            mv saved-config-uClibc uClibc/.config 2>/dev/null
+-            mv saved-config-user config/.config 2>/dev/null
+-            mv saved-config-arch config.arch 2>/dev/null
+             exit 1
+         fi
+     done
+@@ -1102,26 +1090,11 @@
+ if [ $KERNEL_SOURCE ] ; then
+     echo -n "*** Configuring uClinux            " ; date
+-    cd $UCLINUX_ROOT
+-    # Save the previous configuration
+-    cp .config saved-config-toplevel 2>/dev/null
+-    cp linux-2.6.x/.config saved-config-linux 2>/dev/null
+-    cp config/.config saved-config-user 2>/dev/null
+-    cp -a config.arch saved-config-arch 2>/dev/null
+-
+-    # Make sure the kernel is in a safe state
+-    RUN="$MAKE AnalogDevices/BF537-STAMP_config"
++    cd $KERNEL_SOURCE
++    RUN="$MAKE -j1 CROSS_COMPILE=bfin-elf- headers_check headers_install INSTALL_HDR_PATH=$DIR_KBUILD_OUTPUT/usr KBUILD_OUTPUT=$DIR_KBUILD_OUTPUT"
+     (echo "echo -e '###\n$RUN\n' $LOGFILE" ) | sh
+-    (echo $RUN $LOGFILE ; ) | sh
+-
+-    cd linux-2.6.x
+-    RUN="$MAKE CROSS_COMPILE=bfin-elf- prepare"
+-    (echo "echo -e '###\n$RUN\n' $LOGFILE" ) | sh
+     (echo $RUN $LOGFILE ; ) | sh || die_with_log
+-    RUN="$MAKE CROSS_COMPILE=bfin-elf- headers_install INSTALL_HDR_PATH=$DIR_KBUILD_OUTPUT/usr KBUILD_OUTPUT=$DIR_KBUILD_OUTPUT"
+-    (echo "echo -e '###\n$RUN\n' $LOGFILE" ) | sh
+-    (echo $RUN $LOGFILE ; ) | sh || die_with_log
+     cd ..
+     ####################### Step 3 - build uClibc ################
+@@ -1144,7 +1117,7 @@
+     echo '# UCLIBC_FORMAT_SHARED_FLAT is not set' >>.config
+     echo '# UCLIBC_FORMAT_FLAT_SEP_DATA is not set' >>.config
+     echo "KERNEL_HEADERS=\"$DIR_KBUILD_OUTPUT/usr/include\"" >>.config
+-    RUN="$MAKE oldconfig CROSS=bfin-elf- ROOTDIR=$UCLINUX_ROOT"
++    RUN="$MAKE oldconfig CROSS=bfin-elf-"
+     (echo "echo -e '###\n$RUN\n' $LOGFILE" ) | sh
+     (echo $RUN $LOGFILE ; ) | sh
+@@ -1162,7 +1135,7 @@
+     echo '# UCLIBC_FORMAT_FLAT is not set' >>.config
+     echo 'MULTILIB="msep-data"' >>.config
+-    RUN="$MAKE oldconfig CROSS=bfin-elf- ROOTDIR=$UCLINUX_ROOT"
++    RUN="$MAKE oldconfig CROSS=bfin-elf-"
+     (echo "echo -e '###\n$RUN\n' $LOGFILE" ) | sh
+     (echo $RUN $LOGFILE ; ) | sh
+@@ -1180,7 +1153,7 @@
+     echo '# UCLIBC_FORMAT_FLAT_SEP_DATA is not set' >>.config
+     echo 'MULTILIB="mid-shared-library"' >>.config
+-    RUN="$MAKE oldconfig CROSS=bfin-elf- ROOTDIR=$UCLINUX_ROOT"
++    RUN="$MAKE oldconfig CROSS=bfin-elf-"
+     (echo "echo -e '###\n$RUN\n' $LOGFILE" ) | sh
+     (echo $RUN $LOGFILE ; ) | sh
+@@ -1206,7 +1179,7 @@
+     echo '# UCLIBC_FORMAT_FLAT_SEP_DATA is not set' >>.config
+     echo "KERNEL_HEADERS=\"$DIR_KBUILD_OUTPUT/usr/include\"" >>.config
+-    RUN="$MAKE oldconfig CROSS=bfin-elf- ROOTDIR=$UCLINUX_ROOT"
++    RUN="$MAKE oldconfig CROSS=bfin-elf-"
+     (echo "echo -e '###\n$RUN\n' $LOGFILE" ) | sh
+     (echo $RUN $LOGFILE ; ) | sh
+@@ -1225,11 +1198,8 @@
+     ######################### Done with uClibc ###########################
+-    echo -n "*** Cleaning uClinux               " ; date
+-    cd $UCLINUX_ROOT
+-    RUN="$MAKE distclean"
+-    (echo "echo -e '###\n$RUN\n' $LOGFILE" ) | sh
+-    (echo $RUN $LOGFILE ; ) | sh
++    echo -n "*** Cleaning kernel                " ; date
++    rm -rf "$DIR_KBUILD_OUTPUT"
+     echo -n "*** Cleaning uClibc                " ; date
+     cd $UCLIBC_SOURCE
+@@ -1243,12 +1213,6 @@
+     mkdir -p $DIR_LINUX_OUTPUT/bfin-linux-uclibc/runtime/usr/include
+     (cd $DIR_uC_OUTPUT/bfin-uclinux/ ; tar cf - include) | (cd $DIR_LINUX_OUTPUT/bfin-linux-uclibc/runtime/usr ; tar xf - )
+-    cd $UCLINUX_ROOT
+-    mv saved-config-toplevel .config 2>/dev/null
+-    mv saved-config-linux linux-2.6.x/.config 2>/dev/null
+-    mv saved-config-user config/.config 2>/dev/null
+-    mv saved-config-arch config.arch 2>/dev/null
+-
+     ####################### Done Step 3  #########################
+     ####################### Step 4 - build bfin-uclinux ################
diff --git a/MPlayer-mmap-fall-back-map-private.patch b/MPlayer-mmap-fall-back-map-private.patch
new file mode 100644 (file)
index 0000000..093cec7
--- /dev/null
@@ -0,0 +1,43 @@
+Index: libvo/vo_fbdev.c
+===================================================================
+--- libvo/vo_fbdev.c   (revision 22100)
++++ libvo/vo_fbdev.c   (working copy)
+@@ -1003,10 +1003,13 @@ static int config(uint32_t width, uint32
+ #endif
+       {
+           int x_offset=0,y_offset=0;
+-          if ((frame_buffer = (uint8_t *) mmap(0, fb_size, PROT_READ | PROT_WRITE,
+-                                  MAP_SHARED, fb_dev_fd, 0)) == (uint8_t *) -1) {
+-              mp_msg(MSGT_VO, MSGL_ERR, "Can't mmap %s: %s\n", fb_dev_name, strerror(errno));
+-              return 1;
++          frame_buffer = mmap(0, fb_size, PROT_READ | PROT_WRITE, MAP_SHARED, fb_dev_fd, 0);
++          if (frame_buffer == MAP_FAILED) {
++              frame_buffer = mmap(0, fb_size, PROT_READ | PROT_WRITE, MAP_PRIVATE, fb_dev_fd, 0);
++              if (frame_buffer == MAP_FAILED) {
++                  mp_msg(MSGT_VO, MSGL_ERR, "Can't mmap %s: %s\n", fb_dev_name, strerror(errno));
++                  return 1;
++              }
+           }
+           center = frame_buffer +
+Index: libvo/vo_fbdev2.c
+===================================================================
+--- libvo/vo_fbdev2.c  (revision 22088)
++++ libvo/vo_fbdev2.c  (working copy)
+@@ -274,9 +274,13 @@ static int config(uint32_t width, uint32
+               fb_size = fb_finfo.smem_len;
+               fb_line_len = fb_finfo.line_length;
+-              if ((frame_buffer = (uint8_t *) mmap(0, fb_size, PROT_READ | PROT_WRITE, MAP_SHARED, fb_dev_fd, 0)) == (uint8_t *) -1) {
+-                      mp_msg(MSGT_VO, MSGL_ERR, "[fbdev2] Can't mmap %s: %s\n", fb_dev_name, strerror(errno));
+-                      return 1;
++              frame_buffer = mmap(0, fb_size, PROT_READ | PROT_WRITE, MAP_SHARED, fb_dev_fd, 0);
++              if (frame_buffer == MAP_FAILED) {
++                      frame_buffer = mmap(0, fb_size, PROT_READ | PROT_WRITE, MAP_PRIVATE, fb_dev_fd, 0);
++                      if (frame_buffer == MAP_FAILED) {
++                              mp_msg(MSGT_VO, MSGL_ERR, "[fbdev2] Can't mmap %s: %s\n", fb_dev_name, strerror(errno));
++                              return 1;
++                      }
+               }
+       }
diff --git a/SDL-1.2.9-6.8.patch b/SDL-1.2.9-6.8.patch
new file mode 100644 (file)
index 0000000..8f5954e
--- /dev/null
@@ -0,0 +1,52 @@
+diff -Naur SDL-1.2.9_pre/src/video/fbcon/SDL_fbvideo.c SDL-1.2.9/src/video/fbcon/SDL_fbvideo.c
+--- SDL-1.2.9_pre/src/video/fbcon/SDL_fbvideo.c        2006-05-20 16:54:59.000000000 +0800
++++ SDL-1.2.9/src/video/fbcon/SDL_fbvideo.c    2006-05-22 13:15:36.000000000 +0800
+@@ -752,6 +752,24 @@
+       fprintf(stderr, "Printing original vinfo:\n");
+       print_vinfo(&vinfo);
+ #endif
++#if 1
++              vinfo.accel_flags = 0;
++              vinfo.bits_per_pixel = bpp;
++              vinfo.xres = width;
++              vinfo.xres_virtual = width;
++              vinfo.yres = height;
++              if ( flags & SDL_DOUBLEBUF ) {
++                      vinfo.yres_virtual = height*2;
++              } else {
++                      vinfo.yres_virtual = height;
++              }
++              vinfo.xoffset = 0;
++              vinfo.yoffset = 0;
++              vinfo.red.length = vinfo.red.offset = 0;
++              vinfo.green.length = vinfo.green.offset = 0;
++              vinfo.blue.length = vinfo.blue.offset = 0;
++              vinfo.transp.length = vinfo.transp.offset = 0;
++#else
+       if ( (vinfo.xres != width) || (vinfo.yres != height) ||
+            (vinfo.bits_per_pixel != bpp) || (flags & SDL_DOUBLEBUF) ) {
+               vinfo.activate = FB_ACTIVATE_NOW;
+@@ -800,6 +818,7 @@
+                       vinfo.yres_virtual = maxheight;
+               }
+       }
++#endif
+       cache_vinfo = vinfo;
+ #ifdef FBCON_DEBUG
+       fprintf(stderr, "Printing actual vinfo:\n");
+@@ -1119,12 +1138,12 @@
+               FB_WaitBusySurfaces(this);
+       }
+       wait_vbl(this);
+-      #if 0 //lee 5-1
++      
+       if ( ioctl(console_fd, FBIOPAN_DISPLAY, &cache_vinfo) < 0 ) {
+-              SDL_SetError("ioctl(FBIOPAN_DISPLAY) failed");
++              //SDL_SetError("ioctl(FBIOPAN_DISPLAY) failed"); //lee:skip SDL error logout
+               return(-1);
+       }
+-      #endif
++      
+       flip_page = !flip_page;
+       surface->pixels = flip_address[flip_page];
diff --git a/adsp-xml-remove-spurious.patch b/adsp-xml-remove-spurious.patch
new file mode 100644 (file)
index 0000000..84eea05
--- /dev/null
@@ -0,0 +1,142 @@
+Index: ADSP-BF535-proc.xml
+===================================================================
+RCS file: /cvs/dsptools/sc2/Common/ADspCommon/ArchDef/ADSP-BF535-proc.xml,v
+retrieving revision 1.33
+diff -u -p -r1.33 ADSP-BF535-proc.xml
+--- ADSP-BF535-proc.xml        19 Apr 2007 06:35:59 -0000      1.33
++++ ADSP-BF535-proc.xml        4 Aug 2007 00:21:55 -0000
+@@ -1330,7 +1330,7 @@
+       <register name="EVT14" type="NORMAL" x="7" y="15"/>
+       <register name="EVT15" type="NORMAL" x="7" y="16"/>
+ </window>
+-+<window name="Sequencer Status" menu="&amp;Register:&amp;Core:Status:Sequencer Status" description="" format="Hexadecimal" format-selection="All" type="SIM EMU CORE" help-id="0xF" help-tag="HID_Sequencer_Status_Window.htm">
++<window name="Sequencer Status" menu="&amp;Register:&amp;Core:Status:Sequencer Status" description="" format="Hexadecimal" format-selection="All" type="SIM EMU CORE" help-id="0xF" help-tag="HID_Sequencer_Status_Window.htm">
+       <register name="SEQSTAT" type="NORMAL" x="8" y="0"/>
+       <register name="EXCAUSE" type="NORMAL" x="10" y="2"/>
+       <!--register name="OMODE" type="NORMAL" x="10" y="3"/-->
+Index: ADSP-BF542-proc.xml
+===================================================================
+RCS file: /cvs/dsptools/sc2/Common/ADspCommon/ArchDef/ADSP-BF542-proc.xml,v
+retrieving revision 1.14
+diff -u -p -r1.14 ADSP-BF542-proc.xml
+--- ADSP-BF542-proc.xml        14 May 2007 22:24:37 -0000      1.14
++++ ADSP-BF542-proc.xml        4 Aug 2007 00:21:58 -0000
+@@ -4796,7 +4796,7 @@
+       <register name="INPDIS"     type="NORMAL" x="10" y="10" />
+ </window>
+-<window name="Counter Command Registers" menu="&amp;Register:&amp;Peripherals:Counter:COMMAND" description="" format="Hexadecimal" format-selection="All" type="EMU SIM" help-id="" help-tag="\BF54x-PHWR.chm::/FILE_H_IDH_BF54X_REG_CNT_COMMAND.html" >N
++<window name="Counter Command Registers" menu="&amp;Register:&amp;Peripherals:Counter:COMMAND" description="" format="Hexadecimal" format-selection="All" type="EMU SIM" help-id="" help-tag="\BF54x-PHWR.chm::/FILE_H_IDH_BF54X_REG_CNT_COMMAND.html" >
+       <register name="CNT_COMMAND" type="NORMAL" x="11" y="0" />
+       <register name="W1LCNT"      type="NORMAL" x="11" y="2" />
+       <register name="W1LMIN"      type="NORMAL" x="11" y="3" />
+Index: ADSP-BF548-proc.xml
+===================================================================
+RCS file: /cvs/dsptools/sc2/Common/ADspCommon/ArchDef/ADSP-BF548-proc.xml,v
+retrieving revision 1.20
+diff -u -p -r1.20 ADSP-BF548-proc.xml
+--- ADSP-BF548-proc.xml        29 May 2007 20:51:15 -0000      1.20
++++ ADSP-BF548-proc.xml        4 Aug 2007 00:21:58 -0000
+@@ -5206,7 +5206,7 @@
+       <register name="INPDIS"     type="NORMAL" x="10" y="10" />
+ </window>
+-<window name="Counter Command Registers" menu="&amp;Register:&amp;Peripherals:Counter:COMMAND" description="" format="Hexadecimal" format-selection="All" type="EMU SIM" help-id="" help-tag="\BF54x-PHWR.chm::/FILE_H_IDH_BF54X_REG_CNT_COMMAND.html" >N
++<window name="Counter Command Registers" menu="&amp;Register:&amp;Peripherals:Counter:COMMAND" description="" format="Hexadecimal" format-selection="All" type="EMU SIM" help-id="" help-tag="\BF54x-PHWR.chm::/FILE_H_IDH_BF54X_REG_CNT_COMMAND.html" >
+       <register name="CNT_COMMAND" type="NORMAL" x="11" y="0" />
+       <register name="W1LCNT"      type="NORMAL" x="11" y="2" />
+       <register name="W1LMIN"      type="NORMAL" x="11" y="3" />
+Index: ADSP-BF6xx-extended.xml
+===================================================================
+RCS file: /cvs/dsptools/sc2/Common/ADspCommon/ArchDef/ADSP-BF6xx-extended.xml,v
+retrieving revision 1.3
+diff -u -p -r1.3 ADSP-BF6xx-extended.xml
+--- ADSP-BF6xx-extended.xml    25 May 2007 18:14:26 -0000      1.3
++++ ADSP-BF6xx-extended.xml    4 Aug 2007 00:21:58 -0000
+@@ -182,11 +182,11 @@
+ <register name="MDMAFLX0_IRQSTAT_D_PauseChanAct" parent="MDMAFLX0_IRQSTAT_D" bit-position="8" type="" description="child register" bit-size="1"/>
+ <register name="MDMAFLX0_IRQSTAT_D_EndPauseAct" parent="MDMAFLX0_IRQSTAT_D" bit-position="9" type="" description="child register" bit-size="1"/>
+ <register name="MDMAFLX0_IRQSTAT_D_ExtPerCmdInt" parent="MDMAFLX0_IRQSTAT_D" bit-position="10" type="" description="child register" bit-size="1"/>
+-      //[11] reserved
++<!--  //[11] reserved -->
+ <register name="MDMAFLX0_IRQSTAT_D_ErrCause" parent="MDMAFLX0_IRQSTAT_D" bit-position="12" type="" description="child register" bit-size="3"/>
+-      //[15] reserved
++<!--  //[15] reserved -->
+ <register name="MDMAFLX0_IRQSTAT_D_WrkUnitCnt" parent="MDMAFLX0_IRQSTAT_D" bit-position="16" type="" description="child register" bit-size="8"/>
+-      //[24:31] reserved
++<!--  //[24:31] reserved -->
+ <register name="MDMAFLX0_CURXCOUNT_D" group="MEMDMA0 Destination Registers" read-address="0xFFC00E30" write-address="0xFFC00E30" mask="FFFF" type="IO" description="" bit-size="32"/>
+ <register name="MDMAFLX0_CURYCOUNT_D" group="MEMDMA0 Destination Registers" read-address="0xFFC00E38" write-address="0xFFC00E38" mask="FFFF" type="IO" description="" bit-size="32"/>
+ <register name="MDMAFLX0_NxtDscPNTR_S"  parent="MDMA_S0_NEXT_DESC_PTR" bit-position="0"  type="IO" description="" bit-size="32"/>
+@@ -227,11 +227,11 @@
+ <register name="MDMAFLX0_IRQSTAT_S_PauseChanAct" parent="MDMAFLX0_IRQSTAT_S" bit-position="8" type="" description="child register" bit-size="1"/>
+ <register name="MDMAFLX0_IRQSTAT_S_EndPauseAct" parent="MDMAFLX0_IRQSTAT_S" bit-position="9" type="" description="child register" bit-size="1"/>
+ <register name="MDMAFLX0_IRQSTAT_S_ExtPerCmdInt" parent="MDMAFLX0_IRQSTAT_S" bit-position="10" type="" description="child register" bit-size="1"/>
+-      //[11] reserved
++<!--  //[11] reserved -->
+ <register name="MDMAFLX0_IRQSTAT_S_ErrCause" parent="MDMAFLX0_IRQSTAT_S" bit-position="12" type="" description="child register" bit-size="3"/>
+-      //[15] reserved
++<!--  //[15] reserved -->
+ <register name="MDMAFLX0_IRQSTAT_S_WrkUnitCnt" parent="MDMAFLX0_IRQSTAT_S" bit-position="16" type="" description="child register" bit-size="8"/>
+-      //[24:31] reserved
++<!--  //[24:31] reserved -->
+ <register name="MDMAFLX0_CURXCOUNT_S" group="MEMDMA0 Source Registers" read-address="0xFFC00E70" write-address="0xFFC00E70" mask="FFFF" type="IO" description="" bit-size="32"/>
+ <register name="MDMAFLX0_CURYCOUNT_S" group="MEMDMA0 Source Registers" read-address="0xFFC00E78" write-address="0xFFC00E78" mask="FFFF" type="IO" description="" bit-size="32"/>
+ <register name="MDMAFLX1_DMACNFG_D" group="MEMDMA1 Destination Registers" read-address="0xFFC00E88" write-address="0xFFC00E88" mask="FFFF" type="IO" description="" bit-size="32"/>
+@@ -268,11 +268,11 @@
+ <register name="MDMAFLX1_IRQSTAT_D_PauseChanAct" parent="MDMAFLX1_IRQSTAT_D" bit-position="8" type="" description="child register" bit-size="1"/>
+ <register name="MDMAFLX1_IRQSTAT_D_EndPauseAct" parent="MDMAFLX1_IRQSTAT_D" bit-position="9" type="" description="child register" bit-size="1"/>
+ <register name="MDMAFLX1_IRQSTAT_D_ExtPerCmdInt" parent="MDMAFLX1_IRQSTAT_D" bit-position="10" type="" description="child register" bit-size="1"/>
+-      //[11] reserved
++<!--  //[11] reserved -->
+ <register name="MDMAFLX1_IRQSTAT_D_ErrCause" parent="MDMAFLX1_IRQSTAT_D" bit-position="12" type="" description="child register" bit-size="3"/>
+-      //[15] reserved
++<!--  //[15] reserved -->
+ <register name="MDMAFLX1_IRQSTAT_D_WrkUnitCnt" parent="MDMAFLX1_IRQSTAT_D" bit-position="16" type="" description="child register" bit-size="8"/>
+-      //[24:31] reserved
++<!--  //[24:31] reserved -->
+ <register name="MDMAFLX1_CURXCOUNT_D" group="MEMDMA1 Destination Registers" read-address="0xFFC00EB0" write-address="0xFFC00EB0" mask="FFFF" type="IO" description="" bit-size="32"/>
+ <register name="MDMAFLX1_CURYCOUNT_D" group="MEMDMA1 Destination Registers" read-address="0xFFC00EB8" write-address="0xFFC00EB8" mask="FFFF" type="IO" description="" bit-size="32"/>
+ <register name="MDMAFLX1_NxtDscPNTR_S"  parent="MDMA_S1_NEXT_DESC_PTR"  bit-position="0"  type="IO" description="" bit-size="32"/>
+@@ -313,11 +313,11 @@
+ <register name="MDMAFLX1_IRQSTAT_S_PauseChanAct" parent="MDMAFLX1_IRQSTAT_S" bit-position="8" type="" description="child register" bit-size="1"/>
+ <register name="MDMAFLX1_IRQSTAT_S_EndPauseAct" parent="MDMAFLX1_IRQSTAT_S" bit-position="9" type="" description="child register" bit-size="1"/>
+ <register name="MDMAFLX1_IRQSTAT_S_ExtPerCmdInt" parent="MDMAFLX1_IRQSTAT_S" bit-position="10" type="" description="child register" bit-size="1"/>
+-      //[11] reserved
++<!--  //[11] reserved -->
+ <register name="MDMAFLX1_IRQSTAT_S_ErrCause" parent="MDMAFLX1_IRQSTAT_S" bit-position="12" type="" description="child register" bit-size="3"/>
+-      //[15] reserved
++<!--  //[15] reserved -->
+ <register name="MDMAFLX1_IRQSTAT_S_WrkUnitCnt" parent="MDMAFLX1_IRQSTAT_S" bit-position="16" type="" description="child register" bit-size="8"/>
+-      //[24:31] reserved
++<!--  //[24:31] reserved -->
+ <register name="MDMAFLX1_CURXCOUNT_S" group="MEMDMA1 Source Registers" read-address="0xFFC00EF0" write-address="0xFFC00EF0" mask="FFFF" type="IO" description="" bit-size="32"/>
+ <register name="MDMAFLX1_CURYCOUNT_S" group="MEMDMA1 Source Registers" read-address="0xFFC00EF8" write-address="0xFFC00EF8" mask="FFFF" type="IO" description="" bit-size="32"/>
+ <register name="TIMER0_CONFIG"  group="Timer Registers" description="" bit-size="16" read-address="0xFFC00600" write-address="0xFFC00600" mask="FFFF" type="IO"/>
+Index: ADSP-EDN-BF538-extended.xml
+===================================================================
+RCS file: /cvs/dsptools/sc2/Common/ADspCommon/ArchDef/ADSP-EDN-BF538-extended.xml,v
+retrieving revision 1.21
+diff -u -p -r1.21 ADSP-EDN-BF538-extended.xml
+--- ADSP-EDN-BF538-extended.xml        19 Apr 2007 05:18:22 -0000      1.21
++++ ADSP-EDN-BF538-extended.xml        4 Aug 2007 00:21:58 -0000
+@@ -425,15 +425,15 @@
+               <!-- DMA0 Channel 2 Registers -->
+-              <register name="DMA2_NEXT_DESC_PTR"  group="DMA2 (DMA0 Ch-2) Registers" read-address="0xFFC00C80" write-address="0xFFC00C80" mask="FFFFFFFF" type="IO" description="" bit-size="32" cdef-type="ADDR"/>/>
+-              <register name="DMA2_START_ADDR"     group="DMA2 (DMA0 Ch-2) Registers" read-address="0xFFC00C84" write-address="0xFFC00C84" mask="FFFFFFFF" type="IO" description="" bit-size="32" cdef-type="ADDR"/>/>
++              <register name="DMA2_NEXT_DESC_PTR"  group="DMA2 (DMA0 Ch-2) Registers" read-address="0xFFC00C80" write-address="0xFFC00C80" mask="FFFFFFFF" type="IO" description="" bit-size="32" cdef-type="ADDR"/>
++              <register name="DMA2_START_ADDR"     group="DMA2 (DMA0 Ch-2) Registers" read-address="0xFFC00C84" write-address="0xFFC00C84" mask="FFFFFFFF" type="IO" description="" bit-size="32" cdef-type="ADDR"/>
+               <register name="DMA2_CONFIG"         group="DMA2 (DMA0 Ch-2) Registers" read-address="0xFFC00C88" write-address="0xFFC00C88" mask="FFFF" type="IO" description="" bit-size="16"/>
+               <register name="DMA2_X_COUNT"        group="DMA2 (DMA0 Ch-2) Registers" read-address="0xFFC00C90" write-address="0xFFC00C90" mask="FFFF" type="IO" description="" bit-size="16"/>
+               <register name="DMA2_X_MODIFY"       group="DMA2 (DMA0 Ch-2) Registers" read-address="0xFFC00C94" write-address="0xFFC00C94" mask="FFFF" type="IO" description="" bit-size="16" cdef-type="SIGNED"/>
+               <register name="DMA2_Y_COUNT"        group="DMA2 (DMA0 Ch-2) Registers" read-address="0xFFC00C98" write-address="0xFFC00C98" mask="FFFF" type="IO" description="" bit-size="16"/>
+               <register name="DMA2_Y_MODIFY"       group="DMA2 (DMA0 Ch-2) Registers" read-address="0xFFC00C9C" write-address="0xFFC00C9C" mask="FFFF" type="IO" description="" bit-size="16" cdef-type="SIGNED"/>
+-              <register name="DMA2_CURR_DESC_PTR"  group="DMA2 (DMA0 Ch-2) Registers" read-address="0xFFC00CA0" write-address="0xFFC00CA0" mask="FFFFFFFF" type="IO" description="" bit-size="32" cdef-type="ADDR"/>/>
+-              <register name="DMA2_CURR_ADDR"      group="DMA2 (DMA0 Ch-2) Registers" read-address="0xFFC00CA4" write-address="0xFFC00CA4" mask="FFFFFFFF" type="IO" description="" bit-size="32" cdef-type="ADDR"/>/>
++              <register name="DMA2_CURR_DESC_PTR"  group="DMA2 (DMA0 Ch-2) Registers" read-address="0xFFC00CA0" write-address="0xFFC00CA0" mask="FFFFFFFF" type="IO" description="" bit-size="32" cdef-type="ADDR"/>
++              <register name="DMA2_CURR_ADDR"      group="DMA2 (DMA0 Ch-2) Registers" read-address="0xFFC00CA4" write-address="0xFFC00CA4" mask="FFFFFFFF" type="IO" description="" bit-size="32" cdef-type="ADDR"/>
+               <register name="DMA2_IRQ_STATUS"     group="DMA2 (DMA0 Ch-2) Registers" read-address="0xFFC00CA8" write-address="0xFFC00CA8" mask="FFFF" type="IO" description="" bit-size="16"/>
+               <register name="DMA2_PERIPHERAL_MAP" group="DMA2 (DMA0 Ch-2) Registers" read-address="0xFFC00CAC" write-address="0xFFC00CAC" mask="FFFF" type="IO" description="" bit-size="16"/>
+               <register name="DMA2_CURR_X_COUNT"   group="DMA2 (DMA0 Ch-2) Registers" read-address="0xFFC00CB0" write-address="0xFFC00CB0" mask="FFFF" type="IO" description="" bit-size="16"/>
diff --git a/alloc.c.patch b/alloc.c.patch
new file mode 100644 (file)
index 0000000..436ddd5
--- /dev/null
@@ -0,0 +1,13 @@
+--- alloc.c~   2006-05-10 18:07:00.000000000 +0200
++++ alloc.c    2006-05-10 18:08:54.000000000 +0200
+@@ -90,7 +90,9 @@
+       newptr = malloc(size);
+       if (newptr) {
+-              memcpy(newptr, ptr, *((size_t *) (ptr - sizeof(size_t))));
++              size_t old_size = *((size_t *) (ptr - sizeof(size_t)));
++              if(old_size < size) size = old_size;
++              memcpy(newptr, ptr, size);
+               free(ptr);
+       }
+       return newptr;
diff --git a/alsa-compile-scripts-set-e.patch b/alsa-compile-scripts-set-e.patch
new file mode 100644 (file)
index 0000000..33bf0a5
--- /dev/null
@@ -0,0 +1,20 @@
+diff -r 8bdd68608788 cvscompile
+--- a/cvscompile       Mon Sep 18 17:57:58 2006 +0200
++++ b/cvscompile       Fri Sep 22 16:58:42 2006 -0400
+@@ -1,4 +1,6 @@
+ #!/bin/bash
++
++set -e
+ touch ltconfig
+ libtoolize --force --copy --automake
+diff -r 8bdd68608788 hgcompile
+--- a/hgcompile        Mon Sep 18 17:57:58 2006 +0200
++++ b/hgcompile        Fri Sep 22 16:59:13 2006 -0400
+@@ -1,4 +1,6 @@
+ #!/bin/bash
++
++set -e
+ touch ltconfig
+ libtoolize --force --copy --automake
diff --git a/alsa-lib-alisp-include-less.patch b/alsa-lib-alisp-include-less.patch
new file mode 100644 (file)
index 0000000..a966695
--- /dev/null
@@ -0,0 +1,16 @@
+Signed-off-by: Mike Frysinger <vapier@gentoo.org>
+
+ alisp.c |    1 -
+ 1 file changed, 1 deletion(-)
+
+diff -r 46221e609f45 src/alisp/alisp.c
+--- a/src/alisp/alisp.c        Wed Sep 06 14:39:01 2006 +0200
++++ b/src/alisp/alisp.c        Thu Sep 07 14:42:21 2006 -0400
+@@ -30,7 +30,6 @@
+ #include <ctype.h>
+ #include <math.h>
+ #include <err.h>
+-#include <wordexp.h>
+ #define alisp_seq_iterator alisp_object
diff --git a/alsa-lib-build-out-of-tree.patch b/alsa-lib-build-out-of-tree.patch
new file mode 100644 (file)
index 0000000..c146d09
--- /dev/null
@@ -0,0 +1,41 @@
+Signed-off-by: Mike Frysinger <vapier@gentoo.org>
+
+ configure.in |   12 ++++++------
+ 1 file changed, 6 insertions(+), 6 deletions(-)
+
+diff -r 8bdd68608788 configure.in
+--- a/configure.in     Mon Sep 18 17:57:58 2006 +0200
++++ b/configure.in     Fri Sep 22 17:07:13 2006 -0400
+@@ -83,7 +84,7 @@ AC_ARG_WITH(versioned,
+   versioned="$withval", versioned="yes")
+ if test "$versioned" = "yes"; then
+   # it seems that GNU ld versions since 2.10 are not broken
+-  xres=`grep '^VERSION=' $ac_aux_dir/libtool | cut -d = -f 2`
++  xres=`grep '^VERSION=' libtool | cut -d = -f 2`
+   major=`echo $xres | cut -d . -f 1`
+   minor=`echo $xres | cut -d . -f 2`
+   pass=0
+@@ -357,18 +368,18 @@ fi
+ dnl Create PCM plugin symbol list for static library
+-rm -f src/pcm/pcm_symbols_list.c
++rm -f "$srcdir"/src/pcm/pcm_symbols_list.c
+ for t in $PCM_PLUGIN_LIST; do
+   if eval test \$build_pcm_$t = yes; then
+-    echo \&_snd_module_pcm_$t, >> src/pcm/pcm_symbols_list.c
++    echo \&_snd_module_pcm_$t, >> "$srcdir"/src/pcm/pcm_symbols_list.c
+   fi
+ done
+ dnl Make a symlink for inclusion of alsa/xxx.h
+-if test ! -L include/alsa ; then
++if test ! -L "$srcdir"/include/alsa ; then
+   echo "Making a symlink include/alsa"
+-  rm -f include/alsa
+-  ln -sf . include/alsa
++  rm -f "$srcdir"/include/alsa
++  ln -sf . "$srcdir"/include/alsa
+ fi
+ AC_OUTPUT(Makefile doc/Makefile doc/pictures/Makefile include/Makefile
diff --git a/alsa-lib-names-include-less.patch b/alsa-lib-names-include-less.patch
new file mode 100644 (file)
index 0000000..0bf4339
--- /dev/null
@@ -0,0 +1,21 @@
+Signed-off-by: Mike Frysinger <vapier@gentoo.org>
+
+ names.c |    4 ----
+ 1 file changed, 4 deletions(-)
+
+diff -r 46221e609f45 src/names.c
+--- a/src/names.c      Wed Sep 06 14:39:01 2006 +0200
++++ b/src/names.c      Thu Sep 07 14:39:43 2006 -0400
+@@ -31,12 +31,8 @@
+  */
+ #include <stdarg.h>
+-#include <wordexp.h>
+-#include <dlfcn.h>
+ #include <limits.h>
+ #include <sys/stat.h>
+-#include <pthread.h>
+-#include <locale.h>
+ #include "local.h"
+ #ifndef DOC_HIDDEN
diff --git a/alsa-lib-shared-fdpic.patch b/alsa-lib-shared-fdpic.patch
new file mode 100644 (file)
index 0000000..8a040e9
--- /dev/null
@@ -0,0 +1,592 @@
+Index: aclocal.m4
+===================================================================
+--- aclocal.m4 (revision 4673)
++++ aclocal.m4 (working copy)
+@@ -1644,7 +1644,7 @@ linux*oldld* | linux*aout* | linux*coff*
+   ;;
+ # This must be Linux ELF.
+-linux*)
++linux*|uclinux*)
+   version_type=linux
+   need_lib_prefix=no
+   need_version=no
+@@ -2444,7 +2444,7 @@ irix5* | irix6* | nonstopux*)
+   ;;
+ # This must be Linux ELF.
+-linux*)
++linux*|uclinux*)
+   lt_cv_deplibs_check_method=pass_all
+   ;;
+@@ -3770,6 +3770,24 @@ case $host_os in
+       ;;
+     esac
+     ;;
++  uclinux*)
++    case $LDFLAGS in
++      *-Wl,-elf2lft*)
++      _LT_AC_TAGVAR(ld_shlibs, $1)=no
++      ;;
++      *)
++      case $host_cpu in
++      bfin)
++        CFLAGS="$CFLAGS -mfdpic"
++        ;;
++      *)
++        _LT_AC_TAGVAR(ld_shlibs, $1)=no
++        ;;
++      esac
++      ;;
++    esac
++    ;;
++
+   vxworks*)
+     # FIXME: insert proper C++ library support
+     _LT_AC_TAGVAR(ld_shlibs, $1)=no
+@@ -4949,6 +4967,23 @@ AC_MSG_CHECKING([for $compiler option to
+       ;;
+       esac
+       ;;
++    linux|uclinux*)
++      case $LDFLAGS in
++      *-Wl,-elf2lft*)
++      _LT_AC_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no
++      ;;
++      *)
++      case $host_cpu in
++      bfin)
++        _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-mfdpic'
++        ;;
++      *)
++        _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
++        ;;
++      esac
++      ;;
++      esac
++      ;;
+     *)
+       _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
+       ;;
+@@ -5232,6 +5267,23 @@ AC_MSG_CHECKING([for $compiler option to
+       esac
+       ;;
++    linux|uclinux*)
++      case $LDFLAGS in
++      *-Wl,-elf2lft*)
++      _LT_AC_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no
++      ;;
++      *)
++      case $host_cpu in
++      bfin)
++        _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-mfdpic'
++        ;;
++      *)
++        _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
++        ;;
++      esac
++      ;;
++      esac
++      ;;
+     *)
+       _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
+       ;;
+Index: src/Versions
+===================================================================
+--- src/Versions       (revision 4673)
++++ src/Versions       (working copy)
+@@ -1,8 +1,8 @@
+ ALSA_0.9 {
+   global:
++    ___snd_*;
+     __snd_*;
+     _snd_*;
+-    snd_*;
+   local:
+     *;
+ };
+@@ -10,281 +10,281 @@ ALSA_0.9 {
+ ALSA_0.9.0rc4 {
+   global:
+-    snd_pcm_hw_params_get_access;
+-    snd_pcm_hw_params_set_access_first;
+-    snd_pcm_hw_params_set_access_last;
+-
+-    snd_pcm_hw_params_get_format;
+-    snd_pcm_hw_params_set_format_first;
+-    snd_pcm_hw_params_set_format_last;
+-
+-    snd_pcm_hw_params_get_subformat;
+-    snd_pcm_hw_params_set_subformat_first;
+-    snd_pcm_hw_params_set_subformat_last;
+-
+-    snd_pcm_hw_params_get_channels;
+-    snd_pcm_hw_params_get_channels_min;
+-    snd_pcm_hw_params_get_channels_max;
+-    snd_pcm_hw_params_set_channels_near;
+-    snd_pcm_hw_params_set_channels_first;
+-    snd_pcm_hw_params_set_channels_last;
+-
+-    snd_pcm_hw_params_get_rate;
+-    snd_pcm_hw_params_get_rate_min;
+-    snd_pcm_hw_params_get_rate_max;
+-    snd_pcm_hw_params_set_rate_near;
+-    snd_pcm_hw_params_set_rate_first;
+-    snd_pcm_hw_params_set_rate_last;
+-
+-    snd_pcm_hw_params_get_period_time;
+-    snd_pcm_hw_params_get_period_time_min;
+-    snd_pcm_hw_params_get_period_time_max;
+-    snd_pcm_hw_params_set_period_time_near;
+-    snd_pcm_hw_params_set_period_time_first;
+-    snd_pcm_hw_params_set_period_time_last;
+-
+-    snd_pcm_hw_params_get_period_size;
+-    snd_pcm_hw_params_get_period_size_min;
+-    snd_pcm_hw_params_get_period_size_max;
+-    snd_pcm_hw_params_set_period_size_near;
+-    snd_pcm_hw_params_set_period_size_first;
+-    snd_pcm_hw_params_set_period_size_last;
+-
+-    snd_pcm_hw_params_get_periods;
+-    snd_pcm_hw_params_get_periods_min;
+-    snd_pcm_hw_params_get_periods_max;
+-    snd_pcm_hw_params_set_periods_near;
+-    snd_pcm_hw_params_set_periods_first;
+-    snd_pcm_hw_params_set_periods_last;
+-
+-    snd_pcm_hw_params_get_buffer_time;
+-    snd_pcm_hw_params_get_buffer_time_min;
+-    snd_pcm_hw_params_get_buffer_time_max;
+-    snd_pcm_hw_params_set_buffer_time_near;
+-    snd_pcm_hw_params_set_buffer_time_first;
+-    snd_pcm_hw_params_set_buffer_time_last;
+-
+-    snd_pcm_hw_params_get_buffer_size;
+-    snd_pcm_hw_params_get_buffer_size_min;
+-    snd_pcm_hw_params_get_buffer_size_max;
+-    snd_pcm_hw_params_set_buffer_size_near;
+-    snd_pcm_hw_params_set_buffer_size_first;
+-    snd_pcm_hw_params_set_buffer_size_last;
+-
+-    snd_pcm_hw_params_get_tick_time;
+-    snd_pcm_hw_params_get_tick_time_min;
+-    snd_pcm_hw_params_get_tick_time_max;
+-    snd_pcm_hw_params_set_tick_time_near;
+-    snd_pcm_hw_params_set_tick_time_first;
+-    snd_pcm_hw_params_set_tick_time_last;
++    _snd_pcm_hw_params_get_access;
++    _snd_pcm_hw_params_set_access_first;
++    _snd_pcm_hw_params_set_access_last;
++
++    _snd_pcm_hw_params_get_format;
++    _snd_pcm_hw_params_set_format_first;
++    _snd_pcm_hw_params_set_format_last;
++
++    _snd_pcm_hw_params_get_subformat;
++    _snd_pcm_hw_params_set_subformat_first;
++    _snd_pcm_hw_params_set_subformat_last;
++
++    _snd_pcm_hw_params_get_channels;
++    _snd_pcm_hw_params_get_channels_min;
++    _snd_pcm_hw_params_get_channels_max;
++    _snd_pcm_hw_params_set_channels_near;
++    _snd_pcm_hw_params_set_channels_first;
++    _snd_pcm_hw_params_set_channels_last;
++
++    _snd_pcm_hw_params_get_rate;
++    _snd_pcm_hw_params_get_rate_min;
++    _snd_pcm_hw_params_get_rate_max;
++    _snd_pcm_hw_params_set_rate_near;
++    _snd_pcm_hw_params_set_rate_first;
++    _snd_pcm_hw_params_set_rate_last;
++
++    _snd_pcm_hw_params_get_period_time;
++    _snd_pcm_hw_params_get_period_time_min;
++    _snd_pcm_hw_params_get_period_time_max;
++    _snd_pcm_hw_params_set_period_time_near;
++    _snd_pcm_hw_params_set_period_time_first;
++    _snd_pcm_hw_params_set_period_time_last;
++
++    _snd_pcm_hw_params_get_period_size;
++    _snd_pcm_hw_params_get_period_size_min;
++    _snd_pcm_hw_params_get_period_size_max;
++    _snd_pcm_hw_params_set_period_size_near;
++    _snd_pcm_hw_params_set_period_size_first;
++    _snd_pcm_hw_params_set_period_size_last;
++
++    _snd_pcm_hw_params_get_periods;
++    _snd_pcm_hw_params_get_periods_min;
++    _snd_pcm_hw_params_get_periods_max;
++    _snd_pcm_hw_params_set_periods_near;
++    _snd_pcm_hw_params_set_periods_first;
++    _snd_pcm_hw_params_set_periods_last;
++
++    _snd_pcm_hw_params_get_buffer_time;
++    _snd_pcm_hw_params_get_buffer_time_min;
++    _snd_pcm_hw_params_get_buffer_time_max;
++    _snd_pcm_hw_params_set_buffer_time_near;
++    _snd_pcm_hw_params_set_buffer_time_first;
++    _snd_pcm_hw_params_set_buffer_time_last;
++
++    _snd_pcm_hw_params_get_buffer_size;
++    _snd_pcm_hw_params_get_buffer_size_min;
++    _snd_pcm_hw_params_get_buffer_size_max;
++    _snd_pcm_hw_params_set_buffer_size_near;
++    _snd_pcm_hw_params_set_buffer_size_first;
++    _snd_pcm_hw_params_set_buffer_size_last;
++
++    _snd_pcm_hw_params_get_tick_time;
++    _snd_pcm_hw_params_get_tick_time_min;
++    _snd_pcm_hw_params_get_tick_time_max;
++    _snd_pcm_hw_params_set_tick_time_near;
++    _snd_pcm_hw_params_set_tick_time_first;
++    _snd_pcm_hw_params_set_tick_time_last;
+ } ALSA_0.9;
+ ALSA_0.9.0rc8 {
+   global:
+-    snd_pcm_forward;
+-    snd_pcm_status_get_trigger_htstamp;
+-    snd_pcm_status_get_htstamp;
++    _snd_pcm_forward;
++    _snd_pcm_status_get_trigger_htstamp;
++    _snd_pcm_status_get_htstamp;
+ } ALSA_0.9.0rc4;
+ ALSA_0.9.0 {
+   global:
+-    snd_pcm_type_name;
+-    snd_timer_query_info;
+-    snd_timer_query_params;
+-    snd_timer_query_status;
+-    snd_timer_params_set_exclusive;
+-    snd_timer_params_get_exclusive;
+-    snd_timer_params_set_filter;
+-    snd_timer_params_get_filter;
++    _snd_pcm_type_name;
++    _snd_timer_query_info;
++    _snd_timer_query_params;
++    _snd_timer_query_status;
++    _snd_timer_params_set_exclusive;
++    _snd_timer_params_get_exclusive;
++    _snd_timer_params_set_filter;
++    _snd_timer_params_get_filter;
+ } ALSA_0.9.0rc8;
+ ALSA_0.9.3 {
+   global:
+-    snd_ctl_elem_info_get_dimensions;
+-    snd_ctl_elem_info_get_dimension;
++    _snd_ctl_elem_info_get_dimensions;
++    _snd_ctl_elem_info_get_dimension;
+ } ALSA_0.9.0;
+ ALSA_0.9.5 {
+   global:
+-    alsa_lisp;
++    _alsa_lisp;
+ } ALSA_0.9.3;
+ ALSA_0.9.6 {
+   global:
+-    snd_hctl_open_ctl;
+-    snd_seq_port_info_get_timestamping;
+-    snd_seq_port_info_get_timestamp_real;
+-    snd_seq_port_info_get_timestamp_queue;
+-    snd_seq_port_info_set_timestamping;
+-    snd_seq_port_info_set_timestamp_real;
+-    snd_seq_port_info_set_timestamp_queue;
++    _snd_hctl_open_ctl;
++    _snd_seq_port_info_get_timestamping;
++    _snd_seq_port_info_get_timestamp_real;
++    _snd_seq_port_info_get_timestamp_queue;
++    _snd_seq_port_info_set_timestamping;
++    _snd_seq_port_info_set_timestamp_real;
++    _snd_seq_port_info_set_timestamp_queue;
+ } ALSA_0.9.5;
+ ALSA_0.9.7 {
+   global:
+-    snd_user_file;
+-    snd_hctl_ctl;
+-    sndo_*;
+-    alsa_lisp_*;
++    _snd_user_file;
++    _snd_hctl_ctl;
++    _sndo_*;
++    _alsa_lisp_*;
+ } ALSA_0.9.6;
+ ALSA_0.9.8 {
+   global:
+-    snd_ctl_elem_add;
+-    snd_ctl_elem_replace;
+-    snd_ctl_elem_remove;
+-    snd_hctl_poll_descriptors_revents;
++    _snd_ctl_elem_add;
++    _snd_ctl_elem_replace;
++    _snd_ctl_elem_remove;
++    _snd_hctl_poll_descriptors_revents;
+ } ALSA_0.9.7;
+ ALSA_1.0.4 {
+   global:
+-    snd_spcm_init;
+-    snd_spcm_init_duplex;
+-    snd_spcm_init_get_params;
++    _snd_spcm_init;
++    _snd_spcm_init_duplex;
++    _snd_spcm_init_get_params;
+ } ALSA_0.9.8;
+ ALSA_1.0.5 {
+   global:
+-    snd_asoundlib_version;
+-    snd_timer_params_set_early_event;
+-    snd_timer_params_get_early_event;
++    _snd_asoundlib_version;
++    _snd_timer_params_set_early_event;
++    _snd_timer_params_get_early_event;
+ } ALSA_1.0.4;
+ ALSA_1.0.8 {
+   global:
+-    snd_ctl_elem_add_integer;
+-    snd_ctl_elem_add_integer64;
+-    snd_ctl_elem_add_boolean;
+-    snd_ctl_elem_add_iec958;
+-    snd_ctl_elem_remove;
++    _snd_ctl_elem_add_integer;
++    _snd_ctl_elem_add_integer64;
++    _snd_ctl_elem_add_boolean;
++    _snd_ctl_elem_add_iec958;
++    _snd_ctl_elem_remove;
+ } ALSA_1.0.5;
+ ALSA_1.0.9 {
+   global:
+-    snd_names_list;
+-    snd_names_list_free;
++    _snd_names_list;
++    _snd_names_list_free;
+-    snd_pcm_hw_params_set_rate_resample;
+-    snd_pcm_hw_params_get_rate_resample;
+-    snd_pcm_hw_params_set_export_buffer;
+-    snd_pcm_hw_params_get_export_buffer;
+-
+-    snd_pcm_ioplug_create;
+-    snd_pcm_ioplug_delete;
+-    snd_pcm_ioplug_reinit_status;
+-    snd_pcm_ioplug_params_reset;
+-    snd_pcm_ioplug_set_param_minmax;
+-    snd_pcm_ioplug_set_param_list;
+-
+-    snd_pcm_extplug_create;
+-    snd_pcm_extplug_delete;
+-    snd_pcm_extplug_params_reset;
+-    snd_pcm_extplug_set_param_list;
+-    snd_pcm_extplug_set_param_minmax;
+-    snd_pcm_extplug_set_slave_param_list;
+-    snd_pcm_extplug_set_slave_param_minmax;
+-
+-    snd_pcm_parse_control_id;
+-
+-    snd_async_add_timer_handler;
+-    snd_async_handler_get_timer;
+-
+-    snd_timer_ginfo_sizeof;
+-    snd_timer_ginfo_malloc;
+-    snd_timer_ginfo_free;
+-    snd_timer_ginfo_copy;
+-    snd_timer_ginfo_set_tid;
+-    snd_timer_ginfo_get_tid;
+-    snd_timer_ginfo_get_flags;
+-    snd_timer_ginfo_get_card;
+-    snd_timer_ginfo_get_id;
+-    snd_timer_ginfo_get_name;
+-    snd_timer_ginfo_get_resolution;
+-    snd_timer_ginfo_get_resolution_min;
+-    snd_timer_ginfo_get_resolution_max;
+-    snd_timer_ginfo_get_clients;
++    _snd_pcm_hw_params_set_rate_resample;
++    _snd_pcm_hw_params_get_rate_resample;
++    _snd_pcm_hw_params_set_export_buffer;
++    _snd_pcm_hw_params_get_export_buffer;
++
++    _snd_pcm_ioplug_create;
++    _snd_pcm_ioplug_delete;
++    _snd_pcm_ioplug_reinit_status;
++    _snd_pcm_ioplug_params_reset;
++    _snd_pcm_ioplug_set_param_minmax;
++    _snd_pcm_ioplug_set_param_list;
++
++    _snd_pcm_extplug_create;
++    _snd_pcm_extplug_delete;
++    _snd_pcm_extplug_params_reset;
++    _snd_pcm_extplug_set_param_list;
++    _snd_pcm_extplug_set_param_minmax;
++    _snd_pcm_extplug_set_slave_param_list;
++    _snd_pcm_extplug_set_slave_param_minmax;
++
++    _snd_pcm_parse_control_id;
++
++    _snd_async_add_timer_handler;
++    _snd_async_handler_get_timer;
++
++    _snd_timer_ginfo_sizeof;
++    _snd_timer_ginfo_malloc;
++    _snd_timer_ginfo_free;
++    _snd_timer_ginfo_copy;
++    _snd_timer_ginfo_set_tid;
++    _snd_timer_ginfo_get_tid;
++    _snd_timer_ginfo_get_flags;
++    _snd_timer_ginfo_get_card;
++    _snd_timer_ginfo_get_id;
++    _snd_timer_ginfo_get_name;
++    _snd_timer_ginfo_get_resolution;
++    _snd_timer_ginfo_get_resolution_min;
++    _snd_timer_ginfo_get_resolution_max;
++    _snd_timer_ginfo_get_clients;
+ } ALSA_1.0.8;
+ ALSA_1.0.10 {
+   global:
+-    snd_mixer_get_hctl;
+-    snd_mixer_elem_get_private;
+-    snd_mixer_attach_hctl;
+-    snd_mixer_detach_hctl;
+-
+-    snd_mixer_class_register;
+-    snd_mixer_add_elem;
+-    snd_mixer_remove_elem;
+-    snd_mixer_elem_new;
+-    snd_mixer_elem_add;
+-    snd_mixer_elem_remove;
+-    snd_mixer_elem_free;
+-    snd_mixer_elem_info;
+-    snd_mixer_elem_value;
+-    snd_mixer_elem_attach;
+-    snd_mixer_elem_detach;
+-    snd_mixer_elem_empty;
+-
+-    snd_mixer_class_malloc;
+-    snd_mixer_class_free;
+-    snd_mixer_class_copy;
+-    snd_mixer_class_get_mixer;
+-    snd_mixer_class_get_event;
+-    snd_mixer_class_get_private;
+-    snd_mixer_class_get_compare;
+-    snd_mixer_class_set_event;
+-    snd_mixer_class_set_private;
+-    snd_mixer_class_set_private_free;
+-    snd_mixer_class_set_compare;
+-
+-    snd_mixer_selem_set_playback_dB_all;
+-    snd_mixer_selem_set_capture_dB_all;
+-    snd_mixer_selem_is_enum_playback;
+-    snd_mixer_selem_is_enum_capture;
+-    snd_mixer_selem_compare;
+-    snd_mixer_sbasic_info;
+-    snd_mixer_sbasic_get_private;
+-    snd_mixer_sbasic_set_private;
+-    snd_mixer_sbasic_set_private_free;
++    _snd_mixer_get_hctl;
++    _snd_mixer_elem_get_private;
++    _snd_mixer_attach_hctl;
++    _snd_mixer_detach_hctl;
++
++    _snd_mixer_class_register;
++    _snd_mixer_add_elem;
++    _snd_mixer_remove_elem;
++    _snd_mixer_elem_new;
++    _snd_mixer_elem_add;
++    _snd_mixer_elem_remove;
++    _snd_mixer_elem_free;
++    _snd_mixer_elem_info;
++    _snd_mixer_elem_value;
++    _snd_mixer_elem_attach;
++    _snd_mixer_elem_detach;
++    _snd_mixer_elem_empty;
++
++    _snd_mixer_class_malloc;
++    _snd_mixer_class_free;
++    _snd_mixer_class_copy;
++    _snd_mixer_class_get_mixer;
++    _snd_mixer_class_get_event;
++    _snd_mixer_class_get_private;
++    _snd_mixer_class_get_compare;
++    _snd_mixer_class_set_event;
++    _snd_mixer_class_set_private;
++    _snd_mixer_class_set_private_free;
++    _snd_mixer_class_set_compare;
++
++    _snd_mixer_selem_set_playback_dB_all;
++    _snd_mixer_selem_set_capture_dB_all;
++    _snd_mixer_selem_is_enum_playback;
++    _snd_mixer_selem_is_enum_capture;
++    _snd_mixer_selem_compare;
++    _snd_mixer_sbasic_info;
++    _snd_mixer_sbasic_get_private;
++    _snd_mixer_sbasic_set_private;
++    _snd_mixer_sbasic_set_private_free;
+-    snd_ctl_ext_create;
+-    snd_ctl_ext_delete;
++    _snd_ctl_ext_create;
++    _snd_ctl_ext_delete;
+ } ALSA_1.0.9;
+ ALSA_1.0.11 {
+   global:
+-    snd_pcm_recover;
+-    snd_pcm_set_params;
+-    snd_pcm_get_params;
++    _snd_pcm_recover;
++    _snd_pcm_set_params;
++    _snd_pcm_get_params;
+ } ALSA_1.0.10;
+ ALSA_1.0.12 {
+   global:
+-    snd_ctl_elem_tlv_read;
+-    snd_ctl_elem_tlv_write;
+-    snd_ctl_elem_tlv_command;
+-    snd_ctl_elem_info_is_tlv_readable;
+-    snd_ctl_elem_info_is_tlv_writable;
+-    snd_ctl_elem_info_is_tlv_commandable;
+-    snd_hctl_elem_tlv_read;
+-    snd_hctl_elem_tlv_write;
+-    snd_hctl_elem_tlv_command;
++    _snd_ctl_elem_tlv_read;
++    _snd_ctl_elem_tlv_write;
++    _snd_ctl_elem_tlv_command;
++    _snd_ctl_elem_info_is_tlv_readable;
++    _snd_ctl_elem_info_is_tlv_writable;
++    _snd_ctl_elem_info_is_tlv_commandable;
++    _snd_hctl_elem_tlv_read;
++    _snd_hctl_elem_tlv_write;
++    _snd_hctl_elem_tlv_command;
+ } ALSA_1.0.11;
diff --git a/alsa-lib-symbol-prefix-version-script.patch b/alsa-lib-symbol-prefix-version-script.patch
new file mode 100644 (file)
index 0000000..35d3b6e
--- /dev/null
@@ -0,0 +1,636 @@
+diff -r 4b305d56a1f0 configure.in
+--- a/configure.in     Mon Jan 08 16:39:26 2007 +0100
++++ b/configure.in     Fri Jan 12 13:27:35 2007 -0500
+@@ -114,6 +114,7 @@ SYMBOL_PREFIX=` \
+               | ${EGREP-grep} "^PREFIX=" \
+               | ${SED-sed} "s:^PREFIX=::"`
+ AC_DEFINE_UNQUOTED([__SYMBOL_PREFIX], "$SYMBOL_PREFIX", [Toolchain Symbol Prefix])
++AC_SUBST(SYMBOL_PREFIX)
+ AC_MSG_RESULT($SYMBOL_PREFIX)
+ dnl Check for debug...
+@@ -384,7 +385,7 @@ fi
+ fi
+ AC_OUTPUT(Makefile doc/Makefile doc/pictures/Makefile include/Makefile
+-        include/sound/Makefile src/Makefile \
++        include/sound/Makefile src/Versions src/Makefile \
+           src/control/Makefile src/mixer/Makefile \
+         src/pcm/Makefile src/pcm/scopes/Makefile \
+         src/rawmidi/Makefile src/timer/Makefile \
+diff -r 4b305d56a1f0 src/Makefile.am
+--- a/src/Makefile.am  Mon Jan 08 16:39:26 2007 +0100
++++ b/src/Makefile.am  Fri Jan 12 13:32:11 2007 -0500
+@@ -2,7 +2,7 @@ COMPATNUM=@LIBTOOL_VERSION_INFO@
+ COMPATNUM=@LIBTOOL_VERSION_INFO@
+ if VERSIONED_SYMBOLS
+-VSYMS = -Wl,--version-script=$(srcdir)/Versions
++VSYMS = -Wl,--version-script=Versions
+ else
+ VSYMS =
+ endif
+diff -r 4b305d56a1f0 src/Versions
+--- a/src/Versions     Mon Jan 08 16:39:26 2007 +0100
++++ /dev/null  Thu Jan 01 00:00:00 1970 +0000
+@@ -1,298 +0,0 @@
+-ALSA_0.9 {
+-  global:
+-    __snd_*;
+-    _snd_*;
+-    snd_*;
+-  local:
+-    *;
+-};
+-
+-ALSA_0.9.0rc4 {
+-  global:
+-
+-    snd_pcm_hw_params_get_access;
+-    snd_pcm_hw_params_set_access_first;
+-    snd_pcm_hw_params_set_access_last;
+-
+-    snd_pcm_hw_params_get_format;
+-    snd_pcm_hw_params_set_format_first;
+-    snd_pcm_hw_params_set_format_last;
+-
+-    snd_pcm_hw_params_get_subformat;
+-    snd_pcm_hw_params_set_subformat_first;
+-    snd_pcm_hw_params_set_subformat_last;
+-
+-    snd_pcm_hw_params_get_channels;
+-    snd_pcm_hw_params_get_channels_min;
+-    snd_pcm_hw_params_get_channels_max;
+-    snd_pcm_hw_params_set_channels_near;
+-    snd_pcm_hw_params_set_channels_first;
+-    snd_pcm_hw_params_set_channels_last;
+-
+-    snd_pcm_hw_params_get_rate;
+-    snd_pcm_hw_params_get_rate_min;
+-    snd_pcm_hw_params_get_rate_max;
+-    snd_pcm_hw_params_set_rate_near;
+-    snd_pcm_hw_params_set_rate_first;
+-    snd_pcm_hw_params_set_rate_last;
+-
+-    snd_pcm_hw_params_get_period_time;
+-    snd_pcm_hw_params_get_period_time_min;
+-    snd_pcm_hw_params_get_period_time_max;
+-    snd_pcm_hw_params_set_period_time_near;
+-    snd_pcm_hw_params_set_period_time_first;
+-    snd_pcm_hw_params_set_period_time_last;
+-
+-    snd_pcm_hw_params_get_period_size;
+-    snd_pcm_hw_params_get_period_size_min;
+-    snd_pcm_hw_params_get_period_size_max;
+-    snd_pcm_hw_params_set_period_size_near;
+-    snd_pcm_hw_params_set_period_size_first;
+-    snd_pcm_hw_params_set_period_size_last;
+-
+-    snd_pcm_hw_params_get_periods;
+-    snd_pcm_hw_params_get_periods_min;
+-    snd_pcm_hw_params_get_periods_max;
+-    snd_pcm_hw_params_set_periods_near;
+-    snd_pcm_hw_params_set_periods_first;
+-    snd_pcm_hw_params_set_periods_last;
+-
+-    snd_pcm_hw_params_get_buffer_time;
+-    snd_pcm_hw_params_get_buffer_time_min;
+-    snd_pcm_hw_params_get_buffer_time_max;
+-    snd_pcm_hw_params_set_buffer_time_near;
+-    snd_pcm_hw_params_set_buffer_time_first;
+-    snd_pcm_hw_params_set_buffer_time_last;
+-
+-    snd_pcm_hw_params_get_buffer_size;
+-    snd_pcm_hw_params_get_buffer_size_min;
+-    snd_pcm_hw_params_get_buffer_size_max;
+-    snd_pcm_hw_params_set_buffer_size_near;
+-    snd_pcm_hw_params_set_buffer_size_first;
+-    snd_pcm_hw_params_set_buffer_size_last;
+-
+-    snd_pcm_hw_params_get_tick_time;
+-    snd_pcm_hw_params_get_tick_time_min;
+-    snd_pcm_hw_params_get_tick_time_max;
+-    snd_pcm_hw_params_set_tick_time_near;
+-    snd_pcm_hw_params_set_tick_time_first;
+-    snd_pcm_hw_params_set_tick_time_last;
+-
+-} ALSA_0.9;
+-
+-ALSA_0.9.0rc8 {
+-  global:
+-
+-    snd_pcm_forward;
+-    snd_pcm_status_get_trigger_htstamp;
+-    snd_pcm_status_get_htstamp;
+-
+-} ALSA_0.9.0rc4;
+-
+-ALSA_0.9.0 {
+-  global:
+-
+-    snd_pcm_type_name;
+-    snd_timer_query_info;
+-    snd_timer_query_params;
+-    snd_timer_query_status;
+-    snd_timer_params_set_exclusive;
+-    snd_timer_params_get_exclusive;
+-    snd_timer_params_set_filter;
+-    snd_timer_params_get_filter;
+-} ALSA_0.9.0rc8;
+-
+-ALSA_0.9.3 {
+-  global:
+-
+-    snd_ctl_elem_info_get_dimensions;
+-    snd_ctl_elem_info_get_dimension;
+-} ALSA_0.9.0;
+-
+-ALSA_0.9.5 {
+-  global:
+-
+-    alsa_lisp;
+-} ALSA_0.9.3;
+-
+-ALSA_0.9.6 {
+-  global:
+-
+-    snd_hctl_open_ctl;
+-    snd_seq_port_info_get_timestamping;
+-    snd_seq_port_info_get_timestamp_real;
+-    snd_seq_port_info_get_timestamp_queue;
+-    snd_seq_port_info_set_timestamping;
+-    snd_seq_port_info_set_timestamp_real;
+-    snd_seq_port_info_set_timestamp_queue;
+-} ALSA_0.9.5;
+-
+-ALSA_0.9.7 {
+-  global:
+-
+-    snd_user_file;
+-    snd_hctl_ctl;
+-    sndo_*;
+-    alsa_lisp_*;
+-} ALSA_0.9.6;
+-
+-ALSA_0.9.8 {
+-  global:
+-
+-    snd_ctl_elem_add;
+-    snd_ctl_elem_replace;
+-    snd_ctl_elem_remove;
+-    snd_hctl_poll_descriptors_revents;
+-} ALSA_0.9.7;
+-
+-ALSA_1.0.4 {
+-  global:
+-
+-    snd_spcm_init;
+-    snd_spcm_init_duplex;
+-    snd_spcm_init_get_params;
+-} ALSA_0.9.8;
+-
+-ALSA_1.0.5 {
+-  global:
+-
+-    snd_asoundlib_version;
+-    snd_timer_params_set_early_event;
+-    snd_timer_params_get_early_event;
+-} ALSA_1.0.4;
+-
+-ALSA_1.0.8 {
+-  global:
+-
+-    snd_ctl_elem_add_integer;
+-    snd_ctl_elem_add_integer64;
+-    snd_ctl_elem_add_boolean;
+-    snd_ctl_elem_add_iec958;
+-    snd_ctl_elem_remove;
+-} ALSA_1.0.5;
+-
+-ALSA_1.0.9 {
+-  global:
+-
+-    snd_names_list;
+-    snd_names_list_free;
+-
+-    snd_pcm_hw_params_set_rate_resample;
+-    snd_pcm_hw_params_get_rate_resample;
+-    snd_pcm_hw_params_set_export_buffer;
+-    snd_pcm_hw_params_get_export_buffer;
+-
+-    snd_pcm_ioplug_create;
+-    snd_pcm_ioplug_delete;
+-    snd_pcm_ioplug_reinit_status;
+-    snd_pcm_ioplug_params_reset;
+-    snd_pcm_ioplug_set_param_minmax;
+-    snd_pcm_ioplug_set_param_list;
+-
+-    snd_pcm_extplug_create;
+-    snd_pcm_extplug_delete;
+-    snd_pcm_extplug_params_reset;
+-    snd_pcm_extplug_set_param_list;
+-    snd_pcm_extplug_set_param_minmax;
+-    snd_pcm_extplug_set_slave_param_list;
+-    snd_pcm_extplug_set_slave_param_minmax;
+-
+-    snd_pcm_parse_control_id;
+-
+-    snd_async_add_timer_handler;
+-    snd_async_handler_get_timer;
+-
+-    snd_timer_ginfo_sizeof;
+-    snd_timer_ginfo_malloc;
+-    snd_timer_ginfo_free;
+-    snd_timer_ginfo_copy;
+-    snd_timer_ginfo_set_tid;
+-    snd_timer_ginfo_get_tid;
+-    snd_timer_ginfo_get_flags;
+-    snd_timer_ginfo_get_card;
+-    snd_timer_ginfo_get_id;
+-    snd_timer_ginfo_get_name;
+-    snd_timer_ginfo_get_resolution;
+-    snd_timer_ginfo_get_resolution_min;
+-    snd_timer_ginfo_get_resolution_max;
+-    snd_timer_ginfo_get_clients;
+-
+-} ALSA_1.0.8;
+-
+-ALSA_1.0.10 {
+-  global:
+-
+-    snd_mixer_get_hctl;
+-    snd_mixer_elem_get_private;
+-    snd_mixer_attach_hctl;
+-    snd_mixer_detach_hctl;
+-
+-    snd_mixer_class_register;
+-    snd_mixer_add_elem;
+-    snd_mixer_remove_elem;
+-    snd_mixer_elem_new;
+-    snd_mixer_elem_add;
+-    snd_mixer_elem_remove;
+-    snd_mixer_elem_free;
+-    snd_mixer_elem_info;
+-    snd_mixer_elem_value;
+-    snd_mixer_elem_attach;
+-    snd_mixer_elem_detach;
+-    snd_mixer_elem_empty;
+-
+-    snd_mixer_class_malloc;
+-    snd_mixer_class_free;
+-    snd_mixer_class_copy;
+-    snd_mixer_class_get_mixer;
+-    snd_mixer_class_get_event;
+-    snd_mixer_class_get_private;
+-    snd_mixer_class_get_compare;
+-    snd_mixer_class_set_event;
+-    snd_mixer_class_set_private;
+-    snd_mixer_class_set_private_free;
+-    snd_mixer_class_set_compare;
+-
+-    snd_mixer_selem_set_playback_dB_all;
+-    snd_mixer_selem_set_capture_dB_all;
+-    snd_mixer_selem_is_enum_playback;
+-    snd_mixer_selem_is_enum_capture;
+-    snd_mixer_selem_compare;
+-    snd_mixer_sbasic_info;
+-    snd_mixer_sbasic_get_private;
+-    snd_mixer_sbasic_set_private;
+-    snd_mixer_sbasic_set_private_free;
+-
+-    snd_ctl_ext_create;
+-    snd_ctl_ext_delete;
+-
+-} ALSA_1.0.9;
+-
+-ALSA_1.0.11 {
+-  global:
+-
+-    snd_pcm_recover;
+-    snd_pcm_set_params;
+-    snd_pcm_get_params;
+-} ALSA_1.0.10;
+-
+-ALSA_1.0.12 {
+-  global:
+-
+-    snd_ctl_elem_tlv_read;
+-    snd_ctl_elem_tlv_write;
+-    snd_ctl_elem_tlv_command;
+-    snd_ctl_elem_info_is_tlv_readable;
+-    snd_ctl_elem_info_is_tlv_writable;
+-    snd_ctl_elem_info_is_tlv_commandable;
+-    snd_hctl_elem_tlv_read;
+-    snd_hctl_elem_tlv_write;
+-    snd_hctl_elem_tlv_command;
+-} ALSA_1.0.11;
+-
+-ALSA_1.0.14 {
+-  global:
+-
+-    snd_device_name_hint;
+-    snd_device_name_free_hint;
+-    snd_device_name_get_hint;
+-} ALSA_1.0.12;
+diff -r 4b305d56a1f0 src/Versions.in
+--- /dev/null  Thu Jan 01 00:00:00 1970 +0000
++++ b/src/Versions.in  Fri Jan 12 13:27:35 2007 -0500
+@@ -0,0 +1,298 @@
++ALSA_0.9 {
++  global:
++    @SYMBOL_PREFIX@__snd_*;
++    @SYMBOL_PREFIX@_snd_*;
++    @SYMBOL_PREFIX@snd_*;
++  local:
++    *;
++};
++
++ALSA_0.9.0rc4 {
++  global:
++
++    @SYMBOL_PREFIX@snd_pcm_hw_params_get_access;
++    @SYMBOL_PREFIX@snd_pcm_hw_params_set_access_first;
++    @SYMBOL_PREFIX@snd_pcm_hw_params_set_access_last;
++
++    @SYMBOL_PREFIX@snd_pcm_hw_params_get_format;
++    @SYMBOL_PREFIX@snd_pcm_hw_params_set_format_first;
++    @SYMBOL_PREFIX@snd_pcm_hw_params_set_format_last;
++
++    @SYMBOL_PREFIX@snd_pcm_hw_params_get_subformat;
++    @SYMBOL_PREFIX@snd_pcm_hw_params_set_subformat_first;
++    @SYMBOL_PREFIX@snd_pcm_hw_params_set_subformat_last;
++
++    @SYMBOL_PREFIX@snd_pcm_hw_params_get_channels;
++    @SYMBOL_PREFIX@snd_pcm_hw_params_get_channels_min;
++    @SYMBOL_PREFIX@snd_pcm_hw_params_get_channels_max;
++    @SYMBOL_PREFIX@snd_pcm_hw_params_set_channels_near;
++    @SYMBOL_PREFIX@snd_pcm_hw_params_set_channels_first;
++    @SYMBOL_PREFIX@snd_pcm_hw_params_set_channels_last;
++
++    @SYMBOL_PREFIX@snd_pcm_hw_params_get_rate;
++    @SYMBOL_PREFIX@snd_pcm_hw_params_get_rate_min;
++    @SYMBOL_PREFIX@snd_pcm_hw_params_get_rate_max;
++    @SYMBOL_PREFIX@snd_pcm_hw_params_set_rate_near;
++    @SYMBOL_PREFIX@snd_pcm_hw_params_set_rate_first;
++    @SYMBOL_PREFIX@snd_pcm_hw_params_set_rate_last;
++
++    @SYMBOL_PREFIX@snd_pcm_hw_params_get_period_time;
++    @SYMBOL_PREFIX@snd_pcm_hw_params_get_period_time_min;
++    @SYMBOL_PREFIX@snd_pcm_hw_params_get_period_time_max;
++    @SYMBOL_PREFIX@snd_pcm_hw_params_set_period_time_near;
++    @SYMBOL_PREFIX@snd_pcm_hw_params_set_period_time_first;
++    @SYMBOL_PREFIX@snd_pcm_hw_params_set_period_time_last;
++
++    @SYMBOL_PREFIX@snd_pcm_hw_params_get_period_size;
++    @SYMBOL_PREFIX@snd_pcm_hw_params_get_period_size_min;
++    @SYMBOL_PREFIX@snd_pcm_hw_params_get_period_size_max;
++    @SYMBOL_PREFIX@snd_pcm_hw_params_set_period_size_near;
++    @SYMBOL_PREFIX@snd_pcm_hw_params_set_period_size_first;
++    @SYMBOL_PREFIX@snd_pcm_hw_params_set_period_size_last;
++
++    @SYMBOL_PREFIX@snd_pcm_hw_params_get_periods;
++    @SYMBOL_PREFIX@snd_pcm_hw_params_get_periods_min;
++    @SYMBOL_PREFIX@snd_pcm_hw_params_get_periods_max;
++    @SYMBOL_PREFIX@snd_pcm_hw_params_set_periods_near;
++    @SYMBOL_PREFIX@snd_pcm_hw_params_set_periods_first;
++    @SYMBOL_PREFIX@snd_pcm_hw_params_set_periods_last;
++
++    @SYMBOL_PREFIX@snd_pcm_hw_params_get_buffer_time;
++    @SYMBOL_PREFIX@snd_pcm_hw_params_get_buffer_time_min;
++    @SYMBOL_PREFIX@snd_pcm_hw_params_get_buffer_time_max;
++    @SYMBOL_PREFIX@snd_pcm_hw_params_set_buffer_time_near;
++    @SYMBOL_PREFIX@snd_pcm_hw_params_set_buffer_time_first;
++    @SYMBOL_PREFIX@snd_pcm_hw_params_set_buffer_time_last;
++
++    @SYMBOL_PREFIX@snd_pcm_hw_params_get_buffer_size;
++    @SYMBOL_PREFIX@snd_pcm_hw_params_get_buffer_size_min;
++    @SYMBOL_PREFIX@snd_pcm_hw_params_get_buffer_size_max;
++    @SYMBOL_PREFIX@snd_pcm_hw_params_set_buffer_size_near;
++    @SYMBOL_PREFIX@snd_pcm_hw_params_set_buffer_size_first;
++    @SYMBOL_PREFIX@snd_pcm_hw_params_set_buffer_size_last;
++
++    @SYMBOL_PREFIX@snd_pcm_hw_params_get_tick_time;
++    @SYMBOL_PREFIX@snd_pcm_hw_params_get_tick_time_min;
++    @SYMBOL_PREFIX@snd_pcm_hw_params_get_tick_time_max;
++    @SYMBOL_PREFIX@snd_pcm_hw_params_set_tick_time_near;
++    @SYMBOL_PREFIX@snd_pcm_hw_params_set_tick_time_first;
++    @SYMBOL_PREFIX@snd_pcm_hw_params_set_tick_time_last;
++
++} ALSA_0.9;
++
++ALSA_0.9.0rc8 {
++  global:
++
++    @SYMBOL_PREFIX@snd_pcm_forward;
++    @SYMBOL_PREFIX@snd_pcm_status_get_trigger_htstamp;
++    @SYMBOL_PREFIX@snd_pcm_status_get_htstamp;
++
++} ALSA_0.9.0rc4;
++
++ALSA_0.9.0 {
++  global:
++
++    @SYMBOL_PREFIX@snd_pcm_type_name;
++    @SYMBOL_PREFIX@snd_timer_query_info;
++    @SYMBOL_PREFIX@snd_timer_query_params;
++    @SYMBOL_PREFIX@snd_timer_query_status;
++    @SYMBOL_PREFIX@snd_timer_params_set_exclusive;
++    @SYMBOL_PREFIX@snd_timer_params_get_exclusive;
++    @SYMBOL_PREFIX@snd_timer_params_set_filter;
++    @SYMBOL_PREFIX@snd_timer_params_get_filter;
++} ALSA_0.9.0rc8;
++
++ALSA_0.9.3 {
++  global:
++
++    @SYMBOL_PREFIX@snd_ctl_elem_info_get_dimensions;
++    @SYMBOL_PREFIX@snd_ctl_elem_info_get_dimension;
++} ALSA_0.9.0;
++
++ALSA_0.9.5 {
++  global:
++
++    @SYMBOL_PREFIX@alsa_lisp;
++} ALSA_0.9.3;
++
++ALSA_0.9.6 {
++  global:
++
++    @SYMBOL_PREFIX@snd_hctl_open_ctl;
++    @SYMBOL_PREFIX@snd_seq_port_info_get_timestamping;
++    @SYMBOL_PREFIX@snd_seq_port_info_get_timestamp_real;
++    @SYMBOL_PREFIX@snd_seq_port_info_get_timestamp_queue;
++    @SYMBOL_PREFIX@snd_seq_port_info_set_timestamping;
++    @SYMBOL_PREFIX@snd_seq_port_info_set_timestamp_real;
++    @SYMBOL_PREFIX@snd_seq_port_info_set_timestamp_queue;
++} ALSA_0.9.5;
++
++ALSA_0.9.7 {
++  global:
++
++    @SYMBOL_PREFIX@snd_user_file;
++    @SYMBOL_PREFIX@snd_hctl_ctl;
++    @SYMBOL_PREFIX@sndo_*;
++    @SYMBOL_PREFIX@alsa_lisp_*;
++} ALSA_0.9.6;
++
++ALSA_0.9.8 {
++  global:
++
++    @SYMBOL_PREFIX@snd_ctl_elem_add;
++    @SYMBOL_PREFIX@snd_ctl_elem_replace;
++    @SYMBOL_PREFIX@snd_ctl_elem_remove;
++    @SYMBOL_PREFIX@snd_hctl_poll_descriptors_revents;
++} ALSA_0.9.7;
++
++ALSA_1.0.4 {
++  global:
++
++    @SYMBOL_PREFIX@snd_spcm_init;
++    @SYMBOL_PREFIX@snd_spcm_init_duplex;
++    @SYMBOL_PREFIX@snd_spcm_init_get_params;
++} ALSA_0.9.8;
++
++ALSA_1.0.5 {
++  global:
++
++    @SYMBOL_PREFIX@snd_asoundlib_version;
++    @SYMBOL_PREFIX@snd_timer_params_set_early_event;
++    @SYMBOL_PREFIX@snd_timer_params_get_early_event;
++} ALSA_1.0.4;
++
++ALSA_1.0.8 {
++  global:
++
++    @SYMBOL_PREFIX@snd_ctl_elem_add_integer;
++    @SYMBOL_PREFIX@snd_ctl_elem_add_integer64;
++    @SYMBOL_PREFIX@snd_ctl_elem_add_boolean;
++    @SYMBOL_PREFIX@snd_ctl_elem_add_iec958;
++    @SYMBOL_PREFIX@snd_ctl_elem_remove;
++} ALSA_1.0.5;
++
++ALSA_1.0.9 {
++  global:
++
++    @SYMBOL_PREFIX@snd_names_list;
++    @SYMBOL_PREFIX@snd_names_list_free;
++
++    @SYMBOL_PREFIX@snd_pcm_hw_params_set_rate_resample;
++    @SYMBOL_PREFIX@snd_pcm_hw_params_get_rate_resample;
++    @SYMBOL_PREFIX@snd_pcm_hw_params_set_export_buffer;
++    @SYMBOL_PREFIX@snd_pcm_hw_params_get_export_buffer;
++
++    @SYMBOL_PREFIX@snd_pcm_ioplug_create;
++    @SYMBOL_PREFIX@snd_pcm_ioplug_delete;
++    @SYMBOL_PREFIX@snd_pcm_ioplug_reinit_status;
++    @SYMBOL_PREFIX@snd_pcm_ioplug_params_reset;
++    @SYMBOL_PREFIX@snd_pcm_ioplug_set_param_minmax;
++    @SYMBOL_PREFIX@snd_pcm_ioplug_set_param_list;
++
++    @SYMBOL_PREFIX@snd_pcm_extplug_create;
++    @SYMBOL_PREFIX@snd_pcm_extplug_delete;
++    @SYMBOL_PREFIX@snd_pcm_extplug_params_reset;
++    @SYMBOL_PREFIX@snd_pcm_extplug_set_param_list;
++    @SYMBOL_PREFIX@snd_pcm_extplug_set_param_minmax;
++    @SYMBOL_PREFIX@snd_pcm_extplug_set_slave_param_list;
++    @SYMBOL_PREFIX@snd_pcm_extplug_set_slave_param_minmax;
++
++    @SYMBOL_PREFIX@snd_pcm_parse_control_id;
++
++    @SYMBOL_PREFIX@snd_async_add_timer_handler;
++    @SYMBOL_PREFIX@snd_async_handler_get_timer;
++
++    @SYMBOL_PREFIX@snd_timer_ginfo_sizeof;
++    @SYMBOL_PREFIX@snd_timer_ginfo_malloc;
++    @SYMBOL_PREFIX@snd_timer_ginfo_free;
++    @SYMBOL_PREFIX@snd_timer_ginfo_copy;
++    @SYMBOL_PREFIX@snd_timer_ginfo_set_tid;
++    @SYMBOL_PREFIX@snd_timer_ginfo_get_tid;
++    @SYMBOL_PREFIX@snd_timer_ginfo_get_flags;
++    @SYMBOL_PREFIX@snd_timer_ginfo_get_card;
++    @SYMBOL_PREFIX@snd_timer_ginfo_get_id;
++    @SYMBOL_PREFIX@snd_timer_ginfo_get_name;
++    @SYMBOL_PREFIX@snd_timer_ginfo_get_resolution;
++    @SYMBOL_PREFIX@snd_timer_ginfo_get_resolution_min;
++    @SYMBOL_PREFIX@snd_timer_ginfo_get_resolution_max;
++    @SYMBOL_PREFIX@snd_timer_ginfo_get_clients;
++
++} ALSA_1.0.8;
++
++ALSA_1.0.10 {
++  global:
++
++    @SYMBOL_PREFIX@snd_mixer_get_hctl;
++    @SYMBOL_PREFIX@snd_mixer_elem_get_private;
++    @SYMBOL_PREFIX@snd_mixer_attach_hctl;
++    @SYMBOL_PREFIX@snd_mixer_detach_hctl;
++
++    @SYMBOL_PREFIX@snd_mixer_class_register;
++    @SYMBOL_PREFIX@snd_mixer_add_elem;
++    @SYMBOL_PREFIX@snd_mixer_remove_elem;
++    @SYMBOL_PREFIX@snd_mixer_elem_new;
++    @SYMBOL_PREFIX@snd_mixer_elem_add;
++    @SYMBOL_PREFIX@snd_mixer_elem_remove;
++    @SYMBOL_PREFIX@snd_mixer_elem_free;
++    @SYMBOL_PREFIX@snd_mixer_elem_info;
++    @SYMBOL_PREFIX@snd_mixer_elem_value;
++    @SYMBOL_PREFIX@snd_mixer_elem_attach;
++    @SYMBOL_PREFIX@snd_mixer_elem_detach;
++    @SYMBOL_PREFIX@snd_mixer_elem_empty;
++
++    @SYMBOL_PREFIX@snd_mixer_class_malloc;
++    @SYMBOL_PREFIX@snd_mixer_class_free;
++    @SYMBOL_PREFIX@snd_mixer_class_copy;
++    @SYMBOL_PREFIX@snd_mixer_class_get_mixer;
++    @SYMBOL_PREFIX@snd_mixer_class_get_event;
++    @SYMBOL_PREFIX@snd_mixer_class_get_private;
++    @SYMBOL_PREFIX@snd_mixer_class_get_compare;
++    @SYMBOL_PREFIX@snd_mixer_class_set_event;
++    @SYMBOL_PREFIX@snd_mixer_class_set_private;
++    @SYMBOL_PREFIX@snd_mixer_class_set_private_free;
++    @SYMBOL_PREFIX@snd_mixer_class_set_compare;
++
++    @SYMBOL_PREFIX@snd_mixer_selem_set_playback_dB_all;
++    @SYMBOL_PREFIX@snd_mixer_selem_set_capture_dB_all;
++    @SYMBOL_PREFIX@snd_mixer_selem_is_enum_playback;
++    @SYMBOL_PREFIX@snd_mixer_selem_is_enum_capture;
++    @SYMBOL_PREFIX@snd_mixer_selem_compare;
++    @SYMBOL_PREFIX@snd_mixer_sbasic_info;
++    @SYMBOL_PREFIX@snd_mixer_sbasic_get_private;
++    @SYMBOL_PREFIX@snd_mixer_sbasic_set_private;
++    @SYMBOL_PREFIX@snd_mixer_sbasic_set_private_free;
++
++    @SYMBOL_PREFIX@snd_ctl_ext_create;
++    @SYMBOL_PREFIX@snd_ctl_ext_delete;
++
++} ALSA_1.0.9;
++
++ALSA_1.0.11 {
++  global:
++
++    @SYMBOL_PREFIX@snd_pcm_recover;
++    @SYMBOL_PREFIX@snd_pcm_set_params;
++    @SYMBOL_PREFIX@snd_pcm_get_params;
++} ALSA_1.0.10;
++
++ALSA_1.0.12 {
++  global:
++
++    @SYMBOL_PREFIX@snd_ctl_elem_tlv_read;
++    @SYMBOL_PREFIX@snd_ctl_elem_tlv_write;
++    @SYMBOL_PREFIX@snd_ctl_elem_tlv_command;
++    @SYMBOL_PREFIX@snd_ctl_elem_info_is_tlv_readable;
++    @SYMBOL_PREFIX@snd_ctl_elem_info_is_tlv_writable;
++    @SYMBOL_PREFIX@snd_ctl_elem_info_is_tlv_commandable;
++    @SYMBOL_PREFIX@snd_hctl_elem_tlv_read;
++    @SYMBOL_PREFIX@snd_hctl_elem_tlv_write;
++    @SYMBOL_PREFIX@snd_hctl_elem_tlv_command;
++} ALSA_1.0.11;
++
++ALSA_1.0.14 {
++  global:
++
++    @SYMBOL_PREFIX@snd_device_name_hint;
++    @SYMBOL_PREFIX@snd_device_name_free_hint;
++    @SYMBOL_PREFIX@snd_device_name_get_hint;
++} ALSA_1.0.12;
diff --git a/apcupsd-drivers-updates.patch b/apcupsd-drivers-updates.patch
new file mode 100644 (file)
index 0000000..aaa4a15
--- /dev/null
@@ -0,0 +1,16 @@
+--- autoconf/targets.mak
++++ autoconf/targets.mak
+@@ -79,9 +80,12 @@ $(topdir)/src/drivers/usb/libusb.a: $(to
+ $(topdir)/src/drivers/snmp/libdumb.a: $(topdir)/src/drivers/snmp/*.[ch]
+       @(cd $(topdir)/src/drivers/snmp && $(MAKE))
+-$(topdir)/src/drivers/dumb/libtest.a: $(topdir)/src/drivers/test/*.[ch]
++$(topdir)/src/drivers/test/libtest.a: $(topdir)/src/drivers/test/*.[ch]
+       @(cd $(topdir)/src/drivers/test && $(MAKE))
++$(topdir)/src/drivers/pcnet/libpcnet.a: $(topdir)/src/drivers/pcnet/*.[ch]
++      @(cd $(topdir)/src/drivers/pcnet && $(MAKE))
++
+ $(topdir)/src/intl/libintl.a: $(topdir)/src/intl/*.[ch]
+       @(cd $(topdir)/src/intl && $(MAKE))
diff --git a/apcupsd-more-phonies.patch b/apcupsd-more-phonies.patch
new file mode 100644 (file)
index 0000000..6d92c24
--- /dev/null
@@ -0,0 +1,14 @@
+--- autoconf/targets.mak
++++ autoconf/targets.mak
+@@ -13,8 +13,9 @@
+ .NOEXPORT:
+ .SUFFIXES: .o .lo .c .cpp .h .po .gmo .mo .cat .msg .pox
+ .MAIN: all
+-.PHONY: all install uninstall install- install-apcupsd install-powerflute \
+-              install-cgi install-strip clean realclean distclean mostlyclean clobber
++.PHONY: all all-subdirs all-targets install uninstall install- install-apcupsd \
++              install-powerflute install-cgi install-strip clean realclean distclean \
++              mostlyclean clobber
+ all: all-subdirs all-targets
diff --git a/apcupsd-pass-recursive-errors.patch b/apcupsd-pass-recursive-errors.patch
new file mode 100644 (file)
index 0000000..043601a
--- /dev/null
@@ -0,0 +1,23 @@
+Index: autoconf/targets.mak
+===================================================================
+RCS file: /cvsroot/apcupsd/apcupsd/autoconf/targets.mak,v
+retrieving revision 1.21
+diff -u -p -r1.21 targets.mak
+--- autoconf/targets.mak       21 Sep 2006 00:07:35 -0000      1.21
++++ autoconf/targets.mak       19 Dec 2006 22:38:52 -0000
+@@ -22,10 +22,11 @@ all-subdirs:
+       @if test ! x"$(subdirs)" = x; then \
+           for file in . ${subdirs}; \
+           do \
+-              (cd $$file && if test "$$file" != "."; then $(MAKE) DESTDIR=$(DESTDIR) all; fi); \
+-                if test "$$?" != "0"; then \
+-                   break; \
+-                fi; \
++              (cd $$file; \
++               if test "$$file" != "."; then \
++                   $(MAKE) DESTDIR=$(DESTDIR) all || exit $$?; \
++               fi; \
++              ) || exit $$?; \
+           done; \
+       fi
diff --git a/asterisk-pic-fix.patch b/asterisk-pic-fix.patch
new file mode 100644 (file)
index 0000000..ee6af70
--- /dev/null
@@ -0,0 +1,118 @@
+Index: codecs/gsm/src/k6opt.s
+===================================================================
+--- codecs/gsm/src/k6opt.s     (revision 49815)
++++ codecs/gsm/src/k6opt.s     (working copy)
+@@ -1,23 +1,24 @@
+       .file   "k6opt.s"
+       .version        "01.01"
+-/* gcc2_compiled.: */
+-.section      .rodata
+-      .align 4
+-      .type    coefs,@object
+-      .size    coefs,24
+-coefs:
+-      .value -134
+-      .value -374
+-      .value 0
+-      .value 2054
+-      .value 5741
+-      .value 8192
+-      .value 5741
+-      .value 2054
+-      .value 0
+-      .value -374
+-      .value -134
+-      .value 0
++
++/* load a mask into a mmx register ... use the stack to avoid TEXTRELS */
++.macro load_immq mask reg
++      pushl $h_\mask
++      pushl $l_\mask
++      movq (%esp), \reg
++.endm
++.macro cleanup_immq num
++      addl \num * 8, %esp
++.endm
++
++/* some coefficients for us to play with */
++.set h_coefs1, 0xFE8AFF7A /* -134 -374 */
++.set l_coefs1, 0x08060000 /*    0 2504 */
++.set h_coefs2, 0x2000166D /* 5741 8192 */
++.set l_coefs2, 0x0806166D /* 5741 2054 */
++.set h_coefs3, 0xFE8A0000 /*    0 -374 */
++.set l_coefs3, 0x0000FF7A /* -134    0 */
++
+ .text
+       .align 4
+ /* void Weighting_filter (const short *e, short *x) */
+@@ -34,9 +35,10 @@ Weighting_filter:
+       addl $-10,%ebx
+       emms
+       movl $0x1000,%eax; movd %eax,%mm5  /* for rounding */
+-      movq coefs,%mm1
+-      movq coefs+8,%mm2
+-      movq coefs+16,%mm3
++      load_immq coefs1, %mm1
++      load_immq coefs2, %mm2
++      load_immq coefs3, %mm3
++      cleanup_immq 3
+       xorl %esi,%esi
+       .p2align 2
+ .L21:
+@@ -229,6 +231,8 @@ k6iprod:
+       .align 4
+ /* void k6vsraw P3((short *p, int n, int bits) */
++.set h_ones, 0x00010001
++.set l_ones, 0x00010001
+ .globl k6vsraw
+       .type    k6vsraw,@function
+ k6vsraw:
+@@ -242,7 +246,8 @@ k6vsraw:
+       leal -16(%esi,%eax,2),%edx /* edx = top - 16 */
+       emms
+       movd %ecx,%mm3
+-      movq ones,%mm2
++      load_immq ones, %mm2
++      cleanup_immq 1
+       psllw %mm3,%mm2; psrlw $1,%mm2
+       cmpl %edx,%esi; ja .L306
+@@ -362,22 +367,10 @@ k6vsllw:
+       .size    k6vsllw,.Lfe5-k6vsllw
+-.section      .rodata
+-      .align 4
+-      .type    extremes,@object
+-      .size    extremes,8
+-extremes:
+-      .long 0x80008000
+-      .long 0x7fff7fff
+-      .type    ones,@object
+-      .size    ones,8
+-ones:
+-      .long 0x00010001
+-      .long 0x00010001
+-
+-.text
+       .align 4
+ /* long k6maxmin (const short *p, int n, short *out) */
++.set extremes_1, 0x80008000
++.set extremes_2, 0x7fff7fff
+ .globl k6maxmin
+       .type    k6maxmin,@function
+ k6maxmin:
+@@ -391,8 +384,10 @@ k6maxmin:
+       cmpl %edx,%esi
+       jbe .L52
+-      movd extremes,%mm0
+-      movd extremes+4,%mm1
++      mov $extremes_1, %ecx
++      movd %ecx, %mm0
++      mov $extremes_2, %ecx
++      movd %ecx, %mm1
+       jmp .L58
+       .p2align 2
diff --git a/audacious-plugins-useless-CXXFLAGS.patch b/audacious-plugins-useless-CXXFLAGS.patch
new file mode 100644 (file)
index 0000000..c543b20
--- /dev/null
@@ -0,0 +1,66 @@
+--- src.orig/cue/Makefile
++++ src/cue/Makefile
+@@ -11,8 +11,6 @@
+ CFLAGS += $(PICFLAGS) $(GTK_CFLAGS) $(GLIB_CFLAGS) $(PANGO_CFLAGS) $(ARCH_DEFINES) -I../../intl -I../..
+-CXXFLAGS = $(CFLAGS)
+-
+ LIBADD = $(GTK_LIBS) $(GLIB_LIBS) $(PANGO_LIBS)
+ include ../../mk/objective.mk
+--- src.orig/m3u/Makefile
++++ src/m3u/Makefile
+@@ -11,8 +11,6 @@
+ CFLAGS += $(PICFLAGS) $(GTK_CFLAGS) $(GLIB_CFLAGS) $(PANGO_CFLAGS) $(ARCH_DEFINES) -I../../intl -I../..
+-CXXFLAGS = $(CFLAGS)
+-
+ LIBADD = $(GTK_LIBS) $(GLIB_LIBS) $(PANGO_LIBS)
+ include ../../mk/objective.mk
+--- src.orig/mms/Makefile
++++ src/mms/Makefile
+@@ -12,8 +12,6 @@
+ CFLAGS += $(PICFLAGS) $(GTK_CFLAGS) $(GLIB_CFLAGS) $(PANGO_CFLAGS) $(MMS_CFLAGS) $(ARCH_DEFINES) -I../../intl -I../..
+-CXXFLAGS = $(CFLAGS)
+-
+ LIBADD = $(GTK_LIBS) $(GLIB_LIBS) $(PANGO_LIBS) $(MMS_LIBS)
+ include ../../mk/objective.mk
+--- src.orig/pls/Makefile
++++ src/pls/Makefile
+@@ -11,8 +11,6 @@
+ CFLAGS += $(PICFLAGS) $(GTK_CFLAGS) $(GLIB_CFLAGS) $(PANGO_CFLAGS) $(ARCH_DEFINES) -I../../intl -I../..
+-CXXFLAGS = $(CFLAGS)
+-
+ LIBADD = $(GTK_LIBS) $(GLIB_LIBS) $(PANGO_LIBS)
+ include ../../mk/objective.mk
+--- src.orig/stdio/Makefile
++++ src/stdio/Makefile
+@@ -12,8 +12,6 @@
+ CFLAGS += $(PICFLAGS) $(GTK_CFLAGS) $(GLIB_CFLAGS) $(PANGO_CFLAGS) $(ARCH_DEFINES) -I../../intl -I../..
+-CXXFLAGS = $(CFLAGS)
+-
+ LIBADD = $(GTK_LIBS) $(GLIB_LIBS) $(PANGO_LIBS)
+ include ../../mk/objective.mk
+--- src.orig/xspf/Makefile
++++ src/xspf/Makefile
+@@ -11,8 +11,6 @@
+ CFLAGS += $(PICFLAGS) $(GTK_CFLAGS) $(GLIB_CFLAGS) $(PANGO_CFLAGS) $(ARCH_DEFINES) $(XML_CPPFLAGS) -I../../intl -I../.. -Wall
+-CXXFLAGS = $(CFLAGS)
+-
+ LIBADD = $(GTK_LIBS) $(GLIB_LIBS) $(PANGO_LIBS) $(XML_LIBS)
+ include ../../mk/objective.mk
diff --git a/autoconf-2.62-fix-multiline-string.patch b/autoconf-2.62-fix-multiline-string.patch
new file mode 100644 (file)
index 0000000..e4e3363
--- /dev/null
@@ -0,0 +1,23 @@
+--- autoconf-2.62/lib/autoconf/status.m4.multiline     2008-04-06 01:04:48.000000000 +0200
++++ autoconf-2.62/lib/autoconf/status.m4       2008-04-19 03:33:27.721188004 +0200
+@@ -1360,16 +1360,16 @@ _ACEOF
+ cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
+ # Files that config.status was made for.
+ m4_ifdef([_AC_SEEN_CONFIG(FILES)],
+-[config_files="$ac_config_files"
++[config_files="`echo $ac_config_files`"
+ ])dnl
+ m4_ifdef([_AC_SEEN_CONFIG(HEADERS)],
+-[config_headers="$ac_config_headers"
++[config_headers="`echo $ac_config_headers`"
+ ])dnl
+ m4_ifdef([_AC_SEEN_CONFIG(LINKS)],
+-[config_links="$ac_config_links"
++[config_links="`echo $ac_config_links`"
+ ])dnl
+ m4_ifdef([_AC_SEEN_CONFIG(COMMANDS)],
+-[config_commands="$ac_config_commands"
++[config_commands="`echo $ac_config_commands`"
+ ])dnl
+ _ACEOF
diff --git a/baselayout-devfs.patch b/baselayout-devfs.patch
new file mode 100644 (file)
index 0000000..3df4f6e
--- /dev/null
@@ -0,0 +1,29 @@
+Index: branches/baselayout-1_12/sbin/rc
+===================================================================
+--- branches/baselayout-1_12/sbin/rc   (revision 2250)
++++ branches/baselayout-1_12/sbin/rc   (working copy)
+@@ -288,9 +288,9 @@ then
+               esac
+               # Check udev prerequisites and kernel params
+-              if [ "${udev}" = "yes" ] && has_addon udev
++              if [ "${udev}" = "yes" ]
+               then
+-                      if get_bootparam "noudev" || \
++                      if get_bootparam "noudev" || ! has_addon udev || \
+                          [ ${devfs_automounted} = "yes" ] || \
+                          [ "$(get_KV)" -lt "$(KV_to_int '2.6.0')" ]
+                       then
+@@ -299,9 +299,10 @@ then
+               fi
+               # Check devfs prerequisites and kernel params
+-              if [ "${devfs}" = "yes" ] && has_addon devfs
++              if [ "${devfs}" = "yes" ]
+               then
+-                      if get_bootparam "nodevfs" || [ "${udev}" = "yes" ]
++                      if get_bootparam "nodevfs" || [ "${udev}" = "yes" ] || \
++                         ! has_addon devfs
+                       then
+                               devfs="no"
+                       fi
diff --git a/bash-3.2-ulimit.patch b/bash-3.2-ulimit.patch
new file mode 100644 (file)
index 0000000..a0975cb
--- /dev/null
@@ -0,0 +1,13 @@
+add missing docs for -e and -r options
+
+--- builtins/ulimit.def
++++ builtins/ulimit.def
+@@ -24,7 +24,7 @@
+ $BUILTIN ulimit
+ $FUNCTION ulimit_builtin
+ $DEPENDS_ON !_MINIX
+-$SHORT_DOC ulimit [-SHacdfilmnpqstuvx] [limit]
++$SHORT_DOC ulimit [-SHacdefilmnpqrstuvx] [limit]
+ Ulimit provides control over the resources available to processes
+ started by the shell, on systems that allow such control.  If an
+ option is given, it is interpreted as follows:
diff --git a/better-addr.patch b/better-addr.patch
new file mode 100644 (file)
index 0000000..8f8d0f5
--- /dev/null
@@ -0,0 +1,83 @@
+--- arch/blackfin/kernel/traps.c
++++ arch/blackfin/kernel/traps.c
+@@ -94,30 +99,63 @@ static int printk_address(unsigned long 
+       char *delim = ":";
+       char namebuf[128];
+-      symname =
+-          kallsyms_lookup(address, &symsize, &offset, &modname, namebuf);
+-      if (!symname) {
+-              if (current->mm) {
+-                      if ((address > current->mm->start_code) &&
+-                          (address < current->mm->end_code)) {
+-                              return printk("<%08lx>[%s+0x%lx]",
+-                                            address,
+-                                            current->comm,
+-                                            (long)(address -
+-                                                  current->mm->start_code));
++      /* look up the address and see if we are in kernel space */
++      symname = kallsyms_lookup(address, &symsize, &offset, &modname, namebuf);
++
++      if (symname) {
++              /* yeah! kernel space! */
++              if (!modname)
++                      modname = delim = "";
++              return printk("<0x%p> { %s%s%s%s + 0x%lX }",
++                            (void*)address, delim, modname, delim, symname, (unsigned long)offset);
++
++      } else {
++              /* looks like we're off in user-land, so let's walk all the
++               * mappings of all our processes and see if we can't be a whee
++               * bit more specific
++               */
++              struct vm_list_struct *vml;
++              struct task_struct *p;
++              struct mm_struct *mm;
++
++              write_lock_irq(&tasklist_lock);
++              for_each_process (p) {
++                      mm = get_task_mm(p);
++                      if (!mm)
++                              continue;
++
++                      vml = mm->context.vmlist;
++                      while (vml) {
++                              struct vm_area_struct *vma = vml->vma;
++
++                              if ((address >= vma->vm_start) && (address < vma->vm_end)) {
++                                      char *name = p->comm;
++                                      struct file *file = vma->vm_file;
++                                      if (file) {
++                                              char _tmpbuf[256];
++                                              name = d_path(file->f_dentry, file->f_vfsmnt, _tmpbuf, sizeof(_tmpbuf));
++                                      }
++
++                                      write_unlock_irq(&tasklist_lock);
++                                      return printk("<0x%p> [ %s + 0x%lX ]",
++                                                    (void*)address,
++                                                    name,
++                                                    (unsigned long)((address - vma->vm_start) + (vma->vm_pgoff << PAGE_SHIFT)));
++                              }
++
++                              vml = vml->next;
+                       }
+               }
+-              return printk("[<%08lx>]", address);
++              write_unlock_irq(&tasklist_lock);
+       }
+-      if (!modname)
+-              modname = delim = "";
+-      return printk("<%08lx>{%s%s%s%s+0x%lx}",
+-                    address, delim, modname, delim, symname, (long)offset);
++
++      /* we were unable to find this address anywhere */
++      return printk("[<0x%p>]", (void*)address);
+ }
+ #else
+ static int printk_address(unsigned long address)
+ {
+-      return printk("[<%08lx>]", address);
++      return printk("[<0x%p>]", (void*)address);
+ }
+ #endif
diff --git a/bfin-alsa-ad1836-cleanup.patch b/bfin-alsa-ad1836-cleanup.patch
new file mode 100644 (file)
index 0000000..fa43811
--- /dev/null
@@ -0,0 +1,226 @@
+Index: ad1836.c
+===================================================================
+RCS file: /usr/local/src/blackfin/rsync/uclinux533/uClinux-dist/linux-2.6.x/sound/blackfin/ad1836.c,v
+retrieving revision 1.57
+diff -u -p -r1.57 ad1836.c
+--- ad1836.c   29 Aug 2006 09:36:12 -0000      1.57
++++ ad1836.c   8 Sep 2006 23:25:58 -0000
+@@ -917,6 +917,7 @@ static int snd_ad1836_playback_close(snd
+               }
+       }
+ #else
++      snd_printk_marker();
+       chip->tx_substream = NULL;
+ #endif
+@@ -946,11 +947,13 @@ static int snd_ad1836_hw_params(snd_pcm_
+        */
+ #ifdef CONFIG_SND_BLACKFIN_AD1836_TDM
+-#ifdef MULTI_SUBSTREAM
++# ifdef MULTI_SUBSTREAM
+       substream_info_t *sub_info = NULL;
+       ad1836_t *chip = snd_pcm_substream_chip(substream);
+       int index = find_substream(chip, substream, &sub_info);
++      snd_printk_marker();
++
+       if (chip->rx_substream == substream) {
+               substream->runtime->dma_area = chip->rx_dma_buf;
+               substream->runtime->dma_addr = (unsigned int)chip->rx_dma_buf;
+@@ -961,18 +964,19 @@ static int snd_ad1836_hw_params(snd_pcm_
+               substream->runtime->dma_bytes = AD1836_BUF_SZ;
+       }
+-#else
++# else
++      snd_printk_marker();
+       if (snd_pcm_lib_malloc_pages(substream, AD1836_BUF_SZ) < 0)
+               return -ENOMEM;
+-#endif
++# endif
+ #else
++      snd_printk_marker();
+       if (snd_pcm_lib_malloc_pages(substream, params_buffer_bytes(hwparams)) < 0)
+               return -ENOMEM;
+ #endif
+       return 0;
+-
+ }
+ static int snd_ad1836_hw_free(snd_pcm_substream_t * substream)
+@@ -1080,6 +1084,8 @@ static int snd_ad1836_playback_trigger(s
+       snd_assert((index >= 0 && index <= 2 && sub_info), return -EINVAL);
+ #endif
++      snd_printk_marker();
++
+       spin_lock(&chip->ad1836_lock);
+       switch (cmd) {
+       case SNDRV_PCM_TRIGGER_START:
+@@ -1121,6 +1127,8 @@ static int snd_ad1836_capture_trigger(sn
+ {
+       ad1836_t *chip = snd_pcm_substream_chip(substream);
++      snd_printk_marker();
++
+       spin_lock(&chip->ad1836_lock);
+       snd_assert(substream == chip->rx_substream, return -EINVAL);
+       switch (cmd) {
+@@ -1158,6 +1166,8 @@ static snd_pcm_uframes_t snd_ad1836_play
+ #endif
+       size_t frames = diff / bytes_per_frame;
++      snd_printk_marker();
++
+ #ifdef MULTI_SUBSTREAM
+       find_substream(chip, substream, &sub_info);
+       frames = (frames + DMA_BUFFER_FRAMES - sub_info->dma_offset) % \
+@@ -1197,8 +1207,10 @@ static snd_pcm_uframes_t snd_ad1836_capt
+ #endif
+       size_t frames = diff / bytes_per_frame;
++      snd_printk_marker();
++
+ #ifdef CONFIG_SND_DEBUG_CURRPTR
+-      snd_printk(KERN_INFO " capture pos: 0x%04x / %lx\n", frames,
++      snd_printk(KERN_DEBUG "capture pos: 0x%04x / %lx\n", frames,
+                                               runtime->buffer_size);
+ #endif
+@@ -1399,7 +1411,7 @@ static int snd_ad1836_playback_silence(s
+                       frames_to_bytes(substream->runtime, count));
+ #endif
+ #ifdef CONFIG_SND_DEBUG_CURRPTR
+-      snd_printk(KERN_INFO "silence: pos %x, count %x\n", (uint)pos, (uint)count);
++      snd_printk(KERN_DEBUG "silence: pos %x, count %x\n", (uint)pos, (uint)count);
+ #endif
+       return 0;
+@@ -1411,7 +1423,7 @@ static int snd_ad1836_capture_silence(sn
+       unsigned char *buf = substream->runtime->dma_area;
+ #ifdef CONFIG_SND_DEBUG
+-      snd_printk(KERN_INFO "silence: pos %x, count %x\n",
++      snd_printk(KERN_DEBUG "silence: pos %x, count %x\n",
+                               (uint)pos, (uint)count);
+ #endif
+ #ifdef CONFIG_SND_BLACKFIN_AD1836_TDM
+@@ -1457,6 +1469,8 @@ static snd_pcm_ops_t snd_ad1836_capture_
+  *************************************************************/
+ static int snd_ad1836_stop(struct snd_ad1836 *chip)
+ {
++      snd_printk_marker();
++
+       snd_ad1836_set_register(chip, DAC_CTRL_2, DAC_MUTE_MASK, DAC_MUTE_MASK);
+       snd_ad1836_set_register(chip, ADC_CTRL_2, ADC_MUTE_MASK, ADC_MUTE_MASK);
+       snd_ad1836_set_register(chip, DAC_CTRL_1, DAC_PWRDWN, DAC_PWRDWN);
+@@ -1469,6 +1483,8 @@ static int snd_ad1836_dev_free(snd_devic
+ {
+       struct snd_ad1836 *chip = (ad1836_t *)device->device_data;
++      snd_printk_marker();
++
+ #ifdef MULTI_SUBSTREAM
+       dma_free_coherent(NULL, AD1836_BUF_SZ, chip->rx_dma_buf, 0);
+       dma_free_coherent(NULL, AD1836_BUF_SZ, chip->tx_dma_buf, 0);
+@@ -1514,7 +1530,7 @@ static int snd_bf53x_ad1836_reset(ad1836
+       bfin_write(FlashA_PortA_Dir,0x1);       /* configure flag as an output pin */
+-      snd_printk(KERN_INFO "resetting ezkit 1836 using flash flag pin\n");
++      snd_printk(KERN_INFO "resetting ezkit using flash flag pin\n");
+       bfin_write(FlashA_PortA_Data,0x0);      /* reset is active low */
+       udelay(1);                      /* hold low */
+@@ -1532,6 +1548,8 @@ static int snd_ad1836_configure(ad1836_t
+       int err = 0;
+       struct bf53x_sport *sport= chip->sport;
++      snd_printk_marker();
++
+       snd_bf53x_ad1836_reset(chip);
+       /* see if we are connected by writing (preferably something useful)
+@@ -1592,6 +1610,8 @@ static int snd_ad1836_configure(ad1836_t
+       int err = 0;
+       struct bf53x_sport *sport= chip->sport;
++      snd_printk_marker();
++
+       snd_bf53x_ad1836_reset(chip);
+       /* Power up DAC and ADC */
+@@ -1672,7 +1692,7 @@ static void snd_ad1836_dma_tx(void *data
+ static void snd_ad1836_sport_err(void *data)
+ {
+-      printk(KERN_ERR "%s: err happened on sport\n", __FUNCTION__);
++      printk(KERN_ERR DRIVER_NAME ":%s: err happened on sport\n", __FUNCTION__);
+ }
+ static void snd_ad1836_proc_registers_read(snd_info_entry_t * entry,
+@@ -1742,6 +1762,8 @@ static int __devinit snd_ad1836_pcm(stru
+       struct snd_pcm *pcm;
+       int err = 0;
++      snd_printk_marker();
++
+ #ifdef MULTI_SUBSTREAM
+       /* 3 playback and 1 capture substream, 2 channels each */
+       err = snd_pcm_new(ad1836->card, PCM_NAME, 0, 3, 1, &pcm);
+@@ -1779,12 +1801,16 @@ static int __devinit snd_ad1836_probe(st
+       dma_addr_t addr;
+ #endif
++      snd_printk_marker();
++
+       if (device != NULL)
+               return -ENOENT;
+       card = snd_card_new(-1, NULL, THIS_MODULE, sizeof(struct snd_ad1836));
+-      if (card == NULL)
++      if (card == NULL) {
++              snd_printdd(KERN_DEBUG "%s: snd_card