Date: Mon, 22 Apr 2002 10:09:12 +0200 From: Thomas Quinot <thomas@cuivre.fr.eu.org> To: Nick Hibma <n_hibma@van-laarhoven.org> Cc: freebsd-scsi@freebsd.org Subject: Re: Port of NetBSD usscanner Message-ID: <20020422100912.A61658@melusine.cuivre.fr.eu.org> In-Reply-To: <001a01c1e9cd$9cac7580$7800420a@vanlaarhoven.org>; from n_hibma@van-laarhoven.org on Mon, Apr 22, 2002 at 09:16:24AM %2B0200 References: <20020420030300.B5762@melusine.cuivre.fr.eu.org> <001a01c1e9cd$9cac7580$7800420a@vanlaarhoven.org>
next in thread | previous in thread | raw e-mail | index | archive | help
Le 2002-04-22, Nick Hibma écrivait : > - What is the difference between this driver and normal SCSI devices that > forces you to write a separate driver? Can't you just > slightly modify the umass driver? (which should in that case be renamed to > ucam or something). It should require no more than a new command layer, just > like umass_{bbb,cbi}_{transfer,state,...}. I was under the impression that the two drivers (umass and usscanner) are using different means of mapping SCSI command and data transfers onto USB transfers, but if this can integrated in umass it would certainly be worthwhile. I just took the least resistance path of porting the stuff as it exists in NetBSD (with a number of ideas liberally stolen from your port of umass). > - xpt_async(AC_FOUND_DEVICE,...) actually works? The device appears all by > itself? Not sure. I have disabled it due to another problem that caused panics all over, and did not have time to re-check it afterwards. > - There is a wrong comment terminator in line 633 (usscanner-20020421.c). Yep, fixed in -20020422. Thomas. -- Thomas.Quinot@Cuivre.FR.EU.ORG To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-scsi" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020422100912.A61658>