diff options
author | Patrick Wildt <patrick@cvs.openbsd.org> | 2017-02-24 17:11:00 +0000 |
---|---|---|
committer | Patrick Wildt <patrick@cvs.openbsd.org> | 2017-02-24 17:11:00 +0000 |
commit | e9d71dae5ab68ababf95bfdde64510e41cfe6af1 (patch) | |
tree | 61d4665a8a8da32e1a5828e77cb614cd2ada21f9 /sys/arch/arm64/include | |
parent | 14e68bc466603ee47db00b9a6031e67a8c48ca3e (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.
ok kettenis@
Diffstat (limited to 'sys/arch/arm64/include')
-rw-r--r-- | sys/arch/arm64/include/intr.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/arch/arm64/include/intr.h b/sys/arch/arm64/include/intr.h index 10cbe793a93..f4c91ef4231 100644 --- a/sys/arch/arm64/include/intr.h +++ b/sys/arch/arm64/include/intr.h @@ -1,4 +1,4 @@ -/* $OpenBSD: intr.h,v 1.1 2016/12/17 23:38:33 patrick Exp $ */ +/* $OpenBSD: intr.h,v 1.2 2017/02/24 17:10:59 patrick Exp $ */ /* * Copyright (c) 2001-2004 Opsycon AB (www.opsycon.se / www.opsycon.com) @@ -157,6 +157,8 @@ void *arm_intr_establish_fdt(int, int, int (*)(void *), void *, char *); void *arm_intr_establish_fdt_idx(int, int, int, int (*)(void *), void *, char *); +void *arm_intr_establish_fdt_imap(int, int *, int, int, int, int (*)(void *), + void *, char *); void arm_intr_disestablish_fdt(void *); void *arm_intr_parent_establish_fdt(void *, int *, int, |