diff options
author | Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> | 2007-10-16 16:29:54 -0400 |
---|---|---|
committer | Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> | 2007-10-16 16:29:54 -0400 |
commit | 65c9cd23cab821c165a70ddd0447eb6362ebbb0c (patch) | |
tree | 86f7c8d025cd774ed043e0cfeb8a681a38ab0c6d /include/linux/ide.h | |
parent | d3b90baf0924c13045c56c3d0a766f9374fe7a9e (diff) |
ide: remove ide_use_fast_pio()
Remove ide_use_fast_pio() and just re-tune PIO unconditionally if DMA tuning
has failed in ->ide_dma_check. All host drivers using ide_use_fast_pio() set
drive->autotune so PIO is always tuned anyway and in some cases we _really_
need to re-tune PIO because PIO and DMA timings are shared.
Acked-by: Sergei Shtylyov <sshtylyov@ru.mvista.com>
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Diffstat (limited to 'include/linux/ide.h')
-rw-r--r-- | include/linux/ide.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/include/linux/ide.h b/include/linux/ide.h index 30a1931466a6..86c5907db2a4 100644 --- a/include/linux/ide.h +++ b/include/linux/ide.h | |||
@@ -1380,7 +1380,6 @@ static inline void ide_set_hwifdata (ide_hwif_t * hwif, void *data) | |||
1380 | extern char *ide_xfer_verbose(u8 xfer_rate); | 1380 | extern char *ide_xfer_verbose(u8 xfer_rate); |
1381 | extern void ide_toggle_bounce(ide_drive_t *drive, int on); | 1381 | extern void ide_toggle_bounce(ide_drive_t *drive, int on); |
1382 | extern int ide_set_xfer_rate(ide_drive_t *drive, u8 rate); | 1382 | extern int ide_set_xfer_rate(ide_drive_t *drive, u8 rate); |
1383 | int ide_use_fast_pio(ide_drive_t *); | ||
1384 | 1383 | ||
1385 | static inline int ide_dev_has_iordy(struct hd_driveid *id) | 1384 | static inline int ide_dev_has_iordy(struct hd_driveid *id) |
1386 | { | 1385 | { |