diff options
author | Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> | 2008-04-27 09:38:29 -0400 |
---|---|---|
committer | Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> | 2008-04-27 09:38:29 -0400 |
commit | 207daeaabb5396995ebac63415fab71476b64ca3 (patch) | |
tree | c3e245104e64feaebf7434772fc49be0c1292f7d /drivers/ide/ide.c | |
parent | e160124ff6868e53511b16412d2ea91f87936be0 (diff) |
ide: remove obsoleted "hdx=autotune" kernel parameter
* Remove obsoleted "hdx=autotune" kernel parameter
(we always auto-tune PIO if possible nowadays).
* Remove no longer needed ide_drive_t.autotune flag.
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Diffstat (limited to 'drivers/ide/ide.c')
-rw-r--r-- | drivers/ide/ide.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/drivers/ide/ide.c b/drivers/ide/ide.c index ad34fe98a23c..71fa37979215 100644 --- a/drivers/ide/ide.c +++ b/drivers/ide/ide.c | |||
@@ -900,7 +900,7 @@ static int __init ide_setup(char *s) | |||
900 | if (s[0] == 'h' && s[1] == 'd' && s[2] >= 'a' && s[2] <= max_drive) { | 900 | if (s[0] == 'h' && s[1] == 'd' && s[2] >= 'a' && s[2] <= max_drive) { |
901 | const char *hd_words[] = { | 901 | const char *hd_words[] = { |
902 | "none", "noprobe", "nowerr", "cdrom", "nodma", | 902 | "none", "noprobe", "nowerr", "cdrom", "nodma", |
903 | "autotune", "-7", "-8", "-9", "-10", | 903 | "-6", "-7", "-8", "-9", "-10", |
904 | "noflush", "remap", "remap63", "scsi", NULL }; | 904 | "noflush", "remap", "remap63", "scsi", NULL }; |
905 | unit = s[2] - 'a'; | 905 | unit = s[2] - 'a'; |
906 | hw = unit / MAX_DRIVES; | 906 | hw = unit / MAX_DRIVES; |
@@ -928,9 +928,6 @@ static int __init ide_setup(char *s) | |||
928 | case -5: /* nodma */ | 928 | case -5: /* nodma */ |
929 | drive->nodma = 1; | 929 | drive->nodma = 1; |
930 | goto done; | 930 | goto done; |
931 | case -6: /* "autotune" */ | ||
932 | drive->autotune = 1; | ||
933 | goto obsolete_option; | ||
934 | case -11: /* noflush */ | 931 | case -11: /* noflush */ |
935 | drive->noflush = 1; | 932 | drive->noflush = 1; |
936 | goto done; | 933 | goto done; |