-/*
-** Inquiry Data format
-*/
-
-typedef struct _SCSIInqData { /* INQUIRY */
-
- u8 DevType; /* Periph Qualifier & Periph Dev Type*/
- u8 RMB_TypeMod; /* rem media bit & Dev Type Modifier */
- u8 Vers; /* ISO, ECMA, & ANSI versions */
- u8 RDF; /* AEN, TRMIOP, & response data format*/
- u8 AddLen; /* length of additional data */
- u8 Res1; /* reserved */
- u8 Res2; /* reserved */
- u8 Flags; /* RelADr,Wbus32,Wbus16,Sync,etc. */
- u8 VendorID[8]; /* Vendor Identification */
- u8 ProductID[16]; /* Product Identification */
- u8 ProductRev[4]; /* Product Revision */
-
-
-} SCSI_INQDATA, *PSCSI_INQDATA;
-
-
-/* Inquiry byte 0 masks */
-
-
-#define SCSI_DEVTYPE 0x1F /* Peripheral Device Type */
-#define SCSI_PERIPHQUAL 0xE0 /* Peripheral Qualifier */
-#define TYPE_NODEV SCSI_DEVTYPE /* Unknown or no device type */
-
-
-/* Inquiry byte 1 mask */
-
-#define SCSI_REMOVABLE_MEDIA 0x80 /* Removable Media bit (1=removable) */
-
-
-/* Peripheral Device Type definitions */
-/* see include/scsi/scsi.h for the rest */
-
-#ifndef TYPE_PRINTER
-# define TYPE_PRINTER 0x02 /* Printer device */
-#endif
-#ifndef TYPE_COMM
-# define TYPE_COMM 0x09 /* Communications device */
-#endif
-
-/*
-** Inquiry flag definitions (Inq data byte 7)
-*/
-
-#define SCSI_INQ_RELADR 0x80 /* device supports relative addressing*/
-#define SCSI_INQ_WBUS32 0x40 /* device supports 32 bit data xfers */
-#define SCSI_INQ_WBUS16 0x20 /* device supports 16 bit data xfers */
-#define SCSI_INQ_SYNC 0x10 /* device supports synchronous xfer */
-#define SCSI_INQ_LINKED 0x08 /* device supports linked commands */
-#define SCSI_INQ_CMDQUEUE 0x02 /* device supports command queueing */
-#define SCSI_INQ_SFTRE 0x01 /* device supports soft resets */
-
-