lkml.org 
[lkml]   [2008]   [Feb]   [2]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: [PATCH] ide-core: remove conditional compiling with MODULE in ide-core.c
Date
Denis Cheng <crquan@gmail.com> wrote:

> use module_init/module_exit to replace the original cond-compiling, these
> macros were well designed to deal module/built-in compiling.
>
> the original __setup with null string was invalid and not executed,
> __setup("", ide_setup);
>
> however, with the current module_param mechanics, module parameters also can
> be input on the kernel command line, with this style:
>
> ide-core.options="ide=nodma hdd=cdrom idebus=..."
>
> so Documentation/kernel-parameters.txt also updated.

> --- a/Documentation/kernel-parameters.txt

> - ide= [HW] (E)IDE subsystem
> - Format: ide=nodma or ide=doubler or ide=reverse
> - See Documentation/ide.txt.
> -
> - ide?= [HW] (E)IDE subsystem
> - Format: ide?=noprobe or chipset specific parameters.
> - See Documentation/ide.txt.
> -
> - idebus= [HW] (E)IDE subsystem - VLB/PCI bus speed
> + ide-core.options= [HW] (E)IDE subsystem
> + Format: ide-core.options="ide=nodma hdd=cdrom idebus=..."

IMO you should use separate options for things like nodma while you're at it.

¢¢

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

\
 
 \ /
  Last update: 2008-02-02 20:01    [W:0.063 / U:1.396 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site