看板 DFBSD_commit 關於我們 聯絡資訊
commit a0e087c360c37449ce8304aeafa6cd59067202a8 Author: Alex Hornung <ahornung@gmail.com> Date: Sun Oct 4 13:09:33 2009 +0100 gpio - gpio framework, initial commit * Initial commit of the new gpio framework,including a sample gpio consumer driver, gpio_led. While the framework is not directly based on OpenBSD's, some structures and other similarities have been taken over to ease porting of gpio drivers from OpenBSD. Partially-Obtained-from: OpenBSD Summary of changes: sys/dev/misc/gpio/gpio.c | 603 ++++++++++++++++++++++++++++++++++++++++++ sys/dev/misc/gpio/gpio.h | 158 +++++++++++ sys/dev/misc/gpio/gpio_led.c | 247 +++++++++++++++++ 3 files changed, 1008 insertions(+), 0 deletions(-) create mode 100644 sys/dev/misc/gpio/gpio.c create mode 100644 sys/dev/misc/gpio/gpio.h create mode 100644 sys/dev/misc/gpio/gpio_led.c http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/a0e087c360c37449ce8304aeafa6cd59067202a8 -- DragonFly BSD source repository