Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F111196112
D15817.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
463 B
Referenced Files
None
Subscribers
None
D15817.diff
View Options
Index: head/sys/dev/ofw/ofw_subr.c
===================================================================
--- head/sys/dev/ofw/ofw_subr.c
+++ head/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
Sat, Mar 1, 4:59 PM (19 h, 40 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
16908519
Default Alt Text
D15817.diff (463 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