summaryrefslogtreecommitdiffstats
path: root/sys/mips
diff options
context:
space:
mode:
authorskra <skra@FreeBSD.org>2016-06-05 16:20:12 +0000
committerskra <skra@FreeBSD.org>2016-06-05 16:20:12 +0000
commit612e6958e467e3c02b826846aba5b685d486c07c (patch)
tree09f7a3292cf97e27a58700773b3817ba12f58e1b /sys/mips
parentff4d6f61950f6358d7cdc508dfa92042f30d88d6 (diff)
downloadFreeBSD-src-612e6958e467e3c02b826846aba5b685d486c07c.zip
FreeBSD-src-612e6958e467e3c02b826846aba5b685d486c07c.tar.gz
INTRNG - change the way how an interrupt mapping data are provided
to the framework in OFW (FDT) case. This is a follow-up to r301451. Differential Revision: https://reviews.freebsd.org/D6634
Diffstat (limited to 'sys/mips')
-rw-r--r--sys/mips/mips/nexus.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/sys/mips/mips/nexus.c b/sys/mips/mips/nexus.c
index 28e16e8..a253b7e 100644
--- a/sys/mips/mips/nexus.c
+++ b/sys/mips/mips/nexus.c
@@ -524,7 +524,11 @@ nexus_ofw_map_intr(device_t dev, device_t child, phandle_t iparent, int icells,
pcell_t *intr)
{
+#ifdef INTRNG
+ return (INTR_IRQ_INVALID);
+#else
return (intr_fdt_map_irq(iparent, intr, icells));
+#endif
}
#endif
#endif /* INTRNG */
OpenPOWER on IntegriCloud