X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=extras%2Fscsi_id%2Fscsi.h;h=212765a17d367c6708e321ea0cbf5933ba68588e;hb=9bd72b9b6b2645ea3c36ef0be9a070e8ff67904f;hp=780e001576d21668cb4077662b84e7245a2a9d08;hpb=c521693b54956c1f2dd0c0947c819b8570f6edaa;p=elogind.git diff --git a/extras/scsi_id/scsi.h b/extras/scsi_id/scsi.h index 780e00157..212765a17 100644 --- a/extras/scsi_id/scsi.h +++ b/extras/scsi_id/scsi.h @@ -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. */