Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F143271929
D21452.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
515 B
Referenced Files
None
Subscribers
None
D21452.diff
View Options
Index: head/sys/dev/ichsmb/ichsmb.c
===================================================================
--- head/sys/dev/ichsmb/ichsmb.c
+++ head/sys/dev/ichsmb/ichsmb.c
@@ -131,11 +131,8 @@
goto fail;
}
- /* Attach "smbus" child */
- if ((error = bus_generic_attach(dev)) != 0) {
- device_printf(dev, "failed to attach child: %d\n", error);
- goto fail;
- }
+ /* Probe and attach the smbus when interrupts are available */
+ config_intrhook_oneshot((ich_func_t)bus_generic_attach, dev);
return (0);
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Thu, Jan 29, 8:24 AM (6 h, 45 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
28076864
Default Alt Text
D21452.diff (515 B)
Attached To
Mode
D21452: ichsmb: defer smbus attach until interrupts are available
Attached
Detach File
Event Timeline
Log In to Comment