From owner-freebsd-hardware Wed Apr 10 12:55:14 2002 Delivered-To: freebsd-hardware@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 467BC37B447 for ; Wed, 10 Apr 2002 12:54:22 -0700 (PDT) Received: (qmail 28966 invoked from network); 10 Apr 2002 19:54:21 -0000 Received: from heather.van-laarhoven.org (10.66.0.2) by uitsmijter.van-laarhoven.org with SMTP; 10 Apr 2002 19:54:21 -0000 Date: Wed, 10 Apr 2002 21:54:21 +0200 (CEST) From: Nick Hibma To: Oliver Fromme Cc: Terry Lambert , "Eugene M. Kim" , Oliver Fromme , FreeBSD Hardware Mailing List , FreeBSD Hackers Mailing List Subject: Re: USB "Memorybird" quirks In-Reply-To: <20020410215213.R27956-100000@heather.van-laarhoven.org> Message-ID: <20020410215400.H27956-100000@heather.van-laarhoven.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hardware@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Oh, and RBC of course. Anyway, you get my point I guess. Nick > > The class of devices that does not accept 6 byte commands is well known: > ATAPI and UFI. > > Nick > > > It seems to me that umass_scsi_transform() in umass.c is > > the place intended for this kind of things. After the > > first failure (which is detected in umass_bbb_state()), > > a flag (quirk) should be set in the softc, and afterwards > > umass_scsi_transform should translate 6-byte commands to > > 10-byte commands. Doesn't sound too complicated to me. > > > > Or am I totally wrong? > > > > Regards > > Oliver > > > > > > -- n_hibma@van-laarhoven.org http://www.van-laarhoven.org/ n_hibma@FreeBSD.org http://www.etla.net/~n_hibma/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hardware" in the body of the message