Michael> I for one did not receive this patch, and as I'm testing my
Michael> SCSI code for sanei with it, the patch might be useful for
Michael> me :)
Here it is. You'll notice the following change: Linux now implements:
sanei_scsi_req_enter ()
sanei_scsi_req_wait ()
The sanei_scsi_cmd () is still there, but it's just for convenience &
backwards compatibility. It's equivalent to:
sanei_scsi_req_enter (fd, src, src_size, dst, dst_size, &id);
sanei_scsi_req_wait (fd, id);
I'm not sure how to implement queueing on non-Linux systems, so for
those platforms, sanei_scsi_req_enter() simply calls sanei_scsi_cmd()
and sanei_scsi_req_wait() is a no-op. This should work properly, but
will not get all the performance benefits (it should still improve
3-pass scanning performance by about a factor of two though since the
number of backtracks is reduced by a factor of two).
--david
-- Source code, list archive, and docs: http://www.azstarnet.com/~axplinux/sane/ To unsubscribe: mail -s unsubscribe sane-devel-request@listserv.azstarnet.com