[PATCH] ide-scsi documentation fix (2.4.19-pre4 and 2.5.7)

Bill Jonas
2002-03-23T03:48:02Z

[-- Attachment #1: Type: text/plain, Size: 2546 bytes --]

In the course of a discussion on a LUG mailing list, I noticed that the
Configure.help text for CONFIG_BLK_DEV_IDESCSI is incorrect. It
indicates that you should use "hdx=scsi" on the kernel command line to
prevent devices from getting claimed by the regular IDE drivers;
actually, it should be "hdx=ide-scsi". The incorrect documentation
exists in 2.4.19-pre4 as well as 2.5.7. 2.2 does not have the problem;
it does not state what the parameter should be. The bootparam(7) man
page does not cover this particular command-line option.

Here is a patch for 2.4.19-pre4:

diff -r --unified linux-2.4.19-pre4.orig/Documentation/Configure.help linux-2.4.19-pre4/Documentation/Configure.help
--- linux-2.4.19-pre4.orig/Documentation/Configure.help Fri Mar 22 21:00:18 2002
+++ linux-2.4.19-pre4/Documentation/Configure.help Fri Mar 22 21:03:30 2002
@@ -734,7 +734,7 @@
you can then use this emulation together with an appropriate SCSI
device driver. In order to do this, say Y here and to "SCSI support"
and "SCSI generic support", below. You must then provide the kernel
- command line "hdx=scsi" (try "man bootparam" or see the
+ command line "hdx=ide-scsi" (try "man bootparam" or see the
documentation of your boot loader (lilo or loadlin) about how to
pass options to the kernel at boot time) for devices if you want the
native EIDE sub-drivers to skip over the native support, so that

Here is a patch for 2.5.7:

diff -r --unified linux-2.5.7.orig/drivers/ide/Config.help linux-2.5.7/drivers/ide/Config.help
--- linux-2.5.7.orig/drivers/ide/Config.help Fri Mar 22 21:31:23 2002
+++ linux-2.5.7/drivers/ide/Config.help Fri Mar 22 22:28:14 2002
@@ -160,7 +160,7 @@
you can then use this emulation together with an appropriate SCSI
device driver. In order to do this, say Y here and to "SCSI support"
and "SCSI generic support", below. You must then provide the kernel
- command line "hdx=scsi" (try "man bootparam" or see the
+ command line "hdx=ide-scsi" (try "man bootparam" or see the
documentation of your boot loader (lilo or loadlin) about how to
pass options to the kernel at boot time) for devices if you want the
native EIDE sub-drivers to skip over the native support, so that

If there are any replies or further questions, please CC: me, as I am
not subscribed to linux-kernel ATM.

Thanks.

--
Bill Jonas * bill@billjonas.com * http://www.billjonas.com/

Developer/SysAdmin for hire! See http://www.billjonas.com/resume.html

[-- Attachment #2: Type: application/pgp-signature, Size: 232 bytes --]