Messages in this thread | | | From | "Wilck, Martin" <> | Date | Mon, 20 Oct 2014 10:28:53 +0200 | 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
| |