Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 08 Feb 2002 22:49:08 -0500 (EST)
From:      John Baldwin <jhb@FreeBSD.org>
To:        =?ISO-8859-1?Q?G=E9rard_Roudier?= <groudier@free.fr>
Cc:        FreeBSD Hackers Mailing List <hackers@FreeBSD.ORG>, FreeBSD Hardware Mailing List <hardware@FreeBSD.ORG>, Oliver Fromme <olli@secnetix.de>, "Eugene M. Kim" <gene@nttmcl.com>, Terry Lambert <tlambert2@mindspring.com>, Josef Karthauser <joe@tao.org.uk>
Subject:   Re: USB "Memorybird" quirks
Message-ID:  <XFMail.020208224908.jhb@FreeBSD.org>
In-Reply-To: <20020207193911.U1513-100000@gerard>

next in thread | previous in thread | raw e-mail | index | archive | help

On 07-Feb-02 Gérard Roudier wrote:
> 
> On Thu, 7 Feb 2002, Josef Karthauser wrote:
> 
>> On Thu, Feb 07, 2002 at 03:52:26PM -0800, Terry Lambert wrote:
>> > >
>> > > IIRC this problem is being addressed at a more fundamental level on
>> > > -current, by adding a 6-byte-to-10-byte READ command translator
>> > > somewhere in the abstraction layer.
>> >
>> > Could this be "auto-quirked"?
>> >
>>
>> As in, try a 6 byte command, and if that fails try a 10 byte command
>> instead?
>>
>> Unfortunately although I'm maintaining USB in -current, I don't have a
>> complete in depth understanding of the code yet. :(  I'm mainly trying
>> to fix my problems by taking from NetBSD.
> 
> A couple of READ/WRITE 6 byte commands are still mandatory for SCSI block
> devices in order to accomodate softwares as boot software for example that
> may not be upgradable on systems still in use. Softwares that are
> maintained should no longer use 6 byte commands, but use the 10 byte
> commands replacement (for years...).

Just so you know, I made the umass driver for UFI and ATA translate SCSI
6 byte commands to 10 byte commands.  There is a simple function call to do the
change if you wish to do this in for the SCSI transforms as well.

As far as axeing 6 byte commands all together, I will plead ignorance and defer
to the scsi@ list and CAM folks.

-- 

John Baldwin <jhb@FreeBSD.org>  <><  http://www.FreeBSD.org/~jhb/
"Power Users Use the Power to Serve!"  -  http://www.FreeBSD.org/

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?XFMail.020208224908.jhb>