X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=drivers%2Fide%2Fide-disk.c;h=df5fe5756871ca31b135a736dfc64f9d1097bec6;hb=0f6e38a6381446eff5175b77d1094834a633a90f;hp=3a2e80237c10f5d6daa1a0f377769428af2ba17d;hpb=14b395e35d1afdd8019d11b92e28041fad591b71;p=linux-2.6 diff --git a/drivers/ide/ide-disk.c b/drivers/ide/ide-disk.c index 3a2e80237c..df5fe57568 100644 --- a/drivers/ide/ide-disk.c +++ b/drivers/ide/ide-disk.c @@ -158,7 +158,7 @@ static void ide_tf_set_cmd(ide_drive_t *drive, ide_task_t *task, u8 dma) write = (task->tf_flags & IDE_TFLAG_WRITE) ? 1 : 0; if (dma) - index = drive->vdma ? 4 : 8; + index = 8; else index = drive->mult_count ? 0 : 4;