the bitrig patrick_intr branch has been created by patrick. it is 0 commits behind master, and 1 commit ahead.
commit 06e35260346dc8f6a0c815de81ca9ce250cfed8a diff: https://github.com/bitrig/bitrig/commit/06e3526 author: Patrick Wildt <[email protected]> date: Tue Feb 10 19:10:21 2015 +0100 arm: prototype of more MI intr_establish Before this diff we had the issue that we * needed to somehow get the irq nr from the DT node * needed to call establish on the correct interrupt controller This diff intends to solve theses issues. The idea is that you only need to call an "MI" interrupt establish function and it takes care of letting the correct interrupt controller now what interrupt to establish. This is implemented by adding a hook, so that interrupt controller can register them as interrupt controllers. When the device driver calls establish using the DT node, the code will look up the device's interrupt controller and look for that one in the list. Once found, it will call the IC's establish function and pass the device node further down. The IC code will take care to properly read and interpret the interrupt information and actually establish the interrupt. M sys/arch/arm/cortex/agtimer.c M sys/arch/arm/cortex/ampintc.c M sys/arch/armv7/armv7/intr.c M sys/arch/armv7/include/intr.h M sys/arch/armv7/virt/virtio_mmio.c
