From: Keith Owens <kaos@ocs.com.au>
To: David Luyer <david_luyer@pacific.net.au>
Cc: alan@redhat.com, linux-kernel@vger.kernel.org
Subject: Re: PATCH: "Pass module parameters" to built-in drivers
Date: Sun, 21 Jan 2001 16:09:04 +1100 [thread overview]
Message-ID: <27169.980053744@ocs3.ocs-net> (raw)
In-Reply-To: Your message of "Sun, 21 Jan 2001 15:54:56 +1100." <200101210454.f0L4sug02747@typhaon.pacific.net.au>
On Sun, 21 Jan 2001 15:54:56 +1100,
David Luyer <david_luyer@pacific.net.au> wrote:
>Here's a proposed v2.4 "quick fix" to allow specifying "module parameters" to
>any of the many drivers without option parsers when built in to the kernel.
Fundamental problem: you assume that each module is built from a source
of the same name, this is not true. For example, scsi_mod is built
from several objects, including scsi.c and scsi_scan.c which contain
MODULE_PARM. With your patch the user has to do
scsi.c:scsihosts="..." scsi_scan.c:max_scsi_luns=n (built in)
or
options scsi_mod scsihosts="..." max_scsi_luns=n (module)
Inconsistent methods for setting the same parameter are bad. I can and
will do this cleanly in 2.5. Parameters will be always be keyed by the
module name, even if they are compiled in. Adding an inconsistent
method to 2.4 then changing to a correct method in 2.5 is a bad idea,
wait until we can do it right.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/
next prev parent reply other threads:[~2001-01-21 5:09 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-01-21 4:54 PATCH: "Pass module parameters" to built-in drivers David Luyer
2001-01-21 5:09 ` Keith Owens [this message]
2001-01-22 15:56 ` Werner Almesberger
2001-01-22 16:30 ` Keith Owens
2001-01-22 18:08 ` Werner Almesberger
2001-01-22 21:55 ` Russell King
2001-01-23 6:37 ` Keith Owens
2001-01-23 9:18 ` Richard Guenther
2001-01-24 13:32 ` Paul Gortmaker
2001-01-24 20:57 ` Keith Owens
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=27169.980053744@ocs3.ocs-net \
--to=kaos@ocs.com.au \
--cc=alan@redhat.com \
--cc=david_luyer@pacific.net.au \
--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