aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation/ide/ide.txt
diff options
context:
space:
mode:
authorBartlomiej Zolnierkiewicz <bzolnier@gmail.com>2008-04-27 09:38:30 -0400
committerBartlomiej Zolnierkiewicz <bzolnier@gmail.com>2008-04-27 09:38:30 -0400
commit4706a7e03a03d6d206a93a49a0c723dd612cf8e9 (patch)
treeaa78320ae86d353d1cdbd818deb8e0ddeaf8893d /Documentation/ide/ide.txt
parent6e87543a94fb2a966c81a61fc91246592f9719da (diff)
ide: add "cdrom=" and "chs=" parameters
* Add "cdrom=" and "chs=" parameters. * Obsolete "hdx=cdrom" and "hdx=cyls,heads,sects" kernel parameters. Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Diffstat (limited to 'Documentation/ide/ide.txt')
-rw-r--r--Documentation/ide/ide.txt31
1 files changed, 14 insertions, 17 deletions
diff --git a/Documentation/ide/ide.txt b/Documentation/ide/ide.txt
index 5bff93c89a23..caf24b21e7f5 100644
--- a/Documentation/ide/ide.txt
+++ b/Documentation/ide/ide.txt
@@ -82,17 +82,16 @@ Drives are normally found by auto-probing and/or examining the CMOS/BIOS data.
82For really weird situations, the apparent (fdisk) geometry can also be specified 82For really weird situations, the apparent (fdisk) geometry can also be specified
83on the kernel "command line" using LILO. The format of such lines is: 83on the kernel "command line" using LILO. The format of such lines is:
84 84
85 hdx=cyls,heads,sects 85 ide_core.chs=[interface_number.device_number]:cyls,heads,sects
86or hdx=cdrom 86or ide_core.cdrom=[interface_number.device_number]
87 87
88where hdx can be any of hda through hdh, Three values are required 88For example:
89(cyls,heads,sects). For example:
90 89
91 hdc=1050,32,64 hdd=cdrom 90 ide_core.chs=1.0:1050,32,64 ide_core.cdrom=1.1
92 91
93either {hda,hdb} or {hdc,hdd}. The results of successful auto-probing may 92The results of successful auto-probing may override the physical geometry/irq
94override the physical geometry/irq specified, though the "original" geometry 93specified, though the "original" geometry may be retained as the "logical"
95may be retained as the "logical" geometry for partitioning purposes (fdisk). 94geometry for partitioning purposes (fdisk).
96 95
97If the auto-probing during boot time confuses a drive (ie. the drive works 96If the auto-probing during boot time confuses a drive (ie. the drive works
98with hd.c but not with ide.c), then an command line option may be specified 97with hd.c but not with ide.c), then an command line option may be specified
@@ -101,7 +100,7 @@ probe/identification sequence. For example:
101 100
102 ide_core.noprobe=0.1 101 ide_core.noprobe=0.1
103or 102or
104 hdc=768,16,32 103 ide_core.chs=1.0:768,16,32
105 ide_core.noprobe=1.0 104 ide_core.noprobe=1.0
106 105
107Note that when only one IDE device is attached to an interface, it should be 106Note that when only one IDE device is attached to an interface, it should be
@@ -118,9 +117,9 @@ If for some reason your cdrom drive is *not* found at boot time, you can force
118the probe to look harder by supplying a kernel command line parameter 117the probe to look harder by supplying a kernel command line parameter
119via LILO, such as: 118via LILO, such as:
120 119
121 hdc=cdrom /* hdc = "master" on second interface */ 120 ide_core.cdrom=1.0 /* "master" on second interface (hdc) */
122or 121or
123 hdd=cdrom /* hdd = "slave" on second interface */ 122 ide_core.cdrom=1.1 /* "slave" on second interface (hdd) */
124 123
125For example, a GW2000 system might have a hard drive on the primary 124For example, a GW2000 system might have a hard drive on the primary
126interface (/dev/hda) and an IDE cdrom drive on the secondary interface 125interface (/dev/hda) and an IDE cdrom drive on the secondary interface
@@ -182,12 +181,6 @@ driver using the "options=" keyword to insmod, while replacing any ',' with
182Summary of ide driver parameters for kernel command line 181Summary of ide driver parameters for kernel command line
183-------------------------------------------------------- 182--------------------------------------------------------
184 183
185 "hdx=" is recognized for all "x" from "a" to "u", such as "hdc".
186
187 "hdx=cdrom" : drive is present, and is a cdrom drive
188
189 "hdx=cyl,head,sect" : disk drive is present, with specified geometry
190
191 "ide=doubler" : probe/support IDE doublers on Amiga 184 "ide=doubler" : probe/support IDE doublers on Amiga
192 185
193There may be more options than shown -- use the source, Luke! 186There may be more options than shown -- use the source, Luke!
@@ -230,6 +223,10 @@ Other kernel parameters for ide_core are:
230 223
231* "nowerr=[interface_number.device_number]" to ignore the WRERR_STAT bit 224* "nowerr=[interface_number.device_number]" to ignore the WRERR_STAT bit
232 225
226* "cdrom=[interface_number.device_number]" to force device as a CD-ROM
227
228* "chs=[interface_number.device_number]" to force device as a disk (using CHS)
229
233================================================================================ 230================================================================================
234 231
235Some Terminology 232Some Terminology