summaryrefslogtreecommitdiffstats
path: root/sys/powerpc/include/fdt.h
diff options
context:
space:
mode:
Diffstat (limited to 'sys/powerpc/include/fdt.h')
-rw-r--r--sys/powerpc/include/fdt.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/sys/powerpc/include/fdt.h b/sys/powerpc/include/fdt.h
index 76ef94f..116f562 100644
--- a/sys/powerpc/include/fdt.h
+++ b/sys/powerpc/include/fdt.h
@@ -38,6 +38,9 @@
/* Max interrupt number */
#define FDT_INTR_MAX INTR_VECTORS
+/* Map phandle/intpin pair to global IRQ number */
+#define FDT_MAP_IRQ(node, pin) powerpc_get_irq(node, pin)
+
/*
* Bus space tag. XXX endianess info needs to be derived from the blob.
*/
OpenPOWER on IntegriCloud