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.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/drivers/ide/ide.c b/drivers/ide/ide.c
index 5f3e53ec5838..52115ef1f01a 100644
--- a/drivers/ide/ide.c
+++ b/drivers/ide/ide.c
@@ -1303,7 +1303,7 @@ static int __init ide_setup(char *s)
1303 if (s[0] == 'h' && s[1] == 'd' && s[2] >= 'a' && s[2] <= max_drive) { 1303 if (s[0] == 'h' && s[1] == 'd' && s[2] >= 'a' && s[2] <= max_drive) {
1304 const char *hd_words[] = { 1304 const char *hd_words[] = {
1305 "none", "noprobe", "nowerr", "cdrom", "nodma", 1305 "none", "noprobe", "nowerr", "cdrom", "nodma",
1306 "autotune", "noautotune", "minus8", "swapdata", "bswap", 1306 "autotune", "noautotune", "-8", "-9", "-10",
1307 "noflush", "remap", "remap63", "scsi", NULL }; 1307 "noflush", "remap", "remap63", "scsi", NULL };
1308 unit = s[2] - 'a'; 1308 unit = s[2] - 'a';
1309 hw = unit / MAX_DRIVES; 1309 hw = unit / MAX_DRIVES;
@@ -1339,10 +1339,6 @@ static int __init ide_setup(char *s)
1339 case -7: /* "noautotune" */ 1339 case -7: /* "noautotune" */
1340 drive->autotune = IDE_TUNE_NOAUTO; 1340 drive->autotune = IDE_TUNE_NOAUTO;
1341 goto obsolete_option; 1341 goto obsolete_option;
1342 case -9: /* "swapdata" */
1343 case -10: /* "bswap" */
1344 drive->bswap = 1;
1345 goto done;
1346 case -11: /* noflush */ 1342 case -11: /* noflush */
1347 drive->noflush = 1; 1343 drive->noflush = 1;
1348 goto done; 1344 goto done;