diff options
author | Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> | 2008-02-02 13:56:46 -0500 |
---|---|---|
committer | Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> | 2008-02-02 13:56:46 -0500 |
commit | af10f77390f6c7c5cf6f53e6b3cdaa38562b03af (patch) | |
tree | 6a5b56c3c55c63cd9f4c70d68ec5d37480e8e068 /drivers/ide/ide-taskfile.c | |
parent | 5efe7c540ec6021905d443dfe23cc44a11345edd (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-taskfile.c')
-rw-r--r-- | drivers/ide/ide-taskfile.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/drivers/ide/ide-taskfile.c b/drivers/ide/ide-taskfile.c index bf72b6d9f685..4e1da1c78cb5 100644 --- a/drivers/ide/ide-taskfile.c +++ b/drivers/ide/ide-taskfile.c | |||
@@ -798,8 +798,11 @@ int ide_cmd_ioctl (ide_drive_t *drive, unsigned int cmd, unsigned long arg) | |||
798 | tf->nsect >= XFER_SW_DMA_0 && | 798 | tf->nsect >= XFER_SW_DMA_0 && |
799 | (id->dma_ultra || id->dma_mword || id->dma_1word)) { | 799 | (id->dma_ultra || id->dma_mword || id->dma_1word)) { |
800 | xfer_rate = args[1]; | 800 | xfer_rate = args[1]; |
801 | if (ide_ata66_check(drive, &tfargs)) | 801 | if (tf->nsect > XFER_UDMA_2 && !eighty_ninty_three(drive)) { |
802 | printk(KERN_WARNING "%s: UDMA speeds >UDMA33 cannot " | ||
803 | "be set\n", drive->name); | ||
802 | goto abort; | 804 | goto abort; |
805 | } | ||
803 | } | 806 | } |
804 | 807 | ||
805 | err = ide_raw_taskfile(drive, &tfargs, buf, args[3]); | 808 | err = ide_raw_taskfile(drive, &tfargs, buf, args[3]); |