From owner-freebsd-scsi Mon Apr 22 3:15: 4 2002 Delivered-To: freebsd-scsi@freebsd.org Received: from van-laarhoven.org (ap-z-5ab8.adsl.wanadoo.nl [212.129.218.184]) by hub.freebsd.org (Postfix) with SMTP id 3FB9B37B422 for ; Mon, 22 Apr 2002 03:15:01 -0700 (PDT) Received: (qmail 95219 invoked from network); 22 Apr 2002 08:24:32 -0000 Received: from dhcp0-120.van-laarhoven.org (HELO cecile) (10.66.0.120) by uitsmijter.van-laarhoven.org with SMTP; 22 Apr 2002 08:24:32 -0000 Message-ID: <002601c1e9d7$78d12f20$7800420a@vanlaarhoven.org> From: "Nick Hibma" To: Cc: References: <20020420030300.B5762@melusine.cuivre.fr.eu.org> <001a01c1e9cd$9cac7580$7800420a@vanlaarhoven.org> <20020422100912.A61658@melusine.cuivre.fr.eu.org> Subject: Re: Port of NetBSD usscanner Date: Mon, 22 Apr 2002 10:26:59 +0200 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4807.1700 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4807.1700 Sender: owner-freebsd-scsi@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org > > - 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). They do use a different command transport, but the umass driver has support for that. At the moment it supports two, BBB and CBI. Nick To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-scsi" in the body of the message