[SCSI] allow REPORT LUN scanning even for LUN 0 PQ of 3
authorJames Bottomley <James.Bottomley@steeleye.com>
Fri, 23 Sep 2005 01:33:28 +0000 (20:33 -0500)
committerJames Bottomley <jejb@mulgrave.(none)>
Sun, 25 Sep 2005 17:01:48 +0000 (12:01 -0500)
commit6f3a20242db2597312c50abc11f1e747c5d2326a
treeedfc17cfd7e1813dbe728602f80630cfab985c20
parent49bfd8db4a39ea14fb3780b162012b4b3611fce8
[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>
drivers/scsi/scsi_scan.c
include/scsi/scsi_device.h