Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F102012341
D47155.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
411 B
Referenced Files
None
Subscribers
None
D47155.diff
View Options
diff --git a/sys/kern/subr_bus.c b/sys/kern/subr_bus.c
--- a/sys/kern/subr_bus.c
+++ b/sys/kern/subr_bus.c
@@ -2544,6 +2544,7 @@
if ((error = DEVICE_ATTACH(dev)) != 0) {
printf("device_attach: %s%d attach returned %d\n",
dev->driver->name, dev->unit, error);
+ BUS_CHILD_DETACHED(dev->parent, dev);
if (disable_failed_devs) {
/*
* When the user has asked to disable failed devices, we
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Thu, Nov 7, 1:10 PM (20 h, 51 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
14229922
Default Alt Text
D47155.diff (411 B)
Attached To
Mode
D47155: device_attach: Invoke BUS_CHILD_DETACHED if an attach routine fails
Attached
Detach File
Event Timeline
Log In to Comment