Skip to contentSkip to conversation

add MODULE_ALIAS to load ipmi_devintf with ipmi_si

PATCH In review Scott James Remnant 2 participants 2 messages Oct 21, 2008 IPMI

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 add MODULE_ALIAS to load ipmi_devintf with ipmi_si

The ipmi_devintf module contains the userspace interface for IPMI devices, yet will not be loaded automatically with a system interface handler driver.

Add a MODULE_ALIAS for the "platform:ipmi_si" MODALIAS exported by the ipmi_si driver, so that userspace knows of the recommendation.

---
 drivers/char/ipmi/ipmi_devintf.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
drivers/char/ipmi/ipmi_devintf.c +1 -0
index 64e1c16..ecaf369 100644
@@ -957,3 +957,4 @@ module_exit(cleanup_ipmi);
 MODULE_LICENSE("GPL");
 MODULE_AUTHOR("Corey Minyard <[email protected]>");
 MODULE_DESCRIPTION("Linux device interface for the IPMI message handler.");
+MODULE_ALIAS("platform:ipmi_si");
Signature · 1 line
1.5.6.3
#1 lore raw
Quoted 17 lines · Scott James Remnant

The ipmi_devintf module contains the userspace interface for IPMI devices, yet will not be loaded automatically with a system interface handler driver.

Add a MODULE_ALIAS for the "platform:ipmi_si" MODALIAS exported by the ipmi_si driver, so that userspace knows of the recommendation.

---
 drivers/char/ipmi/ipmi_devintf.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
drivers/char/ipmi/ipmi_devintf.c +0 -0
index 64e1c16..ecaf369 100644

drivers/char/ipmi/ipmi_devintf.c module_exit(cleanup_ipmi); · line 960

Quoted 4 lines
drivers/char/ipmi/ipmi_devintf.c +1 -0
@@ -957,3 +957,4 @@ module_exit(cleanup_ipmi);
 MODULE_LICENSE("GPL");
 MODULE_AUTHOR("Corey Minyard <[email protected]>");
 MODULE_DESCRIPTION("Linux device interface for the IPMI message handler.");
+MODULE_ALIAS("platform:ipmi_si");

Seems like a candidate for the stable kernel. If you add the line:

it will happen automagically when Linus merges it into his tree. Can you resubmit with this line added?

rtg

Signature · 1 line
Tim Gardner [email protected]