Volker Kuhlmann wrote: > Same patch but applied to 2.6.15-git10. > > >>Purpose of this patch: establish binary compatibility with 32 bit x86 code on >>AMD64 64 bit kernels, in the use of struct sg_io_hdr via write()/read() calls. >>Currently this binary compatibility only exists with ioctl(). >>32bit applications which use or are linked with sanei_scsi.c of the SANE project >>(sane-project.org) need this patch. Volker, I haven't looked at the sane scsi code for some time. What came to mind was whether it would be easier to convert sanei_scsi.c t use the SG_IO ioctl provided by the sg driver. Doug Gilbert - : send the line "unsubscribe linux-scsi" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html