From: Matthew Dharm Subject: Re: [patch] scsi: ten -> use_10_for_rw / use_10_for_ms Date: Sun, 8 Jun 2003 14:28:21 -0700 Sender: linux-scsi-owner@vger.kernel.org Message-ID: <20030608142821.F25191@one-eyed-alien.net> References: Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-md5; protocol="application/pgp-signature"; boundary="pyE8wggRBhVBcj8z" Return-path: Received: from ziggy.one-eyed-alien.net ([64.169.228.100]:36623 "EHLO ziggy.one-eyed-alien.net") by vger.kernel.org with ESMTP id S263859AbTFHVOq (ORCPT ); Sun, 8 Jun 2003 17:14:46 -0400 Content-Disposition: inline In-Reply-To: ; from Andries.Brouwer@cwi.nl on Fri, May 23, 2003 at 09:22:44AM +0200 List-Id: linux-scsi@vger.kernel.org To: Andries.Brouwer@cwi.nl Cc: linux-kernel@vger.kernel.org, linux-scsi@vger.kernel.org, torvalds@transmeta.com --pyE8wggRBhVBcj8z 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 --pyE8wggRBhVBcj8z Content-Type: application/pgp-signature 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----- --pyE8wggRBhVBcj8z--