]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commit
[SCSI] scsi_scan: fix report lun problems with CDROM or RBC devices
authorJames Bottomley <James.Bottomley@steeleye.com>
Wed, 13 Dec 2006 16:10:40 +0000 (10:10 -0600)
committerJames Bottomley <jejb@mulgrave.il.steeleye.com>
Sat, 6 Jan 2007 14:56:58 +0000 (08:56 -0600)
commitddaf6fc85459d161c39a70a2cf9e04343dafe47f
tree6f5a5aaaef7a9cea94feb5c60e7791408245b0d4
parent03c1c39680f949e0a944d540949b2d3d6887cdc0
[SCSI] scsi_scan: fix report lun problems with CDROM or RBC devices

Apparently no ATAPI CD/DVD actually supports REPORT LUNS (in spite of
claiming scsi-3 compliance, where it's mandatory) and worse, some
crash or flake out on being sent the command.  This may actually be
due to a conflict between SPC and MMC with MMC not listing REPORT LUNS
as mandatory.  The same standards conflict exists for RBC as well.

Fix all of this by reversing the blacklists for CDROM and RBC devices
(i.e. now they have to have the BLIST_REPORTLUNS2 flag set even if the
inquiry data returns scsi-3 compliance).

Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
drivers/scsi/scsi_scan.c