On Wednesday 08 June 2005 4:59 am, Hani Mustafa wrote:

> > > Interestingly, the request is a scatter/gather with the first sg entry
> > > of 864  bytes, and the second is 3232 bytes (a total of 4096 bytes).
> > > But for some reason, only the first sg entry is being properly read.
> > 
> > That's a pretty strange and unsupportable breakdown.  Each sglist entry
> > must fit into an integral number of packets.  864 is a multiple of 32,
> > but not of the usual bulk maxpacket sizes:  64 (full speed) or 512 (high
> > speed).  Some software layer should have rejected that; and last I heard,
> > the policy was that it be rejected near the SCSI layer.  (Which is why
> > USB doesn't check.)
> 
> As I expected, the apple scsi is doing something funny. I guess I will
> have to repack the s/g list before sending down to scsi.

The Apple SCSI isn't creating the s/g list ... it's your driver which
created it, including the in-memory layout.  You can just create it
more intelligently.  :)

- Dave


-------------------------------------------------------
This SF.Net email is sponsored by: NEC IT Guy Games.  How far can you shotput
a projector? How fast can you ride your desk chair down the office luge track?
If you want to score the big prize, get to know the little guy.  
Play to win an NEC 61" plasma display: http://www.necitguy.com/?r=20
_______________________________________________
linux-usb-devel@lists.sourceforge.net
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to