summary refs log tree commit diff
path: root/drivers/scsi/scsi_sas_internal.h
diff options
context:
space:
mode:
authorHannes Reinecke <hare@suse.de>2016-03-14 10:43:08 +0100
committerMartin K. Petersen <martin.petersen@oracle.com>2016-03-14 21:05:04 -0400
commitcdc43ae34c25693fa8de30c9a95243cd45548023 (patch)
tree662670e6c7bc43b7666df751949f8fc9eabcf0bd /drivers/scsi/scsi_sas_internal.h
parent100bcb851b8ce09824215cfc2afd661ae8d454c9 (diff)
downloadlinux-cdc43ae34c25693fa8de30c9a95243cd45548023.tar.gz
scsi_transport_sas: add 'scsi_target_id' sysfs attribute
There is no way to detect the scsi_target_id for any given SAS remote
port, so add a new sysfs attribute 'scsi_target_id'.

Signed-off-by: Hannes Reinecke <hare@suse.com>
Reviewed-by: Johannes Thumshirn <jthumshirn@suse.de>
Reviewed-by: Manoj Kumar <manoj@linux.vnet.ibm.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'drivers/scsi/scsi_sas_internal.h')
-rw-r--r--drivers/scsi/scsi_sas_internal.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/scsi/scsi_sas_internal.h b/drivers/scsi/scsi_sas_internal.h
index 6266a5d73d0f..e659912498bd 100644
--- a/drivers/scsi/scsi_sas_internal.h
+++ b/drivers/scsi/scsi_sas_internal.h
@@ -4,7 +4,7 @@
 #define SAS_HOST_ATTRS		0
 #define SAS_PHY_ATTRS		17
 #define SAS_PORT_ATTRS		1
-#define SAS_RPORT_ATTRS		7
+#define SAS_RPORT_ATTRS		8
 #define SAS_END_DEV_ATTRS	5
 #define SAS_EXPANDER_ATTRS	7