/* This is the concatenation of target port identifier and logical unit identifier as per SAM-2...SAM-4 annex A.  */
static ssize_t sbp2_sysfs_ieee1394_id_show(struct device *dev, struct device_attribute *attr, char *buf)
/* This is the concatenation of target port identifier and logical unit identifier as per SAM-2...SAM-4 annex A.  */
static ssize_t sbp2_sysfs_ieee1394_id_show(struct device *dev, struct device_attribute *attr, char *buf)
{
	struct scsi_device *sdev = to_scsi_device(dev);
	struct sbp2_logical_unit *lu;
	if (!sdev)
		return 0;
	lu = sdev->hostdata;
	return sprintf(buf, "%016llx:%06x:%04x\n",
			(unsigned long long)lu->tgt->guid,
			lu->tgt->directory_id, lu->lun);
}