CVS commit: src/sys/kern

2010-06-06 Thread Nick Hudson
Module Name:src
Committed By:   skrll
Date:   Sun Jun  6 07:46:18 UTC 2010

Modified Files:
src/sys/kern: sys_lwp.c

Log Message:
Follow the correct locking protocol when creating an LWP and the process
is stopping.

Problem found by running the gdb testsuite (gdb didn't have pthreads
support)

Thanks to rmind for help with this.


To generate a diff of this commit:
cvs rdiff -u -r1.49 -r1.50 src/sys/kern/sys_lwp.c

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



CVS commit: src

2010-06-06 Thread Juergen Hannken-Illjes
Module Name:src
Committed By:   hannken
Date:   Sun Jun  6 08:01:32 UTC 2010

Modified Files:
src/doc: CHANGES
src/share/man/man9: vnode.9
src/sys/fs/udf: udf_subr.c
src/sys/fs/union: union_subr.c
src/sys/fs/unionfs: unionfs_subr.c
src/sys/kern: vfs_subr.c vfs_vnops.c
src/sys/miscfs/genfs: genfs_vnops.c layer.h layer_subr.c layer_vnops.c
src/sys/miscfs/umapfs: umap_vnops.c
src/sys/sys: param.h vnode.h

Log Message:
Change layered file systems to always pass the locking VOP's down to the
leaf file system.  Remove now unused member v_vnlock from struct vnode.
Welcome to 5.99.30

Discussed on tech-kern.


To generate a diff of this commit:
cvs rdiff -u -r1.1399 -r1.1400 src/doc/CHANGES
cvs rdiff -u -r1.48 -r1.49 src/share/man/man9/vnode.9
cvs rdiff -u -r1.104 -r1.105 src/sys/fs/udf/udf_subr.c
cvs rdiff -u -r1.35 -r1.36 src/sys/fs/union/union_subr.c
cvs rdiff -u -r1.5 -r1.6 src/sys/fs/unionfs/unionfs_subr.c
cvs rdiff -u -r1.403 -r1.404 src/sys/kern/vfs_subr.c
cvs rdiff -u -r1.171 -r1.172 src/sys/kern/vfs_vnops.c
cvs rdiff -u -r1.177 -r1.178 src/sys/miscfs/genfs/genfs_vnops.c
cvs rdiff -u -r1.13 -r1.14 src/sys/miscfs/genfs/layer.h
cvs rdiff -u -r1.28 -r1.29 src/sys/miscfs/genfs/layer_subr.c
cvs rdiff -u -r1.39 -r1.40 src/sys/miscfs/genfs/layer_vnops.c
cvs rdiff -u -r1.48 -r1.49 src/sys/miscfs/umapfs/umap_vnops.c
cvs rdiff -u -r1.364 -r1.365 src/sys/sys/param.h
cvs rdiff -u -r1.218 -r1.219 src/sys/sys/vnode.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

2010-06-06 Thread Nick Hudson
Module Name:src
Committed By:   skrll
Date:   Sun Jun  6 09:12:39 UTC 2010

Modified Files:
src/sys/arch/hp700/hp700: machdep.c
src/sys/arch/hppa/hppa: vm_machdep.c

Log Message:
Pullup across/adapt fix from OpenBSD:

Properly initialize the members of `struct mdproc' that deal with
single-stepping when we fork and reset them upon exec.


To generate a diff of this commit:
cvs rdiff -u -r1.85 -r1.86 src/sys/arch/hp700/hp700/machdep.c
cvs rdiff -u -r1.44 -r1.45 src/sys/arch/hppa/hppa/vm_machdep.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/hp700

2010-06-06 Thread Nick Hudson
Module Name:src
Committed By:   skrll
Date:   Sun Jun  6 10:15:51 UTC 2010

Modified Files:
src/sys/arch/hp700/hp700: machdep.c
src/sys/arch/hp700/include: cpu.h


To generate a diff of this commit:
cvs rdiff -u -r1.86 -r1.87 src/sys/arch/hp700/hp700/machdep.c
cvs rdiff -u -r1.49 -r1.50 src/sys/arch/hp700/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/arch/hp700/include

2010-06-06 Thread Nick Hudson
Module Name:src
Committed By:   skrll
Date:   Sun Jun  6 10:22:43 UTC 2010

Modified Files:
src/sys/arch/hp700/include: cpu.h

Log Message:
Fix CPU_INFO_FOREACH in previous.


To generate a diff of this commit:
cvs rdiff -u -r1.50 -r1.51 src/sys/arch/hp700/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/acpi

2010-06-06 Thread Jukka Ruohonen
Module Name:src
Committed By:   jruoho
Date:   Sun Jun  6 10:44:41 UTC 2010

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

Log Message:
Although sysmon_pswitch_unregister(9) does not currently do anything, in
order to be ready for possible future API changes, call it if we failed to
install the fixed event handlers. Also small ACPI_DEBUG_PRINT clarifications.


To generate a diff of this commit:
cvs rdiff -u -r1.198 -r1.199 src/sys/dev/acpi/acpi.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/m68k/include

2010-06-06 Thread Havard Eidnes
Module Name:src
Committed By:   he
Date:   Sun Jun  6 11:41:06 UTC 2010

Modified Files:
src/sys/arch/m68k/include: pmap_motorola.h

Log Message:
Only include opt_m68k_arch.h if _KERNEL_OPT is defined, so that librump
builds again.  OK'ed by m...@.


To generate a diff of this commit:
cvs rdiff -u -r1.29 -r1.30 src/sys/arch/m68k/include/pmap_motorola.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

2010-06-06 Thread Nick Hudson
Module Name:src
Committed By:   skrll
Date:   Sun Jun  6 12:13:36 UTC 2010

Modified Files:
src/sys/arch/hp700/dev: cpu.c
src/sys/arch/hp700/hp700: locore.S machdep.c
src/sys/arch/hp700/include: cpu.h
src/sys/arch/hppa/hppa: copy.S trap.S
src/sys/arch/hppa/include: reg.h

Log Message:
MULTIPROCESSOR fixes

- provide curcpu in a control register instead of curlwp
- define {GET,SET}_CURLWP and GET_CURCPU and use whereever possible.
- define a cpu count and use it in CPU_INFO_FOREACH

XXX hppa_ncpus isn't valid yet.


To generate a diff of this commit:
cvs rdiff -u -r1.14 -r1.15 src/sys/arch/hp700/dev/cpu.c
cvs rdiff -u -r1.46 -r1.47 src/sys/arch/hp700/hp700/locore.S
cvs rdiff -u -r1.87 -r1.88 src/sys/arch/hp700/hp700/machdep.c
cvs rdiff -u -r1.51 -r1.52 src/sys/arch/hp700/include/cpu.h
cvs rdiff -u -r1.16 -r1.17 src/sys/arch/hppa/hppa/copy.S
cvs rdiff -u -r1.49 -r1.50 src/sys/arch/hppa/hppa/trap.S
cvs rdiff -u -r1.11 -r1.12 src/sys/arch/hppa/include/reg.h

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



CVS commit: src/etc

2010-06-06 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Sun Jun  6 12:37:57 UTC 2010

Modified Files:
src/etc: rc.subr

Log Message:
fix conditional, from dholland.


To generate a diff of this commit:
cvs rdiff -u -r1.82 -r1.83 src/etc/rc.subr

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



CVS commit: src/usr.bin/make

2010-06-06 Thread Thomas Klausner
Module Name:src
Committed By:   wiz
Date:   Sun Jun  6 17:28:48 UTC 2010

Modified Files:
src/usr.bin/make: make.1

Log Message:
Bump date for previous.


To generate a diff of this commit:
cvs rdiff -u -r1.173 -r1.174 src/usr.bin/make/make.1

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



CVS commit: src/sys/external/intel-public/acpica/dist

2010-06-06 Thread Jukka Ruohonen
Module Name:src
Committed By:   jruoho
Date:   Sun Jun  6 18:18:09 UTC 2010

Update of /cvsroot/src/sys/external/intel-public/acpica/dist
In directory ivanova.netbsd.org:/tmp/cvs-serv11458

Log Message:
Import ACPICA 20100528.


Status:

Vendor Tag: intel
Release Tags:   acpica-20100528

U src/sys/external/intel-public/acpica/dist/changes.txt
U src/sys/external/intel-public/acpica/dist/osunixxf.c
U src/sys/external/intel-public/acpica/dist/README
U src/sys/external/intel-public/acpica/dist/common/adfile.c
U src/sys/external/intel-public/acpica/dist/common/adisasm.c
U src/sys/external/intel-public/acpica/dist/common/adwalk.c
U src/sys/external/intel-public/acpica/dist/common/dmextern.c
U src/sys/external/intel-public/acpica/dist/common/dmrestag.c
U src/sys/external/intel-public/acpica/dist/common/dmtable.c
U src/sys/external/intel-public/acpica/dist/common/dmtbdump.c
C src/sys/external/intel-public/acpica/dist/common/dmtbinfo.c
U src/sys/external/intel-public/acpica/dist/common/getopt.c
U src/sys/external/intel-public/acpica/dist/compiler/aslanalyze.c
U src/sys/external/intel-public/acpica/dist/compiler/aslcodegen.c
U src/sys/external/intel-public/acpica/dist/compiler/aslcompile.c
U src/sys/external/intel-public/acpica/dist/compiler/aslcompiler.h
U src/sys/external/intel-public/acpica/dist/compiler/aslcompiler.l
U src/sys/external/intel-public/acpica/dist/compiler/aslcompiler.y
U src/sys/external/intel-public/acpica/dist/compiler/asldefine.h
U src/sys/external/intel-public/acpica/dist/compiler/aslerror.c
U src/sys/external/intel-public/acpica/dist/compiler/aslfiles.c
U src/sys/external/intel-public/acpica/dist/compiler/aslfold.c
U src/sys/external/intel-public/acpica/dist/compiler/aslglobal.h
U src/sys/external/intel-public/acpica/dist/compiler/asllength.c
U src/sys/external/intel-public/acpica/dist/compiler/asllisting.c
U src/sys/external/intel-public/acpica/dist/compiler/aslload.c
U src/sys/external/intel-public/acpica/dist/compiler/asllookup.c
U src/sys/external/intel-public/acpica/dist/compiler/aslmain.c
U src/sys/external/intel-public/acpica/dist/compiler/aslmap.c
U src/sys/external/intel-public/acpica/dist/compiler/aslopcodes.c
U src/sys/external/intel-public/acpica/dist/compiler/asloperands.c
U src/sys/external/intel-public/acpica/dist/compiler/aslopt.c
N src/sys/external/intel-public/acpica/dist/compiler/aslpredef.c
U src/sys/external/intel-public/acpica/dist/compiler/aslstubs.c
U src/sys/external/intel-public/acpica/dist/compiler/aslresource.c
U src/sys/external/intel-public/acpica/dist/compiler/aslrestype1.c
N src/sys/external/intel-public/acpica/dist/compiler/aslrestype1i.c
U src/sys/external/intel-public/acpica/dist/compiler/aslrestype2.c
N src/sys/external/intel-public/acpica/dist/compiler/aslrestype2d.c
N src/sys/external/intel-public/acpica/dist/compiler/aslrestype2e.c
N src/sys/external/intel-public/acpica/dist/compiler/aslrestype2q.c
N src/sys/external/intel-public/acpica/dist/compiler/aslrestype2w.c
U src/sys/external/intel-public/acpica/dist/compiler/aslstartup.c
U src/sys/external/intel-public/acpica/dist/compiler/asltransform.c
U src/sys/external/intel-public/acpica/dist/compiler/asltree.c
U src/sys/external/intel-public/acpica/dist/compiler/asltypes.h
U src/sys/external/intel-public/acpica/dist/compiler/aslutils.c
N src/sys/external/intel-public/acpica/dist/compiler/dtcompile.c
N src/sys/external/intel-public/acpica/dist/compiler/dtcompiler.h
N src/sys/external/intel-public/acpica/dist/compiler/dtfield.c
N src/sys/external/intel-public/acpica/dist/compiler/dtio.c
N src/sys/external/intel-public/acpica/dist/compiler/dtsubtable.c
N src/sys/external/intel-public/acpica/dist/compiler/dttable.c
N src/sys/external/intel-public/acpica/dist/compiler/dtutils.c
U src/sys/external/intel-public/acpica/dist/compiler/Makefile
U src/sys/external/intel-public/acpica/dist/compiler/readme.txt
C src/sys/external/intel-public/acpica/dist/debugger/dbcmds.c
U src/sys/external/intel-public/acpica/dist/debugger/dbdisply.c
C src/sys/external/intel-public/acpica/dist/debugger/dbexec.c
U src/sys/external/intel-public/acpica/dist/debugger/dbfileio.c
U src/sys/external/intel-public/acpica/dist/debugger/dbhistry.c
C src/sys/external/intel-public/acpica/dist/debugger/dbinput.c
U src/sys/external/intel-public/acpica/dist/debugger/dbstats.c
C src/sys/external/intel-public/acpica/dist/debugger/dbutils.c
U src/sys/external/intel-public/acpica/dist/debugger/dbxface.c
U src/sys/external/intel-public/acpica/dist/disassembler/dmbuffer.c
U src/sys/external/intel-public/acpica/dist/disassembler/dmnames.c
U src/sys/external/intel-public/acpica/dist/disassembler/dmobject.c
U src/sys/external/intel-public/acpica/dist/disassembler/dmopcode.c
C src/sys/external/intel-public/acpica/dist/disassembler/dmresrc.c
U src/sys/external/intel-public/acpica/dist/disassembler/dmresrcl.c
U src/sys/external/intel-public/acpica/dist/disassembler/dmresrcs.c
U src/sys/external/intel-public/acpica/dist/disassembler/d

CVS commit: src/sys/external/intel-public/acpica/dist

2010-06-06 Thread Jukka Ruohonen
Module Name:src
Committed By:   jruoho
Date:   Sun Jun  6 18:28:36 UTC 2010

Modified Files:
src/sys/external/intel-public/acpica/dist/common: dmtbinfo.c
src/sys/external/intel-public/acpica/dist/debugger: dbcmds.c dbexec.c
dbinput.c dbutils.c
src/sys/external/intel-public/acpica/dist/disassembler: dmresrc.c
src/sys/external/intel-public/acpica/dist/dispatcher: dsopcode.c
src/sys/external/intel-public/acpica/dist/events: evrgnini.c
src/sys/external/intel-public/acpica/dist/executer: exdump.c
src/sys/external/intel-public/acpica/dist/include: acdisasm.h
acglobal.h acinterp.h aclocal.h acnamesp.h acpiosxf.h acpixf.h
actables.h actypes.h
src/sys/external/intel-public/acpica/dist/namespace: nsaccess.c
nsdump.c nsinit.c nsrepair2.c
src/sys/external/intel-public/acpica/dist/parser: psloop.c
src/sys/external/intel-public/acpica/dist/tables: tbfadt.c tbutils.c
tbxface.c tbxfroot.c
src/sys/external/intel-public/acpica/dist/utilities: uteval.c
utglobal.c utmisc.c uttrack.c

Log Message:
Merge ACPICA 20100528


To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 \
src/sys/external/intel-public/acpica/dist/common/dmtbinfo.c
cvs rdiff -u -r1.3 -r1.4 \
src/sys/external/intel-public/acpica/dist/debugger/dbcmds.c \
src/sys/external/intel-public/acpica/dist/debugger/dbexec.c \
src/sys/external/intel-public/acpica/dist/debugger/dbinput.c \
src/sys/external/intel-public/acpica/dist/debugger/dbutils.c
cvs rdiff -u -r1.3 -r1.4 \
src/sys/external/intel-public/acpica/dist/disassembler/dmresrc.c
cvs rdiff -u -r1.3 -r1.4 \
src/sys/external/intel-public/acpica/dist/dispatcher/dsopcode.c
cvs rdiff -u -r1.3 -r1.4 \
src/sys/external/intel-public/acpica/dist/events/evrgnini.c
cvs rdiff -u -r1.3 -r1.4 \
src/sys/external/intel-public/acpica/dist/executer/exdump.c
cvs rdiff -u -r1.3 -r1.4 \
src/sys/external/intel-public/acpica/dist/include/acdisasm.h \
src/sys/external/intel-public/acpica/dist/include/acinterp.h \
src/sys/external/intel-public/acpica/dist/include/aclocal.h \
src/sys/external/intel-public/acpica/dist/include/acnamesp.h \
src/sys/external/intel-public/acpica/dist/include/acpiosxf.h \
src/sys/external/intel-public/acpica/dist/include/acpixf.h \
src/sys/external/intel-public/acpica/dist/include/actables.h \
src/sys/external/intel-public/acpica/dist/include/actypes.h
cvs rdiff -u -r1.2 -r1.3 \
src/sys/external/intel-public/acpica/dist/include/acglobal.h
cvs rdiff -u -r1.3 -r1.4 \
src/sys/external/intel-public/acpica/dist/namespace/nsaccess.c \
src/sys/external/intel-public/acpica/dist/namespace/nsdump.c
cvs rdiff -u -r1.4 -r1.5 \
src/sys/external/intel-public/acpica/dist/namespace/nsinit.c
cvs rdiff -u -r1.2 -r1.3 \
src/sys/external/intel-public/acpica/dist/namespace/nsrepair2.c
cvs rdiff -u -r1.3 -r1.4 \
src/sys/external/intel-public/acpica/dist/parser/psloop.c
cvs rdiff -u -r1.3 -r1.4 \
src/sys/external/intel-public/acpica/dist/tables/tbfadt.c \
src/sys/external/intel-public/acpica/dist/tables/tbxface.c \
src/sys/external/intel-public/acpica/dist/tables/tbxfroot.c
cvs rdiff -u -r1.4 -r1.5 \
src/sys/external/intel-public/acpica/dist/tables/tbutils.c
cvs rdiff -u -r1.3 -r1.4 \
src/sys/external/intel-public/acpica/dist/utilities/uteval.c \
src/sys/external/intel-public/acpica/dist/utilities/utglobal.c \
src/sys/external/intel-public/acpica/dist/utilities/utmisc.c \
src/sys/external/intel-public/acpica/dist/utilities/uttrack.c

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



CVS commit: src/sys/external/intel-public/acpica/dist

2010-06-06 Thread Jukka Ruohonen
Module Name:src
Committed By:   jruoho
Date:   Sun Jun  6 18:33:15 UTC 2010

Modified Files:
src/sys/external/intel-public/acpica/dist/debugger: dbdisply.c
src/sys/external/intel-public/acpica/dist/include: acutils.h
src/sys/external/intel-public/acpica/dist/utilities: utglobal.c

Log Message:
ACPICA does not understand the const type qualifier.


To generate a diff of this commit:
cvs rdiff -u -r1.1.1.3 -r1.2 \
src/sys/external/intel-public/acpica/dist/debugger/dbdisply.c
cvs rdiff -u -r1.3 -r1.4 \
src/sys/external/intel-public/acpica/dist/include/acutils.h
cvs rdiff -u -r1.4 -r1.5 \
src/sys/external/intel-public/acpica/dist/utilities/utglobal.c

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



CVS commit: src/sys/external/intel-public/acpica/conf

2010-06-06 Thread Jukka Ruohonen
Module Name:src
Committed By:   jruoho
Date:   Sun Jun  6 18:34:45 UTC 2010

Modified Files:
src/sys/external/intel-public/acpica/conf: files.acpica

Log Message:
Add new files from ACPICA 20100528.


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 \
src/sys/external/intel-public/acpica/conf/files.acpica

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



CVS commit: src/sys/dev/acpi

2010-06-06 Thread Jukka Ruohonen
Module Name:src
Committed By:   jruoho
Date:   Sun Jun  6 18:40:51 UTC 2010

Modified Files:
src/sys/dev/acpi: acpi_ec.c acpi_wakedev.c

Log Message:
ACPICA 20100331:

Completed a major update for the GPE support in order to improve
support for shared GPEs and to simplify both host OS and ACPICA
code. Added a reference count mechanism to support shared GPEs that
require multiple device drivers.  Several external interfaces have
changed. One external interface has been removed. One new external
interface was added. Most of the GPE external interfaces now use the
GPE spinlock instead of the events mutex (and the Flags parameter
for many GPE interfaces has been removed.) See the updated ACPICA
Programmer Reference for details. Matthew Garrett, Bob Moore, Rafael
Wysocki. ACPICA BZ 831.

Changed:
AcpiEnableGpe, AcpiDisableGpe, AcpiClearGpe, AcpiGetGpeStatus
Removed:
AcpiSetGpeType
New:
AcpiSetGpe


To generate a diff of this commit:
cvs rdiff -u -r1.65 -r1.66 src/sys/dev/acpi/acpi_ec.c
cvs rdiff -u -r1.14 -r1.15 src/sys/dev/acpi/acpi_wakedev.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/acpi

2010-06-06 Thread Jukka Ruohonen
Module Name:src
Committed By:   jruoho
Date:   Sun Jun  6 18:56:10 UTC 2010

Modified Files:
src/sys/dev/acpi: acpi_ec.c

Log Message:
We can no longer explicitly clear a GPE by calling AcpiClearGpe() in the
interrupt handler. However, all edge-triggered GPEs should already be
cleared before our GPE handler has a chance to run.

The reason can be found from the changes in the locking primitives of
ACPICA. All GPE operations now use a spin mutex on AcpiGbl_GpeLock, acquired
via AcpiOsAcquireLock(). This same lock is now acquired unconditionally in
the AcpiClearGpe() function. This causes a deadlock of the following form:

  ...

  AcpiEvGpeDetect() : acquire AcpiGbl_GpeLock;

  -> AcpiEvGpeDispatch();

  -> acpiec_gpe_handler();

  -> AcpiClearGpe() : acquire AcpiGbl_GpeLock;

  -> panic.


To generate a diff of this commit:
cvs rdiff -u -r1.66 -r1.67 src/sys/dev/acpi/acpi_ec.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/mii

2010-06-06 Thread Paul Goyette
Module Name:src
Committed By:   pgoyette
Date:   Sun Jun  6 18:58:22 UTC 2010

Modified Files:
src/sys/dev/mii: mii_physubr.c mii_verbose.c mii_verbose.h ukphy.c

Log Message:
Update miiverbose module to use module_autoload() rather than module_load().
Load the module right before each attempt to use its features, and let the
module subsystem handle unloading.


To generate a diff of this commit:
cvs rdiff -u -r1.69 -r1.70 src/sys/dev/mii/mii_physubr.c
cvs rdiff -u -r1.1 -r1.2 src/sys/dev/mii/mii_verbose.c \
src/sys/dev/mii/mii_verbose.h
cvs rdiff -u -r1.42 -r1.43 src/sys/dev/mii/ukphy.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/pci

2010-06-06 Thread Paul Goyette
Module Name:src
Committed By:   pgoyette
Date:   Sun Jun  6 18:58:24 UTC 2010

Modified Files:
src/sys/dev/pci: pci.c pci_subr.c pci_verbose.c pci_verbose.h

Log Message:
Update pciverbose module to use module_autoload() rather than module_load().
Load the module right before each attempt to use its features, and let the
module subsystem handle unloading.


To generate a diff of this commit:
cvs rdiff -u -r1.128 -r1.129 src/sys/dev/pci/pci.c
cvs rdiff -u -r1.82 -r1.83 src/sys/dev/pci/pci_subr.c
cvs rdiff -u -r1.5 -r1.6 src/sys/dev/pci/pci_verbose.c
cvs rdiff -u -r1.2 -r1.3 src/sys/dev/pci/pci_verbose.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/usb

2010-06-06 Thread Paul Goyette
Module Name:src
Committed By:   pgoyette
Date:   Sun Jun  6 18:58:26 UTC 2010

Modified Files:
src/sys/dev/usb: ohci.c usb.c usb_subr.c usb_verbose.c usb_verbose.h

Log Message:
Update usbverbose module to use module_autoload() rather than module_load().
Load the module right before each attempt to use its features, and let the
module subsystem handle unloading.


To generate a diff of this commit:
cvs rdiff -u -r1.206 -r1.207 src/sys/dev/usb/ohci.c
cvs rdiff -u -r1.121 -r1.122 src/sys/dev/usb/usb.c
cvs rdiff -u -r1.170 -r1.171 src/sys/dev/usb/usb_subr.c
cvs rdiff -u -r1.1 -r1.2 src/sys/dev/usb/usb_verbose.c \
src/sys/dev/usb/usb_verbose.h

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



CVS commit: src/doc

2010-06-06 Thread Jukka Ruohonen
Module Name:src
Committed By:   jruoho
Date:   Sun Jun  6 19:19:58 UTC 2010

Modified Files:
src/doc: 3RDPARTY CHANGES

Log Message:
Note the ACPICA update to 20100528.


To generate a diff of this commit:
cvs rdiff -u -r1.763 -r1.764 src/doc/3RDPARTY
cvs rdiff -u -r1.1400 -r1.1401 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/external/intel-public/acpica/bin/iasl

2010-06-06 Thread Jukka Ruohonen
Module Name:src
Committed By:   jruoho
Date:   Sun Jun  6 19:35:39 UTC 2010

Modified Files:
src/external/intel-public/acpica/bin/iasl: Makefile

Log Message:
Add missing files required for iASL from ACPICA 20100528.


To generate a diff of this commit:
cvs rdiff -u -r1.5 -r1.6 src/external/intel-public/acpica/bin/iasl/Makefile

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



CVS commit: src/sys/external/intel-public/acpica/dist/common

2010-06-06 Thread Jukka Ruohonen
Module Name:src
Committed By:   jruoho
Date:   Sun Jun  6 19:42:16 UTC 2010

Modified Files:
src/sys/external/intel-public/acpica/dist/common: dmtbinfo.c

Log Message:
Fix a build failure.

Apparently upstream does not bother to test-build their own releases.


To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 \
src/sys/external/intel-public/acpica/dist/common/dmtbinfo.c

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



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

2010-06-06 Thread Nicolas Joly
Module Name:src
Committed By:   njoly
Date:   Sun Jun  6 20:09:38 UTC 2010

Modified Files:
src/sys/rump/librump/rumpkern: Makefile.rumpkern

Log Message:
Make vers.c depend on sys/param.h too, to ensure that this file is
regenerated for on kernel version bump. Avoids __NetBSD_Version__ and
osrelease out of sync problem for mkupdate builds.

ok from po...@.


To generate a diff of this commit:
cvs rdiff -u -r1.87 -r1.88 src/sys/rump/librump/rumpkern/Makefile.rumpkern

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



CVS commit: xsrc/xfree/xc/programs/Xserver/hw/xfree86/drivers/glint

2010-06-06 Thread Joerg Sonnenberger
Module Name:xsrc
Committed By:   joerg
Date:   Sun Jun  6 20:10:03 UTC 2010

Modified Files:
xsrc/xfree/xc/programs/Xserver/hw/xfree86/drivers/glint: glint.man

Log Message:
Kill empty .TP.


To generate a diff of this commit:
cvs rdiff -u -r1.1.1.4 -r1.2 \
xsrc/xfree/xc/programs/Xserver/hw/xfree86/drivers/glint/glint.man

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



CVS commit: src/lib/libpuffs

2010-06-06 Thread Antti Kantee
Module Name:src
Committed By:   pooka
Date:   Sun Jun  6 22:44:54 UTC 2010

Modified Files:
src/lib/libpuffs: puffs.c

Log Message:
signal pathconf in the vector of supported ops


To generate a diff of this commit:
cvs rdiff -u -r1.107 -r1.108 src/lib/libpuffs/puffs.c

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



CVS commit: src/lib/libp2k

2010-06-06 Thread Antti Kantee
Module Name:src
Committed By:   pooka
Date:   Sun Jun  6 22:46:17 UTC 2010

Modified Files:
src/lib/libp2k: p2k.c

Log Message:
Pass VOP_PATHCONF to backend file server.  inspired by njoly.


To generate a diff of this commit:
cvs rdiff -u -r1.38 -r1.39 src/lib/libp2k/p2k.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/usb

2010-06-06 Thread Jonathan A. Kollasch
Module Name:src
Committed By:   jakllsch
Date:   Sun Jun  6 22:56:48 UTC 2010

Modified Files:
src/sys/dev/usb: usbdevs

Log Message:
Sort Sigmatel products.


To generate a diff of this commit:
cvs rdiff -u -r1.550 -r1.551 src/sys/dev/usb/usbdevs

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



CVS commit: src/sys/dev/usb

2010-06-06 Thread Jonathan A. Kollasch
Module Name:src
Committed By:   jakllsch
Date:   Sun Jun  6 23:01:05 UTC 2010

Modified Files:
src/sys/dev/usb: usbdevs

Log Message:
Add Philips SA235 Digital Audio Player.

This USB Mass Storage Class device stops responding after a
SCSI PREVENT ALLOW MEDIUM REMOVAL command.


To generate a diff of this commit:
cvs rdiff -u -r1.551 -r1.552 src/sys/dev/usb/usbdevs

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



CVS commit: src/sys/dev/usb

2010-06-06 Thread Jonathan A. Kollasch
Module Name:src
Committed By:   jakllsch
Date:   Sun Jun  6 23:02:32 UTC 2010

Modified Files:
src/sys/dev/usb: usbdevs.h usbdevs_data.h

Log Message:
Regenerate.


To generate a diff of this commit:
cvs rdiff -u -r1.545 -r1.546 src/sys/dev/usb/usbdevs.h
cvs rdiff -u -r1.546 -r1.547 src/sys/dev/usb/usbdevs_data.h

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



CVS commit: src/lib/libpuffs

2010-06-06 Thread Antti Kantee
Module Name:src
Committed By:   pooka
Date:   Sun Jun  6 23:11:05 UTC 2010

Modified Files:
src/lib/libpuffs: puffs.c

Log Message:
Actually, disable pathconf for a while longer: the retval needs a
little finetuning (not that everyone is jumping right to using it,
but fixing will have to wait until tomorrow, and who knows what
i'll forget during the night and how long it will eventually take).


To generate a diff of this commit:
cvs rdiff -u -r1.108 -r1.109 src/lib/libpuffs/puffs.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/scsipi

2010-06-06 Thread Paul Goyette
Module Name:src
Committed By:   pgoyette
Date:   Mon Jun  7 01:41:40 UTC 2010

Modified Files:
src/sys/dev/scsipi: atapiconf.c scsiconf.c scsipi_base.c
scsipi_verbose.c scsipiconf.c scsipiconf.h

Log Message:
Update scsiverbose module to use module_autoload() rather than module_load().
Load the module right before each attempt to use its features, and let the
module subsystem handle unloading.


To generate a diff of this commit:
cvs rdiff -u -r1.82 -r1.83 src/sys/dev/scsipi/atapiconf.c
cvs rdiff -u -r1.257 -r1.258 src/sys/dev/scsipi/scsiconf.c
cvs rdiff -u -r1.152 -r1.153 src/sys/dev/scsipi/scsipi_base.c
cvs rdiff -u -r1.30 -r1.31 src/sys/dev/scsipi/scsipi_verbose.c
cvs rdiff -u -r1.37 -r1.38 src/sys/dev/scsipi/scsipiconf.c
cvs rdiff -u -r1.117 -r1.118 src/sys/dev/scsipi/scsipiconf.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/acpi

2010-06-06 Thread Paul Goyette
Module Name:src
Committed By:   pgoyette
Date:   Mon Jun  7 01:45:28 UTC 2010

Modified Files:
src/sys/dev/acpi: acpi.c acpi_verbose.c acpivar.h

Log Message:
Update acpiverbose module to use module_autoload() rather than module_load().
Load the module right before each attempt to use its features, and let the
module subsystem handle unloading.


To generate a diff of this commit:
cvs rdiff -u -r1.199 -r1.200 src/sys/dev/acpi/acpi.c
cvs rdiff -u -r1.2 -r1.3 src/sys/dev/acpi/acpi_verbose.c
cvs rdiff -u -r1.55 -r1.56 src/sys/dev/acpi/acpivar.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/usb

2010-06-06 Thread Jonathan A. Kollasch
Module Name:src
Committed By:   jakllsch
Date:   Mon Jun  7 01:56:51 UTC 2010

Modified Files:
src/sys/dev/usb: umass_quirks.c

Log Message:
Four more quirky umass(4)es.
These include the Philips SA235, and iRiver iFP-series audio players.
Mostly from PR#25440 and PR#43264.


To generate a diff of this commit:
cvs rdiff -u -r1.79 -r1.80 src/sys/dev/usb/umass_quirks.c

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



CVS commit: src/tests/fs/tmpfs

2010-06-06 Thread Jeff Rizzo
Module Name:src
Committed By:   riz
Date:   Mon Jun  7 03:39:41 UTC 2010

Modified Files:
src/tests/fs/tmpfs: t_create.sh t_mkdir.sh

Log Message:
Use atf_check to su in a couple cases, to make the test failure
easier to understand when the unprivileged user has /sbin/nologin
for a shell.


To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 src/tests/fs/tmpfs/t_create.sh \
src/tests/fs/tmpfs/t_mkdir.sh

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



CVS commit: src

2010-06-06 Thread Jeff Rizzo
Module Name:src
Committed By:   riz
Date:   Mon Jun  7 03:43:51 UTC 2010

Modified Files:
src/distrib/sets/lists/tests: mi
src/tests/fs/tmpfs: Atffile Makefile
Removed Files:
src/tests/fs/tmpfs: t_id_gen.sh

Log Message:
Remove a test (that a created directory had a predictable inode number)
that no longer makes sense since the vmlocking2 branch was merged.


To generate a diff of this commit:
cvs rdiff -u -r1.79 -r1.80 src/distrib/sets/lists/tests/mi
cvs rdiff -u -r1.5 -r1.6 src/tests/fs/tmpfs/Atffile \
src/tests/fs/tmpfs/Makefile
cvs rdiff -u -r1.4 -r0 src/tests/fs/tmpfs/t_id_gen.sh

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



CVS commit: src/sys/dev/acpi

2010-06-06 Thread Jukka Ruohonen
Module Name:src
Committed By:   jruoho
Date:   Mon Jun  7 04:08:26 UTC 2010

Modified Files:
src/sys/dev/acpi: acpi_wakedev.c

Log Message:
Instead of disabling all GPEs for non-wakedevs, set both runtime and wake
GPEs, but unset only wake GPEs. The old behavior was questionable, as the
intention was only to disable a device's ability to wake the system.
Maintaining the runtime GPE generation is more important now as ACPICA
supports sharing a single GPE across multiple devices.

Discussed with jmcne...@.


To generate a diff of this commit:
cvs rdiff -u -r1.15 -r1.16 src/sys/dev/acpi/acpi_wakedev.c

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



CVS commit: src/lib/libpthread

2010-06-06 Thread David A. Holland
Module Name:src
Committed By:   dholland
Date:   Mon Jun  7 04:36:34 UTC 2010

Modified Files:
src/lib/libpthread: pthread_create.3

Log Message:
Improve wording describing the behavior of the attributes argument, and
add reference to pthread_attr(3), as requested in PR 42871. The text
added is different from but based on a suggestion by Matthew Mondor.


To generate a diff of this commit:
cvs rdiff -u -r1.5 -r1.6 src/lib/libpthread/pthread_create.3

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



CVS commit: src/etc/mtree

2010-06-06 Thread Jukka Ruohonen
Module Name:src
Committed By:   jruoho
Date:   Mon Jun  7 04:48:47 UTC 2010

Modified Files:
src/etc/mtree: special

Log Message:
Add "optional" keyword to rc.d/xdm and rc.d/xfs. Fixes PR misc/43307.


To generate a diff of this commit:
cvs rdiff -u -r1.131 -r1.132 src/etc/mtree/special

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