summaryrefslogtreecommitdiffstats
path: root/sys/dev/fdt/fdt_pci.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/fdt/fdt_pci.c')
-rw-r--r--sys/dev/fdt/fdt_pci.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/dev/fdt/fdt_pci.c b/sys/dev/fdt/fdt_pci.c
index fd708ef..44e0dbf 100644
--- a/sys/dev/fdt/fdt_pci.c
+++ b/sys/dev/fdt/fdt_pci.c
@@ -325,8 +325,9 @@ fdt_pci_route_intr(int bus, int slot, int func, int pin,
debugf("decoded intr = %d, trig = %d, pol = %d\n", *interrupt,
trig, pol);
- /* XXX we should probably call powerpc_config() here... */
-
+#if defined(__powerpc__)
+ powerpc_config_intr(INTR_VEC(intr_par, *interrupt), trig, pol);
+#endif
return (0);
next:
OpenPOWER on IntegriCloud