chiark / gitweb /
rules: fix typo in ide cd rule
[elogind.git] / extras / scsi_id / scsi.h
index 780e001576d21668cb4077662b84e7245a2a9d08..f5aa686f719ba9e7a3c70558b68e95f429d0b98c 100644 (file)
@@ -5,20 +5,9 @@
  *
  * Copyright (C) IBM Corp. 2003
  *
  *
  * Copyright (C) IBM Corp. 2003
  *
- *  This library is free software; you can redistribute it and/or modify
- *  it under the terms of the GNU Lesser General Public License as
- *  published by the Free Software Foundation; either version 2.1 of the
- *  License, or (at your option) any later version.
- *
- *  This library is distributed in the hope that it will be useful, but
- *  WITHOUT ANY WARRANTY; without even the implied warranty of
- *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- *  Lesser General Public License for more details.
- *
- *  You should have received a copy of the GNU Lesser General Public
- *  License along with this library; if not, write to the Free Software
- *  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
- *  USA
+ *     This program is free software; you can redistribute it and/or modify it
+ *     under the terms of the GNU General Public License as published by the
+ *     Free Software Foundation version 2 of the License.
  */
 
 #include <scsi/scsi.h>
  */
 
 #include <scsi/scsi.h>
@@ -37,6 +26,13 @@ struct scsi_ioctl_command {
 
 #define SENSE_BUFF_LEN 32
 
 
 #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.
  */
 /*
  * SCSI INQUIRY vendor and model (really product) lengths.
  */