RE: idebus setup problem (2.6.7-rc1)

From: Zhu, Yi
Date: Thu May 27 2004 - 10:24:58 EST


Bartlomiej Zolnierkiewicz [B.Zolnierkiewicz@xxxxxxxxxxxxxx] wrote:
>
> I remember seeing patch related to handling '=' in kernel
> params, maybe it's related (or maybe not).

Yes, this is caused by my kernel-parameter-parsing-fix.patch.

But I think below code in ide.c is a hack.
__setup("", ide_setup);

How about below change?

--- linux-2.6.7-rc1-mm1.orig/drivers/ide/ide.c 2004-05-27
23:07:59.405138992 +0800
+++ linux-2.6.7-rc1-mm1/drivers/ide/ide.c 2004-05-27
23:09:47.529701560 +0800
@@ -2459,7 +2459,8 @@ void cleanup_module (void)

#else /* !MODULE */

-__setup("", ide_setup);
+__setup("hd", ide_setup);
+__setup("ide", ide_setup);

module_init(ide_init);


-yi
-
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/