Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F147407569
D15817.id43837.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
448 B
Referenced Files
None
Subscribers
None
D15817.id43837.diff
View Options
Index: sys/dev/ofw/ofw_subr.c
===================================================================
--- sys/dev/ofw/ofw_subr.c
+++ sys/dev/ofw/ofw_subr.c
@@ -61,7 +61,9 @@
res = OF_getprop(node, "device_type", type, sizeof(type));
if (res != -1) {
type[sizeof(type) - 1] = '\0';
- pci = (strcmp(type, "pci") == 0) ? 1 : 0;
+ if (strcmp(type, "pci") == 0 ||
+ strcmp(type, "pciex")== 0)
+ pci = 1;
}
}
if (addrp != NULL)
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Wed, Mar 11, 5:59 PM (12 h, 42 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
29520190
Default Alt Text
D15817.id43837.diff (448 B)
Attached To
Mode
D15817: Check for a 'pci' prefix rather than a full match in get_addr_props
Attached
Detach File
Event Timeline
Log In to Comment