]> err.no Git - linux-2.6/commit
[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)
commit1bfc5d9d5eb8e1a2efacc306bc55c248ed259a8e
tree503f6cd4f481e16db7c3b00326e07b0dca8942e8
parent8cac814501677e9f6a824cf4d423122ac8d67fcb
[SCSI] Recognize missing LUNs for non-standard devices

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>
drivers/scsi/scsi_scan.c
include/scsi/scsi_device.h