diff options
author | Patrick Wildt <patrick@cvs.openbsd.org> | 2018-07-06 13:08:11 +0000 |
---|---|---|
committer | Patrick Wildt <patrick@cvs.openbsd.org> | 2018-07-06 13:08:11 +0000 |
commit | 92d6b220b8fa497b019b22b270cb489771448176 (patch) | |
tree | e103ad064d0762415722cb79904b2b5a8c898ca4 /sys/arch/amd64 | |
parent | b20d35ab54d785e851907295beb54c6dc6427fd5 (diff) |
Implement an API for establishing legacy PCI interrupts. This specific
establish function parses the device tree's interrupt map to discover
the correct interrupt controller node and interrupt cells for the given
PCI node. After retrieving that information we can do the same the
normal FDT establish API already does.
MSI interrupts are established in a different way as well. Instead of
simply hooking up the interrupt handler and returning an MD cookie, we
need to pass back information for the PCI controller to configure its
interrupt correctly. For this, add another establish routine into the
FDT-based interrupt API which looks up msi-controller nodes and calls
their MSI-specific establish function if requested.
ok kettenis@
Diffstat (limited to 'sys/arch/amd64')
0 files changed, 0 insertions, 0 deletions