Subject: Re: lack of pciide transfer alignment checking causes crash
To: Manuel Bouyer <bouyer@antioche.eu.org>
From: Jason Thorpe <thorpej@shagadelic.org>
List: tech-kern
Date: 06/25/2005 12:36:13
On Jun 25, 2005, at 12:11 PM, Manuel Bouyer wrote:

> Yes, this should work. But I think it's better and easier to do the
> I/O to a properly aligned buffer and data copy to/from this buffer.
> This can easily be done in the dma_start and dma_finish callbacks.
> Of course, if the supplied buffer is already properly aligned, just  
> use it.

Why bother with a bounce buffer when we can just do PIO?  Most of the  
time, we're not going to tickle the fallback case.

-- thorpej