[SCSI] add SCSI_UNKNOWN and LUN transfer limit restrictions
authorJames Bottomley <James.Bottomley@steeleye.com>
Sat, 1 Apr 2006 02:07:45 +0000 (20:07 -0600)
committerJames Bottomley <jejb@mulgrave.il.steeleye.com>
Thu, 13 Apr 2006 15:13:31 +0000 (10:13 -0500)
commit4d7db04a7a69099accd84984a78c64d2178252f1
tree4b447d05c77290bffe88339915da1186910234a3
parentd637c4543fdc86cbef5805c679d24bb665172a7d
[SCSI] add SCSI_UNKNOWN and LUN transfer limit restrictions

Original From: Ingo Flaschberger <if@xip.at>

To support the RA4100 array from Compaq.

This patch now correctly handles SCSI_UNKNOWN types with regard to
BLIST_REPORTLUNS2 (allow it) and cdb[1] LUN inclusion (don't).

It also allows a BLIST_MAX_512 flag to restrict the maximum transfer
length to 512 blocks (apparently this is an RA4100 problem).

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