summaryrefslogtreecommitdiff
path: root/extras/scsi_id/scsi_id.h
diff options
context:
space:
mode:
authorHannes Reinecke <hare@suse.de>2008-05-14 13:55:49 +0200
committerKay Sievers <kay.sievers@vrfy.org>2008-05-14 13:55:49 +0200
commit78d9ecfd4f1e37f7453e55e71f2909a58706ae10 (patch)
treeeac2f83e081e0795ff11855fd67bf00a651e3c34 /extras/scsi_id/scsi_id.h
parent753417db2ba6faafa3aa30f6b15678e1557e20b8 (diff)
scsi_id: add SGv4 support
Fall back to SGv3, if SGv3 returns a failure/is not available.
Diffstat (limited to 'extras/scsi_id/scsi_id.h')
-rw-r--r--extras/scsi_id/scsi_id.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/extras/scsi_id/scsi_id.h b/extras/scsi_id/scsi_id.h
index 3b3a000dd7..680c39d9ef 100644
--- a/extras/scsi_id/scsi_id.h
+++ b/extras/scsi_id/scsi_id.h
@@ -37,6 +37,7 @@ struct scsi_id_device {
char type[33];
char kernel[64];
char serial[MAX_SERIAL_LEN];
+ int use_sg;
};
extern int scsi_std_inquiry(struct scsi_id_device *dev_scsi, const char *devname);