]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[SCSI] SCSI core: better initialization for sdev->scsi_level
authorAlan Stern <stern@rowland.harvard.edu>
Mon, 8 Jan 2007 16:12:32 +0000 (11:12 -0500)
committerJames Bottomley <jejb@mulgrave.il.steeleye.com>
Fri, 16 Feb 2007 17:22:55 +0000 (11:22 -0600)
commit7c9d6f16f50d3aeb780e4f103a1ba8b35d9ae803
tree4e1920eff9a26682e35ae7fc31f01411ab8a0289
parent74feb53e8b5020e790e12c6331cbe885d276cc60
[SCSI] SCSI core: better initialization for sdev->scsi_level

This patch will affect the CDB in INQUIRY commands sent to LUNs above 0
when LUN-0 reports a scsi_level of 0; the LUN bits will no longer be set
in the second byte of the CDB.  This is as it should be.  Nevertheless,
it's possible that some wacky device might be adversely affected.  I doubt
anyone will complain...

Signed-off-by: Alan Stern <stern@rowland.harvard.edu>
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
drivers/scsi/scsi_scan.c
drivers/scsi/scsi_sysfs.c