summaryrefslogtreecommitdiff
path: root/extras/scsi_id/scsi.h
diff options
context:
space:
mode:
authorpatmans@us.ibm.com <patmans@us.ibm.com>2004-10-05 21:30:54 -0700
committerGreg KH <gregkh@suse.de>2005-04-26 21:37:02 -0700
commit01f950e2eb86563255a269ecadd386cbe5361d0c (patch)
treefc29349f58e1b89b1ca02470f9a391ea8cc2b849 /extras/scsi_id/scsi.h
parente7c4f85f8a96b6b52e8885685eb6f36df48bbeba (diff)
[PATCH] update udev to include scsi_id 0.6
Here's a patch updating udev's copy of scsi_id to version 0.6.
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