summaryrefslogtreecommitdiff
path: root/extras/scsi_id/scsi.h
diff options
context:
space:
mode:
Diffstat (limited to 'extras/scsi_id/scsi.h')
-rw-r--r--extras/scsi_id/scsi.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/extras/scsi_id/scsi.h b/extras/scsi_id/scsi.h
index 780e001576..212765a17d 100644
--- a/extras/scsi_id/scsi.h
+++ b/extras/scsi_id/scsi.h
@@ -38,6 +38,13 @@ struct scsi_ioctl_command {
#define SENSE_BUFF_LEN 32
/*
+ * The request buffer size passed to the SCSI INQUIRY commands, use 254,
+ * as this is a nice value for some devices, especially some of the usb
+ * mass storage devices.
+ */
+#define SCSI_INQ_BUFF_LEN 254
+
+/*
* SCSI INQUIRY vendor and model (really product) lengths.
*/
#define VENDOR_LENGTH 8