aboutsummaryrefslogtreecommitdiff
path: root/sys/mips
diff options
context:
space:
mode:
authorSvatopluk Kraus <skra@FreeBSD.org>2016-06-05 16:20:12 +0000
committerSvatopluk Kraus <skra@FreeBSD.org>2016-06-05 16:20:12 +0000
commitad5244ece1eb60357d5fefa1b17632a25fcd116e (patch)
tree09f7a3292cf97e27a58700773b3817ba12f58e1b /sys/mips
parent535c8d9372cdd6a70883bfba1e5ef0d566b09fd8 (diff)
downloadsrc-ad5244ece1eb60357d5fefa1b17632a25fcd116e.tar.gz
src-ad5244ece1eb60357d5fefa1b17632a25fcd116e.zip
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
Notes
Notes: svn path=/head/; revision=301453
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 28e16e85fd23..a253b7e006a8 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 */