Page MenuHomeFreeBSD

D15817.id43813.diff
No OneTemporary

D15817.id43813.diff

Index: sys/dev/ofw/ofw_subr.c
===================================================================
--- sys/dev/ofw/ofw_subr.c
+++ sys/dev/ofw/ofw_subr.c
@@ -61,7 +61,8 @@
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") || strcmp(type, "pciex"))
+ pci = 1;
}
}
if (addrp != NULL)

File Metadata

Mime Type
text/plain
Expires
Wed, Apr 22, 6:36 AM (4 h, 36 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
31959550
Default Alt Text
D15817.id43813.diff (431 B)

Event Timeline