All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jeff Garzik <jgarzik@pobox.com>
To: Matthew Dharm <mdharm-scsi@one-eyed-alien.net>
Cc: linux-scsi@vger.kernel.org
Subject: Re: use_10_for_ms revisited?
Date: Sun, 29 Jun 2003 03:27:38 -0400	[thread overview]
Message-ID: <3EFE94EA.7030909@pobox.com> (raw)
In-Reply-To: <20030628235413.I26995@one-eyed-alien.net>

Matthew Dharm wrote:
> I'm somewhat concerned that, just as we're finding something that works,
> we're going to go off in another direction.
> 
> I certainly wouldn't mind removing the code that manipulates the SCSI
> revision number.

I'm talking about code in the scsi core that does stuff like ("if 
scsi_level <= 2" ...), which is wrong for MMC, where version==0 is a 
valid value on modern atapi and usb devices.


> But, the 6-to-10 conversion code (at least for USB) is all about to go
> away, once we settle on how sr.c (and friends) should handle use_10_for_ms
> -- so one of your reasons to change all this is already moot.

Not really, see below.


> I guess, in part, I'm hesitant to rely on fields in the INQUIRY data that
> nobody has checked to verify that they are actually useful.  Most USB
> devices are made on ultra-low testing, and commonly have bad bits in any
> field that isn't used by Windows or MacOS.

MMC-4 is the culmination of the stuff that's in the field now.

Really, sr wants to know "are you mmc-compliant?"

If the answer is yes, it should only use MMC-defined commands (mode 
sense 10, etc.).

use_10_for_ms is a subset of that.

	Jeff




  reply	other threads:[~2003-06-29  7:13 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-06-29  6:30 use_10_for_ms revisited? Jeff Garzik
2003-06-29  6:38 ` Matthew Dharm
2003-06-29  6:47   ` Jeff Garzik
2003-06-29  6:54     ` Matthew Dharm
2003-06-29  7:27       ` Jeff Garzik [this message]
2003-06-29 10:31         ` Alan Cox
2003-06-29 10:22 ` Andries Brouwer
2003-06-29 16:33   ` Jeff Garzik
2003-06-29 17:36     ` Andries Brouwer
2003-06-29 17:58       ` Jeff Garzik
2003-06-29 18:02         ` Matthew Dharm
2003-06-29 18:17           ` Jeff Garzik
2003-06-29 18:35             ` Matthew Dharm
2003-06-29 18:36             ` James Bottomley
2003-06-29 19:07               ` Jeff Garzik
2003-06-30  0:23                 ` Matthew Dharm
2003-06-30  3:24                   ` Jeff Garzik
2003-06-29 18:25         ` Andries Brouwer
2003-06-29 18:32           ` Jeff Garzik

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=3EFE94EA.7030909@pobox.com \
    --to=jgarzik@pobox.com \
    --cc=linux-scsi@vger.kernel.org \
    --cc=mdharm-scsi@one-eyed-alien.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.