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.