Subject: Re: Quadra AV DMA
To: Michael R. Zucca <mrz5149@acm.org>
From: Steve Byan <stephen_byan@maxtor.com>
List: port-mac68k
Date: 01/06/2003 12:09:49
On Thursday, January 2, 2003, at 02:55  PM, Michael R. Zucca wrote:

> The code I have should be working. Unfortunately, while the data seems 
> to make it into the buffer when the DMA completes (I even print it 
> out!), the buffer appears empty to the higher level SCSI code. I'm 
> either doing something dumb like using a bad pointer somewhere, or 
> there's some other deeper issue (caching, alignment, etc.)

It sounds to me like a cache-coherence issue. You probably need to 
flush the '040 data cache after the DMA completes.

Regards,
-Steve
--------
Steve Byan <stephen_byan@maxtor.com>
Design Engineer
Maxtor Corp.
MS 1-3/E23
333 South Street
Shrewsbury, MA 01545
(508) 770-3414