summaryrefslogtreecommitdiffstats
path: root/sys/dev/pci/pci_host_generic.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/pci/pci_host_generic.c')
-rw-r--r--sys/dev/pci/pci_host_generic.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/dev/pci/pci_host_generic.c b/sys/dev/pci/pci_host_generic.c
index ef18146..7bb4b42 100644
--- a/sys/dev/pci/pci_host_generic.c
+++ b/sys/dev/pci/pci_host_generic.c
@@ -949,7 +949,9 @@ generic_pcie_ofw_bus_attach(device_t dev)
resource_list_init(&di->di_rl);
ofw_bus_reg_to_rl(dev, node, addr_cells, size_cells,
&di->di_rl);
+#ifndef INTRNG
ofw_bus_intr_to_rl(dev, node, &di->di_rl, NULL);
+#endif
/* Add newbus device for this FDT node */
child = device_add_child(dev, NULL, -1);
OpenPOWER on IntegriCloud