Page MenuHomeFreeBSD

D15817.id43837.diff
No OneTemporary

D15817.id43837.diff

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

Mime Type
text/plain
Expires
Thu, Jul 16, 7:08 PM (21 h, 24 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
35146990
Default Alt Text
D15817.id43837.diff (448 B)

Event Timeline