diff options
author | Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> | 2008-04-27 09:38:23 -0400 |
---|---|---|
committer | Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> | 2008-04-27 09:38:23 -0400 |
commit | 9fd91d959f1a19d1bfa46d97cbbbb55641ce26a6 (patch) | |
tree | 9938cfef8cce9dd87f48fe40b6bca51a1c737fc5 /Documentation/ide | |
parent | 9c391bae6a65bd39962877ad7dc000b600757bbe (diff) |
ide: add "ignore_cable" parameter (take 2)
Add "ignore_cable" parameter:
* "ide_core.ignore_cable=[interface_number]" boot option if IDE is built-in
(i.e. "ide_core.ignore_cable=1" to force ignoring cable for "ide1")
* "ignore_cable=[interface_number]" module parameter (for ide_core module)
if IDE is compiled as module
v2:
* Add ide_port_apply_params() helper
- use it in ide_device_add_all() and ide_scan_port().
* Make it possible to later disable ignoring cable detection by passing
"[interface_number]:0" to /sys/module/ide_core/parameters/ignore_cable
(however sysfs interface is not enabled yet since it needs some other
IDE changes to make it work reliable).
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Diffstat (limited to 'Documentation/ide')
-rw-r--r-- | Documentation/ide/ide.txt | 15 |
1 files changed, 10 insertions, 5 deletions
diff --git a/Documentation/ide/ide.txt b/Documentation/ide/ide.txt index 486c699f4aea..829a618c3e93 100644 --- a/Documentation/ide/ide.txt +++ b/Documentation/ide/ide.txt | |||
@@ -224,11 +224,6 @@ Summary of ide driver parameters for kernel command line | |||
224 | 224 | ||
225 | "idex=reset" : reset interface after probe | 225 | "idex=reset" : reset interface after probe |
226 | 226 | ||
227 | "idex=ata66" : informs the interface that it has an 80c cable | ||
228 | for chipsets that are ATA-66 capable, but the | ||
229 | ability to bit test for detection is currently | ||
230 | unknown. | ||
231 | |||
232 | "ide=doubler" : probe/support IDE doublers on Amiga | 227 | "ide=doubler" : probe/support IDE doublers on Amiga |
233 | 228 | ||
234 | There may be more options than shown -- use the source, Luke! | 229 | There may be more options than shown -- use the source, Luke! |
@@ -251,6 +246,16 @@ are detected automatically). | |||
251 | You also need to use "probe" kernel parameter for ide-4drives driver | 246 | You also need to use "probe" kernel parameter for ide-4drives driver |
252 | (support for IDE generic chipset with four drives on one port). | 247 | (support for IDE generic chipset with four drives on one port). |
253 | 248 | ||
249 | To force ignoring cable detection (this should be needed only if you're using | ||
250 | short 40-wires cable which cannot be automatically detected - if this is not | ||
251 | a case please report it as a bug instead) use "ignore_cable" kernel parameter: | ||
252 | |||
253 | * "ide_core.ignore_cable=[interface_number]" boot option if IDE is built-in | ||
254 | (i.e. "ide_core.ignore_cable=1" to force ignoring cable for "ide1") | ||
255 | |||
256 | * "ignore_cable=[interface_number]" module parameter (for ide_core module) | ||
257 | if IDE is compiled as module | ||
258 | |||
254 | ================================================================================ | 259 | ================================================================================ |
255 | 260 | ||
256 | Some Terminology | 261 | Some Terminology |