CVS commit: src/sys/dev/dm

2011-08-28 Thread Adam Hoka
Module Name:src
Committed By:   ahoka
Date:   Sun Aug 28 07:22:48 UTC 2011

Modified Files:
src/sys/dev/dm: dm_target.c

Log Message:
readd assertions noew with the correct struct
im wondering why the module cflags didnt warn about this obvious typo


To generate a diff of this commit:
cvs rdiff -u -r1.17 -r1.18 src/sys/dev/dm/dm_target.c

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



CVS commit: src/lib/libutil

2011-08-28 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Sun Aug 28 07:45:14 UTC 2011

Modified Files:
src/lib/libutil: Makefile shlib_version
Added Files:
src/lib/libutil: strpct.3 strpct.c

Log Message:
add strpct, requested by joerg


To generate a diff of this commit:
cvs rdiff -u -r1.63 -r1.64 src/lib/libutil/Makefile
cvs rdiff -u -r1.47 -r1.48 src/lib/libutil/shlib_version
cvs rdiff -u -r0 -r1.1 src/lib/libutil/strpct.3 src/lib/libutil/strpct.c

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



CVS commit: src/include

2011-08-28 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Sun Aug 28 07:46:13 UTC 2011

Modified Files:
src/include: util.h

Log Message:
prototype for strpct


To generate a diff of this commit:
cvs rdiff -u -r1.57 -r1.58 src/include/util.h

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



CVS commit: src/distrib/sets/lists

2011-08-28 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Sun Aug 28 07:48:18 UTC 2011

Modified Files:
src/distrib/sets/lists/base: ad.mips64eb ad.mips64el md.amd64
md.sparc64 shl.mi
src/distrib/sets/lists/comp: ad.mips64eb ad.mips64el md.amd64
md.sparc64 shl.mi

Log Message:
bump libutil for strpct


To generate a diff of this commit:
cvs rdiff -u -r1.63 -r1.64 src/distrib/sets/lists/base/ad.mips64eb
cvs rdiff -u -r1.60 -r1.61 src/distrib/sets/lists/base/ad.mips64el
cvs rdiff -u -r1.134 -r1.135 src/distrib/sets/lists/base/md.amd64
cvs rdiff -u -r1.127 -r1.128 src/distrib/sets/lists/base/md.sparc64
cvs rdiff -u -r1.596 -r1.597 src/distrib/sets/lists/base/shl.mi
cvs rdiff -u -r1.48 -r1.49 src/distrib/sets/lists/comp/ad.mips64eb \
src/distrib/sets/lists/comp/ad.mips64el
cvs rdiff -u -r1.130 -r1.131 src/distrib/sets/lists/comp/md.amd64
cvs rdiff -u -r1.115 -r1.116 src/distrib/sets/lists/comp/md.sparc64
cvs rdiff -u -r1.185 -r1.186 src/distrib/sets/lists/comp/shl.mi

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



CVS commit: src

2011-08-28 Thread Marc Balmer
Module Name:src
Committed By:   mbalmer
Date:   Sun Aug 28 07:48:51 UTC 2011

Modified Files:
src/share/man/man4: gpio.4
src/sys/dev/gpio: gpio.c gpiovar.h
src/sys/sys: gpio.h
src/usr.sbin/gpioctl: gpioctl.8 gpioctl.c

Log Message:
Add a new ioctl, GPIOPULSE to gpio(4) to allow for pulsing a pin.
If a pin can pulse in hardware, that will be used, else it will
be pulsed in software.  There is no way yet to set the pulse frequency
for pins that pulse in hardware.  While here, make the code mpsafe and
allow more than one thread in the driver (access to ioctl is serialized).


To generate a diff of this commit:
cvs rdiff -u -r1.18 -r1.19 src/share/man/man4/gpio.4
cvs rdiff -u -r1.35 -r1.36 src/sys/dev/gpio/gpio.c
cvs rdiff -u -r1.11 -r1.12 src/sys/dev/gpio/gpiovar.h
cvs rdiff -u -r1.8 -r1.9 src/sys/sys/gpio.h
cvs rdiff -u -r1.8 -r1.9 src/usr.sbin/gpioctl/gpioctl.8
cvs rdiff -u -r1.10 -r1.11 src/usr.sbin/gpioctl/gpioctl.c

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



CVS commit: src/bin/csh

2011-08-28 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Sun Aug 28 07:49:16 UTC 2011

Modified Files:
src/bin/csh: Makefile time.c
Removed Files:
src/bin/csh: strpct.c

Log Message:
use strpct(3) from libutil.


To generate a diff of this commit:
cvs rdiff -u -r1.32 -r1.33 src/bin/csh/Makefile
cvs rdiff -u -r1.8 -r0 src/bin/csh/strpct.c
cvs rdiff -u -r1.17 -r1.18 src/bin/csh/time.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/sparc/stand/boot

2011-08-28 Thread matthew green
Module Name:src
Committed By:   mrg
Date:   Sun Aug 28 08:03:50 UTC 2011

Modified Files:
src/sys/arch/sparc/stand/boot: Makefile

Log Message:
emit some linker -Map files so that we can figure out what symbols
in the boot loaders are.


To generate a diff of this commit:
cvs rdiff -u -r1.37 -r1.38 src/sys/arch/sparc/stand/boot/Makefile

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



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

2011-08-28 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Sun Aug 28 08:20:31 UTC 2011

Modified Files:
src/distrib/sets/lists/comp: mi

Log Message:
add strpct man mage


To generate a diff of this commit:
cvs rdiff -u -r1.1664 -r1.1665 src/distrib/sets/lists/comp/mi

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



CVS commit: src/bin/df

2011-08-28 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Sun Aug 28 08:20:58 UTC 2011

Modified Files:
src/bin/df: Makefile df.c

Log Message:
- static/__dead
- use strpct from libutil
- fix off by one in format


To generate a diff of this commit:
cvs rdiff -u -r1.18 -r1.19 src/bin/df/Makefile
cvs rdiff -u -r1.86 -r1.87 src/bin/df/df.c

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



CVS commit: src/usr.bin/time

2011-08-28 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Sun Aug 28 08:24:42 UTC 2011

Modified Files:
src/usr.bin/time: Makefile time.c

Log Message:
use strpct from libutil.


To generate a diff of this commit:
cvs rdiff -u -r1.8 -r1.9 src/usr.bin/time/Makefile
cvs rdiff -u -r1.19 -r1.20 src/usr.bin/time/time.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/union

2011-08-28 Thread Juergen Hannken-Illjes
Module Name:src
Committed By:   hannken
Date:   Sun Aug 28 08:27:57 UTC 2011

Modified Files:
src/sys/fs/union: union_vfsops.c

Log Message:
Print the warning message on mount once.

Should fix PR #42795 (patch to make mounting union filesystems less obnoxious)


To generate a diff of this commit:
cvs rdiff -u -r1.63 -r1.64 src/sys/fs/union/union_vfsops.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/chroot

2011-08-28 Thread Marc Balmer
Module Name:src
Committed By:   mbalmer
Date:   Sun Aug 28 08:32:47 UTC 2011

Modified Files:
src/usr.sbin/chroot: chroot.c

Log Message:
Initialize local variables that previously were global (user, group).


To generate a diff of this commit:
cvs rdiff -u -r1.17 -r1.18 src/usr.sbin/chroot/chroot.c

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



CVS commit: src/share/misc

2011-08-28 Thread John Nemeth
Module Name:src
Committed By:   jnemeth
Date:   Sun Aug 28 08:41:01 UTC 2011

Modified Files:
src/share/misc: acronyms

Log Message:
add TINLA -> this is not legal advice


To generate a diff of this commit:
cvs rdiff -u -r1.206 -r1.207 src/share/misc/acronyms

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



CVS commit: src/sbin/pppoectl

2011-08-28 Thread Marc Balmer
Module Name:src
Committed By:   mbalmer
Date:   Sun Aug 28 08:43:02 UTC 2011

Modified Files:
src/sbin/pppoectl: pppoectl.c

Log Message:
Remove duplicate static.


To generate a diff of this commit:
cvs rdiff -u -r1.23 -r1.24 src/sbin/pppoectl/pppoectl.c

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



CVS commit: src/tests/util/df

2011-08-28 Thread Marc Balmer
Module Name:src
Committed By:   mbalmer
Date:   Sun Aug 28 09:02:51 UTC 2011

Modified Files:
src/tests/util/df: Makefile

Log Message:
Fix build (strcpt fallout).


To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 src/tests/util/df/Makefile

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

2011-08-28 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Sun Aug 28 09:32:21 UTC 2011

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

Log Message:
Make this compile again without WDC_NO_IDS.


To generate a diff of this commit:
cvs rdiff -u -r1.263 -r1.264 src/sys/dev/ic/wdc.c

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



CVS commit: src/tests/util/df

2011-08-28 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Sun Aug 28 09:39:44 UTC 2011

Modified Files:
src/tests/util/df: Makefile

Log Message:
remove strpct copts


To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 src/tests/util/df/Makefile

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



CVS commit: src/sys/dev/ata

2011-08-28 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Sun Aug 28 09:43:25 UTC 2011

Modified Files:
src/sys/dev/ata: ata_wdc.c

Log Message:
make this compile.


To generate a diff of this commit:
cvs rdiff -u -r1.94 -r1.95 src/sys/dev/ata/ata_wdc.c

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



CVS commit: src/sbin/init

2011-08-28 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Sun Aug 28 10:13:03 UTC 2011

Modified Files:
src/sbin/init: init.c

Log Message:
make it compile with SMALLPROG


To generate a diff of this commit:
cvs rdiff -u -r1.101 -r1.102 src/sbin/init/init.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

2011-08-28 Thread Manuel Bouyer
Module Name:src
Committed By:   bouyer
Date:   Sun Aug 28 10:21:41 UTC 2011

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

Log Message:
Revert previous and fix properly by just removing the #error and a bogus
KASSERT() (these 2 are leftover from the experiments on the fuloong
and were not intended to be commited).


To generate a diff of this commit:
cvs rdiff -u -r1.264 -r1.265 src/sys/dev/ic/wdc.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/sparc/sparc

2011-08-28 Thread matthew green
Module Name:src
Committed By:   mrg
Date:   Sun Aug 28 10:26:15 UTC 2011

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

Log Message:
fix sparc UP kernels with GCC 4.5, with special thanks to help from
mlelstv@ tracking down the real issue.

sp_tlb_flush() makes various assumptions about the ABI and what GCC
will do with the rest of this function.  the inputs were not referenced
by name but only as "%o0" etc inside the asm.  the result was that GCC
was not filling in the function parameters before calling it because
they were not used in the function.  so, sp_tlb_flush() was getting
random data for it's inputs.  oops.

for now, convert 2 asm() calls to pure C, and mark the inputs for
the sta calls.  this makes GCC generate the right code, but it still
isn't entirely optimal.

ideally a pure C version would exist, but that adds non-trivial
overhead (15 instructions vs 23 or so.)

one more enhancement to make here would be to assign the %o3, %o4 and
%o5 usage into explicit temp variables, instead of assuming that they
are going to be free to use.


To generate a diff of this commit:
cvs rdiff -u -r1.344 -r1.345 src/sys/arch/sparc/sparc/pmap.c

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



CVS commit: src/crypto/external/bsd/heimdal/lib/libcom_err/compile_et

2011-08-28 Thread Roland Dowdeswell
Module Name:src
Committed By:   elric
Date:   Sun Aug 28 10:28:36 UTC 2011

Modified Files:
src/crypto/external/bsd/heimdal/lib/libcom_err/compile_et: Makefile

Log Message:
Change the location of version.h from the old Heimdal srcs to the
new srcs.


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 \
src/crypto/external/bsd/heimdal/lib/libcom_err/compile_et/Makefile

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



CVS commit: src/crypto/external/bsd/heimdal/lib/libvers

2011-08-28 Thread Roland Dowdeswell
Module Name:src
Committed By:   elric
Date:   Sun Aug 28 11:20:16 UTC 2011

Modified Files:
src/crypto/external/bsd/heimdal/lib/libvers: Makefile

Log Message:
Change the location of version.h from the old Heimdal srcs to the
new srcs.


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/crypto/external/bsd/heimdal/lib/libvers/Makefile

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



CVS commit: src/sys/dev/gpio

2011-08-28 Thread Jared D. McNeill
Module Name:src
Committed By:   jmcneill
Date:   Sun Aug 28 11:36:17 UTC 2011

Modified Files:
src/sys/dev/gpio: gpiosim.c

Log Message:
build with WARNS=3


To generate a diff of this commit:
cvs rdiff -u -r1.10 -r1.11 src/sys/dev/gpio/gpiosim.c

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



CVS commit: src/sys

2011-08-28 Thread Jared D. McNeill
Module Name:src
Committed By:   jmcneill
Date:   Sun Aug 28 15:40:50 UTC 2011

Modified Files:
src/sys/dev/pci: azalia.c
src/sys/external/bsd/drm/dist/bsd-core: i915_drv.c radeon_drv.c
src/sys/modules: Makefile.inc
src/sys/modules/azalia: Makefile
src/sys/modules/i915drm: Makefile
src/sys/modules/pf: Makefile
src/sys/modules/radeondrm: Makefile
Added Files:
src/sys/modules/azalia: azalia.ioconf
src/sys/modules/i915drm: i915drm.ioconf
src/sys/modules/radeondrm: radeondrm.ioconf

Log Message:
set default WARNS for modules to 3 -- the only one that needs < 3 now is pf


To generate a diff of this commit:
cvs rdiff -u -r1.75 -r1.76 src/sys/dev/pci/azalia.c
cvs rdiff -u -r1.8 -r1.9 src/sys/external/bsd/drm/dist/bsd-core/i915_drv.c
cvs rdiff -u -r1.10 -r1.11 \
src/sys/external/bsd/drm/dist/bsd-core/radeon_drv.c
cvs rdiff -u -r1.3 -r1.4 src/sys/modules/Makefile.inc
cvs rdiff -u -r1.1 -r1.2 src/sys/modules/azalia/Makefile
cvs rdiff -u -r0 -r1.1 src/sys/modules/azalia/azalia.ioconf
cvs rdiff -u -r1.5 -r1.6 src/sys/modules/i915drm/Makefile
cvs rdiff -u -r0 -r1.1 src/sys/modules/i915drm/i915drm.ioconf
cvs rdiff -u -r1.1 -r1.2 src/sys/modules/pf/Makefile
cvs rdiff -u -r1.8 -r1.9 src/sys/modules/radeondrm/Makefile
cvs rdiff -u -r0 -r1.1 src/sys/modules/radeondrm/radeondrm.ioconf

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



CVS commit: src/sbin/fdisk

2011-08-28 Thread Andreas Gustafsson
Module Name:src
Committed By:   gson
Date:   Sun Aug 28 15:46:26 UTC 2011

Modified Files:
src/sbin/fdisk: fdisk.c

Log Message:
fix the sparc build


To generate a diff of this commit:
cvs rdiff -u -r1.133 -r1.134 src/sbin/fdisk/fdisk.c

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



CVS commit: src/sys/modules

2011-08-28 Thread Jared D. McNeill
Module Name:src
Committed By:   jmcneill
Date:   Sun Aug 28 15:48:20 UTC 2011

Modified Files:
src/sys/modules/aps: Makefile
src/sys/modules/ath: Makefile
src/sys/modules/ath_hal: Makefile
src/sys/modules/coram: Makefile
src/sys/modules/dbcool: Makefile
src/sys/modules/est: Makefile
src/sys/modules/hdafg: Makefile
src/sys/modules/hdaudio: Makefile
src/sys/modules/if_alc: Makefile
src/sys/modules/if_ath_pci: Makefile
src/sys/modules/if_cas: Makefile
src/sys/modules/nsclpcsio: Makefile
src/sys/modules/powernow: Makefile

Log Message:
WARNS=3 is the default


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/sys/modules/aps/Makefile
cvs rdiff -u -r1.1 -r1.2 src/sys/modules/ath/Makefile
cvs rdiff -u -r1.3 -r1.4 src/sys/modules/ath_hal/Makefile
cvs rdiff -u -r1.1 -r1.2 src/sys/modules/coram/Makefile
cvs rdiff -u -r1.1 -r1.2 src/sys/modules/dbcool/Makefile
cvs rdiff -u -r1.1 -r1.2 src/sys/modules/est/Makefile
cvs rdiff -u -r1.3 -r1.4 src/sys/modules/hdafg/Makefile
cvs rdiff -u -r1.1 -r1.2 src/sys/modules/hdaudio/Makefile
cvs rdiff -u -r1.1 -r1.2 src/sys/modules/if_alc/Makefile
cvs rdiff -u -r1.1 -r1.2 src/sys/modules/if_ath_pci/Makefile
cvs rdiff -u -r1.1 -r1.2 src/sys/modules/if_cas/Makefile
cvs rdiff -u -r1.1 -r1.2 src/sys/modules/nsclpcsio/Makefile
cvs rdiff -u -r1.1 -r1.2 src/sys/modules/powernow/Makefile

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



CVS commit: src

2011-08-28 Thread Jared D. McNeill
Module Name:src
Committed By:   jmcneill
Date:   Sun Aug 28 15:56:22 UTC 2011

Modified Files:
src/distrib/sets/lists/modules: md.i386
src/sys/external/bsd/drm/dist/bsd-core: ati_pcigart.c radeon_drv.c
src/sys/modules/radeondrm: Makefile
Added Files:
src/sys/modules/ati_pcigart: Makefile

Log Message:
Split out ati_pcigart into a separate module so it can be shared with r128drm


To generate a diff of this commit:
cvs rdiff -u -r1.33 -r1.34 src/distrib/sets/lists/modules/md.i386
cvs rdiff -u -r1.5 -r1.6 src/sys/external/bsd/drm/dist/bsd-core/ati_pcigart.c
cvs rdiff -u -r1.11 -r1.12 \
src/sys/external/bsd/drm/dist/bsd-core/radeon_drv.c
cvs rdiff -u -r0 -r1.1 src/sys/modules/ati_pcigart/Makefile
cvs rdiff -u -r1.9 -r1.10 src/sys/modules/radeondrm/Makefile

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



CVS commit: src

2011-08-28 Thread Jared D. McNeill
Module Name:src
Committed By:   jmcneill
Date:   Sun Aug 28 16:19:08 UTC 2011

Modified Files:
src/distrib/sets/lists/modules: md.i386
src/sys/external/bsd/drm/dist/bsd-core: mach64_drv.c mga_drv.c
r128_drv.c savage_drv.c sis_drv.c tdfx_drv.c
src/sys/modules: Makefile
Added Files:
src/sys/modules/mach64drm: Makefile mach64drm.ioconf
src/sys/modules/mgadrm: Makefile mgadrm.ioconf
src/sys/modules/r128drm: Makefile r128drm.ioconf
src/sys/modules/savagedrm: Makefile savagedrm.ioconf
src/sys/modules/sisdrm: Makefile sisdrm.ioconf
src/sys/modules/tdfxdrm: Makefile tdfxdrm.ioconf

Log Message:
add mach64drm, mgadrm, r128drm, savagedrm, sisdrm, and tdfxdrm modules


To generate a diff of this commit:
cvs rdiff -u -r1.34 -r1.35 src/distrib/sets/lists/modules/md.i386
cvs rdiff -u -r1.5 -r1.6 src/sys/external/bsd/drm/dist/bsd-core/mach64_drv.c \
src/sys/external/bsd/drm/dist/bsd-core/r128_drv.c \
src/sys/external/bsd/drm/dist/bsd-core/savage_drv.c \
src/sys/external/bsd/drm/dist/bsd-core/sis_drv.c \
src/sys/external/bsd/drm/dist/bsd-core/tdfx_drv.c
cvs rdiff -u -r1.8 -r1.9 src/sys/external/bsd/drm/dist/bsd-core/mga_drv.c
cvs rdiff -u -r1.89 -r1.90 src/sys/modules/Makefile
cvs rdiff -u -r0 -r1.1 src/sys/modules/mach64drm/Makefile \
src/sys/modules/mach64drm/mach64drm.ioconf
cvs rdiff -u -r0 -r1.1 src/sys/modules/mgadrm/Makefile \
src/sys/modules/mgadrm/mgadrm.ioconf
cvs rdiff -u -r0 -r1.1 src/sys/modules/r128drm/Makefile \
src/sys/modules/r128drm/r128drm.ioconf
cvs rdiff -u -r0 -r1.1 src/sys/modules/savagedrm/Makefile \
src/sys/modules/savagedrm/savagedrm.ioconf
cvs rdiff -u -r0 -r1.1 src/sys/modules/sisdrm/Makefile \
src/sys/modules/sisdrm/sisdrm.ioconf
cvs rdiff -u -r0 -r1.1 src/sys/modules/tdfxdrm/Makefile \
src/sys/modules/tdfxdrm/tdfxdrm.ioconf

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

2011-08-28 Thread Roland Dowdeswell
Module Name:src
Committed By:   elric
Date:   Sun Aug 28 16:33:52 UTC 2011

Modified Files:
src/sys/dev/pci: if_iwn.c

Log Message:
Revert prior inadvertent checkin.


To generate a diff of this commit:
cvs rdiff -u -r1.57 -r1.58 src/sys/dev/pci/if_iwn.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/gpioctl

2011-08-28 Thread Thomas Klausner
Module Name:src
Committed By:   wiz
Date:   Sun Aug 28 17:10:38 UTC 2011

Modified Files:
src/usr.sbin/gpioctl: gpioctl.8

Log Message:
Use Cm to mark up command arguments. Use An -nosplit to avoid linebreak in 
sentence.


To generate a diff of this commit:
cvs rdiff -u -r1.9 -r1.10 src/usr.sbin/gpioctl/gpioctl.8

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



CVS commit: src/sbin/resize_ffs

2011-08-28 Thread Thomas Klausner
Module Name:src
Committed By:   wiz
Date:   Sun Aug 28 17:15:17 UTC 2011

Modified Files:
src/sbin/resize_ffs: resize_ffs.8

Log Message:
New sentence, new line.


To generate a diff of this commit:
cvs rdiff -u -r1.11 -r1.12 src/sbin/resize_ffs/resize_ffs.8

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



CVS commit: src/sys/dev/drm

2011-08-28 Thread Jared D. McNeill
Module Name:src
Committed By:   jmcneill
Date:   Sun Aug 28 17:18:31 UTC 2011

Modified Files:
src/sys/dev/drm: vbox_drv.c

Log Message:
add dependency on "drm" module


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/sys/dev/drm/vbox_drv.c

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



CVS commit: src/lib/libutil

2011-08-28 Thread Thomas Klausner
Module Name:src
Committed By:   wiz
Date:   Sun Aug 28 17:21:28 UTC 2011

Modified Files:
src/lib/libutil: strpct.3

Log Message:
Minor cleanup.


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/lib/libutil/strpct.3

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



CVS commit: src/sys/miscfs/procfs

2011-08-28 Thread Jared D. McNeill
Module Name:src
Committed By:   jmcneill
Date:   Sun Aug 28 18:48:14 UTC 2011

Modified Files:
src/sys/miscfs/procfs: procfs_linux.c

Log Message:
both LINUX_USRSTACK32 and USRSTACK32 need to be defined for linux32


To generate a diff of this commit:
cvs rdiff -u -r1.59 -r1.60 src/sys/miscfs/procfs/procfs_linux.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/usermode/usermode

2011-08-28 Thread Jared D. McNeill
Module Name:src
Committed By:   jmcneill
Date:   Sun Aug 28 18:48:46 UTC 2011

Modified Files:
src/sys/arch/usermode/usermode: procfs_machdep.c

Log Message:
pull in sys/mount.h; build fix for amd64


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

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



CVS commit: src/tests/util/df

2011-08-28 Thread Andreas Gustafsson
Module Name:src
Committed By:   gson
Date:   Sun Aug 28 19:09:34 UTC 2011

Modified Files:
src/tests/util/df: t_df.sh

Log Message:
Golden output was not so golden after all


To generate a diff of this commit:
cvs rdiff -u -r1.7 -r1.8 src/tests/util/df/t_df.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

2011-08-28 Thread Reinoud Zandijk
Module Name:src
Committed By:   reinoud
Date:   Sun Aug 28 19:37:16 UTC 2011

Modified Files:
src/sys/arch/usermode/include: thunk.h
src/sys/arch/usermode/usermode: thunk.c

Log Message:
Add thunk_makecontext_trapframe2go()


To generate a diff of this commit:
cvs rdiff -u -r1.18 -r1.19 src/sys/arch/usermode/include/thunk.h
cvs rdiff -u -r1.20 -r1.21 src/sys/arch/usermode/usermode/thunk.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/usermode/usermode

2011-08-28 Thread Reinoud Zandijk
Module Name:src
Committed By:   reinoud
Date:   Sun Aug 28 19:38:20 UTC 2011

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

Log Message:
Don't use the content of trapframe yet until we know how to use fill it


To generate a diff of this commit:
cvs rdiff -u -r1.9 -r1.10 src/sys/arch/usermode/usermode/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/usermode/usermode

2011-08-28 Thread Reinoud Zandijk
Module Name:src
Committed By:   reinoud
Date:   Sun Aug 28 19:39:05 UTC 2011

Modified Files:
src/sys/arch/usermode/usermode: syscall.c

Log Message:
Clean child_return()


To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 src/sys/arch/usermode/usermode/syscall.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/usermode/usermode

2011-08-28 Thread Reinoud Zandijk
Module Name:src
Committed By:   reinoud
Date:   Sun Aug 28 19:39:42 UTC 2011

Modified Files:
src/sys/arch/usermode/usermode: machdep.c

Log Message:
Implement redementary setregs()


To generate a diff of this commit:
cvs rdiff -u -r1.16 -r1.17 src/sys/arch/usermode/usermode/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/usermode/include

2011-08-28 Thread Reinoud Zandijk
Module Name:src
Committed By:   reinoud
Date:   Sun Aug 28 19:40:26 UTC 2011

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

Log Message:
Update trapframe and pcb


To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 src/sys/arch/usermode/include/pcb.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/dev

2011-08-28 Thread Reinoud Zandijk
Module Name:src
Committed By:   reinoud
Date:   Sun Aug 28 19:41:35 UTC 2011

Modified Files:
src/sys/arch/usermode/dev: cpu.c

Log Message:
Jump to `userland' or the other function specified in the pcb's ucontext


To generate a diff of this commit:
cvs rdiff -u -r1.20 -r1.21 src/sys/arch/usermode/dev/cpu.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/bsd/drm/dist/bsd-core

2011-08-28 Thread Jared D. McNeill
Module Name:src
Committed By:   jmcneill
Date:   Sun Aug 28 20:22:42 UTC 2011

Modified Files:
src/sys/external/bsd/drm/dist/bsd-core: i915_drv.c

Log Message:
return 'error' not 0, fixes non-module build


To generate a diff of this commit:
cvs rdiff -u -r1.9 -r1.10 src/sys/external/bsd/drm/dist/bsd-core/i915_drv.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/bsd/drm/dist/bsd-core

2011-08-28 Thread Jared D. McNeill
Module Name:src
Committed By:   jmcneill
Date:   Sun Aug 28 20:32:35 UTC 2011

Modified Files:
src/sys/external/bsd/drm/dist/bsd-core: mach64_drv.c

Log Message:
return 'error' not 0, fixes non-module build


To generate a diff of this commit:
cvs rdiff -u -r1.6 -r1.7 src/sys/external/bsd/drm/dist/bsd-core/mach64_drv.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/bsd/drm/dist/bsd-core

2011-08-28 Thread Jared D. McNeill
Module Name:src
Committed By:   jmcneill
Date:   Sun Aug 28 20:37:06 UTC 2011

Modified Files:
src/sys/external/bsd/drm/dist/bsd-core: savage_drv.c sis_drv.c
tdfx_drv.c

Log Message:
return 'error' not 0, fixes non-module build


To generate a diff of this commit:
cvs rdiff -u -r1.6 -r1.7 src/sys/external/bsd/drm/dist/bsd-core/savage_drv.c \
src/sys/external/bsd/drm/dist/bsd-core/sis_drv.c \
src/sys/external/bsd/drm/dist/bsd-core/tdfx_drv.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/nand

2011-08-28 Thread Martin Husemann
Module Name:src
Committed By:   martin
Date:   Sun Aug 28 20:49:31 UTC 2011

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

Log Message:
Rename isbad argument to is_bad - stupid namespace pollution and ancient
bad sector routines interfere on some archs and cause global shadowing
warnings.


To generate a diff of this commit:
cvs rdiff -u -r1.15 -r1.16 src/sys/dev/nand/nand.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/usermode

2011-08-28 Thread Jared D. McNeill
Module Name:src
Committed By:   jmcneill
Date:   Sun Aug 28 21:19:49 UTC 2011

Modified Files:
src/sys/arch/usermode/include: thunk.h
src/sys/arch/usermode/usermode: thunk.c

Log Message:
add thunk_tcgetattr and thunk_tcsetattr


To generate a diff of this commit:
cvs rdiff -u -r1.19 -r1.20 src/sys/arch/usermode/include/thunk.h
cvs rdiff -u -r1.21 -r1.22 src/sys/arch/usermode/usermode/thunk.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/usermode/dev

2011-08-28 Thread Jared D. McNeill
Module Name:src
Committed By:   jmcneill
Date:   Sun Aug 28 21:21:05 UTC 2011

Modified Files:
src/sys/arch/usermode/dev: ttycons.c

Log Message:
turn off input echo and buffering


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

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



CVS commit: src/sbin/resize_ffs

2011-08-28 Thread Thomas Klausner
Module Name:src
Committed By:   wiz
Date:   Sun Aug 28 21:25:11 UTC 2011

Modified Files:
src/sbin/resize_ffs: resize_ffs.8

Log Message:
Move a sentence to where it makes more sense.


To generate a diff of this commit:
cvs rdiff -u -r1.12 -r1.13 src/sbin/resize_ffs/resize_ffs.8

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/dev

2011-08-28 Thread Jared D. McNeill
Module Name:src
Committed By:   jmcneill
Date:   Sun Aug 28 21:31:41 UTC 2011

Modified Files:
src/sys/arch/usermode/dev: cpu.c

Log Message:
cpu_reboot: only call thunk_abort if RB_DUMP is set


To generate a diff of this commit:
cvs rdiff -u -r1.21 -r1.22 src/sys/arch/usermode/dev/cpu.c

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

2011-08-28 Thread Jean-Yves Migeon
Module Name:src
Committed By:   jym
Date:   Sun Aug 28 22:09:37 UTC 2011

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

Log Message:
Be more precise for Xen: + is only valid for Xen domUs. dom0 uses
the same key sequences as i386/amd64.


To generate a diff of this commit:
cvs rdiff -u -r1.143 -r1.144 src/share/man/man4/ddb.4

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



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

2011-08-28 Thread matthew green
Module Name:src
Committed By:   mrg
Date:   Sun Aug 28 22:30:09 UTC 2011

Modified Files:
src/sys/arch/sparc/include: psl.h

Log Message:
apply some always_inline attribute to setpsr and spl*.  while i am
not yet sure exactly why this is necessary, but does avoid crashes
seen on sparc INSTALL with gcc 4.5.


To generate a diff of this commit:
cvs rdiff -u -r1.47 -r1.48 src/sys/arch/sparc/include/psl.h

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



CVS commit: [jym-xensuspend] src/sys/arch/xen/xen

2011-08-28 Thread Jean-Yves Migeon
Module Name:src
Committed By:   jym
Date:   Sun Aug 28 22:34:26 UTC 2011

Modified Files:
src/sys/arch/xen/xen [jym-xensuspend]: clock.c evtchn.c

Log Message:
Put some assertions to check values of the VIRQ <> event channels mappings.

Fix the VIRQ_TIMER per-cpu translations, so that save/restore does not
choke on event channel being "-1" anymore (ends badly 99,9% of the time
when used as an index...)

Some KNF and white space fixes.


To generate a diff of this commit:
cvs rdiff -u -r1.49.2.6 -r1.49.2.7 src/sys/arch/xen/xen/clock.c
cvs rdiff -u -r1.42.2.8 -r1.42.2.9 src/sys/arch/xen/xen/evtchn.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/xen/xen

2011-08-28 Thread Jean-Yves Migeon
Module Name:src
Committed By:   jym
Date:   Sun Aug 28 22:36:17 UTC 2011

Modified Files:
src/sys/arch/xen/xen: evtchn.c xennetback_xenbus.c

Log Message:
KNF, white spaces and comment typo fixes.


To generate a diff of this commit:
cvs rdiff -u -r1.51 -r1.52 src/sys/arch/xen/xen/evtchn.c
cvs rdiff -u -r1.46 -r1.47 src/sys/arch/xen/xen/xennetback_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/xen/xen

2011-08-28 Thread Jean-Yves Migeon
Module Name:src
Committed By:   jym
Date:   Sun Aug 28 22:55:52 UTC 2011

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

Log Message:
VIRQ_TIMER virqs are allocated and tracked in a array
(virq_timer_to_evtch, indexed by cpuid) different from the
VIRQ <> event channel one (virq_to_evtch, indexed by event channel ID).

This is fine: fix a "harmless" bug that resulted in the event
channel of VIRQ_TIMER getting lost during bind as it was not stored
in the proper array.

"Harmless" because it is not critical for -current, however in the Xen
save/restore branch this completely cripples restore. Xen clock gets
suspended, but never comes back (fetched channel ID being invalid). Oops.

Add a small comment so we can better see the "get => allocate? => set"
chain of actions when binding/unbinding event channels.


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

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



CVS commit: src/sys/conf

2011-08-28 Thread Jared D. McNeill
Module Name:src
Committed By:   jmcneill
Date:   Sun Aug 28 23:15:53 UTC 2011

Modified Files:
src/sys/conf: Makefile.kern.inc

Log Message:
let kernel makefile override *.d targets


To generate a diff of this commit:
cvs rdiff -u -r1.146 -r1.147 src/sys/conf/Makefile.kern.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/usermode/conf

2011-08-28 Thread Jared D. McNeill
Module Name:src
Committed By:   jmcneill
Date:   Sun Aug 28 23:16:19 UTC 2011

Modified Files:
src/sys/arch/usermode/conf: Makefile.usermode

Log Message:
override thunk.d and thunk_sdl.d targets


To generate a diff of this commit:
cvs rdiff -u -r1.14 -r1.15 src/sys/arch/usermode/conf/Makefile.usermode

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



CVS commit: src/bin/df

2011-08-28 Thread enami tsugutomo
Module Name:src
Committed By:   enami
Date:   Mon Aug 29 00:36:20 UTC 2011

Modified Files:
src/bin/df: df.c

Log Message:
No need to print internal state once debug is done.


To generate a diff of this commit:
cvs rdiff -u -r1.87 -r1.88 src/bin/df/df.c

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



CVS commit: src/sys/kern

2011-08-28 Thread Mindaugas Rasiukevicius
Module Name:src
Committed By:   rmind
Date:   Mon Aug 29 00:39:16 UTC 2011

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

Log Message:
Add kern.direct_select sysctl.  Default to 0 for now.


To generate a diff of this commit:
cvs rdiff -u -r1.35 -r1.36 src/sys/kern/sys_select.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/puffs

2011-08-28 Thread Emmanuel Dreyfus
Module Name:src
Committed By:   manu
Date:   Mon Aug 29 04:12:46 UTC 2011

Modified Files:
src/sys/fs/puffs: puffs_node.c puffs_sys.h puffs_vnops.c

Log Message:
Add a mutex for operations that touch size (setattr, getattr, write, fsync).

This is required to avoid data corruption bugs, where a getattr slices
itself within a setattr operation, and sets the size to the stall value
it got from the filesystem. That value is smaller than the one set by
setattr, and the call to uvm_vnp_setsize() trigged a spurious truncate.
The result is a chunk of zeroed data in the file.

Such a situation can easily happen when the ioflush thread issue a
VOP_FSYNC/puffs_vnop_sync/flushvncache/dosetattrn while andother process
do a sys_stat/VOP_GETATTR/puffs_vnop_getattr.

This mutex on size operation can be removed the day we decide VOP_GETATTR
has to operated on a locked vnode, since the other operations that touch
size already require that.


To generate a diff of this commit:
cvs rdiff -u -r1.19 -r1.20 src/sys/fs/puffs/puffs_node.c
cvs rdiff -u -r1.77 -r1.78 src/sys/fs/puffs/puffs_sys.h
cvs rdiff -u -r1.154 -r1.155 src/sys/fs/puffs/puffs_vnops.c

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



CVS commit: src/tests/util/df

2011-08-28 Thread Andreas Gustafsson
Module Name:src
Committed By:   gson
Date:   Mon Aug 29 04:55:58 UTC 2011

Modified Files:
src/tests/util/df: t_df.sh

Log Message:
Fix remaining misaligned columns in golden output, missed in previous commit


To generate a diff of this commit:
cvs rdiff -u -r1.8 -r1.9 src/tests/util/df/t_df.sh

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