Implement an FDT-aware interrupt establish API. This means the drivers
authorpatrick <patrick@openbsd.org>
Mon, 1 Aug 2016 14:17:00 +0000 (14:17 +0000)
committerpatrick <patrick@openbsd.org>
Mon, 1 Aug 2016 14:17:00 +0000 (14:17 +0000)
commit0ffbfca45c62a5ad651139c1dbdf5fb395902d4c
tree658dd07e401fa5056d3265d90a9d151fd59de8d6
parent9862fb221afea4f259ee06f0f0aa9eadd0b0a687
Implement an FDT-aware interrupt establish API.  This means the drivers
don't need to know where to attach to.  Instead the API will take care
of finding the correct interrupt establish for a given device node and
will call it with the correct data.

Adapted from the OFW GPIO framework.

ok kettenis@
sys/arch/armv7/armv7/intr.c
sys/arch/armv7/include/intr.h