]> CyberLeo.Net >> Repos - FreeBSD/stable/10.git/commit
MFC r274638:
authorloos <loos@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Sat, 14 Feb 2015 20:57:27 +0000 (20:57 +0000)
committerloos <loos@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Sat, 14 Feb 2015 20:57:27 +0000 (20:57 +0000)
commit3c32d52cab5e0919ac419139854b559f0dcd2fec
treeb10b0fefcebf16914ed8bfaf1dc0a91b3e6936d4
parent96df5b93b3c72febc67511314a2325935191b112
MFC r274638:

Add basic interrupt management code to gpiobus and ofw_gpiobus.

This is the general support to allow the use of GPIO pins as interrupt
sources for direct gpiobus children.

The use of GPIO pins as generic interrupt sources (for an ethernet driver
for example) will only be possible when arm/intrng is complete.  Then, most
of this code will need to be rewritten, but it works for now, is better
than what we have and will allow further developments.

git-svn-id: svn://svn.freebsd.org/base/stable/10@278784 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
sys/dev/gpio/gpiobus.c
sys/dev/gpio/gpiobusvar.h
sys/dev/gpio/ofw_gpiobus.c