diff options
| author | marty <marty@NetBSD.org> | 2016-01-05 21:53:48 +0000 |
|---|---|---|
| committer | marty <marty@NetBSD.org> | 2016-01-05 21:53:48 +0000 |
| commit | 11ffa746edb320854677a7be536354184f247087 (patch) | |
| tree | 394fced5bbac2c4bbceb70ec37dc16cb6827705e /sys/dev/microcode | |
| parent | 97752e25d96cdb99cfb4e3fe8ebd033d69a0e964 (diff) | |
FDT: Interrupts -- add support for interrupt maps
The mct on exynos uses an interrupt map so we add support now. Devices
represent their interrupts either through a combination of interrupt-parent
and interrupts properties, where the 'interrupts' property is an array of
one or more interrupt specifiers; or through a combination of an
interrupt-parent that points to an interrupt-map, where the interrupt-map
contains 2 or more entries consisting of an index, a pointer to an
interrupt-controller, and a specifier for that controller.
This code adds the ability to walk the interrupt-map and return a specifier.
Unfortunately, the addition requires changing the interface to the
interrupt-controllers' _establish and _intstr functions, so this check in
contains a rototill of the three existing fdt interrupt controllers to use
the new interface.
Diffstat (limited to 'sys/dev/microcode')
0 files changed, 0 insertions, 0 deletions
