Re: [patch] scsi: ten -> use_10_for_rw / use_10_for_ms

Matthew Dharm (mdharm-kernel@one-eyed-alien.net)
Sun, 8 Jun 2003 14:28:21 -0700


This is a MIME-formatted message. If you see this text it means that your
E-mail software does not support MIME-formatted messages.

--=_courier-9672-1055107762-0001-2
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Fri, May 23, 2003 at 09:22:44AM +0200, Andries.Brouwer@cwi.nl wrote:
> In the old days, ancient scsi devices understood 6-byte commands
> and more recent ones also understood 10-byte commands.
> Thus, we had a "ten" flag indicating that 10-byte commands worked.
>=20
> These days, especially for usb-storage devices, the opposite
> sometimes holds - 10-byte commands are supported, but 6-byte commands
> are not.
>=20
> The patch below changes the field ten into the pair of fields
> use_10_for_rw, use_10_for_ms set initially when the driver
> thinks these are supported. Ifthe device returns ILLEGAL_REQUEST
> they are cleared.
>=20
> This patch obsoletes a large amount of code in usb-storage,
> and not only that, once the subsequent patch removes all this
> usb-storage code many devices will work that hang today.

Any idea when you'll submit that patch to usb-storage?

Do you perhaps just want to send what you have to me for integration?

Matt

--=20
Matthew Dharm Home: mdharm-usb@one-eyed-alien.=
net=20
Maintainer, Linux USB Mass Storage Driver

Sir, for the hundreth time, we do NOT carry 600-round boxes of belt-fed=20
suction darts!
-- Salesperson to Greg
User Friendly, 12/30/1997

--=_courier-9672-1055107762-0001-2
Content-Type: application/pgp-signature
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE+46p1IjReC7bSPZARAlRWAJ9JvC9CFZNdXMb0ke3G8q3KnDFC7QCfamXN
b6F9r/KWJkRZL9+vDDZOjnY=
=Br0e
-----END PGP SIGNATURE-----

--=_courier-9672-1055107762-0001-2--