NetBSD/sys/dev/gpio
dyoung 417afa7caa Bug fix: record the new state (high/low) set by gpio_pin_write().
I don't know why we gpio(4) didn't do that before, but it seems
harmless.

Add naive power handling: when a gpio(4) instance is resumed, write
each pin's configuration flags and output state from the softc to
the hardware using gpiobus_pin_ctl() and gpiobus_pin_write().
While suspended, fail every ioctl() except for GPIOINFO with EBUSY.
2007-12-14 01:49:23 +00:00
..
files.gpio
gpio.c Bug fix: record the new state (high/low) set by gpio_pin_write(). 2007-12-14 01:49:23 +00:00
gpioow.c
gpiovar.h