summaryrefslogtreecommitdiffstats
path: root/drivers/scsi/hpsa_cmd.h
diff options
context:
space:
mode:
authorStephen M. Cameron <scameron@beardog.cce.hp.com>2014-02-18 13:57:16 -0600
committerJames Bottomley <JBottomley@Parallels.com>2014-03-15 10:19:07 -0700
commit1b70150af548f47edfe45a6b97392e4a80538274 (patch)
tree56f21a59709b0193f772e495f02b5cc38a41b67a /drivers/scsi/hpsa_cmd.h
parentb7bb24eb4e9c42bbfb4e62a68924fc905bbc7fbf (diff)
downloadlinux-1b70150af548f47edfe45a6b97392e4a80538274.tar.bz2
[SCSI] hpsa: do not inquire for unsupported ioaccel status vpd page
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.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/scsi/hpsa_cmd.h b/drivers/scsi/hpsa_cmd.h
index e048167b2d9f..769fd2a0f255 100644
--- a/drivers/scsi/hpsa_cmd.h
+++ b/drivers/scsi/hpsa_cmd.h
@@ -144,8 +144,10 @@
#define CFGTBL_BusType_Fibre2G 0x00000200l
/* VPD Inquiry types */
+#define HPSA_VPD_SUPPORTED_PAGES 0x00
#define HPSA_VPD_LV_DEVICE_GEOMETRY 0xC1
#define HPSA_VPD_LV_IOACCEL_STATUS 0xC2
+#define HPSA_VPD_HEADER_SZ 4
struct vals32 {
u32 lower;