diff options
| author | Michal Meloun <mmel@FreeBSD.org> | 2016-08-14 05:10:26 +0000 |
|---|---|---|
| committer | Michal Meloun <mmel@FreeBSD.org> | 2016-08-14 05:10:26 +0000 |
| commit | aa71e06db57fb8ddbdd3cb0b8fcc33d6e0db9119 (patch) | |
| tree | 982d834afc7e7262c8bb7f26406eceecf4d9a294 /sys/dev/ofw | |
| parent | 466a4ffc9853dcd85e688a37a71bcf5c358a910a (diff) | |
Notes
Diffstat (limited to 'sys/dev/ofw')
| -rw-r--r-- | sys/dev/ofw/ofwpci.c | 4 |
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); |
