// /*************************************************************************** // The Disc Image Chef // ---------------------------------------------------------------------------- // // Filename : Enums.cs // Version : 1.0 // Author(s) : Natalia Portillo // // Component : Component // // Revision : $Revision$ // Last change by : $Author$ // Date : $Date$ // // --[ Description ] ---------------------------------------------------------- // // Description // // --[ License ] -------------------------------------------------------------- // // 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, either version 3 of the // License, or (at your option) any later version. // // This program 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 General Public License for more details. // // You should have received a copy of the GNU General Public License // along with this program. If not, see . // // ---------------------------------------------------------------------------- // Copyright (C) 2011-2015 Claunia.com // ****************************************************************************/ // //$Id$ using System; namespace DiscImageChef.Decoders.SCSI { enum SCSIPeripheralQualifiers : byte { /// /// Peripheral qualifier: Device is connected and supported /// SCSIPQSupported = 0x00, /// /// Peripheral qualifier: Device is supported but not connected /// SCSIPQUnconnected = 0x01, /// /// Peripheral qualifier: Reserved value /// SCSIPQReserved = 0x02, /// /// Peripheral qualifier: Device is connected but unsupported /// SCSIPQUnsupported = 0x03, /// /// Peripheral qualifier: Vendor values: 0x04, 0x05, 0x06 and 0x07 /// SCSIPQVendorMask = 0x04 } public enum SCSIPeripheralDeviceTypes : byte { /// /// Direct-access device /// SCSIPDTDirectAccess = 0x00, /// /// Sequential-access device /// SCSIPDTSequentialAccess = 0x01, /// /// Printer device /// SCSIPDTPrinterDevice = 0x02, /// /// Processor device /// SCSIPDTProcessorDevice = 0x03, /// /// Write-once device /// SCSIPDTWriteOnceDevice = 0x04, /// /// CD-ROM/DVD/etc device /// SCSIPDTMultiMediaDevice = 0x05, /// /// Scanner device /// SCSIPDTScannerDevice = 0x06, /// /// Optical memory device /// SCSIPDTOpticalDevice = 0x07, /// /// Medium change device /// SCSIPDTMediumChangerDevice = 0x08, /// /// Communications device /// SCSIPDTCommsDevice = 0x09, /// /// Graphics arts pre-press device (defined in ASC IT8) /// SCSIPDTPrePressDevice1 = 0x0A, /// /// Graphics arts pre-press device (defined in ASC IT8) /// SCSIPDTPrePressDevice2 = 0x0B, /// /// Array controller device /// SCSIPDTArrayControllerDevice = 0x0C, /// /// Enclosure services device /// SCSIPDTEnclosureServiceDevice = 0x0D, /// /// Simplified direct-access device /// SCSIPDTSimplifiedDevice = 0x0E, /// /// Optical card reader/writer device /// SCSIPDTOCRWDevice = 0x0F, /// /// Bridging Expanders /// SCSIPDTBridgingExpander = 0x10, /// /// Object-based Storage Device /// SCSIPDTObjectDevice = 0x11, /// /// Automation/Drive Interface /// SCSIPDTADCDevice = 0x12, /// /// Security Manager Device /// SCSISecurityManagerDevice = 0x13, /// /// Host managed zoned block device /// SCSIZonedBlockDEvice = 0x14, /// /// Well known logical unit /// SCSIPDTWellKnownDevice = 0x1E, /// /// Unknown or no device type /// SCSIPDTUnknownDevice = 0x1F } enum SCSIANSIVersions : byte { /// /// Device does not claim conformance to any ANSI version /// SCSIANSINoVersion = 0x00, /// /// Device complies with ANSI X3.131:1986 /// SCSIANSI1986Version = 0x01, /// /// Device complies with ANSI X3.131:1994 /// SCSIANSI1994Version = 0x02, /// /// Device complies with ANSI X3.301:1997 /// SCSIANSI1997Version = 0x03, /// /// Device complies with ANSI X3.351:2001 /// SCSIANSI2001Version = 0x04, /// /// Device complies with ANSI X3.408:2005. /// SCSIANSI2005Version = 0x05, /// /// Device complies with SPC-4 /// SCSIANSI2008Version = 0x06 } enum SCSIECMAVersions : byte { /// /// Device does not claim conformance to any ECMA version /// SCSIECMANoVersion = 0x00, /// /// Device complies with an obsolete ECMA standard /// SCSIECMAObsolete = 0x01 } enum SCSIISOVersions : byte { /// /// Device does not claim conformance to any ISO/IEC version /// SCSIISONoVersion = 0x00, /// /// Device complies with ISO/IEC 9316:1995 /// SCSIISO1995Version = 0x02 } enum SCSISPIClocking : byte { /// /// Supports only ST /// SCSIClockingST = 0x00, /// /// Supports only DT /// SCSIClockingDT = 0x01, /// /// Reserved value /// SCSIClockingReserved = 0x02, /// /// Supports ST and DT /// SCSIClockingSTandDT = 0x03, } enum SCSITGPSValues : byte { /// /// Assymetrical access not supported /// NotSupported = 0x00, /// /// Only implicit assymetrical access is supported /// OnlyImplicit = 0x01, /// /// Only explicit assymetrical access is supported /// OnlyExplicit = 0x02, /// /// Both implicit and explicit assymetrical access are supported /// Both = 0x03 } }