Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F131736289
D41025.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
618 B
Referenced Files
None
Subscribers
None
D41025.diff
View Options
diff --git a/sys/dev/pci/pci_host_generic_den0115.c b/sys/dev/pci/pci_host_generic_den0115.c
--- a/sys/dev/pci/pci_host_generic_den0115.c
+++ b/sys/dev/pci/pci_host_generic_den0115.c
@@ -71,10 +71,11 @@
return (ENXIO);
/*
- * Check we have memory resources. We may have a non-memory
+ * Check if we have memory resources. We may have a non-memory
* mapped device, e.g. using the Arm PCI Configuration Space
* Access Firmware Interface (DEN0115).
*/
+ rid = 0;
res = bus_alloc_resource_any(dev, SYS_RES_MEMORY, &rid, 0);
if (res != NULL) {
bus_release_resource(dev, SYS_RES_MEMORY, rid, res);
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sat, Oct 11, 6:33 PM (18 h, 23 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
23588005
Default Alt Text
D41025.diff (618 B)
Attached To
Mode
D41025: PCI DEN0115: Reliably check for a memory resource during probe.
Attached
Detach File
Event Timeline
Log In to Comment