* Philipp Schafft <[email protected]> [2010-06-22 20:09]: > reflum, > > On Mon, 2010-06-21 at 12:44 -0700, Matthew Dempsky wrote: > > It looks like adw(4) has never correctly supported >12 byte SCSI > > requests. It wants to copy from 12 bytes past the start of the CDB, > > but &xs->cmd[12] is actually 192 bytes past (and pointing at who knows > > what). > > > > However, I don't have any adw(4) hardware nor know off hand how to > > force a >12 byte SCSI request to test if this fixes anything. > > > [...] > > diff -u -p dev/ic/adw.c > > [...] > > + bcopy(xs->cmd, &scsiqp->cdb, MIN(xs->cmdlen, 12)); > > [...] > > Is there any reson you use bcopy() not memcpy()? > If not considder using memcpy() please. :)
cut the crap. -- Henning Brauer, [email protected], [email protected] BS Web Services, http://bsws.de Full-Service ISP - Secure Hosting, Mail and DNS Services Dedicated Servers, Rootservers, Application Hosting
