diff options
author | Svatopluk Kraus <skra@FreeBSD.org> | 2016-06-05 16:20:12 +0000 |
---|---|---|
committer | Svatopluk Kraus <skra@FreeBSD.org> | 2016-06-05 16:20:12 +0000 |
commit | ad5244ece1eb60357d5fefa1b17632a25fcd116e (patch) | |
tree | 09f7a3292cf97e27a58700773b3817ba12f58e1b /sys/mips | |
parent | 535c8d9372cdd6a70883bfba1e5ef0d566b09fd8 (diff) | |
download | src-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.c | 4 |
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 */ |