Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/kqueue]: src/sys update to -current
details: https://anonhg.NetBSD.org/src/rev/efe7b733749d
branches: kqueue
changeset: 512372:efe7b733749d
user: lukem <lukem%NetBSD.org@localhost>
date: Fri Aug 03 04:10:36 2001 +0000
description:
update to -current
diffstat:
sys/arch/algor/algor/bus_dma.c | 6 +-
sys/arch/algor/include/bus.h | 22 +-
sys/arch/alpha/STYLE | 10 +-
sys/arch/alpha/a12/if_ade.c | 65 +-
sys/arch/alpha/a12/if_xb.c | 20 +-
sys/arch/alpha/alpha/autoconf.c | 6 +-
sys/arch/alpha/alpha/compat_13_machdep.c | 6 +-
sys/arch/alpha/alpha/cpu.c | 131 +-
sys/arch/alpha/alpha/dec_kn8ae.c | 6 +-
sys/arch/alpha/alpha/interrupt.c | 122 +-
sys/arch/alpha/alpha/ipifuncs.c | 34 +-
sys/arch/alpha/alpha/locore.s | 253 +-
sys/arch/alpha/alpha/machdep.c | 25 +-
sys/arch/alpha/alpha/mem.c | 6 +-
sys/arch/alpha/alpha/pmap.c | 222 +-
sys/arch/alpha/alpha/process_machdep.c | 8 +-
sys/arch/alpha/alpha/prom.c | 8 +-
sys/arch/alpha/alpha/trap.c | 46 +-
sys/arch/alpha/alpha/vm_machdep.c | 23 +-
sys/arch/alpha/common/bus_dma.c | 6 +-
sys/arch/alpha/common/sgmap_common.c | 87 +-
sys/arch/alpha/common/sgmap_typedep.c | 514 +-
sys/arch/alpha/common/sgmapvar.h | 22 +-
sys/arch/alpha/common/shared_intr.c | 12 +-
sys/arch/alpha/include/alpha_cpu.h | 16 +-
sys/arch/alpha/include/bus.h | 42 +-
sys/arch/alpha/include/cpuconf.h | 4 +-
sys/arch/alpha/include/intr.h | 59 +-
sys/arch/alpha/include/pmap.h | 13 +-
sys/arch/alpha/include/proc.h | 6 +-
sys/arch/alpha/jensenio/com_jensenio.c | 38 +-
sys/arch/alpha/jensenio/jensenio.c | 10 +-
sys/arch/alpha/jensenio/jensenio_intr.c | 91 +-
sys/arch/alpha/jensenio/lpt_jensenio.c | 38 +-
sys/arch/alpha/jensenio/pckbc_jensenio.c | 58 +-
sys/arch/alpha/pci/a12c.c | 8 +-
sys/arch/alpha/pci/apecs_dma.c | 8 +-
sys/arch/alpha/pci/cia_dma.c | 8 +-
sys/arch/alpha/pci/dwlpx.c | 61 +-
sys/arch/alpha/pci/dwlpx_dma.c | 8 +-
sys/arch/alpha/pci/dwlpxvar.h | 33 +-
sys/arch/alpha/pci/lca_dma.c | 11 +-
sys/arch/alpha/pci/mcpcia_dma.c | 9 +-
sys/arch/alpha/pci/pci_1000.c | 40 +-
sys/arch/alpha/pci/pci_1000a.c | 38 +-
sys/arch/alpha/pci/pci_2100_a50.c | 5 +-
sys/arch/alpha/pci/pci_2100_a500.c | 41 +-
sys/arch/alpha/pci/pci_550.c | 44 +-
sys/arch/alpha/pci/pci_6600.c | 43 +-
sys/arch/alpha/pci/pci_alphabook1.c | 5 +-
sys/arch/alpha/pci/pci_axppci_33.c | 5 +-
sys/arch/alpha/pci/pci_eb164.c | 42 +-
sys/arch/alpha/pci/pci_eb64plus.c | 42 +-
sys/arch/alpha/pci/pci_eb66.c | 42 +-
sys/arch/alpha/pci/pci_kn20aa.c | 41 +-
sys/arch/alpha/pci/pci_kn300.c | 46 +-
sys/arch/alpha/pci/pci_kn8ae.c | 233 +-
sys/arch/alpha/pci/pci_machdep.c | 6 +-
sys/arch/alpha/pci/pci_sgmap_pte32.c | 5 +-
sys/arch/alpha/pci/pci_sgmap_pte64.c | 5 +-
sys/arch/alpha/pci/pci_up1000.c | 5 +-
sys/arch/alpha/pci/sio_pic.c | 21 +-
sys/arch/alpha/pci/tsc.c | 6 +-
sys/arch/alpha/pci/tsp_dma.c | 9 +-
sys/arch/alpha/pci/ttwoga_dma.c | 8 +-
sys/arch/alpha/pci/ttwogavar.h | 3 +-
sys/arch/alpha/sableio/pckbc_sableio.c | 6 +-
sys/arch/alpha/stand/boot/version | 7 +-
sys/arch/alpha/stand/common/OSFpal.c | 4 +-
sys/arch/alpha/stand/common/boot.c | 8 +-
sys/arch/alpha/stand/netboot/if_prom.c | 8 +-
sys/arch/alpha/stand/netboot/version | 3 +-
sys/arch/alpha/stand/setnetbootinfo/setnetbootinfo.c | 4 +-
sys/arch/alpha/stand/ustarboot/version | 3 +-
sys/arch/alpha/tc/tc_3000_300.c | 8 +-
sys/arch/alpha/tc/tc_3000_500.c | 8 +-
sys/arch/alpha/tc/tc_dma.c | 5 +-
sys/arch/alpha/tc/tc_dma_3000_500.c | 21 +-
sys/arch/alpha/tc/tc_sgmap.c | 5 +-
sys/arch/alpha/tc/tcasic.c | 8 +-
sys/arch/alpha/tlsb/gbus.c | 16 +-
sys/arch/alpha/tlsb/tlsb.c | 6 +-
sys/arch/amiga/amiga/DOC/debug | 4 +-
sys/arch/amiga/amiga/DOC/mmu | 6 +-
sys/arch/amiga/amiga/locore.s | 4 +-
sys/arch/amiga/dev/grf_rh.c | 4 +-
sys/arch/amiga/dev/grf_rt.c | 4 +-
sys/arch/amiga/dev/grf_rtreg.h | 4 +-
sys/arch/amiga/dev/sbic.c | 4 +-
sys/arch/amiga/stand/bootblock/aout2bb/Makefile | 6 +-
sys/arch/amiga/stand/bootblock/txlt/Makefile | 6 +-
sys/arch/amigappc/amigappc/machdep.c | 26 +-
sys/arch/arc/conf/files.arc | 8 +-
sys/arch/arc/include/bus.h | 22 +-
sys/arch/arc/jazz/dma.c | 22 +-
sys/arch/arc/jazz/dma.h | 3 +-
sys/arch/arc/jazz/if_sn.c | 1286 -------
sys/arch/arc/jazz/if_snreg.h | 349 --
sys/arch/arc/jazz/pckbc_jazzio.c | 13 +-
sys/arch/arm/arm/arm_machdep.c | 6 +-
sys/arch/arm/arm32/arm32_machdep.c | 600 +++
sys/arch/arm/arm32/bus_dma.c | 811 ++++
sys/arch/arm/arm32/cpuswitch.S | 713 ++++
sys/arch/arm/arm32/db_interface.c | 4 +-
sys/arch/arm/arm32/exception.S | 396 ++
sys/arch/arm/arm32/fault.c | 629 +++
sys/arch/arm/arm32/fusu.S | 409 ++
sys/arch/arm/arm32/genassym.cf | 147 +
sys/arch/arm/arm32/intr.c | 172 +
sys/arch/arm/arm32/locore.S | 350 ++
sys/arch/arm/arm32/mem.c | 211 +
sys/arch/arm/arm32/pmap.c | 170 +-
sys/arch/arm/arm32/procfs_machdep.c | 20 +
sys/arch/arm/arm32/setcpsr.S | 78 +
sys/arch/arm/arm32/setstack.S | 92 +
sys/arch/arm/arm32/spl.S | 114 +
sys/arch/arm/arm32/stubs.c | 294 +
sys/arch/arm/arm32/vm_machdep.c | 407 ++
sys/arch/arm/conf/Makefile.arm | 28 +-
sys/arch/arm/conf/files.arm | 20 +-
sys/arch/arm/conf/files.sa11x0 | 11 +-
sys/arch/arm/footbridge/footbridge_io.c | 4 +-
sys/arch/arm/footbridge/footbridge_machdep.c | 4 +-
sys/arch/arm/include/Makefile | 10 +-
sys/arch/arm/include/ansi.h | 10 +-
sys/arch/arm/include/arm32/Makefile | 4 +-
sys/arch/arm/include/arm32/pmap.h | 48 +-
sys/arch/arm/include/arm32/sysarch.h | 56 -
sys/arch/arm/include/armreg.h | 3 +-
sys/arch/arm/include/asm.h | 12 +-
sys/arch/arm/include/bus.h | 22 +-
sys/arch/arm/include/cpu.h | 8 +-
sys/arch/arm/include/param.h | 41 +-
sys/arch/arm/include/pmap.h | 8 +
sys/arch/arm/include/profile.h | 11 +-
sys/arch/arm/include/sysarch.h | 61 +
sys/arch/arm/include/vmparam.h | 8 +
sys/arch/arm/mainbus/mainbus_io.c | 4 +-
sys/arch/arm/sa11x0/sa1111.c | 34 +-
sys/arch/arm/sa11x0/sa11x0.c | 18 +-
sys/arch/arm/sa11x0/sa11x0_gpioreg.h | 118 +-
sys/arch/arm/sa11x0/sa11x0_io.c | 4 +-
sys/arch/arm/sa11x0/sa11x0_lcd.c | 395 --
sys/arch/arm/sa11x0/sa11x0_lcdreg.h | 125 -
sys/arch/arm/sa11x0/sa11x0_lcdvar.h | 54 -
sys/arch/arm/sa11x0/sa11x0_mcpreg.h | 84 +
sys/arch/arm/sa11x0/sa11x0_pcic.c | 288 -
sys/arch/arm/sa11x0/sa11x0_pcicreg.h | 43 -
sys/arch/arm/sa11x0/sa11x0_ppcreg.h | 7 +-
sys/arch/arm/sa11x0/sa11x0_reg.h | 3 +-
sys/arch/arm/sa11x0/sa11x1_pcic.c | 16 +-
sys/arch/arm/sa11x0/sa11xx_pcicvar.h | 11 +-
sys/arch/arm26/arm26/stubs.c | 12 +-
sys/arch/arm26/arm26/sys_machdep.c | 75 +
sys/arch/arm26/conf/Makefile.arm26 | 7 +-
sys/arch/arm26/conf/files.arm26 | 3 +-
sys/arch/arm26/include/Makefile | 4 +-
sys/arch/arm26/include/boot.h | 5 +-
sys/arch/arm26/include/sysarch.h | 4 +
sys/arch/arm26/stand/Makefile | 4 +-
sys/arch/arm26/stand/Makefile.buildboot | 74 +
sys/arch/arm26/stand/boot26/Makefile | 14 +
sys/arch/arm26/stand/boot26/boot26.c | 296 +
sys/arch/arm26/stand/boot26/rmheader.S | 88 +
sys/arch/arm26/stand/boot26/start.S | 37 +
sys/arch/arm26/stand/boot26/version | 7 +
sys/arch/arm26/stand/lib/Makefile | 22 +
sys/arch/arm26/stand/lib/Makefile.inc | 56 +
sys/arch/arm26/stand/lib/devopen.c | 40 +
sys/arch/arm26/stand/lib/newvers_rm.sh | 51 +
sys/arch/arm26/stand/lib/riscoscalls.S | 228 +
sys/arch/arm26/stand/lib/riscoscalls.h | 203 +
sys/arch/arm26/stand/lib/riscoscons.c | 48 +
sys/arch/arm26/stand/lib/riscoserrors.c | 48 +
sys/arch/arm26/stand/lib/riscosfile.c | 185 +
sys/arch/arm26/stand/lib/riscosfile.h | 35 +
sys/arch/arm26/stand/lib/srt0.S | 36 +
sys/arch/arm26/stand/lib/srt1.c | 151 +
sys/arch/arm32/arm32/bus_dma.c | 811 ----
sys/arch/arm32/arm32/cpuswitch.S | 713 ----
sys/arch/arm32/arm32/exception.S | 396 --
sys/arch/arm32/arm32/fault.c | 629 ---
sys/arch/arm32/arm32/fusu.S | 409 --
sys/arch/arm32/arm32/genassym.cf | 147 -
sys/arch/arm32/arm32/intr.c | 172 -
sys/arch/arm32/arm32/locore.S | 350 --
sys/arch/arm32/arm32/machdep.c | 600 ---
sys/arch/arm32/arm32/mem.c | 211 -
sys/arch/arm32/arm32/procfs_machdep.c | 20 -
sys/arch/arm32/arm32/setcpsr.S | 78 -
sys/arch/arm32/arm32/setstack.S | 92 -
sys/arch/arm32/arm32/spl.S | 114 -
sys/arch/arm32/arm32/stubs.c | 294 -
sys/arch/arm32/arm32/vm_machdep.c | 407 --
sys/arch/arm32/conf/A7000 | 275 +
sys/arch/arm32/conf/A7INST | 268 +
sys/arch/arm32/conf/GENERIC | 299 +
sys/arch/arm32/conf/Makefile.arm32 | 17 +-
sys/arch/arm32/conf/NC | 283 +
sys/arch/arm32/conf/NC_WSCONS | 309 +
sys/arch/arm32/conf/RC7500 | 10 +-
sys/arch/arm32/conf/RISCPC | 278 +
sys/arch/arm32/conf/RPCINST | 268 +
sys/arch/arm32/conf/RPC_WSCONS | 305 +
sys/arch/arm32/conf/VOYAGER | 274 +
sys/arch/arm32/conf/files.arm32 | 16 +-
sys/arch/arm32/include/sysarch.h | 4 +-
sys/arch/arm32/include/vidc.h | 6 +-
sys/arch/arm32/iomd/iomd.c | 316 +
sys/arch/arm32/iomd/iomd_dma.c | 4 +-
sys/arch/arm32/iomd/iomd_irq.S | 6 +-
sys/arch/arm32/iomd/iomd_irqhandler.c | 618 +++
sys/arch/arm32/podulebus/esc.c | 6 +-
sys/arch/arm32/podulebus/podulebus.c | 8 +-
sys/arch/arm32/podulebus/sbic.c | 4 +-
sys/arch/arm32/podulebus/sfas.c | 6 +-
sys/arch/arm32/riscpc/rpc_machdep.c | 29 +-
sys/arch/arm32/shark/i8042reg.h | 4 +-
sys/arch/arm32/stand/BtNetBSD/pling.BtNetBSD/fastboot | 31 +-
sys/arch/arm32/vidc/beep.c | 6 +-
sys/arch/arm32/vidc/console/vidcconsole.c | 4 +-
sys/arch/arm32/vidc/console/vidcrender.c | 10 +-
sys/arch/arm32/vidc/lmcaudio.c | 4 +-
sys/arch/arm32/vidc/vidc20config.c | 12 +-
sys/arch/arm32/vidc/vidcaudio.c | 6 +-
sys/arch/atari/atari/disksubr.c | 10 +-
sys/arch/atari/atari/locore.s | 4 +-
sys/arch/atari/conf/MILAN-ISAIDE | 4 +-
sys/arch/atari/conf/MILAN-PCIIDE | 4 +-
sys/arch/atari/conf/MILAN.in | 4 +-
sys/arch/atari/dev/clock.c | 4 +-
sys/arch/atari/dev/fd.c | 4 +-
sys/arch/atari/dev/ite_cc.c | 29 +-
sys/arch/atari/include/ahdilabel.h | 6 +-
sys/arch/atari/include/bus.h | 22 +-
sys/arch/atari/include/disklabel.h | 6 +-
sys/arch/atari/include/types.h | 4 +-
sys/arch/atari/stand/ahdilabel/ahdilabel.c | 4 +-
sys/arch/atari/stand/tostools/aptck/ahdilbl.h | 6 +-
sys/arch/atari/stand/tostools/aptck/aptck.h | 6 +-
sys/arch/atari/stand/tostools/aptck/disklbl.c | 6 +-
sys/arch/atari/vme/if_le_vme.c | 4 +-
sys/arch/bebox/bebox/machdep.c | 31 +-
sys/arch/bebox/isa/isaclock.c | 4 +-
sys/arch/bebox/isa/isadma_machdep.c | 17 +-
sys/arch/bebox/isa/pccons.c | 28 +-
sys/arch/bebox/pci/pcib.c | 4 +-
sys/arch/bebox/stand/boot/version | 3 +-
sys/arch/bebox/stand/boot/vga.c | 9 +-
sys/arch/bebox/stand/elf2pef/elf2pef.c | 16 +-
sys/arch/cats/conf/files.cats | 16 +-
sys/arch/cats/include/Makefile | 3 +-
sys/arch/cats/include/sysarch.h | 4 -
sys/arch/cesfic/cesfic/autoconf.c | 10 +-
sys/arch/cesfic/cesfic/locore.s | 4 +-
sys/arch/cesfic/cesfic/pmap.c | 219 +-
sys/arch/cesfic/cesfic/vm_machdep.c | 9 +-
sys/arch/cesfic/include/cpu.h | 4 +-
sys/arch/cobalt/cobalt/bus.c | 4 +-
sys/arch/cobalt/cobalt/machdep.c | 4 +-
sys/arch/cobalt/include/bus.h | 22 +-
sys/arch/dnard/conf/Makefile.dnard | 225 -
sys/arch/dnard/conf/files.dnard | 19 +-
sys/arch/dnard/dnard/autoconf.c | 6 +-
sys/arch/dnard/dnard/conf.c | 3 +-
sys/arch/dnard/dnard/hat.c | 4 +-
sys/arch/dnard/include/Makefile | 4 +-
sys/arch/dnard/include/sysarch.h | 4 -
sys/arch/dnard/ofw/ofw.c | 14 +-
sys/arch/dreamcast/dev/gdrom.c | 10 +-
sys/arch/dreamcast/dev/maple/maple.c | 11 +-
sys/arch/dreamcast/dev/maple/mkbd.c | 4 +-
sys/arch/dreamcast/dreamcast/machdep.c | 10 +-
sys/arch/dreamcast/include/bus.h | 22 +-
sys/arch/hp300/DOC/Debug.tips | 4 +-
sys/arch/hp300/DOC/HPMMU.notes | 6 +-
sys/arch/hp300/dev/grf_dv.c | 4 +-
sys/arch/hp300/dev/grf_hy.c | 4 +-
sys/arch/hp300/dev/grf_rb.c | 4 +-
sys/arch/hp300/dev/grf_tc.c | 4 +-
sys/arch/hp300/hp300/locore.s | 4 +-
sys/arch/hp300/stand/uboot/version | 3 +-
sys/arch/hpc/conf/platid.def | 13 +-
sys/arch/hpc/hpc/config_hook.h | 33 +-
sys/arch/hpc/hpc/platid_mask.c | 18 +-
sys/arch/hpc/hpc/platid_name.c | 10 +-
sys/arch/hpc/include/platid_generated.h | 34 +-
sys/arch/hpc/include/platid_mask.h | 18 +-
sys/arch/hpc/stand/hpcboot/arm/arm.asm | 4 +-
sys/arch/hpc/stand/hpcboot/load_elf.cpp | 4 +-
sys/arch/hpcarm/conf/IPAQ | 13 +-
sys/arch/hpcarm/conf/Makefile.hpcarm | 4 +-
sys/arch/hpcarm/conf/files.hpcarm | 34 +-
sys/arch/hpcarm/dev/ipaq_atmel.h | 91 +
sys/arch/hpcarm/dev/ipaq_atmelgpio.c | 242 +
sys/arch/hpcarm/dev/ipaq_atmelvar.h | 56 +
sys/arch/hpcarm/dev/ipaq_gpioreg.h | 124 +
sys/arch/hpcarm/dev/ipaq_lcd.c | 400 ++
sys/arch/hpcarm/dev/ipaq_lcdreg.h | 125 +
sys/arch/hpcarm/dev/ipaq_lcdvar.h | 54 +
sys/arch/hpcarm/dev/ipaq_pcic.c | 306 +
sys/arch/hpcarm/dev/ipaq_pcicreg.h | 73 +
sys/arch/hpcarm/dev/ipaq_saip.c | 121 +
sys/arch/hpcarm/dev/ipaq_saipvar.h | 39 +
sys/arch/hpcarm/dev/j720kbdmap.c | 8 +-
sys/arch/hpcarm/dev/sed_saip.c | 8 +-
sys/arch/hpcarm/dev/uda1341.c | 468 ++
sys/arch/hpcarm/dev/uda1341.h | 140 +
sys/arch/hpcarm/hpcarm/fault.c | 4 +-
sys/arch/hpcarm/hpcarm/hpc_machdep.c | 26 +-
sys/arch/hpcarm/hpcarm/machdep.c | 794 ----
sys/arch/hpcarm/include/sysarch.h | 4 +-
sys/arch/hpcarm/include/vmparam.h | 4 +-
sys/arch/hpcarm/sa11x0/sa11x0.c | 13 +-
sys/arch/hpcarm/sa11x0/sa11x0_gpioreg.h | 123 +-
sys/arch/hpcarm/sa11x0/sa11x0_io.c | 4 +-
sys/arch/hpcarm/sa11x0/sa11x0_lcd.c | 395 --
sys/arch/hpcarm/sa11x0/sa11x0_lcdreg.h | 125 -
sys/arch/hpcarm/sa11x0/sa11x0_lcdvar.h | 54 -
sys/arch/hpcarm/sa11x0/sa11x0_mcpreg.h | 84 +
sys/arch/hpcarm/sa11x0/sa11x0_pcic.c | 287 -
sys/arch/hpcarm/sa11x0/sa11x0_pcicreg.h | 43 -
sys/arch/hpcarm/sa11x0/sa11x0_ppcreg.h | 7 +-
sys/arch/hpcarm/sa11x0/sa11x0_reg.h | 4 +-
sys/arch/hpcarm/sa11x0/sa11x1_pcic.c | 3 +-
sys/arch/hpcarm/sa11x0/sa11xx_pcicvar.h | 3 +-
sys/arch/hpcmips/dev/ite8181.c | 8 +-
sys/arch/hpcmips/dev/mq200.c | 8 +-
sys/arch/hpcmips/dev/plumvideo.c | 3 +-
sys/arch/hpcmips/include/bus.h | 22 +-
sys/arch/hpcmips/stand/pbsdboot/elf.c | 10 +-
sys/arch/hpcmips/stand/pbsdboot/main.c | 4 +-
sys/arch/hpcmips/tx/tx39ir.c | 10 +-
sys/arch/hpcmips/vr/rtc.c | 4 +-
sys/arch/hpcmips/vr/vrpiu.c | 98 +-
sys/arch/hpcmips/vr/vrpiuvar.h | 12 +-
sys/arch/hpcsh/conf/GENERIC | 9 +-
sys/arch/hpcsh/conf/HP620LX | 9 +-
sys/arch/hpcsh/conf/JORNADA690 | 9 +-
sys/arch/hpcsh/dev/hd64461/hd64461.c | 8 +-
sys/arch/hpcsh/dev/hd64461/hd64461pcmcia.c | 117 +-
sys/arch/hpcsh/dev/hd64461/hd64461uart.c | 13 +-
sys/arch/hpcsh/dev/hd64461/hd64461video.c | 6 +-
sys/arch/hpcsh/include/bus.h | 22 +-
sys/arch/i386/conf/GENERIC | 33 +-
sys/arch/i386/conf/GENERIC_PS2TINY | 219 +
sys/arch/i386/conf/INSTALL | 8 +-
sys/arch/i386/conf/INSTALL_PS2 | 18 +
sys/arch/i386/conf/INSTALL_SMALL | 4 +-
sys/arch/i386/conf/INSTALL_TINY | 4 +-
sys/arch/i386/conf/LAMB | 9 +-
sys/arch/i386/conf/PS2 | 144 -
sys/arch/i386/conf/files.i386 | 9 +-
sys/arch/i386/i386/apm.c | 75 +-
sys/arch/i386/i386/conf.c | 6 +-
sys/arch/i386/i386/freebsd_machdep.c | 7 +-
sys/arch/i386/i386/ibcs2_machdep.c | 7 +-
sys/arch/i386/i386/locore.s | 98 +-
sys/arch/i386/i386/mach_machdep.c | 102 +
sys/arch/i386/i386/mach_sigcode.s | 209 +
sys/arch/i386/i386/mach_syscall.c | 278 +
sys/arch/i386/i386/machdep.c | 142 +-
sys/arch/i386/i386/macho_machdep.c | 128 +
sys/arch/i386/i386/math_emulate.c | 10 +-
sys/arch/i386/i386/microtime.s | 4 +-
sys/arch/i386/i386/process_machdep.c | 128 +-
sys/arch/i386/i386/svr4_machdep.c | 8 +-
sys/arch/i386/i386/vm_machdep.c | 5 +-
sys/arch/i386/include/apmvar.h | 6 +-
sys/arch/i386/include/bus.h | 167 +-
sys/arch/i386/include/cpu.h | 15 +-
sys/arch/i386/include/cpufunc.h | 14 +-
sys/arch/i386/include/intr.h | 5 +-
sys/arch/i386/include/macho_machdep.h | 98 +
sys/arch/i386/include/npx.h | 69 +-
sys/arch/i386/include/param.h | 4 +-
sys/arch/i386/include/pcb.h | 5 +-
sys/arch/i386/include/reg.h | 37 +-
sys/arch/i386/include/segments.h | 6 +-
sys/arch/i386/include/specialreg.h | 69 +-
sys/arch/i386/isa/npx.c | 127 +-
sys/arch/i386/isa/pccons.c | 42 +-
sys/arch/i386/isa/vector.s | 4 +-
sys/arch/i386/pci/pci_intr_fixup.c | 6 +-
sys/arch/i386/stand/biosboot/version | 3 +-
sys/arch/i386/stand/dosboot/version | 3 +-
sys/arch/i386/stand/lib/netif/i82557.c | 6 +-
sys/arch/i386/stand/netboot/Makefile | 28 +-
sys/arch/i386/stand/netboot/version | 3 +-
sys/arch/luna68k/luna68k/locore.s | 4 +-
sys/arch/m68k/060sp/netbsd060sp.S | 18 +-
sys/arch/m68k/fpe/fpu_calcea.c | 8 +-
sys/arch/m68k/m68k/copy.s | 6 +-
sys/arch/m68k/m68k/mappedcopy.c | 10 +-
sys/arch/m68k/m68k/process_machdep.c | 10 +-
sys/arch/m68k/m68k/sig_machdep.c | 12 +-
sys/arch/mac68k/dev/if_sn.c | 4 +-
sys/arch/mac68k/mac68k/disksubr.c | 31 +-
sys/arch/mac68k/mac68k/locore.s | 4 +-
sys/arch/macppc/dev/akbd.c | 19 +-
sys/arch/macppc/dev/am79c950.c | 18 +-
sys/arch/macppc/dev/ams.c | 4 +-
sys/arch/macppc/dev/if_bm.c | 28 +-
sys/arch/macppc/dev/if_gm.c | 34 +-
sys/arch/macppc/dev/if_mc.c | 10 +-
sys/arch/macppc/dev/if_mcvar.h | 12 +-
sys/arch/macppc/dev/mediabay.c | 4 +-
sys/arch/macppc/dev/mesh.c | 6 +-
sys/arch/macppc/dev/ofb.c | 10 +-
sys/arch/macppc/dev/pm_direct.c | 6 +-
sys/arch/macppc/dev/wdc_obio.c | 135 +-
sys/arch/macppc/dev/zs.c | 15 +-
sys/arch/macppc/include/adbsys.h | 3 +-
sys/arch/macppc/include/bus.h | 22 +-
sys/arch/macppc/macppc/autoconf.c | 6 +-
sys/arch/macppc/macppc/bus_dma.c | 4 +-
sys/arch/macppc/macppc/cpu.c | 4 +-
sys/arch/macppc/macppc/disksubr.c | 4 +-
sys/arch/macppc/macppc/extintr.c | 4 +-
sys/arch/macppc/macppc/machdep.c | 38 +-
sys/arch/macppc/macppc/mainbus.c | 4 +-
sys/arch/macppc/pci/bandit.c | 4 +-
sys/arch/macppc/pci/grackle.c | 6 +-
sys/arch/macppc/pci/pci_machdep.c | 10 +-
sys/arch/macppc/pci/uninorth.c | 8 +-
sys/arch/macppc/stand/installboot/installboot.c | 6 +-
sys/arch/macppc/stand/ofwboot/Locore.c | 4 +-
sys/arch/macppc/stand/ofwboot/Makefile | 4 +-
sys/arch/macppc/stand/ofwboot/boot.c | 8 +-
sys/arch/macppc/stand/ofwboot/hfs.c | 4 +-
sys/arch/macppc/stand/ofwboot/netif_of.c | 6 +-
sys/arch/macppc/stand/ofwboot/ofdev.c | 4 +-
sys/arch/macppc/stand/ofwboot/version | 3 +-
sys/arch/mips/conf/Makefile.mips | 31 +-
sys/arch/mips/include/vmparam.h | 10 +-
sys/arch/mips/mips/locore_mips3.S | 12 +-
sys/arch/mips/mips/pmap.c | 37 +-
sys/arch/mipsco/include/bus.h | 22 +-
sys/arch/mipsco/include/disklabel.h | 4 +-
sys/arch/mipsco/stand/boot/version | 3 +-
sys/arch/mipsco/stand/common/bootinfo.c | 4 +-
sys/arch/mmeye/mmeye/machdep.c | 12 +-
sys/arch/mvme68k/conf/GENERIC | 6 +-
sys/arch/mvme68k/conf/RAMDISK | 3 +-
sys/arch/mvme68k/conf/VME162 | 6 +-
sys/arch/mvme68k/conf/VME167 | 6 +-
sys/arch/mvme68k/conf/VME172 | 6 +-
sys/arch/mvme68k/conf/VME177 | 6 +-
sys/arch/mvme68k/conf/files.mvme68k | 4 +-
sys/arch/mvme68k/dev/mainbus.c | 24 +-
sys/arch/mvme68k/dev/mainbus.h | 4 +-
sys/arch/mvme68k/dev/memc.c | 593 +++-
sys/arch/mvme68k/dev/memcreg.h | 61 +-
sys/arch/mvme68k/dev/pcctwo.c | 6 +-
sys/arch/mvme68k/dev/pcctworeg.h | 4 +-
sys/arch/mvme68k/dev/sbic.c | 4 +-
sys/arch/mvme68k/dev/vme_two_isr.c | 19 +-
sys/arch/mvme68k/dev/vme_twovar.h | 6 +-
sys/arch/mvme68k/include/bus_dma.h | 22 +-
sys/arch/mvme68k/mvme68k/bus_dma.c | 28 +-
sys/arch/mvme68k/mvme68k/locore.s | 27 +-
sys/arch/mvme68k/mvme68k/pmap.c | 175 +-
sys/arch/mvme68k/stand/Makefile | 6 +-
sys/arch/mvme68k/stand/Makefile.booters | 4 +-
sys/arch/mvme68k/stand/bootsd/version | 3 +-
sys/arch/mvme68k/stand/bootst/version | 3 +-
sys/arch/mvme68k/stand/netboot/version | 3 +-
sys/arch/netwinder/conf/files.netwinder | 20 +-
sys/arch/netwinder/conf/std.netwinder | 3 +-
sys/arch/netwinder/include/Makefile | 3 +-
sys/arch/netwinder/include/sysarch.h | 4 -
sys/arch/netwinder/netwinder/netwinder_machdep.c | 32 +-
sys/arch/news68k/news68k/locore.s | 4 +-
sys/arch/news68k/news68k/machdep.c | 36 +-
sys/arch/news68k/news68k/pmap.c | 178 +-
sys/arch/news68k/news68k/vm_machdep.c | 15 +-
sys/arch/news68k/stand/boot/version | 3 +-
sys/arch/newsmips/apbus/apbus.c | 4 +-
sys/arch/newsmips/apbus/if_sn.c | 4 +-
sys/arch/newsmips/apbus/spifi.c | 5 +-
sys/arch/newsmips/include/bus.h | 22 +-
sys/arch/newsmips/newsmips/cpu.c | 13 +-
sys/arch/next68k/include/bus_dma.h | 22 +-
sys/arch/next68k/next68k/locore.s | 4 +-
sys/arch/next68k/stand/boot/version | 3 +-
sys/arch/ofppc/ofppc/disksubr.c | 8 +-
sys/arch/ofppc/ofppc/machdep.c | 26 +-
sys/arch/ofppc/stand/ofwboot/boot.c | 12 +-
sys/arch/ofppc/stand/ofwboot/netif_of.c | 4 +-
sys/arch/ofppc/stand/ofwboot/ofdev.c | 10 +-
sys/arch/pc532/dev/scn.c | 4 +-
sys/arch/pc532/fpu/README | 4 +-
sys/arch/pc532/stand/common/devopen.c | 4 +-
sys/arch/pmax/include/bus.h | 22 +-
sys/arch/pmax/include/dec_prom.h | 4 +-
sys/arch/pmax/stand/boot/version | 3 +-
sys/arch/powerpc/fpu/fpu_emu.c | 14 +-
sys/arch/powerpc/ibm4xx/pmap.c | 20 +-
sys/arch/powerpc/ibm4xx/trap.c | 14 +-
sys/arch/powerpc/include/bus.h | 22 +-
sys/arch/powerpc/mpc6xx/pmap.c | 8 +-
sys/arch/powerpc/powerpc/db_interface.c | 10 +-
sys/arch/powerpc/powerpc/fpu.c | 4 +-
sys/arch/powerpc/powerpc/mem.c | 4 +-
sys/arch/powerpc/powerpc/ofw_machdep.c | 16 +-
sys/arch/powerpc/powerpc/pmap.c | 30 +-
sys/arch/powerpc/powerpc/powerpc_machdep.c | 6 +-
sys/arch/powerpc/powerpc/process_machdep.c | 12 +-
sys/arch/powerpc/powerpc/trap.c | 12 +-
sys/arch/powerpc/powerpc/vm_machdep.c | 10 +-
sys/arch/prep/isa/isadma_machdep.c | 17 +-
sys/arch/prep/isa/pccons.c | 30 +-
sys/arch/prep/pci/pcib.c | 4 +-
sys/arch/prep/prep/machdep.c | 31 +-
sys/arch/prep/stand/boot/version | 3 +-
sys/arch/prep/stand/boot/vga.c | 9 +-
sys/arch/sandpoint/isa/isaclock.c | 4 +-
sys/arch/sandpoint/isa/isadma_machdep.c | 17 +-
sys/arch/sandpoint/pci/pcib.c | 4 +-
sys/arch/sandpoint/sandpoint/machdep.c | 28 +-
sys/arch/sgimips/include/bus.h | 22 +-
sys/arch/sh3/include/bus.h | 20 +-
sys/arch/sh3/sh3/clock.c | 3 +-
sys/arch/sh3/sh3/pmap.c | 6 +-
sys/arch/sparc/include/bus.h | 22 +-
sys/arch/sparc/sparc/cache.c | 17 +-
sys/arch/sparc/sparc/clock.c | 7 +-
sys/arch/sparc/sparc/cpu.c | 107 +-
sys/arch/sparc/sparc/cpuvar.h | 110 +-
sys/arch/sparc/sparc/intr.c | 4 +-
sys/arch/sparc/sparc/machdep.c | 7 +-
sys/arch/sparc/sparc/pmap.c | 19 +-
sys/arch/sparc/sparc/promlib.c | 4 +-
sys/arch/sparc/sparc/vm_machdep.c | 9 +-
sys/arch/sparc/stand/boot/version | 3 +-
sys/arch/sparc/stand/ofwboot/version | 2 +-
sys/arch/sparc64/conf/GENERIC32 | 124 +-
sys/arch/sparc64/conf/Makefile.sparc64 | 4 +-
sys/arch/sparc64/conf/NONPLUS | 6 +-
sys/arch/sparc64/dev/cgsix.c | 639 ---
sys/arch/sparc64/dev/cgsix_obio.c | 232 -
sys/arch/sparc64/dev/cgsix_sbus.c | 192 -
sys/arch/sparc64/dev/cgsixreg.h | 216 -
sys/arch/sparc64/dev/cgsixvar.h | 84 -
sys/arch/sparc64/dev/com_ebus.c | 47 +-
sys/arch/sparc64/dev/ebus.c | 135 +-
sys/arch/sparc64/dev/ebusvar.h | 5 +-
sys/arch/sparc64/dev/iommu.c | 32 +-
sys/arch/sparc64/dev/iommureg.h | 21 +-
sys/arch/sparc64/dev/iommuvar.h | 4 +-
sys/arch/sparc64/dev/pci_machdep.c | 506 +-
sys/arch/sparc64/dev/psycho.c | 816 ++--
sys/arch/sparc64/dev/psychoreg.h | 8 +-
sys/arch/sparc64/dev/psychovar.h | 7 +-
sys/arch/sparc64/dev/sbus.c | 4 +-
sys/arch/sparc64/dev/simba.c | 154 -
sys/arch/sparc64/include/autoconf.h | 5 +-
sys/arch/sparc64/include/bus.h | 4 +-
sys/arch/sparc64/include/ctlreg.h | 4 +-
sys/arch/sparc64/include/openfirm.h | 6 +-
sys/arch/sparc64/include/pci_machdep.h | 23 +-
sys/arch/sparc64/include/pte.h | 10 +-
sys/arch/sparc64/sparc64/autoconf.c | 170 +-
sys/arch/sparc64/sparc64/clock.c | 267 +-
sys/arch/sparc64/sparc64/db_interface.c | 14 +-
sys/arch/sparc64/sparc64/intr.c | 14 +-
sys/arch/sparc64/sparc64/locore.s | 965 ++---
sys/arch/sparc64/sparc64/machdep.c | 11 +-
sys/arch/sparc64/sparc64/ofw_machdep.c | 212 +-
sys/arch/sparc64/sparc64/pmap.c | 253 +-
sys/arch/sparc64/sparc64/trap.c | 38 +-
sys/arch/sun2/sun2/conf.c | 16 +-
sys/arch/sun2/sun2/obio.c | 10 +-
sys/arch/sun2/sun2/procfs_machdep.c | 20 +
sys/arch/sun2/sun2/vm_machdep.c | 8 +-
sys/arch/sun3/conf/RAMDISK | 4 +-
sys/arch/sun3/conf/RAMDISK3X | 4 +-
sys/arch/sun3/dev/xd.c | 4 +-
sys/arch/sun3/dev/xy.c | 4 +-
sys/arch/sun3/stand/libsa/Makefile | 8 +-
sys/arch/sun3/stand/libsa/version | 3 +-
sys/arch/sun3/sun3/vm_machdep.c | 8 +-
sys/arch/sun3/sun3x/locore.s | 3 +-
sys/arch/sun68k/include/bus.h | 20 +-
sys/arch/sun68k/stand/libsa/version | 3 +-
sys/arch/sun68k/sun68k/bus.c | 4 +-
sys/arch/sun68k/sun68k/procfs_machdep.c | 20 -
sys/arch/vax/boot/boot/data.h | 4 +-
sys/arch/vax/boot/boot/mfm.c | 4 +-
sys/arch/vax/boot/boot/version | 3 +-
sys/arch/vax/include/ansi.h | 8 +-
sys/arch/vax/include/bus.h | 22 +-
sys/arch/vax/include/param.h | 4 +-
sys/arch/vax/uba/qv.c | 4 +-
sys/arch/vax/uba/uba_dma.c | 4 +-
sys/arch/vax/vsa/hdc9224.c | 4 +-
sys/arch/vax/vsa/hdc9224.h | 4 +-
sys/arch/walnut/dev/pckbc_mainbus.c | 4 +-
sys/arch/walnut/include/bus.h | 22 +-
sys/arch/walnut/walnut/bus_dma.c | 4 +-
sys/arch/walnut/walnut/machdep.c | 36 +-
sys/arch/x68k/include/bus.h | 22 +-
sys/arch/x68k/x68k/pmap.c | 128 +-
sys/arch/x86_64/include/bus.h | 24 +-
sys/arch/x86_64/include/cpu.h | 4 +-
sys/arch/x86_64/isa/pccons.c | 14 +-
sys/coda/coda_namecache.c | 8 +-
sys/coda/coda_psdev.c | 4 +-
sys/coda/coda_subr.c | 4 +-
sys/coda/coda_venus.c | 4 +-
sys/coda/coda_vfsops.c | 4 +-
sys/coda/coda_vnops.c | 17 +-
sys/compat/common/uipc_syscalls_43.c | 299 +-
sys/compat/freebsd/freebsd_exec_elf32.c | 10 +-
sys/compat/hpux/hpux.h | 4 +-
sys/compat/ibcs2/ibcs2_exec_elf32.c | 10 +-
sys/compat/linux/arch/alpha/linux_exec.h | 8 +-
sys/compat/linux/arch/alpha/linux_exec_alpha.c | 20 +-
sys/compat/linux/arch/i386/linux_machdep.c | 37 +-
sys/compat/linux/arch/powerpc/linux_exec.h | 10 +-
sys/compat/linux/arch/powerpc/linux_exec_powerpc.c | 36 +-
sys/compat/linux/common/linux_exec.h | 6 +-
sys/compat/linux/common/linux_exec_aout.c | 60 +-
sys/compat/linux/common/linux_exec_elf32.c | 47 +-
sys/compat/linux/common/linux_file.c | 4 +-
sys/compat/linux/common/linux_misc.c | 7 +-
sys/compat/linux/common/linux_misc.h | 3 +-
sys/compat/linux/common/linux_socketcall.c | 4 +-
sys/compat/linux/common/linux_uselib.c | 4 +-
sys/compat/mach/Makefile | 11 +
sys/compat/mach/files.mach | 12 +
sys/compat/mach/mach_exec.c | 148 +
sys/compat/mach/mach_exec.h | 47 +
sys/compat/mach/mach_message.h | 74 +
sys/compat/mach/mach_misc.c | 405 ++
sys/compat/mach/mach_syscall.h | 101 +
sys/compat/mach/mach_syscallargs.h | 187 +
sys/compat/mach/mach_syscalls.c | 155 +
sys/compat/mach/mach_sysent.c | 284 +
sys/compat/mach/mach_types.h | 64 +
sys/compat/mach/syscalls.conf | 13 +
sys/compat/mach/syscalls.master | 233 +
sys/compat/netbsd32/netbsd32_exec.h | 54 +-
sys/compat/netbsd32/netbsd32_exec_elf32.c | 22 +-
sys/compat/netbsd32/netbsd32_execve.c | 11 +-
sys/compat/netbsd32/netbsd32_socket.c | 52 +-
sys/compat/osf1/osf1_exec.h | 5 +-
sys/compat/osf1/osf1_exec_ecoff.c | 39 +-
sys/compat/osf1/osf1_misc.c | 4 +-
sys/compat/pecoff/pecoff_exec.c | 72 +-
sys/compat/pecoff/pecoff_exec.h | 6 +-
sys/compat/svr4/svr4_exec.h | 10 +-
sys/compat/svr4/svr4_exec_elf32.c | 18 +-
sys/compat/svr4/svr4_exec_elf64.c | 18 +-
sys/compat/svr4_32/svr4_32_exec.h | 6 +-
sys/compat/svr4_32/svr4_32_exec_elf32.c | 46 +-
sys/conf/files | 6 +-
sys/conf/osrelease.sh | 4 +-
sys/crypto/rijndael/rijndael-api-fst.c | 34 +-
sys/ddb/db_command.c | 3 +-
sys/ddb/db_elf.c | 40 +-
sys/ddb/db_interface.h | 5 +-
sys/ddb/db_xxx.c | 41 +-
sys/dev/DEVNAMES | 8 +-
sys/dev/bi/if_ni.c | 12 +-
sys/dev/bi/kdb.c | 4 +-
sys/dev/cardbus/cardbusvar.h | 4 +-
sys/dev/cardbus/if_ex_cardbus.c | 8 +-
sys/dev/cardbus/if_tlp_cardbus.c | 10 +-
sys/dev/cardbus/rbus.c | 4 +-
sys/dev/hpc/bivideo.c | 10 +-
sys/dev/hpc/hpcbatterytable.h | 217 +
sys/dev/hpc/hpcbatteryvar.h | 121 +
sys/dev/hpc/hpcfb.c | 229 +-
sys/dev/hpc/hpcfbio.h | 33 +-
sys/dev/hpc/pwctl.c | 20 +-
sys/dev/ic/adv.c | 10 +-
sys/dev/ic/adw.c | 12 +-
sys/dev/ic/aha.c | 10 +-
sys/dev/ic/aic6915.c | 12 +-
sys/dev/ic/aic7xxx.c | 6 +-
sys/dev/ic/an.c | 22 +-
sys/dev/ic/awi.c | 4 +-
sys/dev/ic/awi_wep.c | 5 +-
sys/dev/ic/bha.c | 10 +-
sys/dev/ic/cac.c | 5 +-
sys/dev/ic/clmpcc.c | 4 +-
sys/dev/ic/dp83932.c | 12 +-
sys/dev/ic/dpt.c | 5 +-
sys/dev/ic/elink3.c | 45 +-
sys/dev/ic/elink3reg.h | 58 +-
sys/dev/ic/elink3var.h | 54 +-
sys/dev/ic/elinkxl.c | 7 +-
sys/dev/ic/elinkxlreg.h | 4 +-
sys/dev/ic/i82557.c | 9 +-
sys/dev/ic/iha.c | 841 ++--
sys/dev/ic/ihareg.h | 12 +-
sys/dev/ic/ihavar.h | 13 +-
sys/dev/ic/ispvar.h | 4 +-
sys/dev/ic/mlx.c | 52 +-
sys/dev/ic/mlxreg.h | 4 +-
sys/dev/ic/mlxvar.h | 3 +-
sys/dev/ic/ncr53c9x.c | 2962 +++++++++++++++++
sys/dev/ic/osiop.c | 6 +-
sys/dev/ic/pckbc.c | 86 +-
sys/dev/ic/pckbcvar.h | 5 +-
sys/dev/ic/pdq_ifsubr.c | 8 +-
sys/dev/ic/rrunner.c | 15 +-
sys/dev/ic/rtl81x9.c | 31 +-
sys/dev/ic/rtl81x9var.h | 9 +-
sys/dev/ic/sgec.c | 7 +-
sys/dev/ic/siop.c | 6 +-
sys/dev/ic/smc83c170.c | 12 +-
sys/dev/ic/sunscpal.c | 10 +-
sys/dev/ic/sunscpalreg.h | 4 +-
sys/dev/ic/tulip.c | 12 +-
sys/dev/ic/uha.c | 10 +-
sys/dev/ic/wi.c | 5 +-
sys/dev/ieee1394/fwohci.c | 394 ++-
sys/dev/ieee1394/fwohcivar.h | 22 +-
sys/dev/ieee1394/ieee1394reg.h | 3 +-
sys/dev/ieee1394/ieee1394var.h | 4 +-
sys/dev/isa/cs89x0.c | 19 +-
sys/dev/isa/ega.c | 4 +-
sys/dev/isa/files.isa | 4 +-
sys/dev/isa/gus.c | 6 +-
sys/dev/isa/if_ai.c | 4 +-
sys/dev/isa/if_ate.c | 4 +-
sys/dev/isa/if_eg.c | 18 +-
sys/dev/isa/if_el.c | 6 +-
sys/dev/isa/if_hp.c | 15 +-
sys/dev/isa/if_iy.c | 8 +-
sys/dev/isa/isadma.c | 5 +-
sys/dev/isa/isic_isa.c | 6 +-
sys/dev/isa/mcd.c | 6 +-
sys/dev/isa/pas.c | 4 +-
sys/dev/isa/pckbc_isa.c | 15 +-
sys/dev/isa/pss.c | 6 +-
sys/dev/isa/satlink.c | 6 +-
sys/dev/isa/sb_isa.c | 4 +-
sys/dev/isa/seagate.c | 6 +-
sys/dev/isa/wds.c | 20 +-
sys/dev/isa/wss_isa.c | 4 +-
sys/dev/isa/wt.c | 8 +-
sys/dev/isapnp/if_ep_isapnp.c | 13 +-
sys/dev/isapnp/isapnpdevs | 3 +-
sys/dev/isapnp/isapnpdevs.c | 7 +-
sys/dev/isapnp/isapnpdevs.h | 4 +-
sys/dev/ld.c | 6 +-
sys/dev/mca/TODO | 8 +-
sys/dev/mii/bmtphy.c | 6 +-
sys/dev/mii/files.mii | 14 +-
sys/dev/mii/gentbi.c | 292 +
sys/dev/mii/glxtphy.c | 287 +
sys/dev/mii/glxtphyreg.h | 114 +
sys/dev/mii/makphy.c | 288 +
sys/dev/mii/makphyreg.h | 113 +
sys/dev/mii/mii.h | 17 +-
sys/dev/mii/mii_physubr.c | 58 +-
sys/dev/mii/miidevs | 26 +-
sys/dev/mii/miidevs.h | 35 +-
sys/dev/mii/miidevs_data.h | 11 +-
sys/dev/mii/miivar.h | 4 +-
sys/dev/pci/Makefile | 4 +-
sys/dev/pci/eso.c | 12 +-
sys/dev/pci/files.pci | 14 +-
sys/dev/pci/if_lmc.c | 31 +-
sys/dev/pci/if_lmc_media.c | 117 +-
sys/dev/pci/if_lmc_nbsd.c | 4 +-
sys/dev/pci/if_rtk_pci.c | 4 +-
sys/dev/pci/if_sip.c | 16 +-
sys/dev/pci/if_ste.c | 15 +-
sys/dev/pci/if_stge.c | 1969 +++++++++++
sys/dev/pci/if_stgereg.h | 458 ++
sys/dev/pci/if_ti.c | 12 +-
sys/dev/pci/if_vr.c | 12 +-
sys/dev/pci/isp_pci.c | 5 +-
sys/dev/pci/mlx_pci.c | 17 +-
sys/dev/pci/mly.c | 2451 ++++++++++++++
sys/dev/pci/mly_tables.h | 375 ++
sys/dev/pci/mlyio.h | 111 +
sys/dev/pci/mlyreg.h | 1313 +++++++
sys/dev/pci/mlyvar.h | 345 +
sys/dev/pci/pci.c | 7 +-
sys/dev/pci/pcidevs | 10 +-
sys/dev/pci/pcidevs.h | 12 +-
sys/dev/pci/pcidevs_data.h | 40 +-
sys/dev/pci/pciide.c | 67 +-
sys/dev/pci/pciide_acer_reg.h | 24 +-
sys/dev/pci/pciide_hpt_reg.h | 3 +-
sys/dev/pci/pcscp.c | 6 +-
sys/dev/pci/sv.c | 12 +-
sys/dev/pci/tga.c | 104 +-
sys/dev/pci/tgavar.h | 4 +-
sys/dev/pci/twe.c | 6 +-
sys/dev/pcmcia/if_ne_pcmcia.c | 7 +-
sys/dev/pcmcia/if_ray.c | 6 +-
sys/dev/pcmcia/if_wi_pcmcia.c | 3 +-
sys/dev/pcmcia/pcmciadevs | 3 +-
sys/dev/pcmcia/pcmciadevs.h | 7 +-
sys/dev/pcmcia/pcmciadevs_data.h | 11 +-
sys/dev/raidframe/rf_alloclist.c | 4 +-
sys/dev/raidframe/rf_cvscan.c | 4 +-
sys/dev/raidframe/rf_dagutils.c | 4 +-
sys/dev/raidframe/rf_debugMem.h | 4 +-
sys/dev/raidframe/rf_driver.c | 26 +-
sys/dev/raidframe/rf_driver.h | 14 +-
sys/dev/raidframe/rf_etimer.h | 4 +-
sys/dev/raidframe/rf_evenodd.c | 8 +-
sys/dev/raidframe/rf_evenodd_dagfuncs.c | 25 +-
sys/dev/raidframe/rf_freelist.h | 4 +-
sys/dev/raidframe/rf_general.h | 6 +-
sys/dev/raidframe/rf_map.c | 20 +-
sys/dev/raidframe/rf_memchunk.c | 4 +-
sys/dev/raidframe/rf_netbsdkintf.c | 32 +-
sys/dev/raidframe/rf_paritylogDiskMgr.c | 10 +-
sys/dev/raidframe/rf_parityscan.c | 6 +-
sys/dev/raidframe/rf_pq.c | 4 +-
sys/dev/raidframe/rf_pqdegdags.c | 4 +-
sys/dev/raidframe/rf_psstatus.c | 4 +-
sys/dev/raidframe/rf_raid1.c | 8 +-
sys/dev/raidframe/rf_reconmap.c | 7 +-
sys/dev/raidframe/rf_reconstruct.c | 5 +-
sys/dev/raidframe/rf_utils.c | 6 +-
sys/dev/scsipi/cd.c | 24 +-
sys/dev/scsipi/cd_atapi.c | 4 +-
sys/dev/scsipi/ch.c | 22 +-
sys/dev/scsipi/if_se.c | 16 +-
sys/dev/scsipi/scsi_base.c | 4 +-
sys/dev/scsipi/scsiconf.c | 31 +-
sys/dev/scsipi/scsipi_base.c | 180 +-
sys/dev/scsipi/scsipi_base.h | 4 +-
sys/dev/scsipi/scsipi_ioctl.c | 6 +-
sys/dev/scsipi/scsipiconf.c | 8 +-
sys/dev/scsipi/scsipiconf.h | 11 +-
sys/dev/scsipi/sd.c | 18 +-
sys/dev/scsipi/sd_atapi.c | 4 +-
sys/dev/scsipi/sd_scsi.c | 6 +-
sys/dev/scsipi/ses.c | 8 +-
sys/dev/scsipi/ss.c | 4 +-
sys/dev/scsipi/ss_mustek.c | 24 +-
sys/dev/scsipi/ss_scanjet.c | 18 +-
sys/dev/scsipi/st.c | 26 +-
sys/dev/scsipi/st_scsi.c | 12 +-
sys/dev/tc/asc_tcds.c | 6 +-
sys/dev/tc/bba.c | 6 +-
sys/dev/usb/ezload.c | 9 +-
sys/dev/usb/if_aue.c | 101 +-
sys/dev/usb/if_auereg.h | 7 +-
sys/dev/usb/if_kue.c | 22 +-
sys/dev/usb/uhci.c | 12 +-
sys/dev/usb/uplcom.c | 52 +-
sys/dev/usb/usb.h | 3 +-
sys/dev/usb/usbdevs | 48 +-
sys/dev/usb/usbdevs.h | 50 +-
sys/dev/usb/usbdevs_data.h | 210 +-
sys/dev/usb/uyap.c | 6 +-
sys/dev/vme/xd.c | 4 +-
sys/dev/vme/xy.c | 4 +-
sys/isofs/cd9660/TODO.hibler | 4 +-
sys/isofs/cd9660/cd9660_vnops.c | 4 +-
sys/kern/exec_conf.c | 18 +-
sys/kern/exec_elf32.c | 90 +-
sys/kern/exec_macho.c | 589 +++
sys/kern/exec_subr.c | 26 +-
sys/kern/init_main.c | 25 +-
sys/kern/init_sysent.c | 2 +-
sys/kern/kern_descrip.c | 5 +-
sys/kern/kern_exec.c | 93 +-
sys/kern/kern_exit.c | 7 +-
sys/kern/kern_physio.c | 4 +-
sys/kern/kern_sig.c | 5 +-
sys/kern/kern_sysctl.c | 17 +-
sys/kern/subr_prf.c | 6 +-
sys/kern/subr_userconf.c | 6 +-
sys/kern/sys_pipe.c | 66 +-
sys/kern/sys_process.c | 6 +-
sys/kern/syscalls.c | 2 +-
sys/kern/tty_conf.c | 4 +-
sys/kern/uipc_mbuf.c | 10 +-
sys/kern/uipc_mbuf2.c | 6 +-
sys/kern/uipc_socket2.c | 14 +-
sys/kern/uipc_syscalls.c | 79 +-
sys/kern/vfs_syscalls.c | 11 +-
sys/kern/vnode_if.src | 14 +-
sys/lib/libkern/arch/alpha/Makefile.inc | 4 +-
sys/lib/libsa/bootp.c | 4 +-
sys/lib/libsa/loadfile.c | 57 +-
sys/lkm/exec/svr4_elf/Makefile | 12 +-
sys/lkm/exec/svr4_elf/lkminit_exec.c | 12 +-
sys/lkm/netinet/if_ipl/mln_ipl.c | 3 +-
sys/miscfs/genfs/layer_vnops.c | 7 +-
sys/miscfs/nullfs/null_vfsops.c | 7 +-
sys/miscfs/umapfs/umap_vfsops.c | 6 +-
sys/miscfs/union/union_vfsops.c | 6 +-
sys/miscfs/union/union_vnops.c | 17 +-
sys/msdosfs/bootsect.h | 4 +-
sys/msdosfs/msdosfs_vnops.c | 20 +-
sys/net/bsd-comp.c | 4 +-
sys/net/if.c | 90 +-
sys/net/if_atmsubr.c | 4 +-
sys/net/if_ethersubr.c | 9 +-
sys/net/if_faith.c | 6 +-
sys/net/if_fddisubr.c | 8 +-
sys/net/if_gif.c | 318 +-
sys/net/if_gif.h | 14 +-
sys/net/if_hippisubr.c | 4 +-
sys/net/if_ppp.c | 8 +-
sys/net/if_sl.c | 3 +-
sys/net/if_spppsubr.c | 43 +-
sys/net/if_stf.c | 10 +-
sys/net/if_tun.c | 7 +-
sys/net/pfkeyv2.h | 6 +-
sys/net/ppp-deflate.c | 6 +-
sys/net/ppp_tty.c | 4 +-
sys/net/route.c | 38 +-
sys/net/rtsock.c | 35 +-
sys/net/slcompress.c | 10 +-
sys/netinet/igmp.c | 5 +-
sys/netinet/in.c | 156 +-
sys/netinet/in_gif.c | 142 +-
sys/netinet/in_gif.h | 7 +-
sys/netinet/in_pcb.c | 12 +-
sys/netinet/ip_mroute.c | 4 +-
sys/netinet/raw_ip.c | 9 +-
sys/netinet/tcp_output.c | 125 +-
sys/netinet/tcp_subr.c | 13 +-
sys/netinet/tcp_usrreq.c | 22 +-
sys/netinet/tcp_var.h | 4 +-
sys/netinet/udp_usrreq.c | 98 +-
sys/netinet6/in6.c | 58 +-
sys/netinet6/in6.h | 8 +-
sys/netinet6/in6_gif.c | 132 +-
sys/netinet6/in6_gif.h | 9 +-
sys/netinet6/in6_ifattach.c | 7 +-
sys/netinet6/in6_pcb.c | 12 +-
sys/netinet6/in6_var.h | 3 +-
sys/netinet6/ip6_forward.c | 20 +-
sys/netinet6/ip6_mroute.c | 13 +-
sys/netinet6/nd6.c | 16 +-
sys/netinet6/raw_ip6.c | 18 +-
sys/netinet6/udp6_usrreq.c | 9 +-
sys/netkey/key.c | 53 +-
sys/netkey/key_debug.c | 8 +-
sys/netkey/key_var.h | 16 +-
sys/netkey/keysock.c | 10 +-
sys/nfs/nfs_serv.c | 39 +-
sys/nfs/nfs_vfsops.c | 4 +-
sys/nfs/nfs_vnops.c | 31 +-
sys/ntfs/ntfs_vnops.c | 6 +-
sys/sys/exec.h | 13 +-
sys/sys/exec_elf.h | 14 +-
sys/sys/exec_macho.h | 252 +
sys/sys/mbuf.h | 365 +-
sys/sys/param.h | 4 +-
sys/sys/pipe.h | 2 +-
sys/sys/scsiio.h | 8 +-
sys/sys/socket.h | 6 +-
sys/sys/stdint.h | 22 +-
sys/sys/sysctl.h | 8 +-
sys/sys/userconf.h | 6 +-
sys/sys/wait.h | 14 +-
sys/ufs/ext2fs/ext2fs_vnops.c | 15 +-
sys/ufs/ffs/ffs_vfsops.c | 4 +-
sys/ufs/ffs/fs.h | 15 +-
sys/ufs/lfs/TODO | 44 +-
sys/ufs/lfs/lfs.h | 304 +-
sys/ufs/lfs/lfs_alloc.c | 173 +-
sys/ufs/lfs/lfs_balloc.c | 36 +-
sys/ufs/lfs/lfs_bio.c | 81 +-
sys/ufs/lfs/lfs_cksum.c | 9 +-
sys/ufs/lfs/lfs_debug.c | 28 +-
sys/ufs/lfs/lfs_extern.h | 185 +-
sys/ufs/lfs/lfs_inode.c | 82 +-
sys/ufs/lfs/lfs_segment.c | 413 +-
sys/ufs/lfs/lfs_subr.c | 18 +-
sys/ufs/lfs/lfs_syscalls.c | 343 +-
sys/ufs/lfs/lfs_vfsops.c | 495 +-
sys/ufs/lfs/lfs_vnops.c | 87 +-
sys/ufs/ufs/dinode.h | 7 +-
sys/ufs/ufs/ufs_bswap.h | 4 +-
sys/ufs/ufs/ufs_readwrite.c | 6 +-
sys/ufs/ufs/ufs_vnops.c | 17 +-
sys/uvm/uvm_amap.c | 4 +-
sys/uvm/uvm_bio.c | 4 +-
sys/uvm/uvm_map.c | 6 +-
sys/uvm/uvm_meter.c | 8 +-
sys/uvm/uvm_page.h | 4 +-
sys/uvm/uvm_param.h | 8 +-
989 files changed, 42509 insertions(+), 21729 deletions(-)
diffs (truncated from 95296 to 300 lines):
diff -r 0930757b1fb2 -r efe7b733749d sys/arch/algor/algor/bus_dma.c
--- a/sys/arch/algor/algor/bus_dma.c Tue Jul 10 14:20:36 2001 +0000
+++ b/sys/arch/algor/algor/bus_dma.c Fri Aug 03 04:10:36 2001 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: bus_dma.c,v 1.2 2001/06/01 19:52:54 thorpej Exp $ */
+/* $NetBSD: bus_dma.c,v 1.2.2.1 2001/08/03 04:10:36 lukem Exp $ */
/*-
* Copyright (c) 1997, 1998, 2001 The NetBSD Foundation, Inc.
@@ -39,7 +39,7 @@
#include <sys/cdefs.h> /* RCS ID & Copyright macro defns */
-__KERNEL_RCSID(0, "$NetBSD: bus_dma.c,v 1.2 2001/06/01 19:52:54 thorpej Exp $");
+__KERNEL_RCSID(0, "$NetBSD: bus_dma.c,v 1.2.2.1 2001/08/03 04:10:36 lukem Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -86,7 +86,7 @@
(flags & BUS_DMA_NOWAIT) ? M_NOWAIT : M_WAITOK)) == NULL)
return (ENOMEM);
- bzero(mapstore, mapsize);
+ memset(mapstore, 0, mapsize);
map = (struct algor_bus_dmamap *)mapstore;
map->_dm_size = size;
map->_dm_segcnt = nsegments;
diff -r 0930757b1fb2 -r efe7b733749d sys/arch/algor/include/bus.h
--- a/sys/arch/algor/include/bus.h Tue Jul 10 14:20:36 2001 +0000
+++ b/sys/arch/algor/include/bus.h Fri Aug 03 04:10:36 2001 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: bus.h,v 1.2 2001/05/31 02:20:55 enami Exp $ */
+/* $NetBSD: bus.h,v 1.2.2.1 2001/08/03 04:10:37 lukem Exp $ */
/*-
* Copyright (c) 1997, 1998, 2000, 2001 The NetBSD Foundation, Inc.
@@ -487,15 +487,17 @@
/*
* Flags used in various bus DMA methods.
*/
-#define BUS_DMA_WAITOK 0x00 /* safe to sleep (pseudo-flag) */
-#define BUS_DMA_NOWAIT 0x01 /* not safe to sleep */
-#define BUS_DMA_ALLOCNOW 0x02 /* perform resource allocation now */
-#define BUS_DMA_COHERENT 0x04 /* hint: map memory DMA coherent */
-#define BUS_DMA_STREAMING 0x08 /* hint: sequential, unidirectional */
-#define BUS_DMA_BUS1 0x10 /* placeholders for bus functions... */
-#define BUS_DMA_BUS2 0x20
-#define BUS_DMA_BUS3 0x40
-#define BUS_DMA_BUS4 0x80
+#define BUS_DMA_WAITOK 0x000 /* safe to sleep (pseudo-flag) */
+#define BUS_DMA_NOWAIT 0x001 /* not safe to sleep */
+#define BUS_DMA_ALLOCNOW 0x002 /* perform resource allocation now */
+#define BUS_DMA_COHERENT 0x004 /* hint: map memory DMA coherent */
+#define BUS_DMA_STREAMING 0x008 /* hint: sequential, unidirectional */
+#define BUS_DMA_BUS1 0x010 /* placeholders for bus functions... */
+#define BUS_DMA_BUS2 0x020
+#define BUS_DMA_BUS3 0x040
+#define BUS_DMA_BUS4 0x080
+#define BUS_DMA_READ 0x100 /* mapping is device -> memory only */
+#define BUS_DMA_WRITE 0x200 /* mapping is memory -> device only */
/*
* Private flags stored in the DMA map.
diff -r 0930757b1fb2 -r efe7b733749d sys/arch/alpha/STYLE
--- a/sys/arch/alpha/STYLE Tue Jul 10 14:20:36 2001 +0000
+++ b/sys/arch/alpha/STYLE Fri Aug 03 04:10:36 2001 +0000
@@ -1,4 +1,4 @@
-$NetBSD: STYLE,v 1.4 1997/09/02 13:42:49 thorpej Exp $
+$NetBSD: STYLE,v 1.4.32.1 2001/08/03 04:10:37 lukem Exp $
Style guide for NetBSD/alpha kernel files.
@@ -35,19 +35,19 @@
RCS IDS
-(1) NetBSD RCS ID tags ($NetBSD: STYLE,v 1.4 1997/09/02 13:42:49 thorpej Exp $ tags) in C sources and headers should
+(1) NetBSD RCS ID tags ($NetBSD: STYLE,v 1.4.32.1 2001/08/03 04:10:37 lukem Exp $ tags) in C sources and headers should
appear at the top of the file in a single-line comment of the form
-/*<space>$NetBSD: STYLE,v 1.4 1997/09/02 13:42:49 thorpej Exp $<space>*/
+/*<space>$NetBSD: STYLE,v 1.4.32.1 2001/08/03 04:10:37 lukem Exp $<space>*/
which differs from the normal NetBSD style, in that it uses spaces
-rather than tabs to seperate the tag from the comment start and end
+rather than tabs to separate the tag from the comment start and end
delimiters.
(2) All C and assembler sources should include an RCS ID tag which can
be compiled into the binary, with a line like:
-__KERNEL_RCSID(0, "$NetBSD: STYLE,v 1.4 1997/09/02 13:42:49 thorpej Exp $");
+__KERNEL_RCSID(0, "$NetBSD: STYLE,v 1.4.32.1 2001/08/03 04:10:37 lukem Exp $");
after the inclusion of cdefs.h. Source files which include other source
files should change the number '0' to a different number, so that it
diff -r 0930757b1fb2 -r efe7b733749d sys/arch/alpha/a12/if_ade.c
--- a/sys/arch/alpha/a12/if_ade.c Tue Jul 10 14:20:36 2001 +0000
+++ b/sys/arch/alpha/a12/if_ade.c Fri Aug 03 04:10:36 2001 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: if_ade.c,v 1.9 2001/06/13 10:46:00 wiz Exp $ */
+/* $NetBSD: if_ade.c,v 1.9.2.1 2001/08/03 04:10:37 lukem Exp $ */
/*
* NOTE: this version of if_de was modified for bounce buffers prior
@@ -267,7 +267,7 @@
*/
if(offset)
bounce[0] = dst[0];
- bcopy(src,(int8_t *)bounce+offset,t);
+ memcpy((int8_t *)bounce+offset,src,t);
for(i=llw; i>=0; --i) { /* reverse so d_status is last */
alpha_mb();
dst[i] = bounce[i];
@@ -292,7 +292,7 @@
alpha_wmb();
}
-#define BEGIN(p) do { tulip_desc_t t; bcopy((p),&t,sizeof(t))
+#define BEGIN(p) do { tulip_desc_t t; memcpy(&t,(p),sizeof(t))
#define END(p) a12r2pb(&t,(p),sizeof(t)); } while(0)
static void setstatus(tulip_desc_t *t, u_int32_t val) {
@@ -374,8 +374,8 @@
/*
* Construct a LLC TEST message which will point to ourselves.
*/
- bcopy(sc->tulip_enaddr, mtod(m, struct ether_header *)->ether_dhost, 6);
- bcopy(sc->tulip_enaddr, mtod(m, struct ether_header *)->ether_shost, 6);
+ memcpy(mtod(m, struct ether_header *)->ether_dhost, sc->tulip_enaddr, 6);
+ memcpy(mtod(m, struct ether_header *)->ether_shost, sc->tulip_enaddr, 6);
mtod(m, struct ether_header *)->ether_type = htons(3);
mtod(m, unsigned char *)[14] = 0;
mtod(m, unsigned char *)[15] = 0;
@@ -2132,9 +2132,9 @@
#define D0 4
if (sc->tulip_chipid <= TULIP_DE425)
return;
- if (bcmp(sc->tulip_rombuf + 29, "DE500", 5) == 0
- || bcmp(sc->tulip_rombuf + 29, "DE450", 5) == 0) {
- bcopy(sc->tulip_rombuf + 29, &sc->tulip_boardid[D0], 8);
+ if (memcmp(sc->tulip_rombuf + 29, "DE500", 5) == 0
+ || memcmp(sc->tulip_rombuf + 29, "DE450", 5) == 0) {
+ memcpy(&sc->tulip_boardid[D0], sc->tulip_rombuf + 29, 8);
sc->tulip_boardid[D0+8] = ' ';
}
#undef D0
@@ -2382,7 +2382,7 @@
/*
* Save the hardware address.
*/
- bcopy((caddr_t) shp->sh_ieee802_address, (caddr_t) sc->tulip_enaddr, 6);
+ memcpy((caddr_t) sc->tulip_enaddr, (caddr_t) shp->sh_ieee802_address, 6);
/*
* If this is a multiple port card, add the adapter index to the last
* byte of the hardware address. (if it isn't multiport, adding 0
@@ -2792,18 +2792,18 @@
}
- if (bcmp(&sc->tulip_rombuf[0], &sc->tulip_rombuf[16], 8) != 0) {
+ if (memcmp(&sc->tulip_rombuf[0], &sc->tulip_rombuf[16], 8) != 0) {
/*
* Detect early Avalon 100-TX PMC cards with magic number followed
* by hw addr. These should all have been upgraded by now. It's an
* electronic eeprom write-in-place, so there's no excuse not to...
*/
- if (bcmp("AC5E", sc->tulip_rombuf, 4) == 0) {
+ if (memcmp("AC5E", sc->tulip_rombuf, 4) == 0) {
panic("PMC2TTX: old format Avalon srom, reprogram hw addr");
#if 0
printf("ade%d: Warning: reinit srom! Old Avalon format!",
cf->cf_unit);
- bcopy(sc->tulip_rombuf + 4, sc->tulip_enaddr, 6);
+ memcpy(sc->tulip_enaddr, sc->tulip_rombuf + 4, 6);
sc->tulip_flags |= TULIP_ROMOK;
goto check_oui;
#endif
@@ -2828,7 +2828,7 @@
if (sc->tulip_rombuf[0] == 0 && sc->tulip_rombuf[1] == 0
&& sc->tulip_rombuf[2] == 0)
return -4;
- bcopy(sc->tulip_rombuf, sc->tulip_enaddr, 6);
+ memcpy(sc->tulip_enaddr, sc->tulip_rombuf, 6);
sc->tulip_flags |= TULIP_ROMOK;
goto check_oui;
} else {
@@ -2862,12 +2862,12 @@
sc->tulip_boardsw = root_sc->tulip_boardsw;
strcpy(sc->tulip_boardid, root_sc->tulip_boardid);
if (sc->tulip_boardsw->bd_type == TULIP_21140_ISV) {
- bcopy(root_sc->tulip_rombuf, sc->tulip_rombuf,
+ memcpy(sc->tulip_rombuf, root_sc->tulip_rombuf,
sizeof(sc->tulip_rombuf));
if (!tulip_srom_decode(sc))
return -5;
} else {
- bcopy(root_sc->tulip_enaddr, sc->tulip_enaddr, 6);
+ memcpy(sc->tulip_enaddr, root_sc->tulip_enaddr, 6);
sc->tulip_enaddr[5] += sc->tulip_unit - root_sc->tulip_unit;
}
/*
@@ -2891,17 +2891,17 @@
* This is the standard DEC address ROM test.
*/
- if (bcmp(&sc->tulip_rombuf[24], testpat, 8) != 0)
+ if (memcmp(&sc->tulip_rombuf[24], testpat, 8) != 0)
return -3;
tmpbuf[0] = sc->tulip_rombuf[15]; tmpbuf[1] = sc->tulip_rombuf[14];
tmpbuf[2] = sc->tulip_rombuf[13]; tmpbuf[3] = sc->tulip_rombuf[12];
tmpbuf[4] = sc->tulip_rombuf[11]; tmpbuf[5] = sc->tulip_rombuf[10];
tmpbuf[6] = sc->tulip_rombuf[9]; tmpbuf[7] = sc->tulip_rombuf[8];
- if (bcmp(&sc->tulip_rombuf[0], tmpbuf, 8) != 0)
+ if (memcmp(&sc->tulip_rombuf[0], tmpbuf, 8) != 0)
return -2;
- bcopy(sc->tulip_rombuf, sc->tulip_enaddr, 6);
+ memcpy(sc->tulip_enaddr, sc->tulip_rombuf, 6);
cksum = *(u_int16_t *) &sc->tulip_enaddr[0];
cksum *= 2;
@@ -2923,7 +2923,7 @@
* Check for various boards based on OUI. Did I say braindead?
*/
for (idx = 0; tulip_vendors[idx].vendor_identify_nic != NULL; idx++) {
- if (bcmp((caddr_t) sc->tulip_enaddr,
+ if (memcmp((caddr_t) sc->tulip_enaddr,
(caddr_t) tulip_vendors[idx].vendor_oui, 3) == 0) {
(*tulip_vendors[idx].vendor_identify_nic)(sc);
break;
@@ -3046,10 +3046,10 @@
* go into hash perfect mode (512 bit multicast
* hash and one perfect hardware).
*/
- bzero(sc->tulip_setupdata, sizeof(sc->tulip_setupdata));
+ memset(sc->tulip_setupdata, 0, sizeof(sc->tulip_setupdata));
ETHER_FIRST_MULTI(step, TULIP_ETHERCOM(sc), enm);
while (enm != NULL) {
- if (bcmp(enm->enm_addrlo, enm->enm_addrhi, 6) == 0) {
+ if (memcmp(enm->enm_addrlo, enm->enm_addrhi, 6) == 0) {
hash = tulip_mchash(enm->enm_addrlo);
sp[hash >> 4] |= 1 << (hash & 0xF);
} else {
@@ -3081,7 +3081,7 @@
*/
ETHER_FIRST_MULTI(step, TULIP_ETHERCOM(sc), enm);
for (; enm != NULL; idx++) {
- if (bcmp(enm->enm_addrlo, enm->enm_addrhi, 6) == 0) {
+ if (memcmp(enm->enm_addrlo, enm->enm_addrhi, 6) == 0) {
*sp++ = ((u_int16_t *) enm->enm_addrlo)[0];
*sp++ = ((u_int16_t *) enm->enm_addrlo)[1];
*sp++ = ((u_int16_t *) enm->enm_addrlo)[2];
@@ -3958,9 +3958,9 @@
ina->x_host = *(union ns_host *)(sc->tulip_enaddr);
} else {
ifp->if_flags &= ~IFF_RUNNING;
- bcopy((caddr_t)ina->x_host.c_host,
- (caddr_t)sc->tulip_enaddr,
- sizeof(sc->tulip_enaddr));
+ memcpy((caddr_t)sc->tulip_enaddr,
+ (caddr_t)ina->x_host.c_host,
+ sizeof(sc->tulip_enaddr));
}
tulip_init(sc);
break;
@@ -3975,9 +3975,8 @@
break;
}
case SIOCGIFADDR: {
- bcopy((caddr_t) sc->tulip_enaddr,
- (caddr_t) ((struct sockaddr *)&ifr->ifr_data)->sa_data,
- 6);
+ memcpy((caddr_t) ((struct sockaddr *)&ifr->ifr_data)->sa_data,
+ (caddr_t) sc->tulip_enaddr, 6);
break;
}
@@ -4102,7 +4101,7 @@
ifp->if_flags |= IFF_OACTIVE;
return;
}
- bcopy(sc->tulip_setupdata, sc->tulip_setupbuf,
+ memcpy(sc->tulip_setupbuf, sc->tulip_setupdata,
sizeof(sc->tulip_setupdata));
sc->tulip_flags &= ~TULIP_WANTSETUP;
sc->tulip_flags |= TULIP_DOINGSETUP;
@@ -4610,11 +4609,11 @@
ri->ri_max = ndescs;
(void)lcl_dma_ram_next(16); /* superstitiously avoid the origin */
ri->ri_first = (tulip_desc_t *)lcl_dma_ram_next(dsize);
- bzero(ri->ri_first, dsize);
+ memset(ri->ri_first, 0, dsize);
for(i=0; i<ndescs; ++i) {
kvalist[i] = lcl_dma_ram_next(TULIP_XX_BUFLEN);
BEGIN(ri->ri_first+i);
- bzero(&t, sizeof(t));
+ memset(&t, 0, sizeof(t));
t.d_addr1 = a12map(TULIP_KVATOPHYS(sc,kvalist[i]));
Home |
Main Index |
Thread Index |
Old Index