mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 19:21:31 -04:00
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: Bartlomiej Zolnierkiewicz <[email protected]>
This commit is contained in:
parent
ad1c53bcdb
commit
15220d9b5a
2 changed files with 2 additions and 6 deletions
|
|
@ -1258,7 +1258,7 @@ static int __init ide_setup(char *s)
|
|||
drive = &hwif->drives[unit];
|
||||
if (strncmp(s + 4, "ide-", 4) == 0) {
|
||||
strlcpy(drive->driver_req, s + 4, sizeof(drive->driver_req));
|
||||
goto done;
|
||||
goto obsolete_option;
|
||||
}
|
||||
switch (match_parm(&s[3], hd_words, vals, 3)) {
|
||||
case -1: /* "none" */
|
||||
|
|
@ -1296,7 +1296,7 @@ static int __init ide_setup(char *s)
|
|||
goto done;
|
||||
case -14: /* "scsi" */
|
||||
drive->scsi = 1;
|
||||
goto done;
|
||||
goto obsolete_option;
|
||||
case 3: /* cyl,head,sect */
|
||||
drive->media = ide_disk;
|
||||
drive->ready_stat = READY_STAT;
|
||||
|
|
|
|||
Loading…
Reference in a new issue