aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/ide/ide.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/ide/ide.c')
-rw-r--r--drivers/ide/ide.c5
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;