summaryrefslogtreecommitdiffstats
path: root/include/scsi/scsi_device.h
diff options
context:
space:
mode:
authorJames Bottomley <James.Bottomley@steeleye.com>2005-09-22 20:33:28 -0500
committerJames Bottomley <jejb@mulgrave.(none)>2005-09-25 12:01:48 -0500
commit6f3a20242db2597312c50abc11f1e747c5d2326a (patch)
treeedfc17cfd7e1813dbe728602f80630cfab985c20 /include/scsi/scsi_device.h
parent49bfd8db4a39ea14fb3780b162012b4b3611fce8 (diff)
downloadop-kernel-dev-6f3a20242db2597312c50abc11f1e747c5d2326a.zip
op-kernel-dev-6f3a20242db2597312c50abc11f1e747c5d2326a.tar.gz
[SCSI] allow REPORT LUN scanning even for LUN 0 PQ of 3
Currently we just ignore the device, which means there are a few arrays out there that we don't find. This patch updates the scsi_report_lun_scan() to take a target instead of a device so it can be called on a return of SCSI_SCAN_TARGET_PRESENT, which is what a PQ 3 device returns. Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
Diffstat (limited to 'include/scsi/scsi_device.h')
-rw-r--r--include/scsi/scsi_device.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/scsi/scsi_device.h b/include/scsi/scsi_device.h
index c0e4c67..7ece056 100644
--- a/include/scsi/scsi_device.h
+++ b/include/scsi/scsi_device.h
@@ -163,6 +163,7 @@ struct scsi_target {
unsigned int id; /* target id ... replace
* scsi_device.id eventually */
unsigned long create:1; /* signal that it needs to be added */
+ char scsi_level;
void *hostdata; /* available to low-level driver */
unsigned long starget_data[0]; /* for the transport */
/* starget_data must be the last element!!!! */
OpenPOWER on IntegriCloud