Date: Thu, 11 Apr 2002 07:43:05 +0200 (CEST) From: Nick Hibma <n_hibma@van-laarhoven.org> To: "Kenneth D. Merry" <ken@kdm.org> Cc: FreeBSD Hardware Mailing List <hardware@FreeBSD.ORG>, FreeBSD Hackers Mailing List <hackers@FreeBSD.ORG> Subject: Re: USB "Memorybird" quirks Message-ID: <20020411074142.U31033-100000@heather.van-laarhoven.org> In-Reply-To: <20020410143558.A31045@panzer.kdm.org>
next in thread | previous in thread | raw e-mail | index | archive | help
I saw the NEW_TRANS code and that seems definitely the way to code. A lot of work though. > There are other commands that can get sent, though -- inquiry, test unit > ready, and start/stop unit are all 6 byte commands, and there are no 10 > byte SCSI equivalents. So how do you handle those now? The problem is only there for commands that have a 10 byte equivalent. The ATAPI spec seems to have dropped the 6 byte ones. So inquiry is not a problem. The end of the command is padded with zeroes. > > And then the third one would be to have a look at for example scsi_cd.c > > and friends and make similar changes there. > > The CD driver already uses 10 byte read and write commands, since the 6 > byte read/write commands are not required for CD type devices. It does use > a 6 byte mode sense/mode select, but since it rolls its own (can't remember > why at the moment), that can be easily modified to look at the transport > type and optionally use a 10 byte command. Ok. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hardware" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020411074142.U31033-100000>