chiark / gitweb /
fix usb_id and let scsi_id ignore "illegal request"
[elogind.git] / extras / scsi_id / scsi.h
index 780e001576d21668cb4077662b84e7245a2a9d08..212765a17d367c6708e321ea0cbf5933ba68588e 100644 (file)
@@ -37,6 +37,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.
  */