public inbox for linux-scsi@vger.kernel.org
 help / color / mirror / Atom feed
From: Jeff Garzik <jgarzik@pobox.com>
To: James Bottomley <James.Bottomley@SteelEye.com>
Cc: David Caldwell <david@porkrind.org>, linux-scsi@vger.kernel.org
Subject: Re: [SCSI] Add support for braindead Cypress USB ATA passthrough CDBs
Date: Fri, 23 Dec 2005 12:41:09 -0500	[thread overview]
Message-ID: <43AC36B5.3000209@pobox.com> (raw)
In-Reply-To: <1135353160.3728.10.camel@mulgrave>

James Bottomley wrote:
> 1) Simply don't mangle the LUN for SCSI_UNKNOWN and then have all the
> subsystems lying about SCSI_2 compliance instead set their mangled level
> to SCSI_UNKNOWN (which seems to be more truthful)

It is specified in MMC that ATAPI or USB may be SCSI level to zero. 
Thus "lying" is not really accurate at all.  We need to update SCSI to 
handle these devices as specified.

This is why I snoop INQUIRY for ATAPI devices in libata-scsi, and force 
the SCSI version to 0x05, if SCSI version is returned from the device as 
zero.  It is conditional because -- due to the wonderful world of 
hardware -- some ATAPI devices (such as SCSI devices plugged into an 
SPI<->ATA bridge) and some USB devices correctly report SCSI version.

	Jeff



  reply	other threads:[~2005-12-23 17:41 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-12-21 12:24 [SCSI] Add support for braindead Cypress USB ATA passthrough CDBs David Caldwell
2005-12-22  9:24 ` thomas schorpp
2005-12-22 20:22   ` David Caldwell
2005-12-23 15:52 ` James Bottomley
2005-12-23 17:41   ` Jeff Garzik [this message]
2005-12-23 17:59     ` James Bottomley
2005-12-23 19:12   ` David Caldwell
2005-12-23 20:34     ` James Bottomley
2005-12-23 21:13       ` David Caldwell
2005-12-24  3:28         ` Douglas Gilbert
2005-12-24  7:11           ` David Caldwell

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=43AC36B5.3000209@pobox.com \
    --to=jgarzik@pobox.com \
    --cc=James.Bottomley@SteelEye.com \
    --cc=david@porkrind.org \
    --cc=linux-scsi@vger.kernel.org \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox