From: minyard@acm.org
To: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Linux Kernel <linux-kernel@vger.kernel.org>,
OpenIPMI Developers <openipmi-developer@lists.sourceforge.net>,
"Jordan_Hargrave@Dell.com" <Jordan_Hargrave@Dell.com>,
Jordan Hargrave <jordan_hargrave@Dell.com>,
Corey Minyard <cminyard@mvista.com>
Subject: [PATCH 3/4] Add MODULE_ALIAS for autoloading ipmi driver on ACPI systems
Date: Wed, 04 Sep 2013 09:40:43 -0500 [thread overview]
Message-ID: <1378305644-27138-4-git-send-email-minyard@acm.org> (raw)
In-Reply-To: <1378305644-27138-1-git-send-email-minyard@acm.org>
From: "Jordan_Hargrave@Dell.com" <Jordan_Hargrave@Dell.com>
I'd submitted this about a year ago but it never made it upstream.
The latest versions of the kernel drivers for ipmi can use ACPI to
determine the type of BMC device used in the system. The following
patch adds a module alias so that udev will autoload the ipmi_si
driver.
Signed-off-by: Jordan Hargrave <jordan_hargrave@dell.com>
Signed-off-by: Corey Minyard <cminyard@mvista.com>
---
drivers/char/ipmi/ipmi_si_intf.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/drivers/char/ipmi/ipmi_si_intf.c b/drivers/char/ipmi/ipmi_si_intf.c
index af4b23f..810372c 100644
--- a/drivers/char/ipmi/ipmi_si_intf.c
+++ b/drivers/char/ipmi/ipmi_si_intf.c
@@ -2279,6 +2279,8 @@ static struct pnp_driver ipmi_pnp_driver = {
.remove = ipmi_pnp_remove,
.id_table = pnp_dev_table,
};
+
+MODULE_DEVICE_TABLE(pnp, pnp_dev_table);
#endif
#ifdef CONFIG_DMI
--
1.7.9.5
next prev parent reply other threads:[~2013-09-04 15:42 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-09-04 14:40 [PATCH 0/4] Some minor IPMI fixes minyard
2013-09-04 14:40 ` [PATCH 1/4] ipmi: info leak in compat_ipmi_ioctl() minyard
2013-09-04 14:40 ` [PATCH 2/4] ipmi: Initialize locals to avoid warning minyard
2013-09-04 14:40 ` minyard [this message]
2013-09-04 14:40 ` [PATCH 4/4] BMC support for PARISC machines minyard
2013-09-04 23:23 ` [PATCH 0/4] Some minor IPMI fixes Linus Torvalds
2013-09-05 11:36 [PATCH 0/4] Some minor IPMI fixes (with signoffs) minyard
2013-09-05 11:36 ` [PATCH 3/4] Add MODULE_ALIAS for autoloading ipmi driver on ACPI systems minyard
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1378305644-27138-4-git-send-email-minyard@acm.org \
--to=minyard@acm.org \
--cc=Jordan_Hargrave@Dell.com \
--cc=cminyard@mvista.com \
--cc=linux-kernel@vger.kernel.org \
--cc=openipmi-developer@lists.sourceforge.net \
--cc=torvalds@linux-foundation.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®