From: Willem Riede <wrlk@riede.org>
To: Mikael Pettersson <mikpe@csd.uu.se>
Cc: linux-kernel@vger.kernel.org
Subject: Re: [PATCH] Selective attach for ide-scsi
Date: Mon, 9 Feb 2004 19:02:05 -0500 [thread overview]
Message-ID: <20040210000205.GG28026@serve.riede.org> (raw)
In-Reply-To: <16423.17315.777835.128816@alkaid.it.uu.se> (from mikpe@csd.uu.se on Mon, Feb 09, 2004 at 03:24:03 -0500)
On 2004.02.09 03:24, Mikael Pettersson wrote:
> Willem Riede writes:
> > Today, if you boot 2.6.x with hdd=ide-scsi, ide-scsi will attach to
> > all your Atapi drives, not just hdd, unless you explicitely specified
> > another driver for those.
> >
> > Given that we don't want people to use ide-scsi for cdroms and cd-writers,
> > that behavior is IMHO suboptimal.
> >
> > The patch below makes ide-scsi attach ONLY to those drives that you tell
> > it to. So if you want it to handle hdb and hdd, but not hdc, you boot
> > with hdb=ide-scsi hdd=ide-scsi.
>
> The patch I posted, which you apparently didn't like, doesn't
> require the use of boot-only options: it instead adds a module_param
> to ide-scsi which allows for greater flexibility.
>
> Personally I never liked that butt-ugly hdX=ide-scsi hack.
I hear you. There are certainly advantages to use a module parameter rather
than a boot argument.
However, there should not be two mechanisms to achieve the same goal. For
better or for worse, the hdX=<driver> construction exists, and people are
using it. Its use is not limited to ide-scsi.
Since it can very easily be adjusted to achieve the desired selectivety,
I believe it is the mechanism of choice.
Does anyone else have an opinion?
Thanks, Willem Riede.
next prev parent reply other threads:[~2004-02-10 0:06 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-02-08 22:42 [PATCH] Selective attach for ide-scsi Willem Riede
2004-02-09 8:24 ` Mikael Pettersson
2004-02-10 0:02 ` Willem Riede [this message]
2004-02-11 20:11 ` Patrick Mansfield
2004-02-14 22:06 ` Willem Riede
2004-02-14 22:54 ` Bartlomiej Zolnierkiewicz
2004-02-14 23:03 ` Willem Riede
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=20040210000205.GG28026@serve.riede.org \
--to=wrlk@riede.org \
--cc=linux-kernel@vger.kernel.org \
--cc=mikpe@csd.uu.se \
/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