Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F147514299
D17656.1783645224.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
1 KB
Referenced Files
None
Subscribers
None
D17656.1783645224.diff
View Options
Index: head/sys/dev/pci/pci_host_generic.c
===================================================================
--- head/sys/dev/pci/pci_host_generic.c
+++ head/sys/dev/pci/pci_host_generic.c
@@ -310,7 +310,7 @@
rm = generic_pcie_rman(sc, type);
if (rm == NULL)
- return (BUS_ALLOC_RESOURCE(device_get_parent(dev), dev,
+ return (BUS_ALLOC_RESOURCE(device_get_parent(dev), child,
type, rid, start, end, count, flags));
if (bootverbose) {
Index: head/sys/dev/pci/pci_host_generic_fdt.c
===================================================================
--- head/sys/dev/pci/pci_host_generic_fdt.c
+++ head/sys/dev/pci/pci_host_generic_fdt.c
@@ -423,6 +423,7 @@
}
break;
case SYS_RES_MEMORY:
+ case SYS_RES_IRQ:
res = BUS_ACTIVATE_RESOURCE(device_get_parent(dev), child,
type, rid, r);
break;
@@ -445,6 +446,7 @@
switch(type) {
case SYS_RES_IOPORT:
case SYS_RES_MEMORY:
+ case SYS_RES_IRQ:
res = BUS_DEACTIVATE_RESOURCE(device_get_parent(dev), child,
type, rid, r);
break;
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Fri, Jul 10, 1:00 AM (10 h, 31 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
29048139
Default Alt Text
D17656.1783645224.diff (1 KB)
Attached To
Mode
D17656: pci_host_generic: allocate resources against devices
Attached
Detach File
Event Timeline
Log In to Comment