Subject: Re: bus_dma and cache line sizes
To: Martin Husemann <firstname.lastname@example.org>
From: Ethan Solomita <email@example.com>
Date: 03/24/2000 22:58:43
Martin Husemann wrote:
> > The two obvious solutions are to access the descriptors
> > as uncached memory, or I need to know the cache line size to
> > pad the descriptors to 32 bytes. Any suggestions
> > on what "The Right Thing" is?
> Whatever TRT is, it should be done inside the bus_dma implementation for
> that architecture. I don't see a way to implement the second solution there,
> so IMHO the first one wins.
If there's no way to make this work with the bus_dma architecure we
have then it's time for bus_dma v2. This isn't all that strange a
situation, and having to go uncached would be a real shame.