aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/ofw/ofwpci.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/ofw/ofwpci.c')
-rw-r--r--sys/dev/ofw/ofwpci.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/ofw/ofwpci.c b/sys/dev/ofw/ofwpci.c
index 3423050e5559..1daafa644cf6 100644
--- a/sys/dev/ofw/ofwpci.c
+++ b/sys/dev/ofw/ofwpci.c
@@ -414,14 +414,14 @@ ofw_pci_alloc_resource(device_t bus, device_t child, int type, int *rid,
#if defined(NEW_PCIB) && defined(PCI_RES_BUS)
if (type == PCI_RES_BUS) {
return (pci_domain_alloc_bus(sc->sc_pci_domain, child, rid,
- start, end, count, flags));
+ start, end, count, flags | needactivate));
}
#endif
rm = ofw_pci_get_rman(sc, type, flags);
if (rm == NULL) {
return (bus_generic_alloc_resource(bus, child, type, rid,
- start, end, count, flags));
+ start, end, count, flags | needactivate));
}
rv = rman_reserve_resource(rm, start, end, count, flags, child);