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. :)
SBP-2 supports sending page table requests, which are basically
scatter/gather lists. The most convenient and fastest way is to just
use the same sizes as specified by apple (which is I suppose a direct
map from the SCSI s/g on the apple side). The alternative is to either
coalesce the s/g entries into one buffer, or pack them up together and
do a very annoying mapping from the new s/g arrangement to the old one
so that I write back across the bus where the apple expects.
~Hani Mustafa
-------------------------------------------------------
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