CVS commit: src/sys/dev

2010-09-19 Thread matthew green
Module Name:src
Committed By:   mrg
Date:   Sun Sep 19 07:11:43 UTC 2010

Modified Files:
src/sys/dev: vnd.c vndvar.h

Log Message:
fix the vnd_osize changes on 32 bit platforms with 64 bit alignment for
64 bit integers (eg, sparc).  the problem was that the new 64 bit
element on the end was used for the offsetof() (aka size) for the old
structure, but this includes the padding required, thus the ioctl number
was set wrongly.

move all the supporting code for this inside COMPAT_50, with some renaming
to suit, and kill all the external definitions related to it.

tested on i386, amd64 and sparc.


To generate a diff of this commit:
cvs rdiff -u -r1.211 -r1.212 src/sys/dev/vnd.c
cvs rdiff -u -r1.27 -r1.28 src/sys/dev/vndvar.h

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

2010-09-19 Thread matthew green
Module Name:src
Committed By:   mrg
Date:   Sun Sep 19 09:09:30 UTC 2010

Modified Files:
src/sys/compat/netbsd32: netbsd32_ioctl.c netbsd32_ioctl.h

Log Message:
support VND* ioctls.


To generate a diff of this commit:
cvs rdiff -u -r1.47 -r1.48 src/sys/compat/netbsd32/netbsd32_ioctl.c
cvs rdiff -u -r1.25 -r1.26 src/sys/compat/netbsd32/netbsd32_ioctl.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

2010-09-19 Thread matthew green
Module Name:src
Committed By:   mrg
Date:   Sun Sep 19 09:41:37 UTC 2010

Modified Files:
src/sys/dev: vnd.c vndvar.h

Log Message:
actually, put the old definitions back into vndvar.h, under _KERNEL,
as netbsd32 wants access to them.


To generate a diff of this commit:
cvs rdiff -u -r1.212 -r1.213 src/sys/dev/vnd.c
cvs rdiff -u -r1.28 -r1.29 src/sys/dev/vndvar.h

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

2010-09-19 Thread matthew green
Module Name:src
Committed By:   mrg
Date:   Sun Sep 19 09:46:59 UTC 2010

Modified Files:
src/sys/compat/netbsd32: netbsd32_ioctl.c netbsd32_ioctl.h

Log Message:
add support for the netbsd 5.0 versions of the VND* ioctls.


To generate a diff of this commit:
cvs rdiff -u -r1.48 -r1.49 src/sys/compat/netbsd32/netbsd32_ioctl.c
cvs rdiff -u -r1.26 -r1.27 src/sys/compat/netbsd32/netbsd32_ioctl.h

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

2010-09-19 Thread matthew green
Module Name:src
Committed By:   mrg
Date:   Sun Sep 19 10:33:31 UTC 2010

Modified Files:
src/sys/compat/netbsd32: netbsd32_ioctl.c netbsd32_ioctl.h

Log Message:
add (runtime untested) support for AUDIO_WSEEK.


To generate a diff of this commit:
cvs rdiff -u -r1.49 -r1.50 src/sys/compat/netbsd32/netbsd32_ioctl.c
cvs rdiff -u -r1.27 -r1.28 src/sys/compat/netbsd32/netbsd32_ioctl.h

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



CVS commit: src/share/man/man4

2010-09-19 Thread matthew green
Module Name:src
Committed By:   mrg
Date:   Sun Sep 19 10:34:34 UTC 2010

Modified Files:
src/share/man/man4: audio.4

Log Message:
AUDIO_WSEEK uses a u_long, not a int.


To generate a diff of this commit:
cvs rdiff -u -r1.70 -r1.71 src/share/man/man4/audio.4

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



CVS commit: src/lib/libkvm

2010-09-19 Thread Jean-Yves Migeon
Module Name:src
Committed By:   jym
Date:   Sun Sep 19 11:37:40 UTC 2010

Modified Files:
src/lib/libkvm: kvm_powerpc.c

Log Message:
KNF


To generate a diff of this commit:
cvs rdiff -u -r1.10 -r1.11 src/lib/libkvm/kvm_powerpc.c

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



CVS commit: src/etc

2010-09-19 Thread Jonathan A. Kollasch
Module Name:src
Committed By:   jakllsch
Date:   Sun Sep 19 20:52:23 UTC 2010

Modified Files:
src/etc: MAKEDEV.tmpl

Log Message:
Make pci(4) device nodes root:wheel 0640 by default.
Mortals do not need to be able to generate PCI Configuration Space
read transactions, which are not entirely without side effect, as
reported in PR#16300.


To generate a diff of this commit:
cvs rdiff -u -r1.135 -r1.136 src/etc/MAKEDEV.tmpl

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



CVS commit: src/etc/powerd/scripts

2010-09-19 Thread David Brownlee
Module Name:src
Committed By:   abs
Date:   Sun Sep 19 21:47:28 UTC 2010

Modified Files:
src/etc/powerd/scripts: lid_switch sleep_button

Log Message:
use '/etc/rc.d/apmd onestatus' rather than '/etc/rc.d/apmd status',
so we DTRT if apmd is set to NO in rc.conf


To generate a diff of this commit:
cvs rdiff -u -r1.6 -r1.7 src/etc/powerd/scripts/lid_switch
cvs rdiff -u -r1.5 -r1.6 src/etc/powerd/scripts/sleep_button

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

2010-09-19 Thread Matthew Jacob
Module Name:src
Committed By:   mjacob
Date:   Mon Sep 20 03:52:45 UTC 2010

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

Log Message:
Multiple channel devices *should* be working. Remove the debug code
that was avoiding finding out.


To generate a diff of this commit:
cvs rdiff -u -r1.83 -r1.84 src/sys/dev/ic/isp_netbsd.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/perfused

2010-09-19 Thread Emmanuel Dreyfus
Module Name:src
Committed By:   manu
Date:   Mon Sep 20 06:45:38 UTC 2010

Modified Files:
src/usr.sbin/perfused: msg.c perfused.c

Log Message:
- Add debug santity checks
- Do not request peer creds anymore once we have them.


To generate a diff of this commit:
cvs rdiff -u -r1.6 -r1.7 src/usr.sbin/perfused/msg.c
cvs rdiff -u -r1.8 -r1.9 src/usr.sbin/perfused/perfused.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

2010-09-19 Thread KIYOHARA Takashi
Module Name:src
Committed By:   kiyohara
Date:   Mon Sep 20 06:54:06 UTC 2010

Modified Files:
src/sys/dev: ld.c ldvar.h

Log Message:
Check disk bounds, in RAW_PART.


To generate a diff of this commit:
cvs rdiff -u -r1.67 -r1.68 src/sys/dev/ld.c
cvs rdiff -u -r1.17 -r1.18 src/sys/dev/ldvar.h

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