Subject: Re: Source for SCSI driver info?
To: David C. Myers <myers@acec.com>
From: Henry B. Hotz <hotz@libra.loral.com>
List: macbsd-development
Date: 05/03/1995 11:04:22
At  8:42 AM 5/3/95 -0400, David C. Myers wrote:
>Drew's driver seems pretty complete, with multiple message queues, real and
>pseudo DMA, scatter/gather (whatever that means), and so on.
             ^^^^^^^^^^^^^^
Look at readv/writev.  A single IO call using a struct iovec argument will
parcel out so many bytes to this location, so many to that, so many to the
next, etc.  It's trivial to convert to a multiple read calls, but
theoretically, potentially, more efficient, especially if you have smart IO
subsystems like channels on IBM mainframes.

________________________________________
Henry B. Hotz       hotz@libra.loral.com
               73730.2017@compuserve.com

The opinions expressed are my own,
not Loral's, and not Librascope's.