From: Greg KH <gregkh@suse.de>
To: Lennart Poettering <lennart@poettering.net>
Cc: linux-kernel@vger.kernel.org, kay.sievers@vrfy.org
Subject: Re: [PATCH] DMI-based module autoloading
Date: Mon, 7 May 2007 18:27:36 -0700 [thread overview]
Message-ID: <20070508012736.GA24856@suse.de> (raw)
In-Reply-To: <20070508005429.GA19182@tango.0pointer.de>
On Tue, May 08, 2007 at 02:54:29AM +0200, Lennart Poettering wrote:
> To take advantage of DMI based module autoloading, a driver should
> export one or more MODULE_ALIAS fields similar to these:
>
> MODULE_ALIAS("dmi:*:svnMICRO-STARINT'LCO.,LTD:pnMS-1013:pvr0131*:cvnMICRO-STARINT'LCO.,LTD:ct10:*");
> MODULE_ALIAS("dmi:*:svnMicro-StarInternational:pnMS-1058:pvr0581:rvnMSI:rnMS-1058:*:ct10:*");
> MODULE_ALIAS("dmi:*:svnMicro-StarInternational:pnMS-1412:*:rvnMSI:rnMS-1412:*:cvnMICRO-STARINT'LCO.,LTD:ct10:*");
> MODULE_ALIAS("dmi:*:svnNOTEBOOK:pnSAM2000:pvr0131*:cvnMICRO-STARINT'LCO.,LTD:ct10:*");
Is there any way to automatically generate these aliases (like we do for
PCI and USB), in a way that is easier for the developer, instead of
having to figure out how to create such a "wierd" string like these by
hand?
> These lines are specific to my msi-laptop.c driver. They are basically
> just a concatenation of a few carefully selected DMI fields with all
> potentially bad characters stripped.
What is a "bad character" here?
thanks,
greg k-h
next prev parent reply other threads:[~2007-05-08 1:26 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-05-08 0:54 [PATCH] DMI-based module autoloading Lennart Poettering
2007-05-08 1:27 ` Greg KH [this message]
2007-05-08 12:41 ` Lennart Poettering
2007-05-08 3:06 ` Björn Steinbrink
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=20070508012736.GA24856@suse.de \
--to=gregkh@suse.de \
--cc=kay.sievers@vrfy.org \
--cc=lennart@poettering.net \
--cc=linux-kernel@vger.kernel.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