diff options
author | Hannes Reinecke <hare@suse.de> | 2016-03-14 10:43:08 +0100 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2016-03-15 02:05:04 +0100 |
commit | cdc43ae34c25693fa8de30c9a95243cd45548023 (patch) | |
tree | 662670e6c7bc43b7666df751949f8fc9eabcf0bd /drivers/scsi/scsi_sas_internal.h | |
parent | scsi_dh_alua: uninitialized variable in alua_check_vpd() (diff) | |
download | linux-cdc43ae34c25693fa8de30c9a95243cd45548023.tar.xz linux-cdc43ae34c25693fa8de30c9a95243cd45548023.zip |
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.h | 2 |
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 |