Re: [PATCH] 2.5.18 ide-scsi compile fix

Gert Vervoort (Gert.Vervoort@wxs.nl)
Sat, 25 May 2002 17:17:25 +0200


> --- ide-scsi.c.1 Sat May 25 14:21:28 2002
> +++ ide-scsi.c Sat May 25 14:21:37 2002
> @@ -804,7 +804,7 @@
> };
>
>
> -static int __init idescsi_init(void)
> +int __init idescsi_init(void)
> {
> int ret;
> ret = ata_driver_module(&idescsi_driver);

This does not boot, as idescsi_init seems is also called by the scsi subsystem.
The following patch actually boots on my system:

--- ide.c.1 Sat May 25 16:22:54 2002
+++ ide.c Sat May 25 16:23:22 2002
@@ -3444,9 +3444,7 @@
idefloppy_init();
#endif
#ifdef CONFIG_BLK_DEV_IDESCSI
-# ifdef CONFIG_SCSI
- idescsi_init();
-# else
+# ifndef CONFIG_SCSI
#error ATA SCSI emulation selected but no SCSI-subsystem in kernel
# endif
#endif
-
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/