Subject: Re: Quadra AV SCSI DMA Code
To: Henry B. Hotz <hotz@jpl.nasa.gov>
From: Michael R.Zucca <mrz5149@acm.org>
List: port-mac68k
Date: 06/08/2003 22:41:11
On Sunday, June 8, 2003, at 09:33  PM, Henry B. Hotz wrote:

> At 8:32 PM -0400 6/8/03, Michael R.Zucca wrote:
>> 3. Do un-16-byte-aligned transfers under 4k by copying the data 
>> to/from a pre-allocated and aligned transfer buffer. This will help 
>> solve the sync negotiation problem by boiling it down to figuring out 
>> how to do odd-sized transfers that appear to be completely DMA.
>> 4. Figure out a way to do odd-sized reads/writes that will satisfy 
>> the sync negotiation code.
>
> Doesn't most of the disk IO occur in 512-byte increments from 
> page-aligned buffers?

During boot, there are some transactions occur that aren't aligned or 
of even size, or at least they don't seem to be. This may be some poor 
coding in the NCR code, but it does happen.

Experience seems to show that once the probing at boot is finished, 
most transfers are the size of a page or some multiple thereof, which I 
would expect.

-- 
----------------------------------------------
  Michael Zucca - mrz5149@acm.org
----------------------------------------------
  "I'm too old to use Emacs." -- Rod MacDonald
----------------------------------------------