summaryrefslogtreecommitdiff
path: root/drivers/scsi/hpsa_cmd.h
diff options
context:
space:
mode:
authorMatt Gates <matthew.gates@hp.com>2014-02-18 13:55:07 -0600
committerJames Bottomley <JBottomley@Parallels.com>2014-03-15 10:19:01 -0700
commita93aa1fe00a461690f0d0a9ed236b646056d1223 (patch)
tree52027d37a847cc0e6bef151bd0b839cf0542d71a /drivers/scsi/hpsa_cmd.h
parent2b01d816f5f884d5ea16ab2498736b1221bc027c (diff)
[SCSI] hpsa: use extended report luns command for HP SSD SmartPath
There is an extended report luns command which contains additional information about physical devices. In particular we need to get the physical device handle so we can use an alternate i/o path for fast physical devices like SSDs so we can speed up certain i/o's by bypassing the RAID stack code in the controller firmware. Signed-off-by: Matt Gates <matthew.gates@hp.com> Signed-off-by: Stephen M. Cameron <scameron@beardog.cce.hp.com> Signed-off-by: James Bottomley <JBottomley@Parallels.com>
Diffstat (limited to 'drivers/scsi/hpsa_cmd.h')
-rw-r--r--drivers/scsi/hpsa_cmd.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/scsi/hpsa_cmd.h b/drivers/scsi/hpsa_cmd.h
index bfc8c4ea66f8..3f96b66e5761 100644
--- a/drivers/scsi/hpsa_cmd.h
+++ b/drivers/scsi/hpsa_cmd.h
@@ -162,6 +162,7 @@ struct InquiryData {
#define HPSA_REPORT_LOG 0xc2 /* Report Logical LUNs */
#define HPSA_REPORT_PHYS 0xc3 /* Report Physical LUNs */
+#define HPSA_REPORT_PHYS_EXTENDED 0x02
struct ReportLUNdata {
u8 LUNListLength[4];
u32 reserved;