lkml.org 
[lkml]   [2014]   [Oct]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Date
SubjectRe: [patch 1/3] ipmi: Setup ipmi_devintf automatically if ipmi_msghandler gets loaded
On Fri, 2014-10-17 at 18:14 +0200, Corey Minyard wrote:

> How about this. I did a little research, and there's something called soft
> module dependencies. Apparently you can add:
>
> MODULE_SOFTDEP("post: ipmi_devintf")
>
> to ipmi_msghandler.c and modprobe would load ipmi_devintf after loading
> ipmi_msghandler if it was available.

This is nice, but not commonly available in distro kernels so far.
AFAICS, out of the distros Fujitsu supports, only RHEL7 supports it.

I vote for MODULE_SOFTDEP for upstream, and modalias for distros that
don't support MODULE_SOFTDEP yet.

Martin


\
 
 \ /
  Last update: 2014-10-20 11:21    [W:0.084 / U:0.092 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site