CVS commit: src/sys/dev/gpio

2011-09-01 Thread Marc Balmer
Module Name:src Committed By: mbalmer Date: Fri Sep 2 06:50:21 UTC 2011 Modified Files: src/sys/dev/gpio: gpio.c Log Message: Make sure error is not used unitialized when sc->sc_attach_busy is 0. To generate a diff of this commit: cvs rdiff -u -r1.40 -r1.41 src/sys/dev/

CVS commit: src/sys/dev

2011-09-01 Thread SAITOH Masanobu
Module Name:src Committed By: msaitoh Date: Fri Sep 2 03:16:19 UTC 2011 Modified Files: src/sys/dev/ic: i82557.c i82557reg.h src/sys/dev/microcode/i8255x: rcvbundl.h src/sys/dev/pci: if_fxp_pci.c Log Message: Add support for some fxp devices from FreeBSD a

CVS commit: src/sys/dev/pci

2011-09-01 Thread SAITOH Masanobu
Module Name:src Committed By: msaitoh Date: Fri Sep 2 03:10:39 UTC 2011 Modified Files: src/sys/dev/pci: pcidevs.h pcidevs_data.h Log Message: regen. To generate a diff of this commit: cvs rdiff -u -r1.1090 -r1.1091 src/sys/dev/pci/pcidevs.h cvs rdiff -u -r1.1089 -r1.10

CVS commit: src/sys/dev/pci

2011-09-01 Thread SAITOH Masanobu
Module Name:src Committed By: msaitoh Date: Fri Sep 2 03:09:49 UTC 2011 Modified Files: src/sys/dev/pci: pcidevs Log Message: Add some fxp devices. To generate a diff of this commit: cvs rdiff -u -r1.1095 -r1.1096 src/sys/dev/pci/pcidevs Please note that diffs are not

CVS commit: src/lib/libutil

2011-09-01 Thread Erik E. Fair
Module Name:src Committed By: fair Date: Thu Sep 1 23:13:16 UTC 2011 Modified Files: src/lib/libutil: strpct.3 Log Message: Clarify the history and add proper attribution. To generate a diff of this commit: cvs rdiff -u -r1.2 -r1.3 src/lib/libutil/strpct.3 Please note

CVS commit: src

2011-09-01 Thread Jean-Yves Migeon
Module Name:src Committed By: jym Date: Thu Sep 1 22:35:18 UTC 2011 Modified Files: src/sys/lib/libkern: libkern.h Added Files: src/common/lib/libc/string: strnlen.c Removed Files: src/lib/libc/string: strnlen.c Log Message: Make strnlen(3) accessible in k

CVS commit: src/sys/rump/librump/rumpkern

2011-09-01 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Thu Sep 1 21:09:08 UTC 2011 Modified Files: src/sys/rump/librump/rumpkern: vm.c Log Message: fix the build for rumpserver. To generate a diff of this commit: cvs rdiff -u -r1.117 -r1.118 src/sys/rump/librump/rumpkern/vm.c Pl

CVS commit: src/sys/kern

2011-09-01 Thread Matt Thomas
Module Name:src Committed By: matt Date: Thu Sep 1 18:33:11 UTC 2011 Modified Files: src/sys/kern: kern_verifiedexec.c Log Message: Allocate a color compatible VA for the page we are entering. To generate a diff of this commit: cvs rdiff -u -r1.125 -r1.126 src/sys/kern/

CVS commit: src/sys/kern

2011-09-01 Thread Matt Thomas
Module Name:src Committed By: matt Date: Thu Sep 1 18:29:29 UTC 2011 Modified Files: src/sys/kern: kern_malloc_debug.c Log Message: Allocate a color compatible page to the VA we are going to use. To generate a diff of this commit: cvs rdiff -u -r1.25 -r1.26 src/sys/kern

CVS commit: src/sys/kern

2011-09-01 Thread Matt Thomas
Module Name:src Committed By: matt Date: Thu Sep 1 18:25:44 UTC 2011 Modified Files: src/sys/kern: kern_xxx.c Log Message: Print syscall name on syscall exit (when using SYSCALL_DEBUG). XXX this should use kernhist. To generate a diff of this commit: cvs rdiff -u -r1.71

CVS commit: src/sys/kern

2011-09-01 Thread Matt Thomas
Module Name:src Committed By: matt Date: Thu Sep 1 18:24:19 UTC 2011 Modified Files: src/sys/kern: kern_ktrace.c Log Message: Always make sure that kte_entry is aligned appropriately so register_t can be stored there. (not really a problem right now since time_t is now 6

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

2011-09-01 Thread Reinoud Zandijk
Module Name:src Committed By: reinoud Date: Thu Sep 1 18:20:20 UTC 2011 Modified Files: src/sys/arch/usermode/usermode: trap.c Log Message: Use a alternative dedicated signal stack for the sigsegv errors; the userland stack like that of ld.elf_so can be too short to allow

CVS commit: src/sys/arch/usermode

2011-09-01 Thread Reinoud Zandijk
Module Name:src Committed By: reinoud Date: Thu Sep 1 18:19:00 UTC 2011 Modified Files: src/sys/arch/usermode/include: thunk.h src/sys/arch/usermode/usermode: thunk.c Log Message: Implement thunk_sigaltstack() so an alternative signal stack can be used To genera

CVS commit: src/sys/miscfs/genfs

2011-09-01 Thread Matt Thomas
Module Name:src Committed By: matt Date: Thu Sep 1 16:55:08 UTC 2011 Modified Files: src/sys/miscfs/genfs: genfs_io.c Log Message: Use the new UVM_KMF_COLORMATCH flag to get a congruent mappings of the user buffer so we can use unmanaged mappings (pmap_kenter_pa/pmap_krem

CVS commit: src/share/mk

2011-09-01 Thread Iain Hibbert
Module Name:src Committed By: plunky Date: Thu Sep 1 16:41:48 UTC 2011 Modified Files: src/share/mk: bsd.x11.mk Log Message: pcc cpp(1) does not understand the '-undef' and '-traditional' long form arguments, use $(CC) -E instead of $(CPP) for these To generate a diff o

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

2011-09-01 Thread Reinoud Zandijk
Module Name:src Committed By: reinoud Date: Thu Sep 1 16:23:56 UTC 2011 Modified Files: src/sys/arch/usermode/usermode: pmap.c Log Message: Oops used the wrong page flag for referenced and modified check To generate a diff of this commit: cvs rdiff -u -r1.49 -r1.50 src/

CVS commit: src/sys/kern

2011-09-01 Thread YAMAMOTO Takashi
Module Name:src Committed By: yamt Date: Thu Sep 1 15:31:27 UTC 2011 Modified Files: src/sys/kern: vfs_lookup.c Log Message: redo vfs_lookup.c rev.1.126. when crossing a mount point, don't keep the parent vnode locked. ie. don't lock a vnode while holding another vnode wh

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

2011-09-01 Thread Reinoud Zandijk
Module Name:src Committed By: reinoud Date: Thu Sep 1 15:15:06 UTC 2011 Modified Files: src/sys/arch/usermode/usermode: machdep.c Log Message: Hack register setup for __i386__. This now seems to start up the code a lot further. To generate a diff of this commit: cvs rdi

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

2011-09-01 Thread Reinoud Zandijk
Module Name:src Committed By: reinoud Date: Thu Sep 1 15:13:33 UTC 2011 Modified Files: src/sys/arch/usermode/usermode: thunk.c Log Message: Prevent thunk_mmap() to mmap a page outside the box; just as a precaution. To generate a diff of this commit: cvs rdiff -u -r1.22

CVS commit: src/sys

2011-09-01 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Thu Sep 1 15:10:32 UTC 2011 Modified Files: src/sys/arch/i386/eisa: eisa_machdep.c src/sys/arch/i386/mca: mca_machdep.c src/sys/arch/x86/include: bus_private.h src/sys/arch/x86/isa: isa_machdep.c

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

2011-09-01 Thread Reinoud Zandijk
Module Name:src Committed By: reinoud Date: Thu Sep 1 15:03:41 UTC 2011 Modified Files: src/sys/arch/usermode/usermode: trap.c Log Message: Enhance debugging capabilities of NetBSD/usermode by allowing `trap.c' to write a system image of the memory it traps. Its extremely

CVS commit: src/sys/dev/ic

2011-09-01 Thread Jonathan A. Kollasch
Module Name:src Committed By: jakllsch Date: Thu Sep 1 14:55:58 UTC 2011 Modified Files: src/sys/dev/ic: mvsata.c Log Message: It seems mvsata_bio_ready() is actually needed, and it seems to work better if we always poll for completion for the duration of this function.

CVS commit: src/sys/dev/marvell

2011-09-01 Thread Jonathan A. Kollasch
Module Name:src Committed By: jakllsch Date: Thu Sep 1 14:46:23 UTC 2011 Modified Files: src/sys/dev/marvell: if_mvgbe.c Log Message: We occasionally will try to set up the multicast filter in a context that kmem(9) is unusable (such as transmit timeout). Thus, put the fi

CVS commit: src/sys/dev/marvell

2011-09-01 Thread Jonathan A. Kollasch
Module Name:src Committed By: jakllsch Date: Thu Sep 1 14:39:04 UTC 2011 Modified Files: src/sys/dev/marvell: if_mvgbe.c Log Message: Initialize MVGBE_MTU to 0, as suggested by the Orion databook. If the platform firmware did not initialize this to 0 for us, we were unab

CVS commit: src/sys/arch/evbmips

2011-09-01 Thread Michael Lorenz
Module Name:src Committed By: macallan Date: Thu Sep 1 14:07:37 UTC 2011 Modified Files: src/sys/arch/evbmips/conf: files.loongson Added Files: src/sys/arch/evbmips/loongson/dev: stvii.c Log Message: a driver for the gdium's ST7 microcontroller so far it only repo

CVS commit: src/sys/dev/pci

2011-09-01 Thread Michael Lorenz
Module Name:src Committed By: macallan Date: Thu Sep 1 14:04:55 UTC 2011 Modified Files: src/sys/dev/pci: voyager.c Log Message: some i2c devices we're going to deal with need a little delay after each write. Also make sure the gpios we're using are outputs. To generate

CVS commit: src/usr.bin/fgen

2011-09-01 Thread Joerg Sonnenberger
Module Name:src Committed By: joerg Date: Thu Sep 1 13:44:25 UTC 2011 Modified Files: src/usr.bin/fgen: fgen.l Log Message: static + __dead To generate a diff of this commit: cvs rdiff -u -r1.34 -r1.35 src/usr.bin/fgen/fgen.l Please note that diffs are not public domai

CVS commit: src/usr.bin/du

2011-09-01 Thread Joerg Sonnenberger
Module Name:src Committed By: joerg Date: Thu Sep 1 13:37:33 UTC 2011 Modified Files: src/usr.bin/du: du.c Log Message: static + __dead To generate a diff of this commit: cvs rdiff -u -r1.34 -r1.35 src/usr.bin/du/du.c Please note that diffs are not public domain; they

CVS commit: src/usr.bin/db

2011-09-01 Thread Joerg Sonnenberger
Module Name:src Committed By: joerg Date: Thu Sep 1 13:25:02 UTC 2011 Modified Files: src/usr.bin/db: db.c Log Message: static + __dead To generate a diff of this commit: cvs rdiff -u -r1.24 -r1.25 src/usr.bin/db/db.c Please note that diffs are not public domain; they

CVS commit: src/distrib/sets/lists/comp

2011-09-01 Thread Iain Hibbert
Module Name:src Committed By: plunky Date: Thu Sep 1 13:08:19 UTC 2011 Modified Files: src/distrib/sets/lists/comp: mi shl.mi Log Message: update set list for pcc-20110901 (libpcc is not required) To generate a diff of this commit: cvs rdiff -u -r1.1668 -r1.1669 src

CVS commit: src/external/bsd/pcc

2011-09-01 Thread Iain Hibbert
/pcc/usr.bin/pcc: Makefile Removed Files: src/external/bsd/pcc/lib: Makefile Makefile.inc src/external/bsd/pcc/lib/libpcc: Makefile Log Message: update build machinery for pcc-20110901 To generate a diff of this commit: cvs rdiff -u -r1.2 -r1.3 src/external/bsd/pcc/Makefile cvs

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

2011-09-01 Thread Iain Hibbert
Module Name:src Committed By: plunky Date: Thu Sep 1 12:55:43 UTC 2011 Modified Files: src/external/bsd/pcc/dist/pcc: configure.ac src/external/bsd/pcc/dist/pcc/cc: Makefile.in src/external/bsd/pcc/dist/pcc/cc/cc: cc.1 src/external/bsd/pcc/dist/pcc/

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

2011-09-01 Thread Iain Hibbert
Module Name:src Committed By: plunky Date: Thu Sep 1 12:47:29 UTC 2011 Update of /cvsroot/src/external/bsd/pcc/dist In directory ivanova.netbsd.org:/tmp/cvs-serv15505 Log Message: Update pcc snapshot to 1.1.0.DEVEL 20110901 Continual development has happened since the previous

CVS commit: src/sys/compat/linux/common

2011-09-01 Thread Nicolas Joly
Module Name:src Committed By: njoly Date: Thu Sep 1 12:44:10 UTC 2011 Modified Files: src/sys/compat/linux/common: linux_file64.c Log Message: Make linux_sys_getdents64 fails with ENOTDIR instead of EINVAL, when fd does not refer to a directory. To generate a diff of th

CVS commit: src/sys/kern

2011-09-01 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Thu Sep 1 12:29:41 UTC 2011 Modified Files: src/sys/kern: vfs_mount.c Log Message: undo previous To generate a diff of this commit: cvs rdiff -u -r1.8 -r1.9 src/sys/kern/vfs_mount.c Please note that diffs are not public doma

CVS commit: src/share/mk

2011-09-01 Thread Joerg Sonnenberger
Module Name:src Committed By: joerg Date: Thu Sep 1 12:25:10 UTC 2011 Modified Files: src/share/mk: bsd.clang-analyze.mk Log Message: Simplify, --analyze gives the same settings as default To generate a diff of this commit: cvs rdiff -u -r1.1 -r1.2 src/share/mk/bsd.clan

CVS commit: src/external/bsd/llvm

2011-09-01 Thread Joerg Sonnenberger
Module Name:src Committed By: joerg Date: Thu Sep 1 12:24:37 UTC 2011 Modified Files: src/external/bsd/llvm: Makefile.inc src/external/bsd/llvm/lib/libLLVMARMCodeGen: Makefile src/external/bsd/llvm/lib/libLLVMARMDisassembler: Makefile src/external/b

CVS commit: src/sys/kern

2011-09-01 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Thu Sep 1 12:15:07 UTC 2011 Modified Files: src/sys/kern: vfs_mount.c Log Message: fix typo. To generate a diff of this commit: cvs rdiff -u -r1.7 -r1.8 src/sys/kern/vfs_mount.c Please note that diffs are not public domain;

CVS commit: src/share/misc

2011-09-01 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Thu Sep 1 09:33:02 UTC 2011 Modified Files: src/share/misc: style Log Message: explain NULL casts To generate a diff of this commit: cvs rdiff -u -r1.48 -r1.49 src/share/misc/style Please note that diffs are not public domai

CVS commit: src/sys/kern

2011-09-01 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Thu Sep 1 09:04:09 UTC 2011 Modified Files: src/sys/kern: vfs_mount.c vfs_subr.c vfs_vnode.c Log Message: Check for v_type before v_rdev because it is cheaper and safer. To generate a diff of this commit: cvs rdiff -u -r1.6 -

CVS commit: src/sys/kern

2011-09-01 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Thu Sep 1 09:03:43 UTC 2011 Modified Files: src/sys/kern: vfs_wapbl.c Log Message: add a couple of asserts To generate a diff of this commit: cvs rdiff -u -r1.46 -r1.47 src/sys/kern/vfs_wapbl.c Please note that diffs are not

CVS commit: src/sys/arch/sparc/sparc

2011-09-01 Thread Martin Husemann
Module Name:src Committed By: martin Date: Thu Sep 1 08:47:56 UTC 2011 Modified Files: src/sys/arch/sparc/sparc: pmap.c Log Message: In pmap_unwire() fix an obvious editor mishap - enable kernel preemption before returning, not the other way around. Might fix PR kern/4513

CVS commit: src/sys/arch/sparc/sparc

2011-09-01 Thread Martin Husemann
Module Name:src Committed By: martin Date: Thu Sep 1 08:43:24 UTC 2011 Modified Files: src/sys/arch/sparc/sparc: timer_sun4m.c Log Message: Minor nit: avoid kpreempt_disable() if cold (as we return early and do not reenable it; actually makes no difference but looks more

CVS commit: [cherry-xenmp] src/sys/arch

2011-09-01 Thread Cherry G. Mathew
Module Name:src Committed By: cherry Date: Thu Sep 1 08:04:46 UTC 2011 Modified Files: src/sys/arch/x86/include [cherry-xenmp]: cpu.h src/sys/arch/xen/x86 [cherry-xenmp]: cpu.c Log Message: fix %cr3 init. from mhitch@, tested by riz@ & mhitch@ To generate a diff

CVS commit: src

2011-09-01 Thread Iain Hibbert
Module Name:src Committed By: plunky Date: Thu Sep 1 07:18:51 UTC 2011 Modified Files: src/games/cribbage: instr.c src/games/fish: fish.c src/games/hack: hack.pager.c hack.unix.c src/games/hunt/hunt: hunt.c src/games/phantasia: misc.c