Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F102045749
D43689.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
596 B
Referenced Files
None
Subscribers
None
D43689.diff
View Options
diff --git a/sys/dev/pci/pci_pci.c b/sys/dev/pci/pci_pci.c
--- a/sys/dev/pci/pci_pci.c
+++ b/sys/dev/pci/pci_pci.c
@@ -654,14 +654,14 @@
*/
rid = 0;
bus->res = bus_alloc_resource_anywhere(dev, PCI_RES_BUS, &rid,
- min_count, 0);
+ min_count, RF_ACTIVE);
if (bus->res == NULL) {
/*
* Fall back to just allocating a range of a single bus
* number.
*/
bus->res = bus_alloc_resource_anywhere(dev, PCI_RES_BUS, &rid,
- 1, 0);
+ 1, RF_ACTIVE);
} else if (rman_get_size(bus->res) < min_count)
/*
* Attempt to grow the existing range to satisfy the
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Thu, Nov 7, 10:37 PM (22 h, 2 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
14514055
Default Alt Text
D43689.diff (596 B)
Attached To
Mode
D43689: pcib: Allocate PCI_RES_BUS resources with RF_ACTIVE
Attached
Detach File
Event Timeline
Log In to Comment