Page MenuHomeFreeBSD

D4602.1775863524.diff
No OneTemporary

Size
1 KB
Referenced Files
None
Subscribers
None

D4602.1775863524.diff

Index: head/sys/arm/mv/mv_common.c
===================================================================
--- head/sys/arm/mv/mv_common.c
+++ head/sys/arm/mv/mv_common.c
@@ -2064,7 +2064,7 @@
*/
child = OF_peer(child);
if ((child == 0) && (node == OF_finddevice("/"))) {
- node = fdt_find_compatible(node, "simple-bus", 1);
+ node = fdt_find_compatible(node, "simple-bus", 0);
if (node == 0)
return (ENXIO);
child = OF_child(node);
Index: head/sys/dev/fdt/fdt_common.c
===================================================================
--- head/sys/dev/fdt/fdt_common.c
+++ head/sys/dev/fdt/fdt_common.c
@@ -212,7 +212,7 @@
* Try to access the SOC node directly i.e. through /aliases/.
*/
if ((node = OF_finddevice("soc")) != 0)
- if (fdt_is_compatible_strict(node, "simple-bus"))
+ if (fdt_is_compatible(node, "simple-bus"))
goto moveon;
/*
* Find the node the long way.
@@ -220,7 +220,7 @@
if ((node = OF_finddevice("/")) == 0)
return (ENXIO);
- if ((node = fdt_find_compatible(node, "simple-bus", 1)) == 0)
+ if ((node = fdt_find_compatible(node, "simple-bus", 0)) == 0)
return (ENXIO);
moveon:

File Metadata

Mime Type
text/plain
Expires
Fri, Apr 10, 11:25 PM (3 h, 17 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
28320711
Default Alt Text
D4602.1775863524.diff (1 KB)

Event Timeline