aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/ide/ide-iops.c
diff options
context:
space:
mode:
authorBartlomiej Zolnierkiewicz <bzolnier@gmail.com>2008-02-02 13:56:46 -0500
committerBartlomiej Zolnierkiewicz <bzolnier@gmail.com>2008-02-02 13:56:46 -0500
commitaf10f77390f6c7c5cf6f53e6b3cdaa38562b03af (patch)
tree6a5b56c3c55c63cd9f4c70d68ec5d37480e8e068 /drivers/ide/ide-iops.c
parent5efe7c540ec6021905d443dfe23cc44a11345edd (diff)
ide: remove ide_ata66_check()
Acked-by: Sergei Shtylyov <sshtylyov@ru.mvista.com> Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Diffstat (limited to 'drivers/ide/ide-iops.c')
-rw-r--r--drivers/ide/ide-iops.c15
1 files changed, 0 insertions, 15 deletions
diff --git a/drivers/ide/ide-iops.c b/drivers/ide/ide-iops.c
index 99fe50e941be..e00fbbb423bf 100644
--- a/drivers/ide/ide-iops.c
+++ b/drivers/ide/ide-iops.c
@@ -612,21 +612,6 @@ no_80w:
612 return 0; 612 return 0;
613} 613}
614 614
615int ide_ata66_check (ide_drive_t *drive, ide_task_t *args)
616{
617 if (args->tf.command == WIN_SETFEATURES &&
618 args->tf.nsect > XFER_UDMA_2 &&
619 args->tf.feature == SETFEATURES_XFER) {
620 if (eighty_ninty_three(drive) == 0) {
621 printk(KERN_WARNING "%s: UDMA speeds >UDMA33 cannot "
622 "be set\n", drive->name);
623 return 1;
624 }
625 }
626
627 return 0;
628}
629
630#ifdef CONFIG_BLK_DEV_IDEDMA 615#ifdef CONFIG_BLK_DEV_IDEDMA
631static u8 ide_auto_reduce_xfer (ide_drive_t *drive) 616static u8 ide_auto_reduce_xfer (ide_drive_t *drive)
632{ 617{