summaryrefslogtreecommitdiffstats
path: root/sys/dev/fdt/fdt_pci.c
diff options
context:
space:
mode:
authorian <ian@FreeBSD.org>2014-05-13 17:12:07 +0000
committerian <ian@FreeBSD.org>2014-05-13 17:12:07 +0000
commit42a63a26cfe02dc91a47c8dba60ca2aae1fa1e2a (patch)
tree96994974626d0b161a11247118a5976f448b97df /sys/dev/fdt/fdt_pci.c
parent3d20d204d8598105e6dd4fb0d595e33d2461a02b (diff)
downloadFreeBSD-src-42a63a26cfe02dc91a47c8dba60ca2aae1fa1e2a.zip
FreeBSD-src-42a63a26cfe02dc91a47c8dba60ca2aae1fa1e2a.tar.gz
MFC r256870, r256898, r256899, r256900 (by nwhitehorn):
Standards-conformance and code deduplication: - Use bus reference phandles in place of FDT offsets as IRQ domain keys - Unify the identical macio/fdt/mambo OpenPIC drivers into one - Be more forgiving (following ePAPR) about what we need from the device tree to identify an OpenPIC - Correctly map all IRQs into an interrupt domain - Set IRQ_*_CONFORM for interrupts on an unknown PIC type instead of failing attachment for that device. Allow lots of interrupts (useful on multi-domain platforms) and do not set device_quiet() on all devices attached under nexus(4).
Diffstat (limited to 'sys/dev/fdt/fdt_pci.c')
-rw-r--r--sys/dev/fdt/fdt_pci.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/fdt/fdt_pci.c b/sys/dev/fdt/fdt_pci.c
index a4cf9d1..bcfe300 100644
--- a/sys/dev/fdt/fdt_pci.c
+++ b/sys/dev/fdt/fdt_pci.c
@@ -320,7 +320,7 @@ fdt_pci_route_intr(int bus, int slot, int func, int pin,
trig, pol);
#if defined(__powerpc__)
- powerpc_config_intr(FDT_MAP_IRQ(intr_par, *interrupt), trig,
+ powerpc_config_intr(FDT_MAP_IRQ(iph, *interrupt), trig,
pol);
#endif
return (0);
OpenPOWER on IntegriCloud