CVS commit: src/sys/dev/gpio

2011-11-13 Thread Marc Balmer
Module Name:src Committed By: mbalmer Date: Mon Nov 14 07:45:55 UTC 2011 Modified Files: src/sys/dev/gpio: gpio.c Log Message: Initialize ga.ga_dvname in gpio_search to prevent a stack fault in config_match To generate a diff of this commit: cvs rdiff -u -r1.48 -r1.49 sr

CVS commit: src/sys

2011-11-13 Thread Jared D. McNeill
Module Name:src Committed By: jmcneill Date: Mon Nov 14 02:44:59 UTC 2011 Modified Files: src/sys/arch/x86/x86: platform.c src/sys/dev/acpi: acpi.c acpi_cpu.c acpi_quirks.c Log Message: add a machdep.dmi sysctl tree with the following read-only keys: system-vendor

CVS commit: src/share/man/man9

2011-11-13 Thread Jean-Yves Migeon
Module Name:src Committed By: jym Date: Mon Nov 14 02:38:06 UTC 2011 Modified Files: src/share/man/man9: pool.9 Log Message: Document pool_sethardlimit. To generate a diff of this commit: cvs rdiff -u -r1.43 -r1.44 src/share/man/man9/pool.9 Please note that diffs are no

CVS commit: src/lib/libpuffs

2011-11-13 Thread Chuck Silvers
Module Name:src Committed By: chs Date: Mon Nov 14 01:27:42 UTC 2011 Modified Files: src/lib/libpuffs: puffs.c Log Message: fix crashes caused by using the results of getcontext() after the caller returns. To generate a diff of this commit: cvs rdiff -u -r1.116 -r1.117 s

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

2011-11-13 Thread Christopher KOBAYASHI
Module Name:src Committed By: sekiya Date: Mon Nov 14 00:12:37 UTC 2011 Modified Files: src/sys/arch/evbarm/conf: SHEEVAPLUG Log Message: Increase SYMTAB_SPACE. To generate a diff of this commit: cvs rdiff -u -r1.9 -r1.10 src/sys/arch/evbarm/conf/SHEEVAPLUG Please note

CVS commit: src/lib/libutil

2011-11-13 Thread Thomas Klausner
Module Name:src Committed By: wiz Date: Sun Nov 13 23:49:39 UTC 2011 Modified Files: src/lib/libutil: getfstypename.3 Log Message: Remove trailing dot; slightly improve wording. To generate a diff of this commit: cvs rdiff -u -r1.1 -r1.2 src/lib/libutil/getfstypename.3

CVS commit: src/sys/ufs/ffs

2011-11-13 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Sun Nov 13 23:10:40 UTC 2011 Modified Files: src/sys/ufs/ffs: ffs_vfsops.c Log Message: use getdiskinfo() To generate a diff of this commit: cvs rdiff -u -r1.269 -r1.270 src/sys/ufs/ffs/ffs_vfsops.c Please note that diffs are

CVS commit: src/sys/fs/v7fs

2011-11-13 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Sun Nov 13 23:09:58 UTC 2011 Modified Files: src/sys/fs/v7fs: v7fs_vfsops.c Log Message: use getdisksize() To generate a diff of this commit: cvs rdiff -u -r1.4 -r1.5 src/sys/fs/v7fs/v7fs_vfsops.c Please note that diffs are n

CVS commit: src/sys/fs/udf

2011-11-13 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Sun Nov 13 23:08:47 UTC 2011 Modified Files: src/sys/fs/udf: udf_subr.c Log Message: use getdisksize() To generate a diff of this commit: cvs rdiff -u -r1.117 -r1.118 src/sys/fs/udf/udf_subr.c Please note that diffs are not p

CVS commit: src/sys/fs/sysvbfs

2011-11-13 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Sun Nov 13 23:07:11 UTC 2011 Modified Files: src/sys/fs/sysvbfs: sysvbfs_vfsops.c Log Message: remove unused call to DIOCGPART that was only used for debugging. malloc M_WAITOK, does not fail. To generate a diff of this commit

CVS commit: src/sys/fs/hfs

2011-11-13 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Sun Nov 13 23:03:55 UTC 2011 Modified Files: src/sys/fs/hfs: hfs_subr.c Log Message: use getdisksize() To generate a diff of this commit: cvs rdiff -u -r1.15 -r1.16 src/sys/fs/hfs/hfs_subr.c Please note that diffs are not pub

CVS commit: src/sys/dev

2011-11-13 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Sun Nov 13 23:03:24 UTC 2011 Modified Files: src/sys/dev: cgd.c Log Message: use getdisksize() instead of homebrew() To generate a diff of this commit: cvs rdiff -u -r1.75 -r1.76 src/sys/dev/cgd.c Please note that diffs are n

CVS commit: src/sys/dev

2011-11-13 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Sun Nov 13 23:02:46 UTC 2011 Modified Files: src/sys/dev: ccd.c Log Message: use getdisksize To generate a diff of this commit: cvs rdiff -u -r1.142 -r1.143 src/sys/dev/ccd.c Please note that diffs are not public domain; they

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

2011-11-13 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Sun Nov 13 23:02:06 UTC 2011 Modified Files: src/sys/arch/xen/xen: xbdback_xenbus.c Log Message: use getdiskinfo() To generate a diff of this commit: cvs rdiff -u -r1.48 -r1.49 src/sys/arch/xen/xen/xbdback_xenbus.c Please not

CVS commit: src/sys/kern

2011-11-13 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Sun Nov 13 22:54:05 UTC 2011 Modified Files: src/sys/kern: subr_disk_open.c Log Message: Add getdiskinfo() to centralize the DIOCGPART mess in one place. To generate a diff of this commit: cvs rdiff -u -r1.3 -r1.4 src/sys/kern

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

2011-11-13 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Sun Nov 13 22:25:23 UTC 2011 Modified Files: src/distrib/sets/lists/comp: mi Log Message: add getfstypename To generate a diff of this commit: cvs rdiff -u -r1.1706 -r1.1707 src/distrib/sets/lists/comp/mi Please note that dif

CVS commit: src/common/lib/libutil

2011-11-13 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Sun Nov 13 22:21:29 UTC 2011 Modified Files: src/common/lib/libutil: getfstypename.c Log Message: the kernel does not have util.h To generate a diff of this commit: cvs rdiff -u -r1.1 -r1.2 src/common/lib/libutil/getfstypename

CVS commit: src/sys/sys

2011-11-13 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Sun Nov 13 22:19:09 UTC 2011 Modified Files: src/sys/sys: disklabel.h Log Message: s/info/name To generate a diff of this commit: cvs rdiff -u -r1.110 -r1.111 src/sys/sys/disklabel.h Please note that diffs are not public doma

CVS commit: src/sys/sys

2011-11-13 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Sun Nov 13 22:07:00 UTC 2011 Modified Files: src/sys/sys: disk.h disklabel.h Log Message: Sync the disklabel fstype info with the wedge partition info. >From now on these will stay synchronized because if they don't getfstypeinf

CVS commit: src/sys/sys

2011-11-13 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Sun Nov 13 22:05:58 UTC 2011 Modified Files: src/sys/sys: device.h Log Message: add getdiskinfo a companion utility to getdisksize. To generate a diff of this commit: cvs rdiff -u -r1.139 -r1.140 src/sys/sys/device.h Please n

CVS commit: src/sbin/fsck

2011-11-13 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Sun Nov 13 22:04:51 UTC 2011 Modified Files: src/sbin/fsck: partutil.c Log Message: use getfstypename To generate a diff of this commit: cvs rdiff -u -r1.10 -r1.11 src/sbin/fsck/partutil.c Please note that diffs are not publi

CVS commit: src/lib/libutil

2011-11-13 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Sun Nov 13 22:03:34 UTC 2011 Modified Files: src/lib/libutil: Makefile Added Files: src/lib/libutil: getfstypename.3 Log Message: add manual page To generate a diff of this commit: cvs rdiff -u -r1.68 -r1.69 src/lib/li

CVS commit: src/include

2011-11-13 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Sun Nov 13 21:57:15 UTC 2011 Modified Files: src/include: util.h Log Message: getfstypename addition To generate a diff of this commit: cvs rdiff -u -r1.59 -r1.60 src/include/util.h Please note that diffs are not public domai

CVS commit: src/common/lib/libutil

2011-11-13 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Sun Nov 13 21:56:53 UTC 2011 Modified Files: src/common/lib/libutil: Makefile.inc Added Files: src/common/lib/libutil: getfstypename.c Log Message: Add a function to convert from a disklabel p_fstype integer to a dkw_pty

CVS commit: src/dist/nvi/docs/vi.ref

2011-11-13 Thread Thomas Klausner
Module Name:src Committed By: wiz Date: Sun Nov 13 19:53:53 UTC 2011 Modified Files: src/dist/nvi/docs/vi.ref: vi.texi Log Message: add dircategory/direntry for vi, so texinfo stops complaining To generate a diff of this commit: cvs rdiff -u -r1.2 -r1.3 src/dist/nvi/docs

CVS commit: src/share/man/man4

2011-11-13 Thread Thomas Klausner
Module Name:src Committed By: wiz Date: Sun Nov 13 19:31:05 UTC 2011 Modified Files: src/share/man/man4: gpiopwm.4 Log Message: Fix a few typos and Xrefs, use Dq, comment out Xr to non-existent gpioattach(4), sort SEE ALSO. To generate a diff of this commit: cvs rdiff -u

CVS commit: src/sys/fs/nilfs

2011-11-13 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Sun Nov 13 18:29:08 UTC 2011 Modified Files: src/sys/fs/nilfs: nilfs_vfsops.c Log Message: use getdisksize, M_ZERO, and malloc M_WAITOK doesn't fai. To generate a diff of this commit: cvs rdiff -u -r1.6 -r1.7 src/sys/fs/nilfs/

CVS commit: src/usr.bin/make

2011-11-13 Thread David A. Holland
Module Name:src Committed By: dholland Date: Sun Nov 13 18:18:35 UTC 2011 Modified Files: src/usr.bin/make: make.1 Log Message: Fix xref to the PSD; PR 45568 from Petri Laakso. To generate a diff of this commit: cvs rdiff -u -r1.196 -r1.197 src/usr.bin/make/make.1 Pleas

CVS commit: src/sys/fs/nilfs

2011-11-13 Thread David A. Holland
Module Name:src Committed By: dholland Date: Sun Nov 13 17:22:51 UTC 2011 Modified Files: src/sys/fs/nilfs: nilfs_vfsops.c Log Message: Avoid panic on error path, from PR 45607. The error path is exercised because this is using DIOCGPART to get the volume size, which doesn

CVS commit: src/share/man/man4

2011-11-13 Thread Marc Balmer
Module Name:src Committed By: mbalmer Date: Sun Nov 13 17:00:04 UTC 2011 Modified Files: src/share/man/man4: gpio.4 Log Message: Bring up to reality. To generate a diff of this commit: cvs rdiff -u -r1.22 -r1.23 src/share/man/man4/gpio.4 Please note that diffs are not p

CVS commit: src

2011-11-13 Thread Marc Balmer
Module Name:src Committed By: mbalmer Date: Sun Nov 13 16:56:15 UTC 2011 Modified Files: src/lib/lua/gpio: gpio.c src/sys/sys: gpio.h Log Message: Remove an unused constant. To generate a diff of this commit: cvs rdiff -u -r1.5 -r1.6 src/lib/lua/gpio/gpio.c cvs r

CVS commit: src/sys/arch/sandpoint/stand/altboot

2011-11-13 Thread Frank Wille
Module Name:src Committed By: phx Date: Sun Nov 13 16:22:18 UTC 2011 Modified Files: src/sys/arch/sandpoint/stand/altboot: README.altboot Log Message: Add DS-106j. To generate a diff of this commit: cvs rdiff -u -r1.5 -r1.6 src/sys/arch/sandpoint/stand/altboot/README.alt

CVS commit: src/sys/arch/mips/mips

2011-11-13 Thread Izumi Tsutsui
Module Name:src Committed By: tsutsui Date: Sun Nov 13 15:57:57 UTC 2011 Modified Files: src/sys/arch/mips/mips: locore.S Log Message: Read-modify-write instead of read-modify-read. (not sure if this was fatal) To generate a diff of this commit: cvs rdiff -u -r1.188 -r1

CVS commit: src/usr.sbin/edquota

2011-11-13 Thread David A. Holland
Module Name:src Committed By: dholland Date: Sun Nov 13 15:42:35 UTC 2011 Modified Files: src/usr.sbin/edquota: edquota.c Log Message: Split up excessively large main(). Fix -d behavior to match documentation. To generate a diff of this commit: cvs rdiff -u -r1.37 -r1.38

CVS commit: src/usr.sbin/edquota

2011-11-13 Thread David A. Holland
Module Name:src Committed By: dholland Date: Sun Nov 13 15:41:34 UTC 2011 Modified Files: src/usr.sbin/edquota: edquota.c Log Message: Cleanup for edquota. Factor out common malloc and linked list code. Distinguish lists of quota info from single records. To generate a

CVS commit: src/lib/libterminfo

2011-11-13 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Sun Nov 13 15:24:04 UTC 2011 Modified Files: src/lib/libterminfo: termcap.c Log Message: make use we don't touch memory past the end of the buffer. Pointed out by tnozaki. To generate a diff of this commit: cvs rdiff -u -r1.16

CVS commit: src/usr.sbin/gpioctl

2011-11-13 Thread Marc Balmer
Module Name:src Committed By: mbalmer Date: Sun Nov 13 14:39:42 UTC 2011 Modified Files: src/usr.sbin/gpioctl: gpioctl.8 Log Message: Fix a "lonely name". To generate a diff of this commit: cvs rdiff -u -r1.15 -r1.16 src/usr.sbin/gpioctl/gpioctl.8 Please note that diffs

CVS commit: src/doc

2011-11-13 Thread Izumi Tsutsui
er with some ready-to-use sample code for a variety of platforms, showcasing how to interact with NetBSD system calls, APIs and binaries. [jmmv 2011] + luna68k: Finally complete LUNA-II support. [tsutsui 2012] gpiopwm(4): A new driver to pulse GPIO pins in software. [mbalmer 2013]

CVS commit: src/sys/dev/gpio

2011-11-13 Thread Marc Balmer
Module Name:src Committed By: mbalmer Date: Sun Nov 13 14:02:01 UTC 2011 Modified Files: src/sys/dev/gpio: gpio.c Log Message: Remove an unused variable. To generate a diff of this commit: cvs rdiff -u -r1.47 -r1.48 src/sys/dev/gpio/gpio.c Please note that diffs are not

CVS commit: src/lib/lua/gpio

2011-11-13 Thread Marc Balmer
Module Name:src Committed By: mbalmer Date: Sun Nov 13 13:37:25 UTC 2011 Modified Files: src/lib/lua/gpio: gpio.c Log Message: Remove software pulsing. To generate a diff of this commit: cvs rdiff -u -r1.4 -r1.5 src/lib/lua/gpio/gpio.c Please note that diffs are not pub

CVS commit: src

2011-11-13 Thread Marc Balmer
Module Name:src Committed By: mbalmer Date: Sun Nov 13 13:20:02 UTC 2011 Modified Files: src/sys/dev/gpio: gpio.c gpiovar.h src/sys/sys: gpio.h src/usr.sbin/gpioctl: gpioctl.8 gpioctl.c Log Message: Remove software pulsing in gpio(4), this functionality is

CVS commit: src/sys/dev/gpio

2011-11-13 Thread Marc Balmer
Module Name:src Committed By: mbalmer Date: Sun Nov 13 13:16:33 UTC 2011 Modified Files: src/sys/dev/gpio: gpiopwm.c Log Message: On detach, set the pin to low state. To generate a diff of this commit: cvs rdiff -u -r1.1 -r1.2 src/sys/dev/gpio/gpiopwm.c Please note that

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

2011-11-13 Thread Marc Balmer
Module Name:src Committed By: mbalmer Date: Sun Nov 13 12:47:55 UTC 2011 Modified Files: src/sys/arch/i386/conf: GENERIC Log Message: Add gpiopwm(4). To generate a diff of this commit: cvs rdiff -u -r1.1056 -r1.1057 src/sys/arch/i386/conf/GENERIC Please note that diffs

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

2011-11-13 Thread Marc Balmer
Module Name:src Committed By: mbalmer Date: Sun Nov 13 12:46:40 UTC 2011 Modified Files: src/sys/arch/amd64/conf: GENERIC Log Message: Add commented out entry for gpiopwm(4). To generate a diff of this commit: cvs rdiff -u -r1.338 -r1.339 src/sys/arch/amd64/conf/GENERIC

CVS commit: src/doc

2011-11-13 Thread Marc Balmer
ome ready-to-use sample code for a variety of platforms, showcasing how to interact with NetBSD system calls, APIs and binaries. [jmmv 2011] + gpiopwm(4): A new driver to pulse GPIO pins in software. + [mbalmer 2013]

CVS commit: src

2011-11-13 Thread Marc Balmer
Module Name:src Committed By: mbalmer Date: Sun Nov 13 12:35:40 UTC 2011 Modified Files: src/distrib/sets/lists/man: mi src/share/man/man4: Makefile Added Files: src/share/man/man4: gpiopwm.4 Log Message: Add documentation for gpiopwm(4). To generate a di

CVS commit: src/sys/dev/gpio

2011-11-13 Thread Marc Balmer
Module Name:src Committed By: mbalmer Date: Sun Nov 13 12:33:01 UTC 2011 Modified Files: src/sys/dev/gpio: files.gpio Added Files: src/sys/dev/gpio: gpiopwm.c Log Message: gpiopwm(4) is a driver to pulse GPIO pins in software. This obsoletes the software pulsing f

CVS commit: src/lib/lua/gpio

2011-11-13 Thread Marc Balmer
Module Name:src Committed By: mbalmer Date: Sun Nov 13 09:46:11 UTC 2011 Modified Files: src/lib/lua/gpio: gpio.c Log Message: Start numbering pions with 0, not 1. Ruined a demo, so it was a bad idea. To generate a diff of this commit: cvs rdiff -u -r1.3 -r1.4 src/lib/l

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

2011-11-13 Thread Marc Balmer
Module Name:src Committed By: mbalmer Date: Sun Nov 13 09:41:47 UTC 2011 Modified Files: src/sys/arch/i386/conf: GENERIC Log Message: Enable nsclpcsio and gpio devices. To generate a diff of this commit: cvs rdiff -u -r1.1055 -r1.1056 src/sys/arch/i386/conf/GENERIC Plea

CVS commit: src/sys/arch/i386/pci

2011-11-13 Thread Marc Balmer
Module Name:src Committed By: mbalmer Date: Sun Nov 13 09:17:56 UTC 2011 Modified Files: src/sys/arch/i386/pci: gscpcib.c Log Message: Pickup NGPIO. To generate a diff of this commit: cvs rdiff -u -r1.17 -r1.18 src/sys/arch/i386/pci/gscpcib.c Please note that diffs are