Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/yamt-lazymbuf]: src/sys sync with head.



details:   https://anonhg.NetBSD.org/src/rev/cedd0f9e1207
branches:  yamt-lazymbuf
changeset: 582751:cedd0f9e1207
user:      yamt <yamt%NetBSD.org@localhost>
date:      Mon Sep 03 14:31:56 2007 +0000

description:
sync with head.

diffstat:

 sys/compat/darwin/darwin_signal.c                   |     93 +-
 sys/compat/darwin/darwin_socket.c                   |    409 +-
 sys/compat/darwin/darwin_socket.h                   |      4 +-
 sys/compat/darwin/darwin_stat.c                     |    100 +-
 sys/compat/darwin/darwin_syscall.h                  |     26 +-
 sys/compat/darwin/darwin_syscallargs.h              |      8 +-
 sys/compat/darwin/darwin_sysctl.c                   |     28 +-
 sys/compat/darwin/syscalls.master                   |     30 +-
 sys/compat/freebsd/freebsd_exec_elf32.c             |      7 +-
 sys/compat/freebsd/freebsd_file.c                   |    563 +-
 sys/compat/freebsd/freebsd_ioctl.c                  |      8 +-
 sys/compat/freebsd/freebsd_ioctl.h                  |      6 +-
 sys/compat/freebsd/freebsd_misc.c                   |     21 +-
 sys/compat/freebsd/freebsd_ptrace.c                 |     45 +-
 sys/compat/freebsd/freebsd_ptrace.h                 |      6 +-
 sys/compat/freebsd/freebsd_sched.c                  |     10 +-
 sys/compat/freebsd/freebsd_syscall.h                |     68 +-
 sys/compat/freebsd/freebsd_syscallargs.h            |    228 +-
 sys/compat/freebsd/freebsd_syscalls.c               |      6 +-
 sys/compat/freebsd/freebsd_sysctl.c                 |     35 +-
 sys/compat/freebsd/freebsd_sysent.c                 |    126 +-
 sys/compat/freebsd/syscalls.master                  |    142 +-
 sys/compat/hpux/hpux_compat.c                       |    144 +-
 sys/compat/hpux/hpux_exec.c                         |     14 +-
 sys/compat/hpux/hpux_file.c                         |    179 +-
 sys/compat/hpux/hpux_net.c                          |     45 +-
 sys/compat/hpux/hpux_sig.c                          |     10 +-
 sys/compat/hpux/hpux_syscall.h                      |     40 +-
 sys/compat/hpux/hpux_syscallargs.h                  |     12 +-
 sys/compat/hpux/hpux_termio.h                       |      6 +-
 sys/compat/hpux/hpux_tty.c                          |     32 +-
 sys/compat/hpux/syscalls.master                     |     44 +-
 sys/compat/ibcs2/ibcs2_exec.c                       |      6 +-
 sys/compat/ibcs2/ibcs2_exec_coff.c                  |     11 +-
 sys/compat/ibcs2/ibcs2_exec_elf32.c                 |      6 +-
 sys/compat/ibcs2/ibcs2_exec_xout.c                  |      6 +-
 sys/compat/ibcs2/ibcs2_fcntl.c                      |     88 +-
 sys/compat/ibcs2/ibcs2_ioctl.c                      |     12 +-
 sys/compat/ibcs2/ibcs2_ipc.c                        |    340 +-
 sys/compat/ibcs2/ibcs2_misc.c                       |    407 +-
 sys/compat/ibcs2/ibcs2_signal.c                     |     61 +-
 sys/compat/ibcs2/ibcs2_socksys.c                    |      8 +-
 sys/compat/ibcs2/ibcs2_socksys.h                    |     48 +-
 sys/compat/ibcs2/ibcs2_stat.c                       |     98 +-
 sys/compat/ibcs2/ibcs2_stat.h                       |      4 +-
 sys/compat/ibcs2/ibcs2_syscall.h                    |     18 +-
 sys/compat/ibcs2/ibcs2_syscallargs.h                |     18 +-
 sys/compat/ibcs2/ibcs2_syscalls.c                   |      6 +-
 sys/compat/ibcs2/ibcs2_sysent.c                     |      6 +-
 sys/compat/ibcs2/syscalls.master                    |     12 +-
 sys/compat/irix/irix_dirent.c                       |     16 +-
 sys/compat/irix/irix_exec.c                         |      6 +-
 sys/compat/irix/irix_exec_elf32.c                   |     12 +-
 sys/compat/irix/irix_ioctl.c                        |     20 +-
 sys/compat/irix/irix_ioctl.h                        |      4 +-
 sys/compat/irix/irix_misc.c                         |      6 +-
 sys/compat/irix/irix_mount.c                        |      9 +-
 sys/compat/irix/irix_prctl.c                        |     19 +-
 sys/compat/irix/irix_resource.c                     |     97 +-
 sys/compat/irix/irix_signal.c                       |    144 +-
 sys/compat/irix/irix_stat.c                         |    161 +-
 sys/compat/irix/irix_swap.c                         |      6 +-
 sys/compat/irix/irix_syscall.h                      |     14 +-
 sys/compat/irix/irix_syscallargs.h                  |     10 +-
 sys/compat/irix/irix_usema.c                        |     24 +-
 sys/compat/irix/syscalls.master                     |     14 +-
 sys/compat/linux/arch/alpha/linux_machdep.c         |     26 +-
 sys/compat/linux/arch/alpha/linux_syscall.h         |     16 +-
 sys/compat/linux/arch/alpha/linux_syscallargs.h     |     30 +-
 sys/compat/linux/arch/alpha/syscalls.master         |     30 +-
 sys/compat/linux/arch/amd64/linux_commons.c         |      5 +-
 sys/compat/linux/arch/amd64/linux_machdep.c         |     47 +-
 sys/compat/linux/arch/amd64/linux_machdep.h         |     17 +-
 sys/compat/linux/arch/amd64/linux_syscall.h         |     24 +-
 sys/compat/linux/arch/amd64/linux_syscallargs.h     |     24 +-
 sys/compat/linux/arch/amd64/linux_syscalls.c        |     10 +-
 sys/compat/linux/arch/amd64/linux_sysent.c          |     14 +-
 sys/compat/linux/arch/amd64/linux_types.h           |      3 +-
 sys/compat/linux/arch/amd64/syscalls.master         |     22 +-
 sys/compat/linux/arch/arm/linux_commons.c           |      5 +-
 sys/compat/linux/arch/arm/linux_machdep.c           |     12 +-
 sys/compat/linux/arch/arm/linux_ptrace.c            |      8 +-
 sys/compat/linux/arch/arm/linux_syscall.h           |     22 +-
 sys/compat/linux/arch/arm/linux_syscallargs.h       |     14 +-
 sys/compat/linux/arch/arm/syscalls.master           |     22 +-
 sys/compat/linux/arch/i386/linux_commons.c          |      6 +-
 sys/compat/linux/arch/i386/linux_machdep.c          |    207 +-
 sys/compat/linux/arch/i386/linux_machdep.h          |     11 +-
 sys/compat/linux/arch/i386/linux_ptrace.c           |     20 +-
 sys/compat/linux/arch/i386/linux_syscall.h          |     74 +-
 sys/compat/linux/arch/i386/linux_syscallargs.h      |    114 +-
 sys/compat/linux/arch/i386/linux_syscalls.c         |     41 +-
 sys/compat/linux/arch/i386/linux_sysent.c           |     53 +-
 sys/compat/linux/arch/i386/linux_termios.h          |      7 +-
 sys/compat/linux/arch/i386/syscalls.master          |     64 +-
 sys/compat/linux/arch/m68k/linux_machdep.c          |     23 +-
 sys/compat/linux/arch/m68k/linux_syscall.h          |     22 +-
 sys/compat/linux/arch/m68k/linux_syscallargs.h      |     14 +-
 sys/compat/linux/arch/m68k/syscalls.master          |     22 +-
 sys/compat/linux/arch/mips/linux_machdep.c          |     12 +-
 sys/compat/linux/arch/mips/linux_syscall.h          |     26 +-
 sys/compat/linux/arch/mips/linux_syscallargs.h      |     14 +-
 sys/compat/linux/arch/mips/syscalls.master          |     26 +-
 sys/compat/linux/arch/powerpc/linux_machdep.c       |     22 +-
 sys/compat/linux/arch/powerpc/linux_ptrace.c        |     22 +-
 sys/compat/linux/arch/powerpc/linux_syscall.h       |     22 +-
 sys/compat/linux/arch/powerpc/linux_syscallargs.h   |     14 +-
 sys/compat/linux/arch/powerpc/syscalls.master       |     22 +-
 sys/compat/linux/common/linux_blkio.c               |     10 +-
 sys/compat/linux/common/linux_cdrom.c               |    135 +-
 sys/compat/linux/common/linux_emuldata.h            |      4 +-
 sys/compat/linux/common/linux_exec.c                |     15 +-
 sys/compat/linux/common/linux_exec_elf32.c          |     11 +-
 sys/compat/linux/common/linux_fdio.c                |      6 +-
 sys/compat/linux/common/linux_fdio.h                |      4 +-
 sys/compat/linux/common/linux_file.c                |    206 +-
 sys/compat/linux/common/linux_file64.c              |    101 +-
 sys/compat/linux/common/linux_hdio.c                |     43 +-
 sys/compat/linux/common/linux_ioctl.c               |     10 +-
 sys/compat/linux/common/linux_ipc.c                 |     91 +-
 sys/compat/linux/common/linux_ipccall.c             |     20 +-
 sys/compat/linux/common/linux_llseek.c              |      6 +-
 sys/compat/linux/common/linux_machdep.h             |      6 +-
 sys/compat/linux/common/linux_misc.c                |    400 +-
 sys/compat/linux/common/linux_misc.h                |      4 +-
 sys/compat/linux/common/linux_misc_notalpha.c       |     99 +-
 sys/compat/linux/common/linux_mtio.c                |      6 +-
 sys/compat/linux/common/linux_oldolduname.c         |      7 +-
 sys/compat/linux/common/linux_olduname.c            |      7 +-
 sys/compat/linux/common/linux_sg.c                  |      6 +-
 sys/compat/linux/common/linux_signal.c              |      6 +-
 sys/compat/linux/common/linux_socket.c              |    792 +-
 sys/compat/linux/common/linux_socket.h              |     39 +-
 sys/compat/linux/common/linux_socketcall.c          |     10 +-
 sys/compat/linux/common/linux_socketcall.h          |      4 +-
 sys/compat/linux/common/linux_statfs.h              |     95 +
 sys/compat/linux/common/linux_sysctl.c              |     17 +-
 sys/compat/linux/common/linux_termios.c             |     41 +-
 sys/compat/linux/common/linux_time.c                |    143 +-
 sys/compat/linux/common/linux_types.h               |     40 +-
 sys/compat/linux/common/linux_uselib.c              |     12 +-
 sys/compat/linux32/Makefile.inc                     |      4 +-
 sys/compat/linux32/arch/amd64/linux32_machdep.c     |     36 +-
 sys/compat/linux32/arch/amd64/linux32_missing.c     |      4 +-
 sys/compat/linux32/arch/amd64/linux32_missing.h     |      4 +-
 sys/compat/linux32/arch/amd64/linux32_syscall.h     |     11 +-
 sys/compat/linux32/arch/amd64/linux32_syscallargs.h |     13 +-
 sys/compat/linux32/arch/amd64/linux32_syscalls.c    |     10 +-
 sys/compat/linux32/arch/amd64/linux32_sysent.c      |     14 +-
 sys/compat/linux32/arch/amd64/linux32_termios.h     |      6 +-
 sys/compat/linux32/arch/amd64/linux32_types.h       |      5 +-
 sys/compat/linux32/arch/amd64/syscalls.master       |      8 +-
 sys/compat/linux32/common/linux32_exec.c            |      6 +-
 sys/compat/linux32/common/linux32_exec_elf32.c      |     13 +-
 sys/compat/linux32/common/linux32_ioctl.c           |      8 +-
 sys/compat/linux32/common/linux32_misc.c            |     95 +
 sys/compat/linux32/common/linux32_resource.c        |     50 +-
 sys/compat/linux32/common/linux32_signal.c          |     36 +-
 sys/compat/linux32/common/linux32_socketcall.c      |     13 +-
 sys/compat/linux32/common/linux32_stat.c            |     76 +-
 sys/compat/linux32/common/linux32_sysctl.c          |     16 +-
 sys/compat/linux32/common/linux32_sysinfo.c         |      7 +-
 sys/compat/linux32/common/linux32_termios.c         |     64 +-
 sys/compat/linux32/common/linux32_time.c            |     92 +-
 sys/compat/linux32/common/linux32_types.h           |      3 +-
 sys/compat/linux32/common/linux32_unistd.c          |     69 +-
 sys/compat/linux32/common/linux32_utsname.c         |      8 +-
 sys/compat/linux32/common/linux32_wait.c            |      6 +-
 sys/compat/linux32/files.linux32                    |      3 +-
 sys/compat/mach/mach_exception.c                    |      6 +-
 sys/compat/mach/mach_exec.c                         |      6 +-
 sys/compat/mach/mach_message.c                      |     39 +-
 sys/compat/mach/mach_port.c                         |      8 +-
 sys/compat/mach/mach_semaphore.c                    |      8 +-
 sys/compat/mach/mach_thread.c                       |     11 +-
 sys/compat/mach/mach_vm.c                           |     31 +-
 sys/compat/ndis/kern_ndis.c                         |     25 +-
 sys/compat/ndis/ndis_var.h                          |      2 +-
 sys/compat/ndis/ntoskrnl_var.h                      |      2 +-
 sys/compat/ndis/subr_ndis.c                         |     14 +-
 sys/compat/ndis/subr_ntoskrnl.c                     |      7 +-
 sys/compat/netbsd32/netbsd32.h                      |     50 +-
 sys/compat/netbsd32/netbsd32_compat_09.c            |      8 +-
 sys/compat/netbsd32/netbsd32_compat_10.c            |     36 +-
 sys/compat/netbsd32/netbsd32_compat_12.c            |     22 +-
 sys/compat/netbsd32/netbsd32_compat_13.c            |     59 +-
 sys/compat/netbsd32/netbsd32_compat_14.c            |     16 +-
 sys/compat/netbsd32/netbsd32_compat_20.c            |     35 +-
 sys/compat/netbsd32/netbsd32_compat_30.c            |    114 +-
 sys/compat/netbsd32/netbsd32_compat_43.c            |    535 +-
 sys/compat/netbsd32/netbsd32_conv.h                 |     30 +-
 sys/compat/netbsd32/netbsd32_exec.h                 |     18 +-
 sys/compat/netbsd32/netbsd32_exec_elf32.c           |      7 +-
 sys/compat/netbsd32/netbsd32_execve.c               |     14 +-
 sys/compat/netbsd32/netbsd32_fs.c                   |    446 +-
 sys/compat/netbsd32/netbsd32_ioctl.c                |     49 +-
 sys/compat/netbsd32/netbsd32_ioctl.h                |     12 +-
 sys/compat/netbsd32/netbsd32_ipc.c                  |     39 +-
 sys/compat/netbsd32/netbsd32_lwp.c                  |     47 +-
 sys/compat/netbsd32/netbsd32_netbsd.c               |     84 +-
 sys/compat/netbsd32/netbsd32_select.c               |     46 +-
 sys/compat/netbsd32/netbsd32_sem.c                  |     13 +-
 sys/compat/netbsd32/netbsd32_signal.c               |    100 +-
 sys/compat/netbsd32/netbsd32_socket.c               |     98 +-
 sys/compat/netbsd32/netbsd32_syscall.h              |     14 +-
 sys/compat/netbsd32/netbsd32_syscallargs.h          |     19 +-
 sys/compat/netbsd32/netbsd32_syscalls.c             |     15 +-
 sys/compat/netbsd32/netbsd32_sysctl.c               |     20 +-
 sys/compat/netbsd32/netbsd32_sysent.c               |     35 +-
 sys/compat/netbsd32/netbsd32_time.c                 |     92 +-
 sys/compat/netbsd32/netbsd32_wait.c                 |     54 +-
 sys/compat/netbsd32/syscalls.master                 |     32 +-
 sys/compat/osf1/osf1_cvt.c                          |     67 +-
 sys/compat/osf1/osf1_cvt.h                          |      6 +-
 sys/compat/osf1/osf1_descrip.c                      |     38 +-
 sys/compat/osf1/osf1_exec_ecoff.c                   |     10 +-
 sys/compat/osf1/osf1_file.c                         |    140 +-
 sys/compat/osf1/osf1_generic.c                      |    189 +-
 sys/compat/osf1/osf1_misc.c                         |     64 +-
 sys/compat/osf1/osf1_mount.c                        |     78 +-
 sys/compat/osf1/osf1_prot.c                         |      5 +-
 sys/compat/osf1/osf1_resource.c                     |     34 +-
 sys/compat/osf1/osf1_signal.c                       |     93 +-
 sys/compat/osf1/osf1_socket.c                       |     70 +-
 sys/compat/osf1/osf1_syscall.h                      |     38 +-
 sys/compat/osf1/osf1_syscallargs.h                  |     22 +-
 sys/compat/osf1/osf1_time.c                         |    219 +-
 sys/compat/osf1/syscalls.master                     |     46 +-
 sys/compat/ossaudio/ossaudio.c                      |    124 +-
 sys/compat/ossaudio/ossaudiovar.h                   |      4 +-
 sys/compat/pecoff/pecoff_exec.c                     |     44 +-
 sys/compat/pecoff/pecoff_misc.c                     |    650 +-
 sys/compat/pecoff/pecoff_syscall.h                  |     40 +-
 sys/compat/pecoff/pecoff_syscallargs.h              |    247 +-
 sys/compat/pecoff/pecoff_syscalls.c                 |     34 +-
 sys/compat/pecoff/pecoff_sysent.c                   |    174 +-
 sys/compat/pecoff/syscalls.master                   |    112 +-
 sys/compat/sunos/sunos.h                            |      4 +-
 sys/compat/sunos/sunos_ioctl.c                      |    175 +-
 sys/compat/sunos/sunos_misc.c                       |    139 +-
 sys/compat/sunos/sunos_syscall.h                    |     38 +-
 sys/compat/sunos/sunos_syscallargs.h                |     14 +-
 sys/compat/sunos/syscalls.master                    |     42 +-
 sys/compat/sunos32/sunos32.h                        |     18 +-
 sys/compat/sunos32/sunos32_exec.c                   |      6 +-
 sys/compat/sunos32/sunos32_exec_aout.c              |      9 +-
 sys/compat/sunos32/sunos32_ioctl.c                  |    160 +-
 sys/compat/sunos32/sunos32_misc.c                   |    197 +-
 sys/compat/sunos32/sunos32_syscall.h                |      4 +-
 sys/compat/sunos32/sunos32_syscallargs.h            |      4 +-
 sys/compat/sunos32/sunos32_syscalls.c               |      6 +-
 sys/compat/sunos32/sunos32_sysent.c                 |      6 +-
 sys/compat/svr4/svr4_exec_elf32.c                   |      6 +-
 sys/compat/svr4/svr4_exec_elf64.c                   |      7 +-
 sys/compat/svr4/svr4_fcntl.c                        |    307 +-
 sys/compat/svr4/svr4_filio.c                        |      8 +-
 sys/compat/svr4/svr4_ioctl.c                        |      6 +-
 sys/compat/svr4/svr4_ioctl.h                        |     14 +-
 sys/compat/svr4/svr4_ipc.c                          |    117 +-
 sys/compat/svr4/svr4_misc.c                         |    411 +-
 sys/compat/svr4/svr4_net.c                          |     66 +-
 sys/compat/svr4/svr4_siginfo.h                      |      4 +-
 sys/compat/svr4/svr4_signal.c                       |     62 +-
 sys/compat/svr4/svr4_sockio.c                       |     17 +-
 sys/compat/svr4/svr4_sockio.h                       |      4 +-
 sys/compat/svr4/svr4_stat.c                         |    219 +-
 sys/compat/svr4/svr4_stream.c                       |    499 +-
 sys/compat/svr4/svr4_syscall.h                      |     10 +-
 sys/compat/svr4/svr4_syscallargs.h                  |      6 +-
 sys/compat/svr4/svr4_termios.c                      |     16 +-
 sys/compat/svr4/svr4_ttold.c                        |     28 +-
 sys/compat/svr4/syscalls.master                     |     14 +-
 sys/compat/svr4_32/sed.script                       |      2 +-
 sys/compat/svr4_32/svr4_32_exec_elf32.c             |      7 +-
 sys/compat/svr4_32/svr4_32_fcntl.c                  |    335 +-
 sys/compat/svr4_32/svr4_32_filio.c                  |      6 +-
 sys/compat/svr4_32/svr4_32_ioctl.c                  |      8 +-
 sys/compat/svr4_32/svr4_32_ioctl.h                  |     14 +-
 sys/compat/svr4_32/svr4_32_ipc.c                    |    148 +-
 sys/compat/svr4_32/svr4_32_ipc.h                    |      4 +-
 sys/compat/svr4_32/svr4_32_lwp.c                    |      8 +-
 sys/compat/svr4_32/svr4_32_misc.c                   |    474 +-
 sys/compat/svr4_32/svr4_32_resource.c               |     12 +-
 sys/compat/svr4_32/svr4_32_signal.c                 |    127 +-
 sys/compat/svr4_32/svr4_32_sockio.c                 |     17 +-
 sys/compat/svr4_32/svr4_32_sockio.h                 |      4 +-
 sys/compat/svr4_32/svr4_32_stat.c                   |    258 +-
 sys/compat/svr4_32/svr4_32_stream.c                 |   2003 +--
 sys/compat/svr4_32/svr4_32_syscall.h                |      4 +-
 sys/compat/svr4_32/svr4_32_syscallargs.h            |      4 +-
 sys/compat/svr4_32/svr4_32_syscalls.c               |      6 +-
 sys/compat/svr4_32/svr4_32_sysent.c                 |      6 +-
 sys/compat/svr4_32/svr4_32_termios.c                |      6 +-
 sys/compat/svr4_32/svr4_32_types.h                  |      4 +-
 sys/compat/sys/mount.h                              |      3 +-
 sys/compat/sys/sem.h                                |      4 +-
 sys/compat/sys/siginfo.h                            |      4 +-
 sys/compat/sys/socket.h                             |     29 +-
 sys/compat/sys/sockio.h                             |    122 +
 sys/compat/ultrix/syscalls.master                   |     50 +-
 sys/compat/ultrix/ultrix_fs.c                       |    137 +-
 sys/compat/ultrix/ultrix_ioctl.c                    |     65 +-
 sys/compat/ultrix/ultrix_misc.c                     |     51 +-
 sys/compat/ultrix/ultrix_pathname.c                 |     55 +-
 sys/compat/ultrix/ultrix_syscall.h                  |     44 +-
 sys/compat/ultrix/ultrix_syscallargs.h              |     12 +-
 sys/compat/ultrix/ultrix_syscalls.c                 |      6 +-
 sys/compat/ultrix/ultrix_sysent.c                   |      6 +-
 sys/conf/Makefile.kern.inc                          |     19 +-
 sys/conf/files                                      |     72 +-
 sys/conf/majors                                     |      5 +-
 sys/conf/mkldscript.sh                              |     15 +
 sys/conf/newvers.sh                                 |      5 +-
 sys/conf/param.c                                    |     20 +-
 sys/conf/std                                        |      9 +-
 sys/contrib/dev/ath/netbsd/Makefile.ath.inc         |      5 +-
 sys/contrib/dev/ath/netbsd/ah_osdep.c               |     72 +-
 sys/ddb/db_command.c                                |      5 +-
 sys/ddb/db_interface.h                              |      5 +-
 sys/ddb/db_xxx.c                                    |     66 +-
 sys/dev/DEVNAMES                                    |      9 +-
 sys/dev/Makefile                                    |      4 +-
 sys/dev/acpi/acpi.c                                 |     34 +-
 sys/dev/acpi/acpi_acad.c                            |    203 +-
 sys/dev/acpi/acpi_apm.c                             |     13 +-
 sys/dev/acpi/acpi_bat.c                             |    438 +-
 sys/dev/acpi/acpi_ec.c                              |     23 +-
 sys/dev/acpi/acpi_tz.c                              |     86 +-
 sys/dev/acpi/acpivar.h                              |      3 +-
 sys/dev/acpi/aiboost.c                              |    400 +
 sys/dev/acpi/atppc_acpi.c                           |     12 +-
 sys/dev/acpi/com_acpi.c                             |      5 +-
 sys/dev/acpi/files.acpi                             |     17 +-
 sys/dev/acpi/hpet_acpi.c                            |    118 +
 sys/dev/acpi/pckbc_acpi.c                           |      6 +-
 sys/dev/acpi/ug_acpi.c                              |    124 +
 sys/dev/adb/adb_bt.c                                |    242 +
 sys/dev/adb/adb_bus.c                               |     14 +-
 sys/dev/adb/adb_kbd.c                               |     65 +-
 sys/dev/adb/adb_keymap.h                            |     19 +-
 sys/dev/adb/adb_ms.c                                |     10 +-
 sys/dev/adb/files.adb                               |      7 +-
 sys/dev/apm/apm.c                                   |     39 +-
 sys/dev/apm/apmvar.h                                |      4 +-
 sys/dev/arcbios/arcbios_tty.c                       |     17 +-
 sys/dev/ata/ata.c                                   |    110 +-
 sys/dev/ata/ata_raid.c                              |     10 +-
 sys/dev/ata/ata_raid_via.c                          |    258 +
 sys/dev/ata/ata_raidreg.h                           |     34 +-
 sys/dev/ata/ata_raidvar.h                           |      9 +-
 sys/dev/ata/ata_wdc.c                               |     11 +-
 sys/dev/ata/atareg.h                                |      7 +-
 sys/dev/ata/atavar.h                                |      4 +-
 sys/dev/ata/files.ata                               |      3 +-
 sys/dev/ata/ld_ataraid.c                            |     19 +-
 sys/dev/ata/wd.c                                    |     90 +-
 sys/dev/auconv.c                                    |     21 +-
 sys/dev/audio.c                                     |    171 +-
 sys/dev/audio_if.h                                  |      4 +-
 sys/dev/audiobell.c                                 |      6 +-
 sys/dev/bi/bi.c                                     |      6 +-
 sys/dev/bi/if_ni.c                                  |     32 +-
 sys/dev/bi/kdb.c                                    |      6 +-
 sys/dev/bio.c                                       |    234 +
 sys/dev/biovar.h                                    |    191 +
 sys/dev/bluetooth/btdev.h                           |      6 +-
 sys/dev/bluetooth/bthidev.c                         |     64 +-
 sys/dev/bluetooth/bthub.c                           |     16 +-
 sys/dev/bluetooth/btkbd.c                           |     10 +-
 sys/dev/bluetooth/btms.c                            |      8 +-
 sys/dev/bluetooth/btsco.c                           |     24 +-
 sys/dev/bluetooth/btuart.c                          |     40 +-
 sys/dev/cardbus/cardbusreg.h                        |      4 +-
 sys/dev/cardbus/cardslot.c                          |     33 +-
 sys/dev/cardbus/cardslotvar.h                       |      4 +-
 sys/dev/cardbus/if_re_cardbus.c                     |      5 +-
 sys/dev/cardbus/if_rtk_cardbus.c                    |      5 +-
 sys/dev/ccd.c                                       |     31 +-
 sys/dev/cgd.c                                       |     34 +-
 sys/dev/cgdvar.h                                    |      4 +-
 sys/dev/clockctl.c                                  |      8 +-
 sys/dev/cons.c                                      |     62 +-
 sys/dev/dec/dz.c                                    |     24 +-
 sys/dev/dec/dzkbd.c                                 |     12 +-
 sys/dev/dec/dzms.c                                  |      8 +-
 sys/dev/dec/dzvar.h                                 |      6 +-
 sys/dev/dec/vsxxx.c                                 |      8 +-
 sys/dev/dksubr.c                                    |     34 +-
 sys/dev/dkvar.h                                     |      8 +-
 sys/dev/dkwedge/dk.c                                |    244 +-
 sys/dev/dkwedge/dkwedge_bsdlabel.c                  |    193 +-
 sys/dev/dkwedge/dkwedge_gpt.c                       |      6 +-
 sys/dev/dmover/dmover_backend.c                     |     53 +-
 sys/dev/dmover/dmover_io.c                          |     10 +-
 sys/dev/dmover/dmover_request.c                     |      6 +-
 sys/dev/dmover/dmover_session.c                     |      6 +-
 sys/dev/dmover/swdmover.c                           |     30 +-
 sys/dev/drm/drm.h                                   |    713 +
 sys/dev/drm/drmP.h                                  |   1130 +
 sys/dev/drm/drm_agpsupport.c                        |    494 +
 sys/dev/drm/drm_atomic.h                            |    146 +
 sys/dev/drm/drm_auth.c                              |    182 +
 sys/dev/drm/drm_bufs.c                              |   1166 +
 sys/dev/drm/drm_context.c                           |    350 +
 sys/dev/drm/drm_dma.c                               |    140 +
 sys/dev/drm/drm_drawable.c                          |     56 +
 sys/dev/drm/drm_drv.c                               |   1068 +
 sys/dev/drm/drm_fops.c                              |    156 +
 sys/dev/drm/drm_ioctl.c                             |    306 +
 sys/dev/drm/drm_irq.c                               |    316 +
 sys/dev/drm/drm_linux_list.h                        |     76 +
 sys/dev/drm/drm_lock.c                              |    182 +
 sys/dev/drm/drm_memory.c                            |    251 +
 sys/dev/drm/drm_pci.c                               |    161 +
 sys/dev/drm/drm_sarea.h                             |     83 +
 sys/dev/drm/drm_scatter.c                           |    134 +
 sys/dev/drm/drm_sysctl.c                            |    409 +
 sys/dev/drm/drm_vm.c                                |    148 +
 sys/dev/drm/files.drm                               |     21 +
 sys/dev/eisa/ahb.c                                  |      6 +-
 sys/dev/eisa/cac_eisa.c                             |      9 +-
 sys/dev/eisa/if_fea.c                               |     10 +-
 sys/dev/fss.c                                       |     57 +-
 sys/dev/fssvar.h                                    |      6 +-
 sys/dev/gpib/cs80bus.c                              |      6 +-
 sys/dev/gpib/ct.c                                   |      8 +-
 sys/dev/gpib/gpib.c                                 |      6 +-
 sys/dev/gpib/mt.c                                   |     25 +-
 sys/dev/gpib/ppi.c                                  |     10 +-
 sys/dev/gpib/rd.c                                   |     26 +-
 sys/dev/gpio/gpio.c                                 |      6 +-
 sys/dev/hpc/apm/apmdev.c                            |     40 +-
 sys/dev/hpc/biconsdev.c                             |      8 +-
 sys/dev/hpc/bivideo.c                               |      8 +-
 sys/dev/hpc/btnmgr.c                                |     10 +-
 sys/dev/hpc/hpcfb.c                                 |     43 +-
 sys/dev/hpc/hpcfbvar.h                              |      4 +-
 sys/dev/hpc/hpckbd.c                                |      8 +-
 sys/dev/hpc/hpctpanel.c                             |      6 +-
 sys/dev/hpc/hpctpanelvar.h                          |      4 +-
 sys/dev/hpc/hpf1275a_tty.c                          |     10 +-
 sys/dev/i2c/adm1030.c                               |    126 +-
 sys/dev/i2c/adt7463.c                               |    456 +-
 sys/dev/i2c/adt7463reg.h                            |    161 +-
 sys/dev/i2c/adt7467.c                               |    126 +-
 sys/dev/i2c/adt7467var.h                            |      5 +-
 sys/dev/i2c/files.i2c                               |     12 +-
 sys/dev/i2c/i2c.c                                   |     51 +-
 sys/dev/i2c/i2c_bitbang.c                           |     36 +-
 sys/dev/i2c/i2cvar.h                                |      4 +-
 sys/dev/i2c/lm75.c                                  |     73 +-
 sys/dev/i2c/pic16lc.c                               |     87 +-
 sys/dev/i2c/sgsmix.c                                |      8 +-
 sys/dev/i2c/spdmem.c                                |    414 +
 sys/dev/i2c/spdmemreg.h                             |     71 +
 sys/dev/i2c/spdmemvar.h                             |    417 +
 sys/dev/i2o/dpti.c                                  |     46 +-
 sys/dev/i2o/dptivar.h                               |      4 +-
 sys/dev/i2o/files.i2o                               |      4 +-
 sys/dev/i2o/iop.c                                   |    227 +-
 sys/dev/i2o/iopl.c                                  |     23 +-
 sys/dev/i2o/iopsp.c                                 |     57 +-
 sys/dev/i2o/iopspvar.h                              |      8 +-
 sys/dev/i2o/iopvar.h                                |     11 +-
 sys/dev/i2o/ld_iop.c                                |     41 +-
 sys/dev/ic/aac.c                                    |    681 +-
 sys/dev/ic/aac_tables.h                             |     11 +-
 sys/dev/ic/aacreg.h                                 |    746 +-
 sys/dev/ic/aacvar.h                                 |     69 +-
 sys/dev/ic/acpipmtimer.c                            |      7 +-
 sys/dev/ic/ad1843reg.h                              |    109 +
 sys/dev/ic/adv.c                                    |     10 +-
 sys/dev/ic/adw.c                                    |      8 +-
 sys/dev/ic/aha.c                                    |      6 +-
 sys/dev/ic/ahcisata_core.c                          |   1050 +
 sys/dev/ic/ahcisatareg.h                            |    263 +
 sys/dev/ic/ahcisatavar.h                            |    101 +
 sys/dev/ic/aic6915.c                                |     22 +-
 sys/dev/ic/aic79xx.c                                |     28 +-
 sys/dev/ic/aic79xx_osm.c                            |      8 +-
 sys/dev/ic/aic79xx_osm.h                            |      8 +-
 sys/dev/ic/aic7xxx.c                                |     30 +-
 sys/dev/ic/aic7xxx_osm.c                            |      8 +-
 sys/dev/ic/aic7xxx_osm.h                            |      4 +-
 sys/dev/ic/am7990.c                                 |      6 +-
 sys/dev/ic/am79900.c                                |      6 +-
 sys/dev/ic/an.c                                     |     14 +-
 sys/dev/ic/anreg.h                                  |      7 +-
 sys/dev/ic/anvar.h                                  |      4 +-
 sys/dev/ic/ath.c                                    |     97 +-
 sys/dev/ic/ath_netbsd.c                             |      6 +-
 sys/dev/ic/ath_netbsd.h                             |      5 +-
 sys/dev/ic/athioctl.h                               |      6 +-
 sys/dev/ic/athvar.h                                 |     10 +-
 sys/dev/ic/atppc.c                                  |      8 +-
 sys/dev/ic/atppcvar.h                               |     10 +-
 sys/dev/ic/atw.c                                    |     30 +-
 sys/dev/ic/atwvar.h                                 |      4 +-
 sys/dev/ic/awi.c                                    |     26 +-
 sys/dev/ic/bha.c                                    |     10 +-
 sys/dev/ic/bt8xx.h                                  |      4 +-
 sys/dev/ic/cac.c                                    |     29 +-
 sys/dev/ic/cacvar.h                                 |      6 +-
 sys/dev/ic/cd18xx.c                                 |      8 +-
 sys/dev/ic/ciss.c                                   |     24 +-
 sys/dev/ic/cissvar.h                                |      4 +-
 sys/dev/ic/clmpcc.c                                 |     37 +-
 sys/dev/ic/clmpccvar.h                              |      8 +-
 sys/dev/ic/com.c                                    |    128 +-
 sys/dev/ic/comvar.h                                 |     11 +-
 sys/dev/ic/cs4215reg.h                              |     14 +-
 sys/dev/ic/cs4215var.h                              |     20 +-
 sys/dev/ic/cs4231var.h                              |      4 +-
 sys/dev/ic/cs89x0.c                                 |      8 +-
 sys/dev/ic/cy.c                                     |     15 +-
 sys/dev/ic/daic.c                                   |     12 +-
 sys/dev/ic/dp8390.c                                 |     26 +-
 sys/dev/ic/dp8390var.h                              |      6 +-
 sys/dev/ic/dp83932.c                                |     41 +-
 sys/dev/ic/dp83932reg.h                             |      4 +-
 sys/dev/ic/dpt.c                                    |     17 +-
 sys/dev/ic/dptreg.h                                 |      8 +-
 sys/dev/ic/dptvar.h                                 |      4 +-
 sys/dev/ic/elink3.c                                 |     24 +-
 sys/dev/ic/elinkxl.c                                |     38 +-
 sys/dev/ic/elinkxlreg.h                             |      4 +-
 sys/dev/ic/elinkxlvar.h                             |      4 +-
 sys/dev/ic/esiop.c                                  |      8 +-
 sys/dev/ic/gem.c                                    |     42 +-
 sys/dev/ic/gemreg.h                                 |      6 +-
 sys/dev/ic/hd44780_subr.c                           |     12 +-
 sys/dev/ic/hd44780var.h                             |      4 +-
 sys/dev/ic/hd64570.c                                |     16 +-
 sys/dev/ic/hd64570var.h                             |      4 +-
 sys/dev/ic/hme.c                                    |     71 +-
 sys/dev/ic/hmereg.h                                 |      6 +-
 sys/dev/ic/hmevar.h                                 |     12 +-
 sys/dev/ic/hpet.c                                   |     92 +
 sys/dev/ic/hpetreg.h                                |     41 +
 sys/dev/ic/hpetvar.h                                |     45 +
 sys/dev/ic/i128.c                                   |    125 +
 sys/dev/ic/i128reg.h                                |    199 +
 sys/dev/ic/i128var.h                                |     51 +
 sys/dev/ic/i82365.c                                 |     36 +-
 sys/dev/ic/i82365var.h                              |      4 +-
 sys/dev/ic/i82557.c                                 |     24 +-
 sys/dev/ic/i82586.c                                 |     20 +-
 sys/dev/ic/i82586reg.h                              |      8 +-
 sys/dev/ic/i82595reg.h                              |      4 +-
 sys/dev/ic/i82596.c                                 |     24 +-
 sys/dev/ic/i82596var.h                              |      4 +-
 sys/dev/ic/i82801lpcreg.h                           |    115 +-
 sys/dev/ic/iavcvar.h                                |      6 +-
 sys/dev/ic/ibm561reg.h                              |    160 +-
 sys/dev/ic/ibm82660reg.h                            |     65 +
 sys/dev/ic/icp.c                                    |     13 +-
 sys/dev/ic/icp_ioctl.c                              |     16 +-
 sys/dev/ic/icpsp.c                                  |      7 +-
 sys/dev/ic/icpvar.h                                 |      8 +-
 sys/dev/ic/igsfb.c                                  |      8 +-
 sys/dev/ic/iha.c                                    |      6 +-
 sys/dev/ic/isp.c                                    |   6100 +++++---
 sys/dev/ic/isp_inline.h                             |   1514 --
 sys/dev/ic/isp_ioctl.h                              |    100 +-
 sys/dev/ic/isp_library.c                            |   2905 ++++
 sys/dev/ic/isp_library.h                            |    225 +
 sys/dev/ic/isp_netbsd.c                             |   1014 +-
 sys/dev/ic/isp_netbsd.h                             |    312 +-
 sys/dev/ic/isp_stds.h                               |    211 +
 sys/dev/ic/isp_target.c                             |   1050 +-
 sys/dev/ic/isp_target.h                             |    846 +-
 sys/dev/ic/isp_tpublic.h                            |    545 +-
 sys/dev/ic/ispmbox.h                                |   1122 +-
 sys/dev/ic/ispreg.h                                 |    364 +-
 sys/dev/ic/ispvar.h                                 |    644 +-
 sys/dev/ic/joy.c                                    |      6 +-
 sys/dev/ic/lance.c                                  |     55 +-
 sys/dev/ic/ld_aac.c                                 |    144 +-
 sys/dev/ic/ld_cac.c                                 |      5 +-
 sys/dev/ic/ld_icp.c                                 |      5 +-
 sys/dev/ic/ld_mlx.c                                 |      5 +-
 sys/dev/ic/lemac.c                                  |     19 +-
 sys/dev/ic/lpt.c                                    |     16 +-
 sys/dev/ic/lsi64854.c                               |     16 +-
 sys/dev/ic/lsi64854var.h                            |      8 +-
 sys/dev/ic/matrixkp_subr.c                          |      6 +-
 sys/dev/ic/matrixkpvar.h                            |      2 +-
 sys/dev/ic/mb86950.c                                |      8 +-
 sys/dev/ic/mb86960.c                                |     14 +-
 sys/dev/ic/mfi.c                                    |    233 +-
 sys/dev/ic/mfivar.h                                 |     15 +-
 sys/dev/ic/midway.c                                 |     28 +-
 sys/dev/ic/midwayreg.h                              |      8 +-
 sys/dev/ic/mlx.c                                    |     48 +-
 sys/dev/ic/mlxvar.h                                 |      4 +-
 sys/dev/ic/mpc106reg.h                              |    213 +
 sys/dev/ic/mpt.c                                    |    125 +-
 sys/dev/ic/mpt.h                                    |      3 +-
 sys/dev/ic/mpt_mpilib.h                             |     35 +-
 sys/dev/ic/mpt_netbsd.c                             |     77 +-
 sys/dev/ic/mpt_netbsd.h                             |     11 +-
 sys/dev/ic/mtd803.c                                 |     67 +-
 sys/dev/ic/mtd803var.h                              |      4 +-
 sys/dev/ic/mx98905.c                                |      6 +-
 sys/dev/ic/mx98905var.h                             |      4 +-
 sys/dev/ic/ncr53c9x.c                               |    215 +-
 sys/dev/ic/ncr53c9xvar.h                            |     12 +-
 sys/dev/ic/ne2000.c                                 |     11 +-
 sys/dev/ic/ninjaata32.c                             |     11 +-
 sys/dev/ic/ninjascsi32.c                            |     15 +-
 sys/dev/ic/nslm7x.c                                 |   2688 ++-
 sys/dev/ic/nslm7xvar.h                              |    161 +-
 sys/dev/ic/oosiop.c                                 |      8 +-
 sys/dev/ic/osiop.c                                  |     65 +-
 sys/dev/ic/osiopvar.h                               |     34 +-
 sys/dev/ic/pcdisplay_subr.c                         |     14 +-
 sys/dev/ic/pcf8584.c                                |    246 +
 sys/dev/ic/pcf8584reg.h                             |     46 +
 sys/dev/ic/pcf8584var.h                             |     49 +
 sys/dev/ic/pckbc.c                                  |     34 +-
 sys/dev/ic/pdq_ifsubr.c                             |     31 +-
 sys/dev/ic/pdqvar.h                                 |     16 +-
 sys/dev/ic/rrunner.c                                |     54 +-
 sys/dev/ic/rrunnervar.h                             |      4 +-
 sys/dev/ic/rt2560.c                                 |     58 +-
 sys/dev/ic/rt2560var.h                              |      4 +-
 sys/dev/ic/rt2661.c                                 |     34 +-
 sys/dev/ic/rt2661var.h                              |      4 +-
 sys/dev/ic/rtl8169.c                                |    113 +-
 sys/dev/ic/rtl81x9.c                                |     51 +-
 sys/dev/ic/rtl81x9reg.h                             |      3 +-
 sys/dev/ic/rtl81x9var.h                             |     39 +-
 sys/dev/ic/rtw.c                                    |    110 +-
 sys/dev/ic/rtwvar.h                                 |      4 +-
 sys/dev/ic/seeq8005.c                               |     17 +-
 sys/dev/ic/sgec.c                                   |    191 +-
 sys/dev/ic/sgecvar.h                                |      8 +-
 sys/dev/ic/siop.c                                   |     10 +-
 sys/dev/ic/siop_common.c                            |      8 +-
 sys/dev/ic/siopvar_common.h                         |      4 +-
 sys/dev/ic/sl811hs.c                                |   4800 ++++-
 sys/dev/ic/sl811hsreg.h                             |     98 +-
 sys/dev/ic/sl811hsvar.h                             |    154 +-
 sys/dev/ic/smc83c170.c                              |     22 +-
 sys/dev/ic/smc90cx6.c                               |     22 +-
 sys/dev/ic/smc91cxx.c                               |     33 +-
 sys/dev/ic/spic.c                                   |     10 +-
 sys/dev/ic/sti.c                                    |      8 +-
 sys/dev/ic/tcic2.c                                  |      8 +-
 sys/dev/ic/tcic2var.h                               |      4 +-
 sys/dev/ic/tropic.c                                 |     12 +-
 sys/dev/ic/tropicvar.h                              |      6 +-
 sys/dev/ic/tulip.c                                  |     32 +-
 sys/dev/ic/ug.c                                     |    667 +
 sys/dev/ic/ugreg.h                                  |    112 +
 sys/dev/ic/ugvar.h                                  |     73 +
 sys/dev/ic/uha.c                                    |      6 +-
 sys/dev/ic/vga.c                                    |     18 +-
 sys/dev/ic/vga_raster.c                             |     38 +-
 sys/dev/ic/vga_subr.c                               |      8 +-
 sys/dev/ic/vgavar.h                                 |      4 +-
 sys/dev/ic/wd33c93.c                                |    231 +-
 sys/dev/ic/wd33c93reg.h                             |     18 +-
 sys/dev/ic/wd33c93var.h                             |     15 +-
 sys/dev/ic/wdc.c                                    |     76 +-
 sys/dev/ic/we.c                                     |     11 +-
 sys/dev/ic/wi.c                                     |     35 +-
 sys/dev/ic/wivar.h                                  |      4 +-
 sys/dev/ic/z8530sc.c                                |      8 +-
 sys/dev/ic/z8530tty.c                               |     10 +-
 sys/dev/ieee1394/firewire.c                         |     15 +-
 sys/dev/ieee1394/firewirereg.h                      |     19 +-
 sys/dev/ieee1394/fw_port.h                          |     68 +-
 sys/dev/ieee1394/fwcrom.c                           |     34 +-
 sys/dev/ieee1394/fwdev.c                            |     20 +-
 sys/dev/ieee1394/fwdma.c                            |      3 +-
 sys/dev/ieee1394/fwdma.h                            |      4 +-
 sys/dev/ieee1394/fwmem.c                            |     16 +-
 sys/dev/ieee1394/fwmem.h                            |     10 +-
 sys/dev/ieee1394/fwohci.c                           |     20 +-
 sys/dev/ieee1394/fwohcireg.h                        |      4 +-
 sys/dev/ieee1394/fwohcivar.h                        |      4 +-
 sys/dev/ieee1394/if_fwip.c                          |    139 +-
 sys/dev/ieee1394/if_fwipvar.h                       |     11 +-
 sys/dev/ieee1394/sbp.c                              |     57 +-
 sys/dev/if_ndis/if_ndis.c                           |     18 +-
 sys/dev/ir/cir.c                                    |      6 +-
 sys/dev/ir/files.ir                                 |      4 +-
 sys/dev/ir/irframe.c                                |     65 +-
 sys/dev/ir/irframe_tty.c                            |     75 +-
 sys/dev/ir/irframevar.h                             |      7 +-
 sys/dev/isa/atppc_isa.c                             |     12 +-
 sys/dev/isa/atppc_isadma.c                          |     10 +-
 sys/dev/isa/atppc_isadma.h                          |      6 +-
 sys/dev/isa/boca.c                                  |      8 +-
 sys/dev/isa/cec.c                                   |      8 +-
 sys/dev/isa/cs89x0isa.c                             |      6 +-
 sys/dev/isa/cs89x0isavar.h                          |      6 +-
 sys/dev/isa/ega.c                                   |     16 +-
 sys/dev/isa/esp_isa.c                               |      8 +-
 sys/dev/isa/ess.c                                   |      8 +-
 sys/dev/isa/fd.c                                    |     93 +-
 sys/dev/isa/files.isa                               |     12 +-
 sys/dev/isa/gus.c                                   |     38 +-
 sys/dev/isa/if_ec.c                                 |     10 +-
 sys/dev/isa/if_eg.c                                 |     28 +-
 sys/dev/isa/if_el.c                                 |     10 +-
 sys/dev/isa/if_hp.c                                 |     42 +-
 sys/dev/isa/if_iy.c                                 |     22 +-
 sys/dev/isa/if_le_isa.c                             |      6 +-
 sys/dev/isa/isadma.c                                |     14 +-
 sys/dev/isa/isadmavar.h                             |      8 +-
 sys/dev/isa/isic_isa.c                              |      6 +-
 sys/dev/isa/isic_isa_avm_a1.c                       |     10 +-
 sys/dev/isa/isic_isa_itk_ix1.c                      |      8 +-
 sys/dev/isa/isic_isa_tel_s016.c                     |     12 +-
 sys/dev/isa/isic_isa_tel_s0163.c                    |     40 +-
 sys/dev/isa/isic_isa_tel_s08.c                      |     12 +-
 sys/dev/isa/isic_isa_usr_sti.c                      |     10 +-
 sys/dev/isa/it.c                                    |    313 +-
 sys/dev/isa/itvar.h                                 |     74 +-
 sys/dev/isa/lm_isa.c                                |     58 +-
 sys/dev/isa/mcd.c                                   |    187 +-
 sys/dev/isa/nsclpcsio_isa.c                         |     70 +-
 sys/dev/isa/pcdisplay.c                             |      8 +-
 sys/dev/isa/pckbc_isa.c                             |      6 +-
 sys/dev/isa/pcppi.c                                 |      6 +-
 sys/dev/isa/satlink.c                               |     18 +-
 sys/dev/isa/seagate.c                               |     20 +-
 sys/dev/isa/slhci_isa.c                             |     38 +-
 sys/dev/isa/smsc.c                                  |    389 +
 sys/dev/isa/smscvar.h                               |     96 +
 sys/dev/isa/spkr.c                                  |      8 +-
 sys/dev/isa/toaster.c                               |     14 +-
 sys/dev/isa/ug.c                                    |    552 -
 sys/dev/isa/ug_isa.c                                |    164 +
 sys/dev/isa/ugvar.h                                 |    416 -
 sys/dev/isa/wds.c                                   |     10 +-
 sys/dev/isa/wt.c                                    |     27 +-
 sys/dev/isa/ym.c                                    |      6 +-
 sys/dev/isapnp/atppc_isapnp.c                       |     12 +-
 sys/dev/isapnp/if_le_isapnp.c                       |      6 +-
 sys/dev/isapnp/isapnpdevs                           |      7 +-
 sys/dev/isapnp/isapnpdevs.c                         |     19 +-
 sys/dev/isapnp/isapnpdevs.h                         |      4 +-
 sys/dev/isapnp/isic_isapnp.c                        |      6 +-
 sys/dev/isapnp/isic_isapnp_ctx_s0P.c                |     10 +-
 sys/dev/isapnp/isic_isapnp_drn_ngo.c                |     10 +-
 sys/dev/isapnp/isic_isapnp_dynalink.c               |     16 +-
 sys/dev/isapnp/isic_isapnp_elsa_qs1i.c              |     12 +-
 sys/dev/isapnp/isic_isapnp_siemens_isurf.c          |     12 +-
 sys/dev/isapnp/isic_isapnp_sws.c                    |     10 +-
 sys/dev/isapnp/isic_isapnp_tel_s0P.c                |     22 +-
 sys/dev/kttcp.c                                     |      6 +-
 sys/dev/ld.c                                        |     42 +-
 sys/dev/lockstat.c                                  |     23 +-
 sys/dev/lockstat.h                                  |      5 +-
 sys/dev/marvell/gtidma.c                            |     26 +-
 sys/dev/marvell/gtidmavar.h                         |      4 +-
 sys/dev/marvell/gtmpsc.c                            |      8 +-
 sys/dev/marvell/if_gfe.c                            |     21 +-
 sys/dev/marvell/if_gfevar.h                         |      4 +-
 sys/dev/mca/ed_mca.c                                |     37 +-
 sys/dev/mca/edc_mca.c                               |     30 +-
 sys/dev/mca/esp_mca.c                               |      8 +-
 sys/dev/mca/espvar.h                                |      4 +-
 sys/dev/mca/mca.c                                   |      5 +-
 sys/dev/mca/mcadevs                                 |      8 +-
 sys/dev/mca/mcadevs.h                               |      7 +-
 sys/dev/mca/mcadevs_data.h                          |      9 +-
 sys/dev/mca/mcareg.h                                |      4 +-
 sys/dev/md.c                                        |     29 +-
 sys/dev/md.h                                        |      4 +-
 sys/dev/md_root.c                                   |      6 +-
 sys/dev/microcode/Makefile                          |      4 +-
 sys/dev/microcode/isp/asm_1040.h                    |      8 +-
 sys/dev/microcode/isp/asm_1080.h                    |      8 +-
 sys/dev/microcode/isp/asm_12160.h                   |      9 +-
 sys/dev/microcode/isp/asm_2100.h                    |  12600 +++++++++++------
 sys/dev/microcode/isp/asm_2200.h                    |      7 +-
 sys/dev/microcode/isp/asm_2300.h                    |  12291 +++++++++--------
 sys/dev/microcode/isp/asm_2322.h                    |   7654 ++++++++++
 sys/dev/microcode/isp/asm_2400.h                    |  12229 +++++++++++++++++
 sys/dev/microcode/isp/asm_sbus.h                    |     10 +-
 sys/dev/microcode/zyd/Makefile                      |     14 +
 sys/dev/microcode/zyd/build.c                       |     57 +
 sys/dev/microcode/zyd/microcode.h                   |   1183 +
 sys/dev/microcode/zyd/zd1211-licence                |     26 +
 sys/dev/microcode/zyd/zyd-zd1211                    |    Bin 
 sys/dev/microcode/zyd/zyd-zd1211b                   |    Bin 
 sys/dev/midi.c                                      |     16 +-
 sys/dev/midi_if.h                                   |      4 +-
 sys/dev/midisyn.c                                   |      8 +-
 sys/dev/midisynvar.h                                |      4 +-
 sys/dev/mii/brgphy.c                                |    147 +-
 sys/dev/mii/igphy.c                                 |      7 +-
 sys/dev/mii/mii.c                                   |      6 +-
 sys/dev/mii/miidevs                                 |      6 +-
 sys/dev/mii/miidevs.h                               |     11 +-
 sys/dev/mii/miidevs_data.h                          |      7 +-
 sys/dev/mii/rlphy.c                                 |     45 +-
 sys/dev/mm.c                                        |      6 +-
 sys/dev/mscp/mscp.c                                 |     11 +-
 sys/dev/mscp/mscp_disk.c                            |     46 +-
 sys/dev/mscp/mscp_subr.c                            |      6 +-
 sys/dev/mscp/mscp_tape.c                            |     18 +-
 sys/dev/mscp/mscpvar.h                              |      4 +-
 sys/dev/mvme/if_ie_mvme.c                           |      6 +-
 sys/dev/mvme/lpt_mvme.c                             |     16 +-
 sys/dev/mvme/mvmebus.c                              |      8 +-
 sys/dev/mvme/mvmebus.h                              |      6 +-
 sys/dev/nullcons_subr.c                             |      6 +-
 sys/dev/ofisa/atppc_ofisa.c                         |     12 +-
 sys/dev/ofisa/pckbc_ofisa.c                         |      6 +-
 sys/dev/ofw/ofcons.c                                |      8 +-
 sys/dev/ofw/ofdisk.c                                |     29 +-
 sys/dev/ofw/ofnet.c                                 |     12 +-
 sys/dev/ofw/openfirmio.c                            |     18 +-
 sys/dev/onewire/onewire.c                           |     90 +-
 sys/dev/onewire/owtemp.c                            |     90 +-
 sys/dev/pci/aac_pci.c                               |    270 +-
 sys/dev/pci/agp.c                                   |     65 +-
 sys/dev/pci/agp_amd.c                               |     10 +-
 sys/dev/pci/agp_amd64.c                             |    541 +
 sys/dev/pci/agp_apple.c                             |    196 +
 sys/dev/pci/agp_i810.c                              |    189 +-
 sys/dev/pci/agp_intel.c                             |      5 +-
 sys/dev/pci/agp_via.c                               |     87 +-
 sys/dev/pci/agpreg.h                                |     58 +-
 sys/dev/pci/agpvar.h                                |     14 +-
 sys/dev/pci/ahcisata.c                              |   1169 -
 sys/dev/pci/ahcisata_pci.c                          |    119 +
 sys/dev/pci/ahcisatareg.h                           |    263 -
 sys/dev/pci/amdpm.c                                 |     10 +-
 sys/dev/pci/amdpm_smbus.c                           |    162 +-
 sys/dev/pci/amdpmvar.h                              |      6 +-
 sys/dev/pci/amr.c                                   |     52 +-
 sys/dev/pci/amrvar.h                                |      4 +-
 sys/dev/pci/artsata.c                               |      8 +-
 sys/dev/pci/atppc_puc.c                             |     12 +-
 sys/dev/pci/auacer.c                                |     10 +-
 sys/dev/pci/auich.c                                 |     16 +-
 sys/dev/pci/auixp.c                                 |     10 +-
 sys/dev/pci/auixpvar.h                              |      4 +-
 sys/dev/pci/autrivar.h                              |      4 +-
 sys/dev/pci/auvia.c                                 |      6 +-
 sys/dev/pci/azalia.c                                |    294 +-
 sys/dev/pci/azalia.h                                |      8 +-
 sys/dev/pci/azalia_codec.c                          |    515 +-
 sys/dev/pci/bktr/bktr2netbsd                        |      4 +-
 sys/dev/pci/bktr/bktr_core.c                        |     36 +-
 sys/dev/pci/bktr/bktr_core.h                        |     10 +-
 sys/dev/pci/bktr/bktr_mem.c                         |      6 +-
 sys/dev/pci/bktr/bktr_os.c                          |     16 +-
 sys/dev/pci/cac_pci.c                               |      9 +-
 sys/dev/pci/chipsfb.c                               |     17 +-
 sys/dev/pci/cmpci.c                                 |     22 +-
 sys/dev/pci/cmpcivar.h                              |      4 +-
 sys/dev/pci/cs4280.c                                |     31 +-
 sys/dev/pci/cs4281.c                                |     31 +-
 sys/dev/pci/cs428x.h                                |     10 +-
 sys/dev/pci/cxgb_adapter.h                          |    563 +
 sys/dev/pci/cxgb_ael1002.c                          |    334 +
 sys/dev/pci/cxgb_common.h                           |    709 +
 sys/dev/pci/cxgb_config.h                           |     40 +
 sys/dev/pci/cxgb_ctl_defs.h                         |    148 +
 sys/dev/pci/cxgb_firmware_exports.h                 |    177 +
 sys/dev/pci/cxgb_include.h                          |     75 +
 sys/dev/pci/cxgb_ioctl.h                            |    236 +
 sys/dev/pci/cxgb_jhash.h                            |    140 +
 sys/dev/pci/cxgb_l2t.c                              |    776 +
 sys/dev/pci/cxgb_l2t.h                              |    180 +
 sys/dev/pci/cxgb_lro.c                              |    433 +
 sys/dev/pci/cxgb_main.c                             |   2809 ++++
 sys/dev/pci/cxgb_mbuf.h                             |     93 +
 sys/dev/pci/cxgb_mc5.c                              |    483 +
 sys/dev/pci/cxgb_mv88e1xxx.c                        |    309 +
 sys/dev/pci/cxgb_mvec.h                             |    200 +
 sys/dev/pci/cxgb_offload.c                          |   1678 ++
 sys/dev/pci/cxgb_offload.h                          |    269 +
 sys/dev/pci/cxgb_osdep.h                            |    400 +
 sys/dev/pci/cxgb_regs.h                             |   7641 ++++++++++
 sys/dev/pci/cxgb_sge.c                              |   2844 ++++
 sys/dev/pci/cxgb_sge_defs.h                         |    285 +
 sys/dev/pci/cxgb_t3_cpl.h                           |   1542 ++
 sys/dev/pci/cxgb_t3_hw.c                            |   3559 +++++
 sys/dev/pci/cxgb_tcb.h                              |    674 +
 sys/dev/pci/cxgb_toedev.h                           |    173 +
 sys/dev/pci/cxgb_version.h                          |     41 +
 sys/dev/pci/cxgb_vsc7323.c                          |    342 +
 sys/dev/pci/cxgb_vsc8211.c                          |    258 +
 sys/dev/pci/cxgb_xgmac.c                            |    595 +
 sys/dev/pci/cz.c                                    |     16 +-
 sys/dev/pci/drm/ati_pcigart.c                       |    109 +
 sys/dev/pci/drm/drm_pciids.h                        |    484 +
 sys/dev/pci/drm/files.pcidrm                        |     67 +
 sys/dev/pci/drm/i915_dma.c                          |    823 +
 sys/dev/pci/drm/i915_drm.h                          |    252 +
 sys/dev/pci/drm/i915_drv.c                          |    145 +
 sys/dev/pci/drm/i915_drv.h                          |    282 +
 sys/dev/pci/drm/i915_irq.c                          |    296 +
 sys/dev/pci/drm/i915_mem.c                          |    402 +
 sys/dev/pci/drm/mach64_dma.c                        |   1532 ++
 sys/dev/pci/drm/mach64_drm.h                        |    261 +
 sys/dev/pci/drm/mach64_drv.c                        |    142 +
 sys/dev/pci/drm/mach64_drv.h                        |   1052 +
 sys/dev/pci/drm/mach64_irq.c                        |    141 +
 sys/dev/pci/drm/mach64_state.c                      |    923 +
 sys/dev/pci/drm/mga_dma.c                           |   1187 +
 sys/dev/pci/drm/mga_drm.h                           |    430 +
 sys/dev/pci/drm/mga_drv.c                           |    197 +
 sys/dev/pci/drm/mga_drv.h                           |    688 +
 sys/dev/pci/drm/mga_irq.c                           |    155 +
 sys/dev/pci/drm/mga_state.c                         |   1183 +
 sys/dev/pci/drm/mga_ucode.h                         |  11650 ++++++++++++++++
 sys/dev/pci/drm/mga_warp.c                          |    203 +
 sys/dev/pci/drm/r128_cce.c                          |    953 +
 sys/dev/pci/drm/r128_drm.h                          |    349 +
 sys/dev/pci/drm/r128_drv.c                          |    143 +
 sys/dev/pci/drm/r128_drv.h                          |    525 +
 sys/dev/pci/drm/r128_irq.c                          |    107 +
 sys/dev/pci/drm/r128_state.c                        |   1718 ++
 sys/dev/pci/drm/r300_cmdbuf.c                       |    979 +
 sys/dev/pci/drm/r300_reg.h                          |   1446 ++
 sys/dev/pci/drm/radeon_cp.c                         |   2263 +++
 sys/dev/pci/drm/radeon_drm.h                        |    730 +
 sys/dev/pci/drm/radeon_drv.c                        |    148 +
 sys/dev/pci/drm/radeon_drv.h                        |   1175 +
 sys/dev/pci/drm/radeon_irq.c                        |    249 +
 sys/dev/pci/drm/radeon_mem.c                        |    319 +
 sys/dev/pci/drm/radeon_state.c                      |   3202 ++++
 sys/dev/pci/drm/savage_bci.c                        |   1113 +
 sys/dev/pci/drm/savage_drm.h                        |    214 +
 sys/dev/pci/drm/savage_drv.c                        |    133 +
 sys/dev/pci/drm/savage_drv.h                        |    580 +
 sys/dev/pci/drm/savage_state.c                      |   1169 +
 sys/dev/pci/drm/sis_drm.h                           |     72 +
 sys/dev/pci/drm/sis_drv.c                           |    126 +
 sys/dev/pci/drm/sis_drv.h                           |     60 +
 sys/dev/pci/drm/sis_ds.c                            |    304 +
 sys/dev/pci/drm/sis_ds.h                            |    151 +
 sys/dev/pci/drm/sis_mm.c                            |    423 +
 sys/dev/pci/drm/tdfx_drv.c                          |    127 +
 sys/dev/pci/drm/tdfx_drv.h                          |     52 +
 sys/dev/pci/drm/via_3d_reg.h                        |   1651 ++
 sys/dev/pci/drm/via_dma.c                           |    743 +
 sys/dev/pci/drm/via_dmablit.h                       |     94 +
 sys/dev/pci/drm/via_drm.h                           |    282 +
 sys/dev/pci/drm/via_drv.c                           |     94 +
 sys/dev/pci/drm/via_drv.h                           |    216 +
 sys/dev/pci/drm/via_ds.c                            |    274 +
 sys/dev/pci/drm/via_ds.h                            |    104 +
 sys/dev/pci/drm/via_irq.c                           |    398 +
 sys/dev/pci/drm/via_map.c                           |    147 +
 sys/dev/pci/drm/via_mm.c                            |    362 +
 sys/dev/pci/drm/via_mm.h                            |     40 +
 sys/dev/pci/drm/via_verifier.c                      |   1123 +
 sys/dev/pci/drm/via_verifier.h                      |     64 +
 sys/dev/pci/drm/via_video.c                         |     97 +
 sys/dev/pci/eap.c                                   |      6 +-
 sys/dev/pci/ehci_pci.c                              |     32 +-
 sys/dev/pci/emuxki.c                                |      8 +-
 sys/dev/pci/emuxkivar.h                             |      4 +-
 sys/dev/pci/esa.c                                   |      8 +-
 sys/dev/pci/esavar.h                                |      4 +-
 sys/dev/pci/esm.c                                   |     38 +-
 sys/dev/pci/esmvar.h                                |      6 +-
 sys/dev/pci/eso.c                                   |     10 +-
 sys/dev/pci/files.agp                               |      8 +-
 sys/dev/pci/files.pci                               |     60 +-
 sys/dev/pci/fms.c                                   |      6 +-
 sys/dev/pci/genfb_pci.c                             |    234 +
 sys/dev/pci/hifn7751.c                              |     22 +-
 sys/dev/pci/ichsmb.c                                |    378 +
 sys/dev/pci/if_an_pci.c                             |      9 +-
 sys/dev/pci/if_ath_pci.c                            |     86 +-
 sys/dev/pci/if_bce.c                                |     35 +-
 sys/dev/pci/if_bge.c                                |    179 +-
 sys/dev/pci/if_bgereg.h                             |     10 +-
 sys/dev/pci/if_bnx.c                                |    682 +-
 sys/dev/pci/if_bnxreg.h                             |     24 +-
 sys/dev/pci/if_de.c                                 |     55 +-
 sys/dev/pci/if_devar.h                              |     12 +-
 sys/dev/pci/if_dge.c                                |     30 +-
 sys/dev/pci/if_fpa.c                                |     12 +-
 sys/dev/pci/if_gem_pci.c                            |      7 +-
 sys/dev/pci/if_ipw.c                                |     34 +-
 sys/dev/pci/if_iwi.c                                |     30 +-
 sys/dev/pci/if_kse.c                                |     16 +-
 sys/dev/pci/if_le_pci.c                             |      6 +-
 sys/dev/pci/if_lmc.c                                |     21 +-
 sys/dev/pci/if_lmc.h                                |     18 +-
 sys/dev/pci/if_msk.c                                |     33 +-
 sys/dev/pci/if_mskvar.h                             |      4 +-
 sys/dev/pci/if_nfe.c                                |    247 +-
 sys/dev/pci/if_nfereg.h                             |     21 +-
 sys/dev/pci/if_nfevar.h                             |      6 +-
 sys/dev/pci/if_pcn.c                                |     24 +-
 sys/dev/pci/if_re_pci.c                             |    161 +-
 sys/dev/pci/if_rtk_pci.c                            |      7 +-
 sys/dev/pci/if_sip.c                                |     36 +-
 sys/dev/pci/if_sk.c                                 |     58 +-
 sys/dev/pci/if_skvar.h                              |      4 +-
 sys/dev/pci/if_ste.c                                |     24 +-
 sys/dev/pci/if_stge.c                               |     20 +-
 sys/dev/pci/if_ti.c                                 |     70 +-
 sys/dev/pci/if_tireg.h                              |      4 +-
 sys/dev/pci/if_tl.c                                 |     16 +-
 sys/dev/pci/if_txp.c                                |     18 +-
 sys/dev/pci/if_txpreg.h                             |      4 +-
 sys/dev/pci/if_vge.c                                |     26 +-
 sys/dev/pci/if_vr.c                                 |     28 +-
 sys/dev/pci/if_wm.c                                 |    633 +-
 sys/dev/pci/if_wmreg.h                              |     73 +-
 sys/dev/pci/if_wpi.c                                |   1192 +-
 sys/dev/pci/if_wpireg.h                             |    271 +-
 sys/dev/pci/if_wpivar.h                             |     44 +-
 sys/dev/pci/if_xge.c                                |     12 +-
 sys/dev/pci/ifpci.c                                 |     12 +-
 sys/dev/pci/ifpci2.c                                |     12 +-
 sys/dev/pci/iop_pci.c                               |      8 +-
 sys/dev/pci/isic_pci.c                              |      8 +-
 sys/dev/pci/isic_pci_elsa_qs1p.c                    |      6 +-
 sys/dev/pci/isp_pci.c                               |    705 +-
 sys/dev/pci/jmide.c                                 |    462 +
 sys/dev/pci/jmide_reg.h                             |     63 +
 sys/dev/pci/ld_amr.c                                |      5 +-
 sys/dev/pci/ld_twa.c                                |      9 +-
 sys/dev/pci/ld_twe.c                                |      6 +-
 sys/dev/pci/machfb.c                                |     26 +-
 sys/dev/pci/mly.c                                   |     61 +-
 sys/dev/pci/mlyvar.h                                |      4 +-
 sys/dev/pci/mpt_pci.c                               |    223 +-
 sys/dev/pci/nfsmb.c                                 |    458 +
 sys/dev/pci/nfsmbreg.h                              |     62 +
 sys/dev/pci/oboe.c                                  |      7 +-
 sys/dev/pci/pccbb.c                                 |    157 +-
 sys/dev/pci/pccbbreg.h                              |      3 +-
 sys/dev/pci/pccbbvar.h                              |     11 +-
 sys/dev/pci/pci_map.c                               |      8 +-
 sys/dev/pci/pci_usrreq.c                            |      8 +-
 sys/dev/pci/pciconf.c                               |      6 +-
 sys/dev/pci/pcidevs                                 |    193 +-
 sys/dev/pci/pcidevs.h                               |    193 +-
 sys/dev/pci/pcidevs_data.h                          |    690 +-
 sys/dev/pci/pciide_common.c                         |      6 +-
 sys/dev/pci/pciide_sl82c105_reg.h                   |      6 +-
 sys/dev/pci/pcireg.h                                |      3 +-
 sys/dev/pci/pcivar.h                                |      4 +-
 sys/dev/pci/pcscp.c                                 |     14 +-
 sys/dev/pci/piixide.c                               |     55 +-
 sys/dev/pci/piixpm.c                                |     30 +-
 sys/dev/pci/radeonfb.c                              |     98 +-
 sys/dev/pci/radeonfbvar.h                           |      3 +-
 sys/dev/pci/sv.c                                    |      6 +-
 sys/dev/pci/tga.c                                   |     16 +-
 sys/dev/pci/trm.c                                   |      6 +-
 sys/dev/pci/twa.c                                   |     10 +-
 sys/dev/pci/twavar.h                                |      4 +-
 sys/dev/pci/twe.c                                   |     13 +-
 sys/dev/pci/twevar.h                                |      4 +-
 sys/dev/pci/ubsec.c                                 |     30 +-
 sys/dev/pci/ubsecvar.h                              |      4 +-
 sys/dev/pci/uhci_pci.c                              |     19 +-
 sys/dev/pci/unichromefb.c                           |    110 +-
 sys/dev/pci/vga_pci.c                               |     21 +-
 sys/dev/pci/vga_pcivar.h                            |      4 +-
 sys/dev/pci/viaenv.c                                |    171 +-
 sys/dev/pci/viaide.c                                |     49 +-
 sys/dev/pci/voodoofb.c                              |     88 +-
 sys/dev/pci/ydsvar.h                                |      4 +-
 sys/dev/pckbport/pckbd.c                            |      8 +-
 sys/dev/pckbport/pckbport.c                         |      6 +-
 sys/dev/pckbport/pms.c                              |     25 +-
 sys/dev/pckbport/pmsvar.h                           |      4 +-
 sys/dev/pckbport/synaptics.c                        |    166 +-
 sys/dev/pcmcia/bluecardreg.h                        |     61 +
 sys/dev/pcmcia/bt3c.c                               |     21 +-
 sys/dev/pcmcia/btbc.c                               |    948 +
 sys/dev/pcmcia/esp_pcmcia.c                         |     12 +-
 sys/dev/pcmcia/files.pcmcia                         |     11 +-
 sys/dev/pcmcia/if_cnw.c                             |     15 +-
 sys/dev/pcmcia/if_ray.c                             |     30 +-
 sys/dev/pcmcia/if_xi.c                              |     23 +-
 sys/dev/pcmcia/isic_pcmcia.c                        |      6 +-
 sys/dev/pcmcia/isic_pcmcia_avm_fritz.c              |     10 +-
 sys/dev/pcmcia/pcmciadevs                           |      3 +-
 sys/dev/pcmcia/pcmciadevs.h                         |      6 +-
 sys/dev/pcmcia/pcmciadevs_data.h                    |     11 +-
 sys/dev/pcmcia/slhci_pcmcia.c                       |    177 +
 sys/dev/podulebus/sec.c                             |     20 +-
 sys/dev/ppbus/if_plip.c                             |     18 +-
 sys/dev/ppbus/lpt.c                                 |     12 +-
 sys/dev/ppbus/lptvar.h                              |      6 +-
 sys/dev/ppbus/ppbus_base.c                          |     14 +-
 sys/dev/ppbus/ppbus_base.h                          |      6 +-
 sys/dev/ppbus/ppbus_conf.h                          |      6 +-
 sys/dev/ppbus/pps_ppbus.c                           |      6 +-
 sys/dev/qbus/dhu.c                                  |     12 +-
 sys/dev/qbus/dl.c                                   |     10 +-
 sys/dev/qbus/if_de.c                                |     10 +-
 sys/dev/qbus/if_dmc.c                               |     10 +-
 sys/dev/qbus/if_il.c                                |     19 +-
 sys/dev/qbus/if_qe.c                                |     16 +-
 sys/dev/qbus/if_qt.c                                |      8 +-
 sys/dev/qbus/if_uba.c                               |      8 +-
 sys/dev/qbus/if_uba.h                               |      4 +-
 sys/dev/qbus/qd.c                                   |     34 +-
 sys/dev/qbus/qdioctl.h                              |     10 +-
 sys/dev/qbus/rf.c                                   |     47 +-
 sys/dev/qbus/rl.c                                   |     37 +-
 sys/dev/qbus/rlvar.h                                |      6 +-
 sys/dev/qbus/ts.c                                   |     25 +-
 sys/dev/qbus/uba.c                                  |      6 +-
 sys/dev/qbus/ubavar.h                               |      4 +-
 sys/dev/radio.c                                     |      6 +-
 sys/dev/raidframe/rf_aselect.c                      |      8 +-
 sys/dev/raidframe/rf_copyback.c                     |      9 +-
 sys/dev/raidframe/rf_dagfuncs.c                     |     12 +-
 sys/dev/raidframe/rf_dagutils.c                     |      6 +-
 sys/dev/raidframe/rf_decluster.c                    |      6 +-
 sys/dev/raidframe/rf_desc.h                         |      4 +-
 sys/dev/raidframe/rf_diskqueue.c                    |      6 +-
 sys/dev/raidframe/rf_diskqueue.h                    |      6 +-
 sys/dev/raidframe/rf_disks.c                        |     10 +-
 sys/dev/raidframe/rf_driver.c                       |     12 +-
 sys/dev/raidframe/rf_driver.h                       |      6 +-
 sys/dev/raidframe/rf_evenodd_dagfuncs.c             |     16 +-
 sys/dev/raidframe/rf_layout.h                       |      4 +-
 sys/dev/raidframe/rf_map.c                          |      8 +-
 sys/dev/raidframe/rf_map.h                          |      4 +-
 sys/dev/raidframe/rf_netbsdkintf.c                  |     87 +-
 sys/dev/raidframe/rf_paritylog.c                    |      8 +-
 sys/dev/raidframe/rf_paritylog.h                    |     10 +-
 sys/dev/raidframe/rf_paritylogDiskMgr.c             |     20 +-
 sys/dev/raidframe/rf_paritylogging.c                |     32 +-
 sys/dev/raidframe/rf_raid.h                         |      4 +-
 sys/dev/raidframe/rf_raid1.c                        |     11 +-
 sys/dev/raidframe/rf_reconbuffer.c                  |      6 +-
 sys/dev/raidframe/rf_reconmap.c                     |      6 +-
 sys/dev/raidframe/rf_reconstruct.c                  |     11 +-
 sys/dev/raidframe/rf_reconstruct.h                  |      6 +-
 sys/dev/raidframe/rf_reconutil.c                    |      6 +-
 sys/dev/raidframe/rf_states.c                       |      5 +-
 sys/dev/raidframe/rf_threadstuff.h                  |     12 +-
 sys/dev/rasops/rasops.c                             |     16 +-
 sys/dev/rasops/rasops.h                             |      4 +-
 sys/dev/rasops/rasops15.c                           |      6 +-
 sys/dev/rasops/rasops24.c                           |      6 +-
 sys/dev/rasops/rasops8.c                            |      6 +-
 sys/dev/rcons/raster.h                              |      4 +-
 sys/dev/rcons/raster_text.c                         |      6 +-
 sys/dev/rcons/rcons_kern.c                          |      8 +-
 sys/dev/rnd.c                                       |     17 +-
 sys/dev/sbus/agten.c                                |   1083 +
 sys/dev/sbus/be.c                                   |     28 +-
 sys/dev/sbus/bpp.c                                  |     14 +-
 sys/dev/sbus/bwtwo_sbus.c                           |      6 +-
 sys/dev/sbus/cgsix_sbus.c                           |     13 +-
 sys/dev/sbus/cgthree_sbus.c                         |      6 +-
 sys/dev/sbus/dbri.c                                 |    980 +-
 sys/dev/sbus/dbrireg.h                              |      3 +-
 sys/dev/sbus/dbrivar.h                              |     47 +-
 sys/dev/sbus/esp_sbus.c                             |      8 +-
 sys/dev/sbus/files.sbus                             |     17 +-
 sys/dev/sbus/genfb_sbus.c                           |    190 +
 sys/dev/sbus/if_le.c                                |      6 +-
 sys/dev/sbus/if_le_ledma.c                          |      6 +-
 sys/dev/sbus/isp_sbus.c                             |    157 +-
 sys/dev/sbus/lebuffervar.h                          |      4 +-
 sys/dev/sbus/magma.c                                |     32 +-
 sys/dev/sbus/magmareg.h                             |      6 +-
 sys/dev/sbus/p9100.c                                |     12 +-
 sys/dev/sbus/qe.c                                   |     26 +-
 sys/dev/sbus/qec.c                                  |     16 +-
 sys/dev/sbus/qecvar.h                               |     10 +-
 sys/dev/sbus/spif.c                                 |      8 +-
 sys/dev/sbus/stp4020.c                              |     38 +-
 sys/dev/sbus/tcx.c                                  |      6 +-
 sys/dev/sbus/zx.c                                   |      8 +-
 sys/dev/scsipi/cd.c                                 |    462 +-
 sys/dev/scsipi/cdvar.h                              |      4 +-
 sys/dev/scsipi/ch.c                                 |     14 +-
 sys/dev/scsipi/if_se.c                              |     40 +-
 sys/dev/scsipi/scsiconf.c                           |      6 +-
 sys/dev/scsipi/scsipi_base.c                        |     43 +-
 sys/dev/scsipi/scsipi_disk.h                        |     10 +-
 sys/dev/scsipi/scsipi_ioctl.c                       |     21 +-
 sys/dev/scsipi/scsipiconf.c                         |      6 +-
 sys/dev/scsipi/scsipiconf.h                         |     14 +-
 sys/dev/scsipi/sd.c                                 |    139 +-
 sys/dev/scsipi/sdvar.h                              |      4 +-
 sys/dev/scsipi/ses.c                                |     10 +-
 sys/dev/scsipi/ss.c                                 |     14 +-
 sys/dev/scsipi/ss_mustek.c                          |      6 +-
 sys/dev/scsipi/st.c                                 |     34 +-
 sys/dev/scsipi/uk.c                                 |      6 +-
 sys/dev/sequencer.c                                 |     34 +-
 sys/dev/spi/spiflash.c                              |     36 +-
 sys/dev/spi/tmp121.c                                |     68 +-
 sys/dev/sun/bwtwo.c                                 |      6 +-
 sys/dev/sun/cgsix.c                                 |     10 +-
 sys/dev/sun/cgthree.c                               |      6 +-
 sys/dev/sun/event.c                                 |     10 +-
 sys/dev/sun/event_var.h                             |      4 +-
 sys/dev/sun/fb.c                                    |      8 +-
 sys/dev/sun/fbvar.h                                 |      6 +-
 sys/dev/sun/files.sun                               |      3 +-
 sys/dev/sun/kbd.c                                   |     14 +-
 sys/dev/sun/kbdsun.c                                |     12 +-
 sys/dev/sun/ms.c                                    |      6 +-
 sys/dev/sun/sunkbd.c                                |     11 +-
 sys/dev/sun/sunms.c                                 |     15 +-
 sys/dev/sun/wskbdmap_sun.c                          |     22 +-
 sys/dev/sysmon/files.sysmon                         |     22 +-
 sys/dev/sysmon/swwdog.c                             |      6 +-
 sys/dev/sysmon/sysmon.c                             |      6 +-
 sys/dev/sysmon/sysmon_envsys.c                      |   1348 +-
 sys/dev/sysmon/sysmon_envsys_events.c               |    644 +
 sys/dev/sysmon/sysmon_envsys_util.c                 |    167 +
 sys/dev/sysmon/sysmon_envsysvar.h                   |    134 +
 sys/dev/sysmon/sysmon_power.c                       |    611 +-
 sys/dev/sysmon/sysmon_taskq.c                       |    119 +-
 sys/dev/sysmon/sysmon_taskq.h                       |      3 +-
 sys/dev/sysmon/sysmon_wdog.c                        |    110 +-
 sys/dev/sysmon/sysmonvar.h                          |     72 +-
 sys/dev/tc/asc_tc.c                                 |     16 +-
 sys/dev/tc/asc_tcds.c                               |     12 +-
 sys/dev/tc/ascvar.h                                 |      4 +-
 sys/dev/tc/bba.c                                    |     16 +-
 sys/dev/tc/cfb.c                                    |     24 +-
 sys/dev/tc/devlist2h.awk                            |      4 +-
 sys/dev/tc/if_fta.c                                 |      6 +-
 sys/dev/tc/if_le_ioasic.c                           |     30 +-
 sys/dev/tc/mfb.c                                    |     32 +-
 sys/dev/tc/px.c                                     |     20 +-
 sys/dev/tc/pxg.c                                    |     18 +-
 sys/dev/tc/sfb.c                                    |     66 +-
 sys/dev/tc/sfbplus.c                                |    112 +-
 sys/dev/tc/stic.c                                   |     14 +-
 sys/dev/tc/sticvar.h                                |      4 +-
 sys/dev/tc/tc.c                                     |      6 +-
 sys/dev/tc/tcdevs.h                                 |      4 +-
 sys/dev/tc/tcdevs_data.h                            |      6 +-
 sys/dev/tc/tfb.c                                    |     30 +-
 sys/dev/tc/xcfb.c                                   |     28 +-
 sys/dev/tc/zskbd.c                                  |      8 +-
 sys/dev/tc/zsms.c                                   |      8 +-
 sys/dev/usb/ehci.c                                  |     39 +-
 sys/dev/usb/files.usb                               |     42 +-
 sys/dev/usb/if_atu.c                                |     32 +-
 sys/dev/usb/if_aue.c                                |     27 +-
 sys/dev/usb/if_axe.c                                |     16 +-
 sys/dev/usb/if_cdce.c                               |     22 +-
 sys/dev/usb/if_cue.c                                |     15 +-
 sys/dev/usb/if_kue.c                                |     11 +-
 sys/dev/usb/if_rum.c                                |     67 +-
 sys/dev/usb/if_rumvar.h                             |      6 +-
 sys/dev/usb/if_udav.c                               |     13 +-
 sys/dev/usb/if_upl.c                                |     11 +-
 sys/dev/usb/if_ural.c                               |     38 +-
 sys/dev/usb/if_uralvar.h                            |      8 +-
 sys/dev/usb/if_url.c                                |     24 +-
 sys/dev/usb/if_urlreg.h                             |      4 +-
 sys/dev/usb/if_zyd.c                                |   2676 +++
 sys/dev/usb/if_zydreg.h                             |   1238 +
 sys/dev/usb/ohci.c                                  |     35 +-
 sys/dev/usb/stuirda.c                               |    337 +
 sys/dev/usb/uaudio.c                                |     28 +-
 sys/dev/usb/uaudioreg.h                             |      9 +-
 sys/dev/usb/ubsa.c                                  |      7 +-
 sys/dev/usb/ubt.c                                   |     56 +-
 sys/dev/usb/ucom.c                                  |     10 +-
 sys/dev/usb/ucomvar.h                               |      4 +-
 sys/dev/usb/ucycom.c                                |      6 +-
 sys/dev/usb/udsbr.c                                 |      7 +-
 sys/dev/usb/uep.c                                   |     13 +-
 sys/dev/usb/uftdi.c                                 |    148 +-
 sys/dev/usb/ugen.c                                  |     18 +-
 sys/dev/usb/ugensa.c                                |      5 +-
 sys/dev/usb/uhci.c                                  |     35 +-
 sys/dev/usb/uhid.c                                  |     14 +-
 sys/dev/usb/uhidev.c                                |     29 +-
 sys/dev/usb/uhidev.h                                |      4 +-
 sys/dev/usb/uhub.c                                  |    145 +-
 sys/dev/usb/uipaq.c                                 |      5 +-
 sys/dev/usb/uirda.c                                 |    216 +-
 sys/dev/usb/uirdavar.h                              |    171 +
 sys/dev/usb/ukbd.c                                  |      8 +-
 sys/dev/usb/ukyopon.c                               |     26 +-
 sys/dev/usb/ulpt.c                                  |     28 +-
 sys/dev/usb/umass.c                                 |     32 +-
 sys/dev/usb/umass_scsipi.c                          |      8 +-
 sys/dev/usb/umct.c                                  |      7 +-
 sys/dev/usb/umidi.c                                 |     58 +-
 sys/dev/usb/umidireg.h                              |     11 +-
 sys/dev/usb/umidivar.h                              |      4 +-
 sys/dev/usb/umodem.c                                |     18 +-
 sys/dev/usb/umodem_common.c                         |      8 +-
 sys/dev/usb/umodemvar.h                             |      6 +-
 sys/dev/usb/ums.c                                   |      8 +-
 sys/dev/usb/uplcom.c                                |     33 +-
 sys/dev/usb/urio.c                                  |     11 +-
 sys/dev/usb/usb.c                                   |     55 +-
 sys/dev/usb/usb.h                                   |      5 +-
 sys/dev/usb/usb_mem.c                               |      6 +-
 sys/dev/usb/usb_mem.h                               |      8 +-
 sys/dev/usb/usb_port.h                              |     23 +-
 sys/dev/usb/usb_subr.c                              |    122 +-
 sys/dev/usb/usbdevices.config                       |      4 +
 sys/dev/usb/usbdevs                                 |    379 +-
 sys/dev/usb/usbdevs.h                               |    374 +-
 sys/dev/usb/usbdevs_data.h                          |    976 +-
 sys/dev/usb/usbdi.c                                 |     52 +-
 sys/dev/usb/usbdi.h                                 |     60 +-
 sys/dev/usb/usbdi_util.c                            |     23 +-
 sys/dev/usb/usbdi_util.h                            |     15 +-
 sys/dev/usb/usbdivar.h                              |     13 +-
 sys/dev/usb/uscanner.c                              |      9 +-
 sys/dev/usb/uslsa.c                                 |    591 +
 sys/dev/usb/usscanner.c                             |      7 +-
 sys/dev/usb/ustir.c                                 |     32 +-
 sys/dev/usb/utoppy.c                                |     24 +-
 sys/dev/usb/uvisor.c                                |      7 +-
 sys/dev/usb/uvscom.c                                |      7 +-
 sys/dev/usb/uyap.c                                  |      7 +-
 sys/dev/usb/xboxcontroller.c                        |     11 +-
 sys/dev/verified_exec.c                             |    180 +-
 sys/dev/videomode/edid.c                            |     37 +-
 sys/dev/videomode/ediddevs                          |      3 +-
 sys/dev/videomode/ediddevs.h                        |      5 +-
 sys/dev/videomode/ediddevs_data.h                   |      7 +-
 sys/dev/videomode/modelines                         |      8 +-
 sys/dev/videomode/videomode.c                       |     12 +-
 sys/dev/vme/si.c                                    |      6 +-
 sys/dev/vme/xd.c                                    |     52 +-
 sys/dev/vme/xio.h                                   |      4 +-
 sys/dev/vme/xy.c                                    |     50 +-
 sys/dev/vnd.c                                       |     62 +-
 sys/dev/vndvar.h                                    |      4 +-
 sys/dev/wscons/files.wscons                         |      4 +-
 sys/dev/wscons/tpcalib.c                            |      6 +-
 sys/dev/wscons/tpcalibvar.h                         |      4 +-
 sys/dev/wscons/wsconsio.h                           |      6 +-
 sys/dev/wscons/wsdisplay.c                          |     22 +-
 sys/dev/wscons/wsdisplay_compat_usl.c               |     16 +-
 sys/dev/wscons/wsdisplay_vcons.c                    |    298 +-
 sys/dev/wscons/wsdisplay_vconsvar.h                 |     21 +-
 sys/dev/wscons/wsdisplayvar.h                       |     14 +-
 sys/dev/wscons/wskbd.c                              |     44 +-
 sys/dev/wscons/wskbdvar.h                           |      4 +-
 sys/dev/wscons/wsmouse.c                            |     18 +-
 sys/dev/wscons/wsmousevar.h                         |      4 +-
 sys/dev/wscons/wsmux.c                              |     14 +-
 sys/dev/wscons/wsmuxvar.h                           |     10 +-
 sys/dev/wsfb/files.wsfb                             |     14 +
 sys/dev/wsfb/genfb.c                                |    386 +
 sys/dev/wsfb/genfbvar.h                             |     84 +
 sys/dev/wsfont/wsfontdev.c                          |      6 +-
 sys/dev/xmi/xmi.c                                   |      6 +-
 sys/dist/acpica/aclocal.h                           |      2 +-
 sys/dist/acpica/acpiosxf.h                          |      2 +-
 sys/dist/acpica/actypes.h                           |      2 +-
 sys/dist/ipf/netinet/fil.c                          |   1363 +-
 sys/dist/ipf/netinet/ip_auth.c                      |    705 +-
 sys/dist/ipf/netinet/ip_auth.h                      |      8 +-
 sys/dist/ipf/netinet/ip_compat.h                    |    154 +-
 sys/dist/ipf/netinet/ip_fil.h                       |    232 +-
 sys/dist/ipf/netinet/ip_fil_netbsd.c                |    406 +-
 sys/dist/ipf/netinet/ip_frag.c                      |    200 +-
 sys/dist/ipf/netinet/ip_frag.h                      |     29 +-
 sys/dist/ipf/netinet/ip_ftp_pxy.c                   |     40 +-
 sys/dist/ipf/netinet/ip_h323_pxy.c                  |     36 +-
 sys/dist/ipf/netinet/ip_htable.c                    |    410 +-
 sys/dist/ipf/netinet/ip_htable.h                    |     17 +-
 sys/dist/ipf/netinet/ip_ipsec_pxy.c                 |     10 +-
 sys/dist/ipf/netinet/ip_irc_pxy.c                   |     10 +-
 sys/dist/ipf/netinet/ip_log.c                       |     32 +-
 sys/dist/ipf/netinet/ip_lookup.c                    |    216 +-
 sys/dist/ipf/netinet/ip_lookup.h                    |     37 +-
 sys/dist/ipf/netinet/ip_nat.c                       |    983 +-
 sys/dist/ipf/netinet/ip_nat.h                       |     39 +-
 sys/dist/ipf/netinet/ip_pool.c                      |    370 +-
 sys/dist/ipf/netinet/ip_pool.h                      |     17 +-
 sys/dist/ipf/netinet/ip_pptp_pxy.c                  |      9 +-
 sys/dist/ipf/netinet/ip_proxy.c                     |     15 +-
 sys/dist/ipf/netinet/ip_proxy.h                     |      7 +-
 sys/dist/ipf/netinet/ip_raudio_pxy.c                |     10 +-
 sys/dist/ipf/netinet/ip_rcmd_pxy.c                  |      8 +-
 sys/dist/ipf/netinet/ip_rpcb_pxy.c                  |     24 +-
 sys/dist/ipf/netinet/ip_scan.c                      |     42 +-
 sys/dist/ipf/netinet/ip_scan.h                      |      6 +-
 sys/dist/ipf/netinet/ip_state.c                     |    765 +-
 sys/dist/ipf/netinet/ip_state.h                     |     11 +-
 sys/dist/ipf/netinet/ip_sync.c                      |     17 +-
 sys/dist/ipf/netinet/ip_sync.h                      |     26 +-
 sys/dist/ipf/netinet/ipl.h                          |      8 +-
 sys/dist/pf/net/if_pflog.c                          |      6 +-
 sys/dist/pf/net/pf.c                                |    139 +-
 sys/dist/pf/net/pf_if.c                             |     11 +-
 sys/dist/pf/net/pf_ioctl.c                          |     22 +-
 sys/dist/pf/net/pf_norm.c                           |     15 +-
 sys/dist/pf/net/pf_osfp.c                           |      9 +-
 sys/dist/pf/net/pf_table.c                          |     19 +-
 sys/dist/pf/net/pfvar.h                             |     20 +-
 sys/fs/Makefile                                     |      5 +-
 sys/fs/adosfs/advfsops.c                            |     87 +-
 sys/fs/adosfs/advnops.c                             |     10 +-
 sys/fs/cd9660/cd9660_extern.h                       |     19 +-
 sys/fs/cd9660/cd9660_node.c                         |     14 +-
 sys/fs/cd9660/cd9660_rrip.c                         |      6 +-
 sys/fs/cd9660/cd9660_vfsops.c                       |     53 +-
 sys/fs/cd9660/cd9660_vnops.c                        |     11 +-
 sys/fs/efs/Makefile                                 |      8 +
 sys/fs/efs/efs.h                                    |    153 +
 sys/fs/efs/efs_dinode.h                             |    133 +
 sys/fs/efs/efs_dir.h                                |    185 +
 sys/fs/efs/efs_extent.h                             |     64 +
 sys/fs/efs/efs_genfs.c                              |     53 +
 sys/fs/efs/efs_genfs.h                              |     26 +
 sys/fs/efs/efs_ihash.c                              |    210 +
 sys/fs/efs/efs_ihash.h                              |     31 +
 sys/fs/efs/efs_inode.h                              |     73 +
 sys/fs/efs/efs_mount.h                              |     40 +
 sys/fs/efs/efs_sb.h                                 |     70 +
 sys/fs/efs/efs_subr.c                               |    624 +
 sys/fs/efs/efs_subr.h                               |     48 +
 sys/fs/efs/efs_vfsops.c                             |    588 +
 sys/fs/efs/efs_vnops.c                              |    833 +
 sys/fs/efs/files.efs                                |      9 +
 sys/fs/filecorefs/filecore_extern.h                 |     19 +-
 sys/fs/filecorefs/filecore_node.c                   |     14 +-
 sys/fs/filecorefs/filecore_vfsops.c                 |     64 +-
 sys/fs/filecorefs/filecore_vnops.c                  |      9 +-
 sys/fs/hfs/Makefile                                 |      7 +
 sys/fs/hfs/TODO                                     |     53 +
 sys/fs/hfs/files.hfs                                |     10 +
 sys/fs/hfs/hfs.h                                    |    199 +
 sys/fs/hfs/hfs_nhash.c                              |    166 +
 sys/fs/hfs/hfs_subr.c                               |    449 +
 sys/fs/hfs/hfs_vfsops.c                             |    739 +
 sys/fs/hfs/hfs_vnops.c                              |   1060 +
 sys/fs/hfs/libhfs.c                                 |   2784 +++
 sys/fs/hfs/libhfs.h                                 |    677 +
 sys/fs/hfs/unicode.c                                |    194 +
 sys/fs/hfs/unicode.h                                |     39 +
 sys/fs/msdosfs/denode.h                             |      4 +-
 sys/fs/msdosfs/msdosfs_denode.c                     |     21 +-
 sys/fs/msdosfs/msdosfs_fat.c                        |     50 +-
 sys/fs/msdosfs/msdosfs_lookup.c                     |     12 +-
 sys/fs/msdosfs/msdosfs_vfsops.c                     |     86 +-
 sys/fs/msdosfs/msdosfs_vnops.c                      |     14 +-
 sys/fs/msdosfs/msdosfsmount.h                       |      4 +-
 sys/fs/ntfs/ntfs.h                                  |      4 +-
 sys/fs/ntfs/ntfs_ihash.c                            |      8 +-
 sys/fs/ntfs/ntfs_inode.h                            |      4 +-
 sys/fs/ntfs/ntfs_subr.c                             |     86 +-
 sys/fs/ntfs/ntfs_subr.h                             |      8 +-
 sys/fs/ntfs/ntfs_vfsops.c                           |    113 +-
 sys/fs/ntfs/ntfs_vnops.c                            |     17 +-
 sys/fs/ptyfs/ptyfs_subr.c                           |      5 +-
 sys/fs/ptyfs/ptyfs_vfsops.c                         |     66 +-
 sys/fs/ptyfs/ptyfs_vnops.c                          |     32 +-
 sys/fs/puffs/puffs_msgif.c                          |    791 +-
 sys/fs/puffs/puffs_msgif.h                          |    282 +-
 sys/fs/puffs/puffs_subr.c                           |    354 +-
 sys/fs/puffs/puffs_sys.h                            |    142 +-
 sys/fs/puffs/puffs_transport.c                      |    202 +-
 sys/fs/puffs/puffs_vfsops.c                         |    481 +-
 sys/fs/puffs/puffs_vnops.c                          |   1091 +-
 sys/fs/smbfs/smbfs_io.c                             |      7 +-
 sys/fs/smbfs/smbfs_kq.c                             |     22 +-
 sys/fs/smbfs/smbfs_node.c                           |      6 +-
 sys/fs/smbfs/smbfs_smb.c                            |     24 +-
 sys/fs/smbfs/smbfs_subr.c                           |      6 +-
 sys/fs/smbfs/smbfs_subr.h                           |      4 +-
 sys/fs/smbfs/smbfs_vfsops.c                         |     73 +-
 sys/fs/smbfs/smbfs_vnops.c                          |      6 +-
 sys/fs/sysvbfs/bfs.c                                |      6 +-
 sys/fs/sysvbfs/sysvbfs.c                            |      7 +-
 sys/fs/sysvbfs/sysvbfs.h                            |     17 +-
 sys/fs/sysvbfs/sysvbfs_vfsops.c                     |     58 +-
 sys/fs/sysvbfs/sysvbfs_vnops.c                      |      7 +-
 sys/fs/tmpfs/tmpfs_pool.c                           |      6 +-
 sys/fs/tmpfs/tmpfs_subr.c                           |     16 +-
 sys/fs/tmpfs/tmpfs_vfsops.c                         |     73 +-
 sys/fs/tmpfs/tmpfs_vnops.c                          |     37 +-
 sys/fs/udf/udf_subr.c                               |     60 +-
 sys/fs/udf/udf_vfsops.c                             |     74 +-
 sys/fs/udf/udf_vnops.c                              |      6 +-
 sys/fs/unicode.h                                    |     10 +-
 sys/fs/union/union_subr.c                           |     51 +-
 sys/fs/union/union_vfsops.c                         |     55 +-
 sys/fs/union/union_vnops.c                          |      9 +-
 sys/kern/Make.tags.inc                              |      7 +-
 sys/kern/bufq_readprio.c                            |      8 +-
 sys/kern/core_elf32.c                               |     16 +-
 sys/kern/exec_elf32.c                               |     70 +-
 sys/kern/exec_script.c                              |     16 +-
 sys/kern/exec_subr.c                                |     31 +-
 sys/kern/init_main.c                                |    152 +-
 sys/kern/init_sysctl.c                              |    213 +-
 sys/kern/init_sysent.c                              |    107 +-
 sys/kern/kern_acct.c                                |     48 +-
 sys/kern/kern_auth.c                                |     92 +-
 sys/kern/kern_cctr.c                                |    302 +
 sys/kern/kern_clock.c                               |    250 +-
 sys/kern/kern_condvar.c                             |    134 +-
 sys/kern/kern_core.c                                |     31 +-
 sys/kern/kern_cpu.c                                 |    254 +
 sys/kern/kern_descrip.c                             |    237 +-
 sys/kern/kern_drvctl.c                              |     10 +-
 sys/kern/kern_event.c                               |     32 +-
 sys/kern/kern_exec.c                                |    158 +-
 sys/kern/kern_exit.c                                |    299 +-
 sys/kern/kern_fileassoc.c                           |     16 +-
 sys/kern/kern_fork.c                                |     54 +-
 sys/kern/kern_idle.c                                |    126 +
 sys/kern/kern_kcont.c                               |    391 -
 sys/kern/kern_ksyms.c                               |     61 +-
 sys/kern/kern_kthread.c                             |    178 +-
 sys/kern/kern_ktrace.c                              |    457 +-
 sys/kern/kern_lkm.c                                 |     16 +-
 sys/kern/kern_lock.c                                |    169 +-
 sys/kern/kern_lwp.c                                 |    455 +-
 sys/kern/kern_malloc.c                              |     69 +-
 sys/kern/kern_malloc_debug.c                        |      6 +-
 sys/kern/kern_microtime.c                           |    222 -
 sys/kern/kern_mutex.c                               |    171 +-
 sys/kern/kern_ntptime.c                             |     18 +-
 sys/kern/kern_pax.c                                 |     13 +-
 sys/kern/kern_physio.c                              |     36 +-
 sys/kern/kern_proc.c                                |    204 +-
 sys/kern/kern_prot.c                                |    144 +-
 sys/kern/kern_ras.c                                 |     47 +-
 sys/kern/kern_resource.c                            |    120 +-
 sys/kern/kern_rwlock.c                              |     51 +-
 sys/kern/kern_sig.c                                 |    115 +-
 sys/kern/kern_sleepq.c                              |    210 +-
 sys/kern/kern_stub.c                                |    150 +-
 sys/kern/kern_subr.c                                |    235 +-
 sys/kern/kern_synch.c                               |   1120 +-
 sys/kern/kern_sysctl.c                              |     48 +-
 sys/kern/kern_systrace.c                            |     75 +-
 sys/kern/kern_tc.c                                  |     35 +-
 sys/kern/kern_time.c                                |    176 +-
 sys/kern/kern_timeout.c                             |    427 +-
 sys/kern/kern_turnstile.c                           |    214 +-
 sys/kern/kern_uuid.c                                |     21 +-
 sys/kern/kern_verifiedexec.c                        |    536 +-
 sys/kern/sched_4bsd.c                               |    743 +
 sys/kern/subr_autoconf.c                            |    384 +-
 sys/kern/subr_bufq.c                                |      5 +-
 sys/kern/subr_callback.c                            |     47 +-
 sys/kern/subr_debug.c                               |     11 +-
 sys/kern/subr_devsw.c                               |    597 +-
 sys/kern/subr_disk.c                                |    117 +-
 sys/kern/subr_disk_mbr.c                            |     24 +-
 sys/kern/subr_extent.c                              |    184 +-
 sys/kern/subr_hash.c                                |    109 +
 sys/kern/subr_kmem.c                                |     12 +-
 sys/kern/subr_lockdebug.c                           |     48 +-
 sys/kern/subr_log.c                                 |     22 +-
 sys/kern/subr_pool.c                                |     93 +-
 sys/kern/subr_prf.c                                 |    145 +-
 sys/kern/subr_prf2.c                                |    191 +
 sys/kern/subr_prof.c                                |     16 +-
 sys/kern/subr_specificdata.c                        |      8 +-
 sys/kern/subr_tftproot.c                            |    468 +
 sys/kern/subr_time.c                                |    227 +
 sys/kern/subr_vmem.c                                |    214 +-
 sys/kern/subr_workqueue.c                           |    193 +-
 sys/kern/subr_xxx.c                                 |    109 -
 sys/kern/sys_aio.c                                  |   1081 +
 sys/kern/sys_generic.c                              |    740 +-
 sys/kern/sys_lwp.c                                  |    408 +-
 sys/kern/sys_pipe.c                                 |    423 +-
 sys/kern/sys_process.c                              |     65 +-
 sys/kern/sys_sig.c                                  |     28 +-
 sys/kern/sys_socket.c                               |    105 +-
 sys/kern/syscalls.c                                 |     30 +-
 sys/kern/syscalls.conf                              |      4 +-
 sys/kern/syscalls.master                            |    100 +-
 sys/kern/sysv_msg.c                                 |      6 +-
 sys/kern/sysv_sem.c                                 |    245 +-
 sys/kern/sysv_shm.c                                 |     14 +-
 sys/kern/tty.c                                      |     62 +-
 sys/kern/tty_bsdpty.c                               |      5 +-
 sys/kern/tty_conf.c                                 |      6 +-
 sys/kern/tty_ptm.c                                  |     13 +-
 sys/kern/tty_pty.c                                  |     65 +-
 sys/kern/tty_tty.c                                  |     16 +-
 sys/kern/uipc_domain.c                              |     94 +-
 sys/kern/uipc_mbuf.c                                |     42 +-
 sys/kern/uipc_mbuf2.c                               |     12 +-
 sys/kern/uipc_sem.c                                 |     84 +-
 sys/kern/uipc_socket.c                              |    212 +-
 sys/kern/uipc_socket2.c                             |     36 +-
 sys/kern/uipc_syscalls.c                            |    815 +-
 sys/kern/uipc_usrreq.c                              |     74 +-
 sys/kern/vfs_bio.c                                  |    115 +-
 sys/kern/vfs_cache.c                                |     14 +-
 sys/kern/vfs_init.c                                 |    104 +-
 sys/kern/vfs_lockf.c                                |     22 +-
 sys/kern/vfs_lookup.c                               |    226 +-
 sys/kern/vfs_subr.c                                 |   1192 +-
 sys/kern/vfs_subr2.c                                |   1103 +
 sys/kern/vfs_syscalls.c                             |   1064 +-
 sys/kern/vfs_trans.c                                |     91 +-
 sys/kern/vfs_vnops.c                                |    122 +-
 sys/kern/vfs_xattr.c                                |     26 +-
 sys/kern/vnode_if.c                                 |    277 +-
 sys/kern/vnode_if.sh                                |     22 +-
 sys/kern/vnode_if.src                               |     16 +-
 sys/lib/libkern/__assert.c                          |      9 +-
 sys/lib/libkern/arc4random.c                        |      4 +-
 sys/lib/libkern/arch/hppa/bcopy.S                   |      6 +-
 sys/lib/libkern/arch/pdp10/Makefile.inc             |      8 -
 sys/lib/libkern/arch/pdp10/alloca.S                 |     39 -
 sys/lib/libkern/arch/pdp10/structcpy.c              |     38 -
 sys/lib/libkern/arch/powerpc/memset.S               |      4 +-
 sys/lib/libkern/arch/sh3/Makefile.inc               |      4 +-
 sys/lib/libkern/arch/sh3/movstrSI12_i4.S            |     16 +
 sys/lib/libkern/arch/sh5/Makefile.inc               |     14 -
 sys/lib/libkern/arch/sh5/imax.S                     |     49 -
 sys/lib/libkern/arch/sh5/imin.S                     |     49 -
 sys/lib/libkern/arch/sh5/lmax.S                     |     51 -
 sys/lib/libkern/arch/sh5/lmin.S                     |     51 -
 sys/lib/libkern/arch/sh5/max.S                      |     49 -
 sys/lib/libkern/arch/sh5/min.S                      |     49 -
 sys/lib/libkern/arch/sh5/random.S                   |     98 -
 sys/lib/libkern/arch/sh5/scanc.S                    |     61 -
 sys/lib/libkern/arch/sh5/sdivsi3.S                  |     97 -
 sys/lib/libkern/arch/sh5/skpc.S                     |     61 -
 sys/lib/libkern/arch/sh5/udivsi3.S                  |     99 -
 sys/lib/libkern/arch/sh5/ulmax.S                    |     51 -
 sys/lib/libkern/arch/sh5/ulmin.S                    |     51 -
 sys/lib/libkern/arch/vax/Makefile.inc               |     12 +-
 sys/lib/libkern/libkern.h                           |      7 +-
 sys/lib/libsa/cd9660.c                              |     16 +-
 sys/lib/libsa/loadfile.h                            |     11 +-
 sys/lib/libsa/loadfile_aout.c                       |      3 +-
 sys/lib/libsa/loadfile_ecoff.c                      |      3 +-
 sys/lib/libsa/loadfile_elf32.c                      |      5 +-
 sys/lib/libsa/tftp.c                                |      4 +-
 sys/lib/libsa/ustarfs.c                             |      4 +-
 sys/lib/libz/Makefile                               |      4 +-
 sys/lkm/Makefile.inc                                |      4 +-
 sys/lkm/arch/i386/powernow/lkminit_powernow.c       |     11 +-
 sys/lkm/compat/Makefile.inc                         |     17 +-
 sys/lkm/compat/freebsd/Makefile                     |      3 +-
 sys/lkm/compat/linux/Makefile                       |      3 +-
 sys/lkm/compat/pecoff/Makefile                      |      3 +-
 sys/lkm/compat/svr4/Makefile                        |      3 +-
 sys/lkm/exec/freebsd_elf/Makefile                   |     12 +-
 sys/lkm/exec/linux_elf/Makefile                     |     12 +-
 sys/lkm/exec/pecoff/Makefile                        |     12 +-
 sys/lkm/exec/svr4_elf/Makefile                      |     12 +-
 sys/lkm/misc/envsys2/Makefile                       |     12 +
 sys/lkm/misc/envsys2/lkminit_envsys2.c              |    371 +
 sys/lkm/net/bsdcomp/Makefile                        |      6 +-
 sys/lkm/netinet/if_ipl/mln_ipl.c                    |      8 +-
 sys/lkm/vfs/Makefile                                |      4 +-
 sys/lkm/vfs/efs/Makefile                            |     12 +
 sys/lkm/vfs/efs/lkminit_vfs.c                       |     75 +
 sys/lkm/vfs/hfs/Makefile                            |     13 +
 sys/lkm/vfs/hfs/lkminit_vfs.c                       |     75 +
 sys/miscfs/deadfs/dead_vnops.c                      |      6 +-
 sys/miscfs/fdesc/fdesc_vfsops.c                     |     34 +-
 sys/miscfs/fdesc/fdesc_vnops.c                      |     24 +-
 sys/miscfs/genfs/genfs.h                            |      4 +-
 sys/miscfs/genfs/genfs_vnops.c                      |     96 +-
 sys/miscfs/genfs/layer_vnops.c                      |     10 +-
 sys/miscfs/kernfs/kernfs_subr.c                     |      8 +-
 sys/miscfs/kernfs/kernfs_vfsops.c                   |     41 +-
 sys/miscfs/nullfs/null_vfsops.c                     |     57 +-
 sys/miscfs/overlay/overlay_vfsops.c                 |     48 +-
 sys/miscfs/portal/portal_vfsops.c                   |     56 +-
 sys/miscfs/portal/portal_vnops.c                    |     11 +-
 sys/miscfs/procfs/procfs.h                          |     11 +-
 sys/miscfs/procfs/procfs_ctl.c                      |     20 +-
 sys/miscfs/procfs/procfs_linux.c                    |    257 +-
 sys/miscfs/procfs/procfs_map.c                      |    102 +-
 sys/miscfs/procfs/procfs_status.c                   |      8 +-
 sys/miscfs/procfs/procfs_subr.c                     |     25 +-
 sys/miscfs/procfs/procfs_vfsops.c                   |     52 +-
 1686 files changed, 212676 insertions(+), 61400 deletions(-)

diffs (truncated from 378960 to 300 lines):

diff -r f7ee9eb1eb17 -r cedd0f9e1207 sys/compat/darwin/darwin_signal.c
--- a/sys/compat/darwin/darwin_signal.c Mon Sep 03 14:21:55 2007 +0000
+++ b/sys/compat/darwin/darwin_signal.c Mon Sep 03 14:31:56 2007 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: darwin_signal.c,v 1.19.4.3 2007/02/26 09:09:03 yamt Exp $ */
+/*     $NetBSD: darwin_signal.c,v 1.19.4.4 2007/09/03 14:31:56 yamt Exp $ */
 
 /*-
  * Copyright (c) 2002 The NetBSD Foundation, Inc.
@@ -37,7 +37,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: darwin_signal.c,v 1.19.4.3 2007/02/26 09:09:03 yamt Exp $");
+__KERNEL_RCSID(0, "$NetBSD: darwin_signal.c,v 1.19.4.4 2007/09/03 14:31:56 yamt Exp $");
 
 #include <sys/types.h>
 #include <sys/param.h>
@@ -73,60 +73,37 @@
                syscallarg(struct darwin___sigaction *) nsa;
                syscallarg(struct sigaction13 *) osa;
        } */ *uap = v;
-       struct sys___sigaction_sigtramp_args cup;
        struct darwin___sigaction dsa;
-       struct sigaction sa;
-       struct sigaction *nsa, *osa;
+       struct sigaction nsa, osa;
        struct sigaction13 sa13;
-       struct proc *p = l->l_proc;
-       caddr_t sg = stackgap_init(p, 0);
        int error;
 
        if ((error = copyin(SCARG(uap, nsa), &dsa, sizeof(dsa))) != 0)
                return error;
 
-       nsa = stackgap_alloc(p, &sg, sizeof(struct sigaction));
-       if (SCARG(uap, osa) != NULL)
-               osa = stackgap_alloc(p, &sg, sizeof(struct sigaction));
-       else
-               osa = NULL;
-
-       sa.sa_handler = dsa.darwin_sa_handler.__sa_handler;
-       native_sigset13_to_sigset(&dsa.darwin_sa_mask, &sa.sa_mask);
+       nsa.sa_handler = dsa.darwin_sa_handler.__sa_handler;
+       native_sigset13_to_sigset(&dsa.darwin_sa_mask, &nsa.sa_mask);
        if (dsa.darwin_sa_flags & ~DARWIN_SA_ALLBITS) {
                DPRINTF(("darwin_sys_sigaction: ignoring bits (flags = %x)\n",
                    dsa.darwin_sa_flags));
        }
-       sa.sa_flags = dsa.darwin_sa_flags & DARWIN_SA_ALLBITS;
-
-       if ((error = copyout(&sa, nsa, sizeof(sa))) != 0)
-               return error;
+       nsa.sa_flags = dsa.darwin_sa_flags & DARWIN_SA_ALLBITS;
 
-       SCARG(&cup, signum) = SCARG(uap, signum);
-       SCARG(&cup, nsa) = nsa;
-       if (SCARG(uap, osa) != NULL)
-               SCARG(&cup, osa) = osa;
-       SCARG(&cup, tramp) = dsa.darwin_sa_tramp;
-       SCARG(&cup, vers) = 1;
-
-       if ((error = sys___sigaction_sigtramp(l, &cup, retval)) !=0)
+       error = sigaction1(l, SCARG(uap, signum), &nsa, &osa,
+           dsa.darwin_sa_tramp, 1);
+       if (error != 0)
                return error;
 
        if (SCARG(uap, osa) == NULL)
                return 0;
 
-       if ((error = copyin(SCARG(&cup, osa), &sa, sizeof(sa))) != 0)
-               return error;
+       /* XXX: The returned structure has a different type to that supplied */
+       sa13.osa_handler = osa.sa_handler;
+       sa13.osa_mask = osa.sa_mask.__bits[0];
+       native_sigset_to_sigset13(&osa.sa_mask, &sa13.osa_mask);
+       sa13.osa_flags = osa.sa_flags;
 
-       sa13.osa_handler = sa.sa_handler;
-       sa13.osa_mask = sa.sa_mask.__bits[0];
-       native_sigset_to_sigset13(&sa.sa_mask, &sa13.osa_mask);
-       sa13.osa_flags = sa.sa_flags;
-
-       if ((error = copyout(&sa13, SCARG(uap, osa), sizeof(sa13))) != 0)
-               return error;
-
-       return 0;
+       return copyout(&sa13, SCARG(uap, osa), sizeof(sa13));
 }
 
 void
@@ -179,48 +156,24 @@
                syscallarg(sigset13_t *) set;
                syscallarg(sigset13_t *) oset;
        } */ *uap = v;
-       struct sys___sigprocmask14_args cup;
-       struct proc *p = l->l_proc;
        int error;
-       sigset13_t kdset, kdoset;
+       sigset13_t kdset;
        sigset_t kbset, kboset;
-       sigset_t *ubset = NULL;
-       sigset_t *uboset = NULL;
-
-       caddr_t sg = stackgap_init(p, 0);
-       ubset = stackgap_alloc(p, &sg, sizeof(*ubset));
-       if (SCARG(uap, oset) != NULL)
-               uboset = stackgap_alloc(p, &sg, sizeof(*uboset));
 
        if (SCARG(uap, set) != NULL) {
                error = copyin(SCARG(uap, set), &kdset, sizeof(kdset));
                if (error != 0)
                        return error;
-
                native_sigset13_to_sigset(&kdset, &kbset);
+               error = sigprocmask1(l, SCARG(uap, how), &kbset, &kboset);
+       } else
+               error = sigprocmask1(l, SCARG(uap, how), NULL, &kboset);
 
-               if ((error = copyout(&kbset, ubset, sizeof(kbset))) != 0)
-                       return error;
-       }
-
-       SCARG(&cup, how) = SCARG(uap, how);
-       SCARG(&cup, set) = ubset;
-       SCARG(&cup, oset) = uboset;
-       if ((error = sys___sigprocmask14(l, &cup, retval)) != 0)
+       if (SCARG(uap, oset) == NULL || error != 0)
                return error;
 
-       if (SCARG(uap, oset) != NULL) {
-               if ((error = copyin(uboset, &kboset, sizeof(kboset))) != 0)
-                       return error;
-
-               native_sigset_to_sigset13(&kboset, &kdoset);
-
-               if ((error = copyout(&kdoset,
-                   SCARG(uap, oset), sizeof(kdoset))) != 0)
-                       return error;
-       }
-
-       return 0;
+       native_sigset_to_sigset13(&kboset, &kdset);
+       return copyout(&kdset, SCARG(uap, oset), sizeof(kdset));
 }
 
 void
@@ -236,7 +189,7 @@
        dsi->darwin_si_status = ksi->ksi_status;
        dsi->darwin_si_addr = ksi->ksi_addr;
        (void)memcpy(&dsi->darwin_si_value,
-           &ksi->ksi_sigval, sizeof(dsi->darwin_si_value));
+           &ksi->ksi_value, sizeof(dsi->darwin_si_value));
        dsi->darwin_si_band = ksi->ksi_band;
 
        return;
diff -r f7ee9eb1eb17 -r cedd0f9e1207 sys/compat/darwin/darwin_socket.c
--- a/sys/compat/darwin/darwin_socket.c Mon Sep 03 14:21:55 2007 +0000
+++ b/sys/compat/darwin/darwin_socket.c Mon Sep 03 14:31:56 2007 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: darwin_socket.c,v 1.8.4.3 2007/02/26 09:09:03 yamt Exp $ */
+/*     $NetBSD: darwin_socket.c,v 1.8.4.4 2007/09/03 14:31:56 yamt Exp $ */
 
 /*-
  * Copyright (c) 2004 The NetBSD Foundation, Inc.
@@ -37,7 +37,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: darwin_socket.c,v 1.8.4.3 2007/02/26 09:09:03 yamt Exp $");
+__KERNEL_RCSID(0, "$NetBSD: darwin_socket.c,v 1.8.4.4 2007/09/03 14:31:56 yamt Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -46,8 +46,9 @@
 #include <sys/lwp.h>
 #include <sys/socketvar.h>
 #include <sys/un.h>
-#include <sys/ucred.h>
-#include <sys/mount.h>
+#include <sys/mbuf.h>
+#include <sys/filedesc.h>
+#include <sys/protosw.h>
 #include <sys/syscallargs.h>
 
 #include <compat/sys/signal.h>
@@ -141,68 +142,39 @@
        0,
 };
 
-int
-native_to_darwin_sockaddr(nsa, dsa)
-       struct sockaddr *nsa;
-       struct sockaddr_storage *dsa;
+static int
+native_to_darwin_sockaddr(struct mbuf *nam)
 {
-       size_t len;
+       struct sockaddr *sa = mtod(nam, void *);
 
-       if ((len = nsa->sa_len) > _SS_MAXSIZE) {
-               printf("native_to_darwin_sockaddr: sa_len too big");
-               return EINVAL;
-       }
+       /* We only need to translate the address family */
+       if ((unsigned)sa->sa_family >= __arraycount(native_to_darwin_af))
+               return EPROTONOSUPPORT;
 
-       memcpy(dsa, nsa, len);
-       /* Array dereference is safe. sa_family is type unsigned */
-       dsa->ss_family = native_to_darwin_af[nsa->sa_family];
-
+       sa->sa_family = native_to_darwin_af[sa->sa_family];
        return 0;
 }
 
-int
-darwin_to_native_sockaddr(dsa, nsa)
-       struct sockaddr *dsa;
-       struct sockaddr_storage *nsa;
+static int
+darwin_to_native_sockaddr(struct mbuf *nam)
 {
-       size_t len;
-
-       if ((len = dsa->sa_len) > _SS_MAXSIZE) {
-               printf("darwin_to_native_sockaddr: sa_len too big");
-               return EINVAL;
-       }
-
-       if (len == 0) {
-               /*
-                * It happens for AF_LOCAL sockets, where the
-                * size must be computed by hand...
-                */
-               switch (dsa->sa_family) {
-               case DARWIN_AF_LOCAL: {
-                       struct sockaddr_un *sun = (struct sockaddr_un *)dsa;
+       struct sockaddr *sa = mtod(nam, void *);
 
-                       len = sizeof(*sun)
-                           - sizeof(sun->sun_path)
-                           + strlen(sun->sun_path)
-                           + 1; /* For trailing \0 */
-                       if (len > _SS_MAXSIZE) {
-                               printf("darwin_to_native_sockaddr: "
-                                   "sa_len too big");
-                               return EINVAL;
-                       }
-                       break;
-               }
+       if ((unsigned)sa->sa_family >= __arraycount(darwin_to_native_af)) {
+               m_free(nam);
+               return EPROTONOSUPPORT;
+       }
+       sa->sa_family = darwin_to_native_af[sa->sa_family];
 
-               default:
-                       printf("darwin_to_native_sockaddr: sa_len not set");
-                       return EINVAL;
-                       break;
-               }
-       }
+       /*
+        * sa_len is zero for AF_LOCAL sockets, believe size we copied in!
+        * The code used to strlen the filename, but that way lies madness!
+        */
 
-       memcpy(nsa, dsa, len);
-       /* Array dereference is safe. sa_family is type unsigned */
-       nsa->ss_family = darwin_to_native_af[dsa->sa_family];
+       if (sa->sa_len > nam->m_len || sa->sa_len == 0)
+               sa->sa_len = nam->m_len;
+       else
+               nam->m_len = sa->sa_len;
 
        return 0;
 }
@@ -220,7 +192,7 @@
        } */ *uap = v;
        struct compat_30_sys_socket_args cup;
 
-       if (SCARG(uap, domain) < 0)
+       if ((unsigned)SCARG(uap, domain) >= __arraycount(darwin_to_native_af))
                return (EPROTONOSUPPORT);
 
        SCARG(&cup, domain) = darwin_to_native_af[SCARG(uap, domain)];
@@ -244,52 +216,30 @@
                syscallarg(struct sockaddr *) from;
                syscallarg(unsigned int *) fromlenaddr;
        } */ *uap = v;
-       struct proc *p = l->l_proc;
-       struct sys_recvfrom_args cup;
-       caddr_t sg = stackgap_init(p, 0);
-       struct sockaddr_storage nss;
-       struct sockaddr_storage dss;
-       struct sockaddr_storage *nssp;
-       size_t len;
-       int error;



Home | Main Index | Thread Index | Old Index