CVS commit: [netbsd-5-1] src

2012-02-02 Thread Soren Jacobsen
Module Name:src
Committed By:   snj
Date:   Thu Feb  2 08:23:04 UTC 2012

Modified Files:
src/distrib/notes/common [netbsd-5-1]: main xfer
src/doc [netbsd-5-1]: CHANGES-5.1.2 LAST_MINUTE README.files
src/gnu/usr.bin/groff/tmac [netbsd-5-1]: mdoc.local
src/sys/sys [netbsd-5-1]: param.h

Log Message:
Welcome to 5.1.2!


To generate a diff of this commit:
cvs rdiff -u -r1.425.2.14.2.1 -r1.425.2.14.2.2 src/distrib/notes/common/main
cvs rdiff -u -r1.63.2.2.2.1 -r1.63.2.2.2.2 src/distrib/notes/common/xfer
cvs rdiff -u -r1.1.2.3 -r1.1.2.4 src/doc/CHANGES-5.1.2
cvs rdiff -u -r1.2.30.2.2.1 -r1.2.30.2.2.2 src/doc/LAST_MINUTE
cvs rdiff -u -r1.4.10.3.2.1 -r1.4.10.3.2.2 src/doc/README.files
cvs rdiff -u -r1.43.4.15.2.3 -r1.43.4.15.2.4 \
src/gnu/usr.bin/groff/tmac/mdoc.local
cvs rdiff -u -r1.330.4.15.2.3 -r1.330.4.15.2.4 src/sys/sys/param.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/arch/usermode/include

2012-02-02 Thread Reinoud Zandijk
Module Name:src
Committed By:   reinoud
Date:   Thu Feb  2 11:10:24 UTC 2012

Modified Files:
src/sys/arch/usermode/include: genheaders.sh

Log Message:
Add cdefs.h to usermode's genheaders.sh


To generate a diff of this commit:
cvs rdiff -u -r1.5 -r1.6 src/sys/arch/usermode/include/genheaders.sh

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/arch/usermode/include

2012-02-02 Thread Reinoud Zandijk
Module Name:src
Committed By:   reinoud
Date:   Thu Feb  2 11:12:40 UTC 2012

Modified Files:
src/sys/arch/usermode/include: asm.h bswap.h byte_swap.h cdefs.h
disklabel.h elf_machdep.h endian.h endian_machdep.h int_const.h
int_fmtio.h int_limits.h int_mwgwtypes.h int_types.h limits.h
netbsd32_machdep.h param.h ptrace.h wchar_limits.h

Log Message:
Regen


To generate a diff of this commit:
cvs rdiff -u -r1.7 -r1.8 src/sys/arch/usermode/include/asm.h \
src/sys/arch/usermode/include/bswap.h \
src/sys/arch/usermode/include/byte_swap.h \
src/sys/arch/usermode/include/elf_machdep.h \
src/sys/arch/usermode/include/endian.h \
src/sys/arch/usermode/include/endian_machdep.h \
src/sys/arch/usermode/include/int_const.h \
src/sys/arch/usermode/include/int_fmtio.h \
src/sys/arch/usermode/include/int_limits.h \
src/sys/arch/usermode/include/int_mwgwtypes.h \
src/sys/arch/usermode/include/int_types.h \
src/sys/arch/usermode/include/limits.h \
src/sys/arch/usermode/include/netbsd32_machdep.h \
src/sys/arch/usermode/include/wchar_limits.h
cvs rdiff -u -r1.2 -r1.3 src/sys/arch/usermode/include/cdefs.h
cvs rdiff -u -r1.9 -r1.10 src/sys/arch/usermode/include/disklabel.h \
src/sys/arch/usermode/include/ptrace.h
cvs rdiff -u -r1.8 -r1.9 src/sys/arch/usermode/include/param.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/arch/usermode/include

2012-02-02 Thread Reinoud Zandijk
Module Name:src
Committed By:   reinoud
Date:   Thu Feb  2 11:13:41 UTC 2012

Modified Files:
src/sys/arch/usermode/include: intr.h

Log Message:
spl_intr() is not defined anymore so remove from the header file


To generate a diff of this commit:
cvs rdiff -u -r1.7 -r1.8 src/sys/arch/usermode/include/intr.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/external/gpl3/gcc/dist/gcc/config/i386

2012-02-02 Thread Matthias Drochner
Module Name:src
Committed By:   drochner
Date:   Thu Feb  2 13:07:33 UTC 2012

Modified Files:
src/external/gpl3/gcc/dist/gcc/config/i386: netbsd-elf.h

Log Message:
tell the compiler that the i387 runs in double-rounding mode, so it
doesn't need to issue memory store-read sequences to kill excess
precision. makes code smaller and faster, depending on optimization
flags
(as tests on Linux have shown, the compiler doesn't even succeed in
avoiding excess precision)


To generate a diff of this commit:
cvs rdiff -u -r1.1.1.1 -r1.2 \
src/external/gpl3/gcc/dist/gcc/config/i386/netbsd-elf.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/dev/wscons

2012-02-02 Thread Matthias Drochner
Module Name:src
Committed By:   drochner
Date:   Thu Feb  2 13:11:25 UTC 2012

Modified Files:
src/sys/dev/wscons: wsdisplay.c

Log Message:
delete virtual screens on detach - this allows to hot-unplug
a udl@usb monitor without crash


To generate a diff of this commit:
cvs rdiff -u -r1.134 -r1.135 src/sys/dev/wscons/wsdisplay.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/gnu/dist/gcc4/gcc/config/vax

2012-02-02 Thread Matt Thomas
Module Name:src
Committed By:   matt
Date:   Thu Feb  2 13:32:18 UTC 2012

Modified Files:
src/gnu/dist/gcc4/gcc/config/vax: vax.c

Log Message:
Fix a bug in movmemsi in which couldn't handle sym(reg) expressions properly.


To generate a diff of this commit:
cvs rdiff -u -r1.15 -r1.16 src/gnu/dist/gcc4/gcc/config/vax/vax.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/arch/vax/vax

2012-02-02 Thread Matt Thomas
Module Name:src
Committed By:   matt
Date:   Thu Feb  2 14:29:25 UTC 2012

Modified Files:
src/sys/arch/vax/vax: db_disasm.c

Log Message:
Deal with instruction with no arguments.


To generate a diff of this commit:
cvs rdiff -u -r1.19 -r1.20 src/sys/arch/vax/vax/db_disasm.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/arch/vax/vax

2012-02-02 Thread Matt Thomas
Module Name:src
Committed By:   matt
Date:   Thu Feb  2 14:30:13 UTC 2012

Modified Files:
src/sys/arch/vax/vax: pmap.c

Log Message:
Fix the initial sizing of the system page table / address space.


To generate a diff of this commit:
cvs rdiff -u -r1.180 -r1.181 src/sys/arch/vax/vax/pmap.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/arch/vax/vax

2012-02-02 Thread Matt Thomas
Module Name:src
Committed By:   matt
Date:   Thu Feb  2 14:30:48 UTC 2012

Modified Files:
src/sys/arch/vax/vax: trap.c

Log Message:
On a kernel segfault, print the registers from the trapframe.


To generate a diff of this commit:
cvs rdiff -u -r1.128 -r1.129 src/sys/arch/vax/vax/trap.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/arch/zaurus/conf

2012-02-02 Thread Izumi Tsutsui
Module Name:src
Committed By:   tsutsui
Date:   Thu Feb  2 15:55:55 UTC 2012

Modified Files:
src/sys/arch/zaurus/conf: INSTALL

Log Message:
Try to shrink INSTALL kernel a bit.
Loading INSTALL kernel on SL-C1000 running Zaurus Linux still sometimes
fails (due to its size), but at least it works on maintenance kernel.


To generate a diff of this commit:
cvs rdiff -u -r1.12 -r1.13 src/sys/arch/zaurus/conf/INSTALL

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/arch/zaurus/conf

2012-02-02 Thread Izumi Tsutsui
Module Name:src
Committed By:   tsutsui
Date:   Thu Feb  2 15:57:39 UTC 2012

Added Files:
src/sys/arch/zaurus/conf: INSTALL_C700

Log Message:
Add INSTALL kernel config for SL-C700.


To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 src/sys/arch/zaurus/conf/INSTALL_C700

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/distrib/utils/sysinst/arch/zaurus

2012-02-02 Thread Izumi Tsutsui
Module Name:src
Committed By:   tsutsui
Date:   Thu Feb  2 16:00:35 UTC 2012

Modified Files:
src/distrib/utils/sysinst/arch/zaurus: md.c md.h msg.md.de msg.md.en
msg.md.es msg.md.fr msg.md.pl

Log Message:
Select a proper kernel set (GENERIC or C700) per running INSTALL kernel name.


To generate a diff of this commit:
cvs rdiff -u -r1.10 -r1.11 src/distrib/utils/sysinst/arch/zaurus/md.c
cvs rdiff -u -r1.4 -r1.5 src/distrib/utils/sysinst/arch/zaurus/md.h \
src/distrib/utils/sysinst/arch/zaurus/msg.md.fr \
src/distrib/utils/sysinst/arch/zaurus/msg.md.pl
cvs rdiff -u -r1.3 -r1.4 src/distrib/utils/sysinst/arch/zaurus/msg.md.de \
src/distrib/utils/sysinst/arch/zaurus/msg.md.en \
src/distrib/utils/sysinst/arch/zaurus/msg.md.es

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src

2012-02-02 Thread Izumi Tsutsui
Module Name:src
Committed By:   tsutsui
Date:   Thu Feb  2 16:02:44 UTC 2012

Modified Files:
src/distrib/zaurus/instkernel: Makefile
src/etc/etc.zaurus: Makefile.inc

Log Message:
Build INSTALL_C700 ramdisk kernel and install into releasedir.


To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 src/distrib/zaurus/instkernel/Makefile
cvs rdiff -u -r1.7 -r1.8 src/etc/etc.zaurus/Makefile.inc

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/arch/sun3/include

2012-02-02 Thread Izumi Tsutsui
Module Name:src
Committed By:   tsutsui
Date:   Thu Feb  2 16:06:48 UTC 2012

Modified Files:
src/sys/arch/sun3/include: db_machdep.h

Log Message:
Don't enable DB_MACHINE_COMMANDS on crash(8) (i.e. !defined(_KERNEL) case).
No easy way to switch sun3 and sun3x at run time for now.

Briefly tested by "build.sh -U -m sun3 build".


To generate a diff of this commit:
cvs rdiff -u -r1.17 -r1.18 src/sys/arch/sun3/include/db_machdep.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/arch

2012-02-02 Thread Izumi Tsutsui
Module Name:src
Committed By:   tsutsui
Date:   Thu Feb  2 16:59:43 UTC 2012

Modified Files:
src/sys/arch/atari/include: cpu.h
src/sys/arch/cesfic/include: cpu.h
src/sys/arch/hp300/include: cpu.h
src/sys/arch/luna68k/include: cpu.h
src/sys/arch/mac68k/include: cpu.h
src/sys/arch/mvme68k/include: cpu.h
src/sys/arch/news68k/include: cpu.h
src/sys/arch/next68k/include: cpu.h
src/sys/arch/x68k/include: cpu.h

Log Message:
Always include  (i.e. outside #if defined(_KERNEL))
for crash(8) as amiga and sun3.  There are _KERNEL protections in it.

Briefly tested by "build.sh -m news68k -U build".
Further possible botch will be fixed later.


To generate a diff of this commit:
cvs rdiff -u -r1.68 -r1.69 src/sys/arch/atari/include/cpu.h
cvs rdiff -u -r1.27 -r1.28 src/sys/arch/cesfic/include/cpu.h
cvs rdiff -u -r1.66 -r1.67 src/sys/arch/hp300/include/cpu.h
cvs rdiff -u -r1.30 -r1.31 src/sys/arch/luna68k/include/cpu.h
cvs rdiff -u -r1.96 -r1.97 src/sys/arch/mac68k/include/cpu.h
cvs rdiff -u -r1.46 -r1.47 src/sys/arch/mvme68k/include/cpu.h
cvs rdiff -u -r1.40 -r1.41 src/sys/arch/news68k/include/cpu.h
cvs rdiff -u -r1.45 -r1.46 src/sys/arch/next68k/include/cpu.h
cvs rdiff -u -r1.55 -r1.56 src/sys/arch/x68k/include/cpu.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/dev

2012-02-02 Thread Matthias Drochner
Module Name:src
Committed By:   drochner
Date:   Thu Feb  2 17:21:18 UTC 2012

Modified Files:
src/sys/dev: video.c

Log Message:
fill in timestamps in outgoing data buffers


To generate a diff of this commit:
cvs rdiff -u -r1.27 -r1.28 src/sys/dev/video.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/arch/vax/vax

2012-02-02 Thread Matt Thomas
Module Name:src
Committed By:   matt
Date:   Thu Feb  2 18:31:41 UTC 2012

Modified Files:
src/sys/arch/vax/vax: genassym.cf intvec.S

Log Message:
In the syscall vector, deal with SYS_lwp_getprivate quickly.  XXX what about
non-NetBSD syscall tables.


To generate a diff of this commit:
cvs rdiff -u -r1.50 -r1.51 src/sys/arch/vax/vax/genassym.cf
cvs rdiff -u -r1.20 -r1.21 src/sys/arch/vax/vax/intvec.S

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/arch/vax/include

2012-02-02 Thread Matt Thomas
Module Name:src
Committed By:   matt
Date:   Thu Feb  2 18:32:16 UTC 2012

Modified Files:
src/sys/arch/vax/include: mcontext.h

Log Message:
For fast lwp_getprivate, just do the chmk $SYS_lwp_getprivate inline.


To generate a diff of this commit:
cvs rdiff -u -r1.7 -r1.8 src/sys/arch/vax/include/mcontext.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/gnu/dist/gcc4/gcc/config/vax

2012-02-02 Thread Matt Thomas
Module Name:src
Committed By:   matt
Date:   Thu Feb  2 18:33:04 UTC 2012

Modified Files:
src/gnu/dist/gcc4/gcc/config/vax: vax.c

Log Message:
Handle another case the new gcc_assert(0) caught.


To generate a diff of this commit:
cvs rdiff -u -r1.16 -r1.17 src/gnu/dist/gcc4/gcc/config/vax/vax.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys

2012-02-02 Thread Lars Heidieker
Module Name:src
Committed By:   para
Date:   Thu Feb  2 18:59:45 UTC 2012

Modified Files:
src/sys/arch/alpha/alpha: pmap.c
src/sys/arch/mips/mips: pmap.c
src/sys/arch/powerpc/booke: booke_pmap.c
src/sys/arch/vax/vax: pmap.c
src/sys/uvm: uvm_extern.h uvm_km.c

Log Message:
- bringing kmeminit_nkmempages back and revert pmaps that called this early
- use nkmempages to scale the kmem_arena
- reducing diff to pre kmem/vmem change
   (NKMEMPAGES_MAX_DEFAULT will need adjusting on some archs)


To generate a diff of this commit:
cvs rdiff -u -r1.256 -r1.257 src/sys/arch/alpha/alpha/pmap.c
cvs rdiff -u -r1.206 -r1.207 src/sys/arch/mips/mips/pmap.c
cvs rdiff -u -r1.11 -r1.12 src/sys/arch/powerpc/booke/booke_pmap.c
cvs rdiff -u -r1.181 -r1.182 src/sys/arch/vax/vax/pmap.c
cvs rdiff -u -r1.180 -r1.181 src/sys/uvm/uvm_extern.h
cvs rdiff -u -r1.116 -r1.117 src/sys/uvm/uvm_km.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/dist/ipf/tools

2012-02-02 Thread Darren Reed
Module Name:src
Committed By:   darrenr
Date:   Thu Feb  2 19:18:51 UTC 2012

Modified Files:
src/dist/ipf/tools: ipfcomp.c

Log Message:
Compiler warning on a for loop that does not terminate correctly


To generate a diff of this commit:
cvs rdiff -u -r1.5 -r1.6 src/dist/ipf/tools/ipfcomp.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/netinet6

2012-02-02 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Thu Feb  2 19:35:18 UTC 2012

Modified Files:
src/sys/netinet6: nd6.c

Log Message:
use FOREACH_SAFE.


To generate a diff of this commit:
cvs rdiff -u -r1.139 -r1.140 src/sys/netinet6/nd6.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src

2012-02-02 Thread Thor Lancelot Simon
Module Name:src
Committed By:   tls
Date:   Thu Feb  2 19:43:09 UTC 2012

Modified Files:
src/sbin/rndctl: rndctl.c
src/sys/arch/acorn26/ioc: arckbd.c
src/sys/arch/acorn32/eb7500atx: if_cs.c
src/sys/arch/alpha/sableio: fdc_sableio.c
src/sys/arch/arm/at91: at91dbgu.c at91dbguvar.h at91usart.c
at91usartvar.h
src/sys/arch/arm/ep93xx: epcom.c epcomvar.h
src/sys/arch/arm/imx: imxuart.c
src/sys/arch/arm/ixp12x0: ixp12x0_com.c
src/sys/arch/arm/s3c2xx0: sscom.c sscom_var.h
src/sys/arch/arm/sa11x0: sa_kbc.c sa11x0_com.c
src/sys/arch/arm/xscale: ixp425_if_npe.c
src/sys/arch/emips/ebus: ace_ebus.c flash_ebus.c if_le_ebus.c
src/sys/arch/evbarm/dev: plcom.c plcomvar.h
src/sys/arch/evbarm/smdk2xx0: if_cs_smdk24x0.c
src/sys/arch/evbppc/pmppc/dev: if_cs_mainbus.c
src/sys/arch/hp300/dev: rd.c rdvar.h
src/sys/arch/hp700/gsc: harmony.c harmonyvar.h
src/sys/arch/i386/pnpbios: fdc_pnpbios.c
src/sys/arch/macppc/dev: if_gm.c
src/sys/arch/mips/alchemy/dev: if_aumac.c
src/sys/arch/mips/atheros/dev: aevar.h if_ae.c
src/sys/arch/mips/sibyte/dev: sbjcnvar.h sbscn.c sbscnvar.h
src/sys/arch/next68k/dev: mb8795.c mb8795var.h
src/sys/arch/prep/pnpbus: fdc_pnpbus.c
src/sys/arch/sgimips/hpc: if_sq.c sqvar.h
src/sys/arch/sgimips/mace: if_mec.c
src/sys/arch/sh3/dev: sci.c scif.c
src/sys/arch/sun2/dev: if_ec.c
src/sys/arch/x68k/dev: fd.c
src/sys/arch/x86/pci: fwhrng.c
src/sys/arch/x86/x86: ipmi.c via_padlock.c
src/sys/arch/xen/include: xbdvar.h
src/sys/arch/xen/xen: if_xennet_xenbus.c pciback.c xbd_xenbus.c
xpci_xenbus.c
src/sys/conf: files
src/sys/dev: ld.c ldvar.h
src/sys/dev/acpi: acpi_tz.c fdc_acpi.c
src/sys/dev/ata: ld_ataraid.c wd.c wdvar.h
src/sys/dev/cardbus: if_fxp_cardbus.c if_rtk_cardbus.c rbus_ppb.c
src/sys/dev/gpib: rd.c
src/sys/dev/i2o: ld_iop.c
src/sys/dev/ic: am7990.c am79900.c com.c comvar.h cs89x0.c cs89x0var.h
dp8390.c dp8390var.h elink3.c elink3var.h elinkxl.c elinkxlvar.h
gem.c gemvar.h hme.c hmevar.h i82557.c i82557var.h lan9118.c
lan9118var.h lance.c lancevar.h ld_aac.c ld_cac.c ld_icp.c ld_mlx.c
lemac.c lemacvar.h mb86950.c mb86950var.h mb86960.c mb86960var.h
mtd803.c mtd803var.h pckbc.c pckbcvar.h rtl81x9.c rtl81x9var.h
seeq8005.c seeq8005var.h smc91cxx.c smc91cxxvar.h tulip.c
tulipvar.h
src/sys/dev/isa: cs89x0isa.c fd.c fdc_isa.c fdvar.h if_cs_isa.c if_eg.c
if_el.c if_iy.c if_tscs_isa.c
src/sys/dev/isapnp: if_cs_isapnp.c
src/sys/dev/marvell: if_gfe.c if_gfevar.h if_mvgbe.c
src/sys/dev/mca: ed_mca.c edc_mca.c edvar.h
src/sys/dev/ofisa: if_cs_ofisa.c
src/sys/dev/pci: hifn7751.c if_bce.c if_bge.c if_bgevar.h if_cas.c
if_casvar.h if_de.c if_devar.h if_dge.c if_fxp_pci.c if_jme.c
if_msk.c if_mskvar.h if_pcn.c if_sip.c if_sk.c if_skvar.h if_tl.c
if_tlvar.h if_vr.c if_vte.c if_vtevar.h if_wm.c if_xge.c ld_amr.c
ld_twa.c ld_twe.c ld_virtio.c
src/sys/dev/pcmcia: if_cs_pcmcia.c if_xi.c if_xivar.h
src/sys/dev/sbus: be.c qe.c
src/sys/dev/scsipi: cd.c cdvar.h sd.c sdvar.h st.c st_atapi.c st_scsi.c
stvar.h
src/sys/dev/sdmmc: ld_sdmmc.c
src/sys/dev/sysmon: sysmon_power.c
src/sys/dev/usb: if_aue.c if_auereg.h if_axe.c if_axereg.h if_cdce.c
if_cdcereg.h if_cue.c if_cuereg.h if_kue.c if_kuereg.h if_udav.c
if_udavreg.h if_upl.c if_url.c if_urlreg.h ucom.c uhidev.c uhidev.h
src/sys/kern: init_main.c
src/sys/lib/libkern: arc4random.c
src/sys/modules/if_axe: Makefile
src/sys/netinet: tcp_usrreq.c tcp_var.h
src/sys/rump/dev/lib/librnd: Makefile
src/sys/rump/librump/rumpkern: Makefile.rumpkern
src/sys/sys: rnd.h
src/sys/uvm: uvm.h uvm_fault.c uvm_page.c
Added Files:
src/sys/kern: kern_rndpool.c kern_rndq.c
Removed Files:
src/sys/dev: rnd.c rndpool.c

Log Message:
Entropy-pool implementation move and cleanup.

1) Move core entropy-pool code and source/sink/sample management code
   to sys/kern from sys/dev.

2) Remove use of NRND as test for presence of entropy-pool code throughout
   source tree.

3) Remove use of RND_ENABLED in device drivers as microoptimization to
   avoid expensive operations on disabled entropy sources; make the
   rnd_add calls do this directly so all callers benefit.

4) Fix bug in recent rnd_add_data()/rnd_add_uint32() changes that might
   have lead to slight entropy overestimation for some sources.

5) Add new source types for environmental sensors, power sensors, VM
   system events, and skew between cl

CVS commit: src/sys/arch/xen/xen

2012-02-02 Thread Lars Heidieker
Module Name:src
Committed By:   para
Date:   Thu Feb  2 20:11:26 UTC 2012

Modified Files:
src/sys/arch/xen/xen: xbd_xenbus.c

Log Message:
call uvm_km_kmem_alloc with right arguments

fixes: kern/45913


To generate a diff of this commit:
cvs rdiff -u -r1.52 -r1.53 src/sys/arch/xen/xen/xbd_xenbus.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/arch/ofppc

2012-02-02 Thread Frank Wille
Module Name:src
Committed By:   phx
Date:   Thu Feb  2 21:54:34 UTC 2012

Modified Files:
src/sys/arch/ofppc/include: disklabel.h
src/sys/arch/ofppc/ofppc: disksubr.c
src/sys/arch/ofppc/stand/ofwboot: mbr.c

Log Message:
Fixed writing of MBR disklabel. It was written by disklabel(8) -r directly
into sector 0, corrupting the MBR. Moved to sector 1.
Removed MBR_LABELSECTOR, which is no longer needed.


To generate a diff of this commit:
cvs rdiff -u -r1.10 -r1.11 src/sys/arch/ofppc/include/disklabel.h
cvs rdiff -u -r1.24 -r1.25 src/sys/arch/ofppc/ofppc/disksubr.c
cvs rdiff -u -r1.3 -r1.4 src/sys/arch/ofppc/stand/ofwboot/mbr.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/distrib/utils/sysinst/arch/ofppc

2012-02-02 Thread Frank Wille
Module Name:src
Committed By:   phx
Date:   Thu Feb  2 21:58:31 UTC 2012

Modified Files:
src/distrib/utils/sysinst/arch/ofppc: md.c

Log Message:
Use sync(8) instead of echo(1) to avoid writing an RDB disklabel.
echo(1) is not part of the miniroot file system.


To generate a diff of this commit:
cvs rdiff -u -r1.11 -r1.12 src/distrib/utils/sysinst/arch/ofppc/md.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/distrib/utils/sysinst/arch/ofppc

2012-02-02 Thread Frank Wille
Module Name:src
Committed By:   phx
Date:   Thu Feb  2 22:15:05 UTC 2012

Modified Files:
src/distrib/utils/sysinst/arch/ofppc: msg.md.de

Log Message:
Translate some new messages into german.


To generate a diff of this commit:
cvs rdiff -u -r1.7 -r1.8 src/distrib/utils/sysinst/arch/ofppc/msg.md.de

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/dev

2012-02-02 Thread NONAKA Kimihiro
Module Name:src
Committed By:   nonaka
Date:   Thu Feb  2 22:49:17 UTC 2012

Modified Files:
src/sys/dev/cardbus: sdhc_cardbus.c
src/sys/dev/pci: sdhc_pci.c
src/sys/dev/sdmmc: sdhc.c

Log Message:
Use "opt_sdmmc.h" for SDHC_DEBUG.


To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 src/sys/dev/cardbus/sdhc_cardbus.c
cvs rdiff -u -r1.5 -r1.6 src/sys/dev/pci/sdhc_pci.c
cvs rdiff -u -r1.9 -r1.10 src/sys/dev/sdmmc/sdhc.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: [matt-nb5-mips64] src/sys/arch/mips/rmi

2012-02-02 Thread Matt Thomas
Module Name:src
Committed By:   matt
Date:   Thu Feb  2 23:35:35 UTC 2012

Modified Files:
src/sys/arch/mips/rmi [matt-nb5-mips64]: rmixl_pcix.c

Log Message:
We use avail_clusters_cnt now.


To generate a diff of this commit:
cvs rdiff -u -r1.1.2.12 -r1.1.2.13 src/sys/arch/mips/rmi/rmixl_pcix.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/external/bsd/dhcpcd/dist

2012-02-02 Thread Roy Marples
Module Name:src
Committed By:   roy
Date:   Thu Feb  2 23:35:43 UTC 2012

Update of /cvsroot/src/external/bsd/dhcpcd/dist
In directory ivanova.netbsd.org:/tmp/cvs-serv25049

Log Message:
Import dhcpcd-5.5.2 with the following changes:
* Stop checking IFF_RUNNING in RTM_IFINFO in an unknown link state
* RA expiry now tiggers off the first option if newer than the prefix
* Prefer a DHCP lease over an IPv4LL one

Status:

Vendor Tag: roy
Release Tags:   dhcpcd-5-5-2

U src/external/bsd/dhcpcd/dist/arp.c
U src/external/bsd/dhcpcd/dist/bind.c
U src/external/bsd/dhcpcd/dist/common.c
U src/external/bsd/dhcpcd/dist/control.c
U src/external/bsd/dhcpcd/dist/dhcp.c
U src/external/bsd/dhcpcd/dist/dhcpcd.c
U src/external/bsd/dhcpcd/dist/duid.c
U src/external/bsd/dhcpcd/dist/eloop.c
U src/external/bsd/dhcpcd/dist/if-options.c
U src/external/bsd/dhcpcd/dist/if-pref.c
U src/external/bsd/dhcpcd/dist/ipv4ll.c
U src/external/bsd/dhcpcd/dist/ipv6rs.c
U src/external/bsd/dhcpcd/dist/net.c
U src/external/bsd/dhcpcd/dist/signals.c
U src/external/bsd/dhcpcd/dist/configure.c
U src/external/bsd/dhcpcd/dist/bpf.c
U src/external/bsd/dhcpcd/dist/if-bsd.c
U src/external/bsd/dhcpcd/dist/platform-bsd.c
U src/external/bsd/dhcpcd/dist/dhcpcd.conf
U src/external/bsd/dhcpcd/dist/dhcpcd-run-hooks.8.in
U src/external/bsd/dhcpcd/dist/dhcpcd-run-hooks.in
U src/external/bsd/dhcpcd/dist/dhcpcd.8.in
U src/external/bsd/dhcpcd/dist/dhcpcd.conf.5.in
U src/external/bsd/dhcpcd/dist/arp.h
U src/external/bsd/dhcpcd/dist/bind.h
U src/external/bsd/dhcpcd/dist/bpf-filter.h
U src/external/bsd/dhcpcd/dist/common.h
U src/external/bsd/dhcpcd/dist/config.h
U src/external/bsd/dhcpcd/dist/configure.h
U src/external/bsd/dhcpcd/dist/control.h
U src/external/bsd/dhcpcd/dist/defs.h
U src/external/bsd/dhcpcd/dist/dhcp.h
U src/external/bsd/dhcpcd/dist/dhcpcd.h
U src/external/bsd/dhcpcd/dist/duid.h
U src/external/bsd/dhcpcd/dist/eloop.h
U src/external/bsd/dhcpcd/dist/if-options.h
U src/external/bsd/dhcpcd/dist/if-pref.h
U src/external/bsd/dhcpcd/dist/ipv4ll.h
U src/external/bsd/dhcpcd/dist/ipv6rs.h
U src/external/bsd/dhcpcd/dist/net.h
U src/external/bsd/dhcpcd/dist/platform.h
U src/external/bsd/dhcpcd/dist/signals.h
U src/external/bsd/dhcpcd/dist/dhcpcd-hooks/01-test
U src/external/bsd/dhcpcd/dist/dhcpcd-hooks/02-dump
U src/external/bsd/dhcpcd/dist/dhcpcd-hooks/10-mtu
U src/external/bsd/dhcpcd/dist/dhcpcd-hooks/20-resolv.conf
U src/external/bsd/dhcpcd/dist/dhcpcd-hooks/29-lookup-hostname
U src/external/bsd/dhcpcd/dist/dhcpcd-hooks/30-hostname
U src/external/bsd/dhcpcd/dist/dhcpcd-hooks/50-ntp.conf
U src/external/bsd/dhcpcd/dist/dhcpcd-hooks/50-ypbind

No conflicts created by this import



CVS commit: src/external/bsd/dhcpcd/dist

2012-02-02 Thread Roy Marples
Module Name:src
Committed By:   roy
Date:   Fri Feb  3 00:04:08 UTC 2012

Update of /cvsroot/src/external/bsd/dhcpcd/dist
In directory ivanova.netbsd.org:/tmp/cvs-serv27643

Log Message:
Import dhcpcd-5.5.3 to fix a compile failure.

Status:

Vendor Tag: roy
Release Tags:   dhcpcd-5-5-3

U src/external/bsd/dhcpcd/dist/arp.c
U src/external/bsd/dhcpcd/dist/bind.c
U src/external/bsd/dhcpcd/dist/common.c
U src/external/bsd/dhcpcd/dist/control.c
U src/external/bsd/dhcpcd/dist/dhcp.c
U src/external/bsd/dhcpcd/dist/dhcpcd.c
U src/external/bsd/dhcpcd/dist/duid.c
U src/external/bsd/dhcpcd/dist/eloop.c
U src/external/bsd/dhcpcd/dist/if-options.c
U src/external/bsd/dhcpcd/dist/if-pref.c
U src/external/bsd/dhcpcd/dist/ipv4ll.c
U src/external/bsd/dhcpcd/dist/ipv6rs.c
U src/external/bsd/dhcpcd/dist/net.c
U src/external/bsd/dhcpcd/dist/signals.c
U src/external/bsd/dhcpcd/dist/configure.c
U src/external/bsd/dhcpcd/dist/bpf.c
U src/external/bsd/dhcpcd/dist/if-bsd.c
U src/external/bsd/dhcpcd/dist/platform-bsd.c
U src/external/bsd/dhcpcd/dist/dhcpcd.conf
U src/external/bsd/dhcpcd/dist/dhcpcd-run-hooks.8.in
U src/external/bsd/dhcpcd/dist/dhcpcd-run-hooks.in
U src/external/bsd/dhcpcd/dist/dhcpcd.8.in
U src/external/bsd/dhcpcd/dist/dhcpcd.conf.5.in
U src/external/bsd/dhcpcd/dist/arp.h
U src/external/bsd/dhcpcd/dist/bind.h
U src/external/bsd/dhcpcd/dist/bpf-filter.h
U src/external/bsd/dhcpcd/dist/common.h
U src/external/bsd/dhcpcd/dist/config.h
U src/external/bsd/dhcpcd/dist/configure.h
U src/external/bsd/dhcpcd/dist/control.h
U src/external/bsd/dhcpcd/dist/defs.h
U src/external/bsd/dhcpcd/dist/dhcp.h
U src/external/bsd/dhcpcd/dist/dhcpcd.h
U src/external/bsd/dhcpcd/dist/duid.h
U src/external/bsd/dhcpcd/dist/eloop.h
U src/external/bsd/dhcpcd/dist/if-options.h
U src/external/bsd/dhcpcd/dist/if-pref.h
U src/external/bsd/dhcpcd/dist/ipv4ll.h
U src/external/bsd/dhcpcd/dist/ipv6rs.h
U src/external/bsd/dhcpcd/dist/net.h
U src/external/bsd/dhcpcd/dist/platform.h
U src/external/bsd/dhcpcd/dist/signals.h
U src/external/bsd/dhcpcd/dist/dhcpcd-hooks/01-test
U src/external/bsd/dhcpcd/dist/dhcpcd-hooks/02-dump
U src/external/bsd/dhcpcd/dist/dhcpcd-hooks/10-mtu
U src/external/bsd/dhcpcd/dist/dhcpcd-hooks/20-resolv.conf
U src/external/bsd/dhcpcd/dist/dhcpcd-hooks/29-lookup-hostname
U src/external/bsd/dhcpcd/dist/dhcpcd-hooks/30-hostname
U src/external/bsd/dhcpcd/dist/dhcpcd-hooks/50-ntp.conf
U src/external/bsd/dhcpcd/dist/dhcpcd-hooks/50-ypbind

No conflicts created by this import



CVS commit: src/doc

2012-02-02 Thread Roy Marples
Module Name:src
Committed By:   roy
Date:   Fri Feb  3 00:05:58 UTC 2012

Modified Files:
src/doc: 3RDPARTY CHANGES

Log Message:
Import dhcpcd-5.5.3


To generate a diff of this commit:
cvs rdiff -u -r1.906 -r1.907 src/doc/3RDPARTY
cvs rdiff -u -r1.1665 -r1.1666 src/doc/CHANGES

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/arch/evbarm/mini2440

2012-02-02 Thread Tohru Nishimura
Module Name:src
Committed By:   nisimura
Date:   Fri Feb  3 00:33:08 UTC 2012

Modified Files:
src/sys/arch/evbarm/mini2440: mini2440_machdep.c

Log Message:
Make sure to allow MEMORY_DISK as rootfs.


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/sys/arch/evbarm/mini2440/mini2440_machdep.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/distrib/utils/sysinst/arch/evbarm

2012-02-02 Thread Tohru Nishimura
Module Name:src
Committed By:   nisimura
Date:   Fri Feb  3 00:35:35 UTC 2012

Modified Files:
src/distrib/utils/sysinst/arch/evbarm: md.h msg.md.de msg.md.en
msg.md.es msg.md.fr msg.md.pl

Log Message:
Add Mini2440 entry to sysinst kernel selection.


To generate a diff of this commit:
cvs rdiff -u -r1.17 -r1.18 src/distrib/utils/sysinst/arch/evbarm/md.h
cvs rdiff -u -r1.8 -r1.9 src/distrib/utils/sysinst/arch/evbarm/msg.md.de
cvs rdiff -u -r1.10 -r1.11 src/distrib/utils/sysinst/arch/evbarm/msg.md.en
cvs rdiff -u -r1.7 -r1.8 src/distrib/utils/sysinst/arch/evbarm/msg.md.es
cvs rdiff -u -r1.11 -r1.12 src/distrib/utils/sysinst/arch/evbarm/msg.md.fr
cvs rdiff -u -r1.9 -r1.10 src/distrib/utils/sysinst/arch/evbarm/msg.md.pl

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/dev/mca

2012-02-02 Thread Thor Lancelot Simon
Module Name:src
Committed By:   tls
Date:   Fri Feb  3 01:20:45 UTC 2012

Modified Files:
src/sys/dev/mca: if_tra_mca.c

Log Message:
Fix missed inclusion from my previous commit.


To generate a diff of this commit:
cvs rdiff -u -r1.14 -r1.15 src/sys/dev/mca/if_tra_mca.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/netinet6

2012-02-02 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Fri Feb  3 03:32:45 UTC 2012

Modified Files:
src/sys/netinet6: nd6.c

Log Message:
PR/45764, PR/45914
Part 1:
nd6_purge can be called after dom_ifdetach, and if_afdata[AF_INET6] is
going to be freed and point to garbage. Make sure we check for NULL, before
taking the pointer offset.
While I am here, add an M_ZERO.


To generate a diff of this commit:
cvs rdiff -u -r1.140 -r1.141 src/sys/netinet6/nd6.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/net

2012-02-02 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Fri Feb  3 03:35:30 UTC 2012

Modified Files:
src/sys/net: if.c

Log Message:
PR/45764, PR/45914
Part 2:
Arrange so that the pointers that we free (ifp->if_afdata, dom->dom_ifqueues[i])
are set to NULL.
While I am here, add a continue.


To generate a diff of this commit:
cvs rdiff -u -r1.259 -r1.260 src/sys/net/if.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/compat/netbsd32

2012-02-02 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Fri Feb  3 03:54:35 UTC 2012

Modified Files:
src/sys/compat/netbsd32: netbsd32_exec_elf32.c

Log Message:
elf_args needs to be freed with kmem_free() since it is now allocated with
kmem_alloc(). Should fix running 32 bit elf binaries.


To generate a diff of this commit:
cvs rdiff -u -r1.33 -r1.34 src/sys/compat/netbsd32/netbsd32_exec_elf32.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/dev/ic

2012-02-02 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Fri Feb  3 04:03:11 UTC 2012

Modified Files:
src/sys/dev/ic: tpm.c

Log Message:
don't try to write in a const buffer.


To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 src/sys/dev/ic/tpm.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/dist/ipf/lib

2012-02-02 Thread Joerg Sonnenberger
Module Name:src
Committed By:   joerg
Date:   Fri Feb  3 04:28:55 UTC 2012

Modified Files:
src/dist/ipf/lib: load_http.c

Log Message:
Really skip the current line only if the comment is at the start.


To generate a diff of this commit:
cvs rdiff -u -r1.5 -r1.6 src/dist/ipf/lib/load_http.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/fs/msdosfs

2012-02-02 Thread Joerg Sonnenberger
Module Name:src
Committed By:   joerg
Date:   Fri Feb  3 04:29:17 UTC 2012

Modified Files:
src/sys/fs/msdosfs: msdosfsmount.h

Log Message:
Only use MALLOC_DECLARE if it exists. Helps with the dirty _KERNEL
tricks fstat is using.


To generate a diff of this commit:
cvs rdiff -u -r1.15 -r1.16 src/sys/fs/msdosfs/msdosfsmount.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/usr.bin/tpfmt

2012-02-02 Thread YAMAMOTO Takashi
Module Name:src
Committed By:   yamt
Date:   Fri Feb  3 05:06:08 UTC 2012

Modified Files:
src/usr.bin/tpfmt: sym.c

Log Message:
make the result stable.
releng@ ok


To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 src/usr.bin/tpfmt/sym.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/arch/x86/x86

2012-02-02 Thread YAMAMOTO Takashi
Module Name:src
Committed By:   yamt
Date:   Fri Feb  3 05:06:51 UTC 2012

Modified Files:
src/sys/arch/x86/x86: identcpu.c

Log Message:
use a correct macro.
releng@ ok


To generate a diff of this commit:
cvs rdiff -u -r1.28 -r1.29 src/sys/arch/x86/x86/identcpu.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/usr.sbin/cpuctl/arch

2012-02-02 Thread YAMAMOTO Takashi
Module Name:src
Committed By:   yamt
Date:   Fri Feb  3 05:07:17 UTC 2012

Modified Files:
src/usr.sbin/cpuctl/arch: i386.c

Log Message:
use a correct macro.
releng@ ok


To generate a diff of this commit:
cvs rdiff -u -r1.26 -r1.27 src/usr.sbin/cpuctl/arch/i386.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.