diff options
-rw-r--r-- | Documentation/ide/ide.txt | 7 | ||||
-rw-r--r-- | drivers/ide/ide-probe.c | 4 | ||||
-rw-r--r-- | drivers/ide/ide.c | 5 | ||||
-rw-r--r-- | include/linux/ide.h | 1 |
4 files changed, 2 insertions, 15 deletions
diff --git a/Documentation/ide/ide.txt b/Documentation/ide/ide.txt index eb4d3b7a6214..601e79ecef03 100644 --- a/Documentation/ide/ide.txt +++ b/Documentation/ide/ide.txt | |||
@@ -196,13 +196,6 @@ Summary of ide driver parameters for kernel command line | |||
196 | 196 | ||
197 | "hdx=cyl,head,sect" : disk drive is present, with specified geometry | 197 | "hdx=cyl,head,sect" : disk drive is present, with specified geometry |
198 | 198 | ||
199 | "hdx=autotune" : driver will attempt to tune interface speed | ||
200 | to the fastest PIO mode supported, | ||
201 | if possible for this drive only. | ||
202 | Not fully supported by all chipset types, | ||
203 | and quite likely to cause trouble with | ||
204 | older/odd IDE drives. | ||
205 | |||
206 | "hdx=nodma" : disallow DMA | 199 | "hdx=nodma" : disallow DMA |
207 | 200 | ||
208 | "ide=doubler" : probe/support IDE doublers on Amiga | 201 | "ide=doubler" : probe/support IDE doublers on Amiga |
diff --git a/drivers/ide/ide-probe.c b/drivers/ide/ide-probe.c index 99972fe3e9e4..ace826f52811 100644 --- a/drivers/ide/ide-probe.c +++ b/drivers/ide/ide-probe.c | |||
@@ -827,8 +827,7 @@ static void ide_port_tune_devices(ide_hwif_t *hwif) | |||
827 | ide_drive_t *drive = &hwif->drives[unit]; | 827 | ide_drive_t *drive = &hwif->drives[unit]; |
828 | 828 | ||
829 | if (drive->present) { | 829 | if (drive->present) { |
830 | if (drive->autotune) | 830 | ide_set_max_pio(drive); |
831 | ide_set_max_pio(drive); | ||
832 | 831 | ||
833 | drive->nice1 = 1; | 832 | drive->nice1 = 1; |
834 | 833 | ||
@@ -1325,7 +1324,6 @@ static void ide_port_init_devices(ide_hwif_t *hwif) | |||
1325 | drive->unmask = 1; | 1324 | drive->unmask = 1; |
1326 | if (hwif->host_flags & IDE_HFLAG_NO_UNMASK_IRQS) | 1325 | if (hwif->host_flags & IDE_HFLAG_NO_UNMASK_IRQS) |
1327 | drive->no_unmask = 1; | 1326 | drive->no_unmask = 1; |
1328 | drive->autotune = 1; | ||
1329 | } | 1327 | } |
1330 | 1328 | ||
1331 | if (port_ops && port_ops->port_init_devs) | 1329 | if (port_ops && port_ops->port_init_devs) |
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; |
diff --git a/include/linux/ide.h b/include/linux/ide.h index 0e7d44a6b94a..65dcbcfae162 100644 --- a/include/linux/ide.h +++ b/include/linux/ide.h | |||
@@ -321,7 +321,6 @@ typedef struct ide_drive_s { | |||
321 | unsigned atapi_overlap : 1; /* ATAPI overlap (not supported) */ | 321 | unsigned atapi_overlap : 1; /* ATAPI overlap (not supported) */ |
322 | unsigned doorlocking : 1; /* for removable only: door lock/unlock works */ | 322 | unsigned doorlocking : 1; /* for removable only: door lock/unlock works */ |
323 | unsigned nodma : 1; /* disallow DMA */ | 323 | unsigned nodma : 1; /* disallow DMA */ |
324 | unsigned autotune : 1; /* 0=default, 1=autotune */ | ||
325 | unsigned remap_0_to_1 : 1; /* 0=noremap, 1=remap 0->1 (for EZDrive) */ | 324 | unsigned remap_0_to_1 : 1; /* 0=noremap, 1=remap 0->1 (for EZDrive) */ |
326 | unsigned blocked : 1; /* 1=powermanagment told us not to do anything, so sleep nicely */ | 325 | unsigned blocked : 1; /* 1=powermanagment told us not to do anything, so sleep nicely */ |
327 | unsigned vdma : 1; /* 1=doing PIO over DMA 0=doing normal DMA */ | 326 | unsigned vdma : 1; /* 1=doing PIO over DMA 0=doing normal DMA */ |