Page MenuHomeFreeBSD

D21452.1796514384.diff
No OneTemporary

Authored By
Unknown
Size
500 B
Referenced Files
None
Subscribers
None

D21452.1796514384.diff

Index: sys/dev/ichsmb/ichsmb.c
===================================================================
--- sys/dev/ichsmb/ichsmb.c
+++ 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
Sat, Dec 5, 11:46 PM (14 h, 4 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
42243750
Default Alt Text
D21452.1796514384.diff (500 B)

Event Timeline