#endif /* DEBUG_READ */
#ifdef CONFIG_IDE_TASKFILE_IO
- task_sectors(drive, rq, nsect, IDE_PIO_IN);
+ task_bio_sectors(drive, rq, nsect, IDE_PIO_IN);
/* FIXME: can we check status after transfer on pdc4030? */
/* Complete previously submitted bios. */
if (nsect > msect)
nsect = msect;
- task_sectors(drive, rq, nsect, IDE_PIO_OUT);
+ task_bio_sectors(drive, rq, nsect, IDE_PIO_OUT);
if (!rq->nr_sectors)
msect = 0;
BUG_ON(rq->nr_sectors > 127);
-#ifdef DEBUG
- printk(KERN_DEBUG "%s: %sing: LBAsect=%lu, sectors=%lu\n",
- drive->name, rq_data_dir(rq) ? "writ" : "read",
- block, rq->nr_sectors);
-#endif
-
#ifndef CONFIG_IDE_TASKFILE_IO
if (IDE_CONTROL_REG)
hwif->OUTB(drive->ctl, IDE_CONTROL_REG);