#define kIOPropertySCSIPeripheralDeviceType  1
enum {
kINQUIRY_PERIPHERAL_TYPE_DirectAccessSBCDevice =1,
kINQUIRY_PERIPHERAL_TYPE_SequentialAccessSSCDevice=2,
kINQUIRY_PERIPHERAL_TYPE_PrinterSSCDevice =3,
kINQUIRY_PERIPHERAL_TYPE_ProcessorSPCDevice =4,
kINQUIRY_PERIPHERAL_TYPE_WriteOnceSBCDevice =5,
kINQUIRY_PERIPHERAL_TYPE_CDROM_MMCDevice=6,
kINQUIRY_PERIPHERAL_TYPE_ScannerSCSI2Device =7,
kINQUIRY_PERIPHERAL_TYPE_OpticalMemorySBCDevice =8,
kINQUIRY_PERIPHERAL_TYPE_MediumChangerSMCDevice =9,
kINQUIRY_PERIPHERAL_TYPE_CommunicationsSSCDevice=10,
kINQUIRY_PERIPHERAL_TYPE_StorageArrayControllerSCC2Device=11,
kINQUIRY_PERIPHERAL_TYPE_EnclosureServicesSESDevice=12,
kINQUIRY_PERIPHERAL_TYPE_SimplifiedDirectAccessRBCDevice=13,
kINQUIRY_PERIPHERAL_TYPE_OpticalCardReaderOCRWDevice=14,
kINQUIRY_PERIPHERAL_TYPE_UnknownOrNoDeviceType=15
};

enum {
kINQUIRY_PERIPHERAL_TYPE_Mask =1,
kINQUIRY_PERIPHERAL_RMB_BitMask =-2
};

typedef struct SCSICmd_INQUIRY_StandardData{
int PERIPHERAL_DEVICE_TYPE;
int RMB;
int RESPONSE_DATA_FORMAT;
int ADDITIONAL_LENGTH;
int SCCSReserved;
int flags1;
int flags2;
int VERSION;
int VENDOR_IDENTIFICATION;
int PRODUCT_IDENTIFICATION;
char * PRODUCT_REVISION_LEVEL;
}SCSICmd_INQUIRY_StandardData;

