Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F132951908
D15770.id43670.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
529 B
Referenced Files
None
Subscribers
None
D15770.id43670.diff
View Options
Index: head/sys/dev/ofw/ofw_bus_subr.c
===================================================================
--- head/sys/dev/ofw/ofw_bus_subr.c
+++ head/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
Wed, Oct 22, 11:31 AM (17 h, 36 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
24035071
Default Alt Text
D15770.id43670.diff (529 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