X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=blobdiff_plain;f=extras%2Fscsi_id%2Fscsi.h;h=212765a17d367c6708e321ea0cbf5933ba68588e;hp=780e001576d21668cb4077662b84e7245a2a9d08;hb=b4a2906bf1921cd6cbc25621a6db0bae906616c8;hpb=c521693b54956c1f2dd0c0947c819b8570f6edaa;ds=sidebyside 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. */