Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F102788950
D30165.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
494 B
Referenced Files
None
Subscribers
None
D30165.diff
View Options
diff --git a/sys/dev/ofw/ofw_graph.c b/sys/dev/ofw/ofw_graph.c
--- a/sys/dev/ofw/ofw_graph.c
+++ b/sys/dev/ofw/ofw_graph.c
@@ -60,6 +60,14 @@
if (child != 0)
return (child);
+ /* Now check for 'port' without explicit index. */
+ if (idx == 0) {
+ snprintf(portnode, sizeof(portnode), "port");
+ child = ofw_bus_find_child(node, portnode);
+ if (child != 0)
+ return (child);
+ }
+
/* Next try to look under ports */
ports = ofw_bus_find_child(node, "ports");
if (ports == 0)
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Mon, Nov 18, 5:30 AM (20 h, 46 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
14690388
Default Alt Text
D30165.diff (494 B)
Attached To
Mode
D30165: 'port' property support
Attached
Detach File
Event Timeline
Log In to Comment