summaryrefslogtreecommitdiff
path: root/extras/scsi_id/scsi_id.h
diff options
context:
space:
mode:
authorHannes Reinecke <hare@suse.de>2010-09-06 11:00:22 +0200
committerKay Sievers <kay.sievers@vrfy.org>2010-09-07 08:22:05 +0200
commitdb11b20e416ff390339631b34aac559c8915c68d (patch)
tree869464443f468f9f7451c73708c13596b2f4cc09 /extras/scsi_id/scsi_id.h
parent397e0169bb6c8f811d8aa117e8f34858caa8b56b (diff)
scsi_id: export target port group
For ALUA support it's useful to have the target port group number of a device. Signed-off-by: Hannes Reinecke <hare@suse.de>
Diffstat (limited to 'extras/scsi_id/scsi_id.h')
-rw-r--r--extras/scsi_id/scsi_id.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/extras/scsi_id/scsi_id.h b/extras/scsi_id/scsi_id.h
index 4475eaccd1..f6c269fc59 100644
--- a/extras/scsi_id/scsi_id.h
+++ b/extras/scsi_id/scsi_id.h
@@ -53,6 +53,9 @@ struct scsi_id_device {
/* NULs if not set - otherwise hex encoding using lower-case e.g. '0xe00000d80000' */
char wwn_vendor_extension[17];
+
+ /* NULs if not set - otherwise decimal number */
+ char tgpt_group[8];
};
extern int scsi_std_inquiry(struct udev *udev, struct scsi_id_device *dev_scsi, const char *devname);