scsi_transport_sas: add 'scsi_target_id' sysfs attribute
authorHannes Reinecke <hare@suse.de>
Mon, 14 Mar 2016 09:43:08 +0000 (10:43 +0100)
committerMartin K. Petersen <martin.petersen@oracle.com>
Tue, 15 Mar 2016 01:05:04 +0000 (21:05 -0400)
commitcdc43ae34c25693fa8de30c9a95243cd45548023
tree662670e6c7bc43b7666df751949f8fc9eabcf0bd
parent100bcb851b8ce09824215cfc2afd661ae8d454c9
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>
drivers/scsi/scsi_sas_internal.h
drivers/scsi/scsi_transport_sas.c