summaryrefslogtreecommitdiff
path: root/drivers/scsi/hpsa.h
diff options
context:
space:
mode:
authorJoe Handzik <joseph.t.handzik@hp.com>2015-07-18 19:12:43 +0300
committerJames Bottomley <JBottomley@Odin.com>2015-08-27 02:26:06 +0300
commit8270b8624365887a716615294d0ac28af07c9287 (patch)
treeec2c5d22796e07e2455fac337d4edf53583929ee /drivers/scsi/hpsa.h
parent1358f6dc5875f5cef06eeeeb4532f382aaff8483 (diff)
downloadlinux-8270b8624365887a716615294d0ac28af07c9287.tar.xz
hpsa: add sysfs entry path_info to show box and bay information
host no, bus, target, lun, scsi_device_type for hba mode add: box and bay information report if the path is active/inactive Reviewed-by: Kevin Barnett <kevin.barnett@pmcs.com> Reviewed-by: Scott Teel <scott.teel@pmcs.com> Reviewed-by: Tomas Henzl <thenzl@redhat.com> Signed-off-by: Don Brace <don.brace@pmcs.com> Signed-off-by: James Bottomley <JBottomley@Odin.com>
Diffstat (limited to 'drivers/scsi/hpsa.h')
-rw-r--r--drivers/scsi/hpsa.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/scsi/hpsa.h b/drivers/scsi/hpsa.h
index 6f6084b39420..ab014d3f3656 100644
--- a/drivers/scsi/hpsa.h
+++ b/drivers/scsi/hpsa.h
@@ -50,6 +50,11 @@ struct hpsa_scsi_dev_t {
* device via "ioaccel" path.
*/
u32 ioaccel_handle;
+ u8 active_path_index;
+ u8 path_map;
+ u8 bay;
+ u8 box[8];
+ u16 phys_connector[8];
int offload_config; /* I/O accel RAID offload configured */
int offload_enabled; /* I/O accel RAID offload enabled */
int offload_to_be_enabled;