lkml.org 
[lkml]   [2016]   [Jan]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Date
Subjectipmi_si feature request: SMBIOS-based autoloading
ipmi_si doesn't autoload on systems where it's found via SMBIOS.
Could that be fixed?

If I were doing it, I'd suggest rigging up some code that's compiled
in to the main kernel even if ipmi_si is a module that creates the
platform device if the dmi device is there and then set up a modalias
so that the platofrm device causes ipmi_si to load.

(In general, having the same driver create the platform device and
register the platform driver means that autoloading is unlikely to
work right. See arch/x86/kernel/pmem.c for an example of a weird
legacy device that gets this right.)

Alternatively, maybe /sys/firmware/dmi could learn how to advertise
modaliases. But that might be a giant mess to solve a tiny problem.

--Andy

\
 
 \ /
  Last update: 2016-01-25 03:21    [W:0.505 / U:1.684 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site