]> nv-tegra.nvidia Code Review - linux-2.6.git/commitdiff
[SCSI] Recognize missing LUNs for non-standard devices
authorAlan Stern <stern@rowland.harvard.edu>
Thu, 9 Feb 2006 20:26:18 +0000 (15:26 -0500)
committerJames Bottomley <jejb@mulgrave.il.steeleye.com>
Tue, 28 Feb 2006 05:24:09 +0000 (23:24 -0600)
Some non-standard SCSI targets or protocols, such as USB UFI, report "no
LUN present" by setting the Peripheral Device Type to 0x1f and the
Peripheral Qualifier to 0 (not 3 as the standard requires) in the INQUIRY
response.  This patch (as650b) adds a new target flag and code to
accomodate such targets.

Signed-off-by: Alan Stern <stern@rowland.harvard.edu>
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>

No differences found