Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F142229979
D15770.id43639.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
514 B
Referenced Files
None
Subscribers
None
D15770.id43639.diff
View Options
Index: sys/dev/ofw/ofw_bus_subr.c
===================================================================
--- sys/dev/ofw/ofw_bus_subr.c
+++ sys/dev/ofw/ofw_bus_subr.c
@@ -91,6 +91,9 @@
{
*buf = '\0';
+ if (!ofw_bus_status_okay(child))
+ return (0);
+
if (ofw_bus_get_name(child) != NULL) {
strlcat(buf, "name=", buflen);
strlcat(buf, ofw_bus_get_name(child), buflen);
@@ -100,6 +103,7 @@
strlcat(buf, " compat=", buflen);
strlcat(buf, ofw_bus_get_compat(child), buflen);
}
+
return (0);
};
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sun, Jan 18, 1:51 PM (2 h, 11 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
27710210
Default Alt Text
D15770.id43639.diff (514 B)
Attached To
Mode
D15770: simplebus pnp: Do not generate pnp info is the bus status is not okay
Attached
Detach File
Event Timeline
Log In to Comment