Skip to content
Snippets Groups Projects
Commit 15220d9b authored by Bartlomiej Zolnierkiewicz's avatar Bartlomiej Zolnierkiewicz
Browse files

ide: mark "hdx=[driver_name]" and "hdx=scsi" kernel parameters as obsoleted


Mark "hdx=[driver_name]" and "hdx=scsi" kernel parameters as obsoleted
(nowadays device-driver binding can be changed at runtime through sysfs
 and it can also be dealt with using per device driver parameters).

Signed-off-by: default avatarBartlomiej Zolnierkiewicz <bzolnier@gmail.com>
parent ad1c53bc
No related merge requests found
...@@ -242,10 +242,6 @@ Summary of ide driver parameters for kernel command line ...@@ -242,10 +242,6 @@ Summary of ide driver parameters for kernel command line
"hdx=nodma" : disallow DMA "hdx=nodma" : disallow DMA
"hdx=scsi" : the return of the ide-scsi flag, this is useful for
allowing ide-floppy, ide-tape, and ide-cdrom|writers
to use ide-scsi emulation on a device specific option.
"idebus=xx" : inform IDE driver of VESA/PCI bus speed in MHz, "idebus=xx" : inform IDE driver of VESA/PCI bus speed in MHz,
where "xx" is between 20 and 66 inclusive, where "xx" is between 20 and 66 inclusive,
used when tuning chipset PIO modes. used when tuning chipset PIO modes.
......
...@@ -1258,7 +1258,7 @@ static int __init ide_setup(char *s) ...@@ -1258,7 +1258,7 @@ static int __init ide_setup(char *s)
drive = &hwif->drives[unit]; drive = &hwif->drives[unit];
if (strncmp(s + 4, "ide-", 4) == 0) { if (strncmp(s + 4, "ide-", 4) == 0) {
strlcpy(drive->driver_req, s + 4, sizeof(drive->driver_req)); strlcpy(drive->driver_req, s + 4, sizeof(drive->driver_req));
goto done; goto obsolete_option;
} }
switch (match_parm(&s[3], hd_words, vals, 3)) { switch (match_parm(&s[3], hd_words, vals, 3)) {
case -1: /* "none" */ case -1: /* "none" */
...@@ -1296,7 +1296,7 @@ static int __init ide_setup(char *s) ...@@ -1296,7 +1296,7 @@ static int __init ide_setup(char *s)
goto done; goto done;
case -14: /* "scsi" */ case -14: /* "scsi" */
drive->scsi = 1; drive->scsi = 1;
goto done; goto obsolete_option;
case 3: /* cyl,head,sect */ case 3: /* cyl,head,sect */
drive->media = ide_disk; drive->media = ide_disk;
drive->ready_stat = READY_STAT; drive->ready_stat = READY_STAT;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment