mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-09-12 13:55:32 +00:00
ipmi: create hardware-independent softdep for ipmi_devintf
When a computer has an IPMI system interface, the device interface is most probably also desired. Autoloading of ipmi_devintf currently works only if ipmi_si has allocated a platform device. That doesn't happen if the SI interface was detected e.g. via ACPI. But ACPI detection is preferred these days, see e.g. kernel.org bug 46741. This patch introduces a softdep in place of the existing modalias for ipmi_devintf. Signed-off-by: Martin Wilck <mwilck@suse.com> Suggested-by: Takashi Iwai <tiwai@suse.com> I moved this to ipmi_msghandler.c, so it works for all IPMI interfaces. Retested by Martin. Tested-by: Martin Wilck <mwilck@suse.com> Signed-off-by: Corey Minyard <cminyard@mvista.com>
This commit is contained in:
parent
a24b5dd5ed
commit
070cbd1d42
2 changed files with 1 additions and 1 deletions
|
@ -989,4 +989,3 @@ module_exit(cleanup_ipmi);
|
|||
MODULE_LICENSE("GPL");
|
||||
MODULE_AUTHOR("Corey Minyard <minyard@mvista.com>");
|
||||
MODULE_DESCRIPTION("Linux device interface for the IPMI message handler.");
|
||||
MODULE_ALIAS("platform:ipmi_si");
|
||||
|
|
|
@ -4646,3 +4646,4 @@ MODULE_AUTHOR("Corey Minyard <minyard@mvista.com>");
|
|||
MODULE_DESCRIPTION("Incoming and outgoing message routing for an IPMI"
|
||||
" interface.");
|
||||
MODULE_VERSION(IPMI_DRIVER_VERSION);
|
||||
MODULE_SOFTDEP("post: ipmi_devintf");
|
||||
|
|
Loading…
Reference in a new issue