Page MenuHomeFreeBSD

D15817.diff
No OneTemporary

D15817.diff

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

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)

Event Timeline