Page MenuHomeFreeBSD

D21452.diff
No OneTemporary

D21452.diff

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

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)

Event Timeline