]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Add userland access to at91 gpio functionality via ioctl calls. Also,
authorian <ian@FreeBSD.org>
Fri, 29 Mar 2013 19:52:57 +0000 (19:52 +0000)
committerian <ian@FreeBSD.org>
Fri, 29 Mar 2013 19:52:57 +0000 (19:52 +0000)
commitf7d5fae7ec28268f7282b682bbf23d6c22a38ac9
tree6caeda89771ba106ad9fdfa220ea942a175c94ea
parent581bf19e7bb488ada78ea6e80fb79bda826b9c17
Add userland access to at91 gpio functionality via ioctl calls.  Also,
add the ability for userland to be notified of changes on gpio pins via
a select(2)/read(2) interface.

Change the interrupt handler from filtered to threaded.

Because of the uiomove() calls in the new interface, change locking from
standard mutex to sx.

Add / restore the at91_gpio_high_z() function.

Reviewed by: imp (long ago)
sys/arm/at91/at91_pio.c
sys/arm/at91/at91_piovar.h
sys/arm/include/at91_gpio.h [new file with mode: 0644]