Re: [PATCH] Selective attach for ide-scsi

From: Patrick Mansfield
Date: Wed Feb 11 2004 - 15:14:26 EST


On Mon, Feb 09, 2004 at 07:02:05PM -0500, Willem Riede wrote:
> On 2004.02.09 03:24, Mikael Pettersson wrote:
> > Willem Riede writes:

> > 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.

But module_param allows module arguments when built as a module, and boot
arguments when built into the kernel.

> 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.

So does module_param not work because the usage is across modules? That
seems odd.

-- Patrick Mansfield
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/