diff options
author | loos <loos@FreeBSD.org> | 2014-02-13 17:08:29 +0000 |
---|---|---|
committer | loos <loos@FreeBSD.org> | 2014-02-13 17:08:29 +0000 |
commit | 03c3f2092682aca3cb1c101cb3ee84621f5447f0 (patch) | |
tree | e7a93c1f13d59b89ae4ec36152bf5185294d74e3 /sys/conf | |
parent | bc45fe580cad50b53965d564e61cdce053df87c2 (diff) | |
download | FreeBSD-src-03c3f2092682aca3cb1c101cb3ee84621f5447f0.zip FreeBSD-src-03c3f2092682aca3cb1c101cb3ee84621f5447f0.tar.gz |
Add an OFW GPIO compatible bus. This allows the use of the DTS files to
describe GPIO bindings in the system.
Move the GPIOBUS lock macros to gpiobusvar.h as they are now shared between
the OFW and the non OFW versions of GPIO bus.
Export gpiobus_print_pins() so it can also be used on the OFW GPIO bus.
Approved by: adrian (mentor, implicit)
Diffstat (limited to 'sys/conf')
-rw-r--r-- | sys/conf/files | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/conf/files b/sys/conf/files index c4ee54f..2b0436d 100644 --- a/sys/conf/files +++ b/sys/conf/files @@ -1400,6 +1400,7 @@ dev/gpio/gpioiic.c optional gpioiic dev/gpio/gpioled.c optional gpioled dev/gpio/gpio_if.m optional gpio dev/gpio/gpiobus_if.m optional gpio +dev/gpio/ofw_gpiobus.c optional fdt gpio dev/hatm/if_hatm.c optional hatm pci dev/hatm/if_hatm_intr.c optional hatm pci dev/hatm/if_hatm_ioctl.c optional hatm pci |