9d8b69b23a
With help from Matthias Drochner, thanks!
17 lines
390 B
Plaintext
17 lines
390 B
Plaintext
# $NetBSD: files.gpio,v 1.6 2009/07/27 17:40:57 mbalmer Exp $
|
|
|
|
define gpio {[offset = -1], [mask = 0]}
|
|
|
|
device gpio: gpio
|
|
attach gpio at gpiobus
|
|
file dev/gpio/gpio.c gpio needs-flag
|
|
|
|
# GPIO simulator
|
|
defpseudodev gpiosim: gpiobus
|
|
file dev/gpio/gpiosim.c gpiosim
|
|
|
|
# 1-Wire bus bit-banging
|
|
device gpioow: onewirebus, onewire_bitbang
|
|
attach gpioow at gpio
|
|
file dev/gpio/gpioow.c gpioow
|