Re: [PATCH] highmem I/O for ide-pmac.c

From: Jens Axboe (axboe@suse.de)
Date: Thu Sep 12 2002 - 01:59:03 EST


On Thu, Sep 12 2002, Paul Mackerras wrote:
> Jens Axboe writes:
>
> > The above refers to ide_toggle_bounce() export, pmac_* variant is
> > exactly the same. Sorry if that wasn't clear.
>
> Why does ide_toggle_bounce assume we can only do DMA to highmem if
> drive->media == ide_disk? At the moment I can't see any reason why
> the ide-pmac interface can't do DMA to highmem for a cdrom, for
> instance.

Because it requires changes to the personality driver (ie ide-disk,
ide-cd, etc). I only did those changes to ide-disk, didn't figure it was
worthwhile to do for ide-cd for instance. It's not exactly a
high-performance media :-)

If the device is always in dma mode, no changes are needed. It's when
you drop to pio the problem arises, and all the interrupt handlers need
to be fixed.

-- 
Jens Axboe

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Sun Sep 15 2002 - 22:00:28 EST