diff options
Diffstat (limited to 'drivers/ide/ide-iops.c')
-rw-r--r-- | drivers/ide/ide-iops.c | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/drivers/ide/ide-iops.c b/drivers/ide/ide-iops.c index 09069da22749..99fe50e941be 100644 --- a/drivers/ide/ide-iops.c +++ b/drivers/ide/ide-iops.c | |||
@@ -627,24 +627,6 @@ int ide_ata66_check (ide_drive_t *drive, ide_task_t *args) | |||
627 | return 0; | 627 | return 0; |
628 | } | 628 | } |
629 | 629 | ||
630 | /* | ||
631 | * Backside of HDIO_DRIVE_CMD call of SETFEATURES_XFER. | ||
632 | * 1 : Safe to update drive->id DMA registers. | ||
633 | * 0 : OOPs not allowed. | ||
634 | */ | ||
635 | int set_transfer (ide_drive_t *drive, ide_task_t *args) | ||
636 | { | ||
637 | if (args->tf.command == WIN_SETFEATURES && | ||
638 | args->tf.nsect >= XFER_SW_DMA_0 && | ||
639 | args->tf.feature == SETFEATURES_XFER && | ||
640 | (drive->id->dma_ultra || | ||
641 | drive->id->dma_mword || | ||
642 | drive->id->dma_1word)) | ||
643 | return 1; | ||
644 | |||
645 | return 0; | ||
646 | } | ||
647 | |||
648 | #ifdef CONFIG_BLK_DEV_IDEDMA | 630 | #ifdef CONFIG_BLK_DEV_IDEDMA |
649 | static u8 ide_auto_reduce_xfer (ide_drive_t *drive) | 631 | static u8 ide_auto_reduce_xfer (ide_drive_t *drive) |
650 | { | 632 | { |