[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <1413793733.2678.10.camel@pdbcooper.pdb.fsc.net>
Date: Mon, 20 Oct 2014 10:28:53 +0200
From: "Wilck, Martin" <martin.wilck@...fujitsu.com>
To: "minyard@....org" <minyard@....org>
CC: "linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
"openipmi-developer@...ts.sourceforge.net"
<openipmi-developer@...ts.sourceforge.net>,
"trenn@...e.de" <trenn@...e.de>
Subject: Re: [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
Powered by blists - more mailing lists