mirror of https://github.com/acidanthera/audk.git
Add missing SCSI_IO related definitions.
Signed-off-by: Feng Tian <feng.tian@intel.com> Reviewed-by: Elvin Li <elvin.li@intel.com> git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@14653 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
parent
979ce27979
commit
754739ec44
|
@ -4,7 +4,7 @@
|
|||
services environment to access SCSI devices. In particular, functions for
|
||||
managing devices on SCSI buses are defined here.
|
||||
|
||||
Copyright (c) 2006 - 2008, Intel Corporation. All rights reserved.<BR>
|
||||
Copyright (c) 2006 - 2013, Intel Corporation. All rights reserved.<BR>
|
||||
This program and the accompanying materials
|
||||
are licensed and made available under the terms and conditions of the BSD License
|
||||
which accompanies this distribution. The full text of the license may be found at
|
||||
|
@ -28,6 +28,31 @@
|
|||
///
|
||||
typedef struct _EFI_SCSI_IO_PROTOCOL EFI_SCSI_IO_PROTOCOL;
|
||||
|
||||
//
|
||||
// SCSI Device type information, defined in the SCSI Primary Commands standard (e.g., SPC-4)
|
||||
//
|
||||
#define EFI_SCSI_IO_TYPE_DISK 0x00 ///< Disk device
|
||||
#define EFI_SCSI_IO_TYPE_TAPE 0x01 ///< Tape device
|
||||
#define EFI_SCSI_IO_TYPE_PRINTER 0x02 ///< Printer
|
||||
#define EFI_SCSI_IO_TYPE_PROCESSOR 0x03 ///< Processor
|
||||
#define EFI_SCSI_IO_TYPE_WORM 0x04 ///< Write-once read-multiple
|
||||
#define EFI_SCSI_IO_TYPE_CDROM 0x05 ///< CD or DVD device
|
||||
#define EFI_SCSI_IO_TYPE_SCANNER 0x06 ///< Scanner device
|
||||
#define EFI_SCSI_IO_TYPE_OPTICAL 0x07 ///< Optical memory device
|
||||
#define EFI_SCSI_IO_TYPE_MEDIUMCHANGER 0x08 ///< Medium Changer device
|
||||
#define EFI_SCSI_IO_TYPE_COMMUNICATION 0x09 ///< Communications device
|
||||
#define MFI_SCSI_IO_TYPE_A 0x0A ///< Obsolete
|
||||
#define MFI_SCSI_IO_TYPE_B 0x0B ///< Obsolete
|
||||
#define MFI_SCSI_IO_TYPE_RAID 0x0C ///< Storage array controller device (e.g., RAID)
|
||||
#define MFI_SCSI_IO_TYPE_SES 0x0D ///< Enclosure services device
|
||||
#define MFI_SCSI_IO_TYPE_RBC 0x0E ///< Simplified direct-access device (e.g., magnetic disk)
|
||||
#define MFI_SCSI_IO_TYPE_OCRW 0x0F ///< Optical card reader/writer device
|
||||
#define MFI_SCSI_IO_TYPE_BRIDGE 0x10 ///< Bridge Controller Commands
|
||||
#define MFI_SCSI_IO_TYPE_OSD 0x11 ///< Object-based Storage Device
|
||||
#define EFI_SCSI_IO_TYPE_RESERVED_LOW 0x12 ///< Reserved (low)
|
||||
#define EFI_SCSI_IO_TYPE_RESERVED_HIGH 0x1E ///< Reserved (high)
|
||||
#define EFI_SCSI_IO_TYPE_UNKNOWN 0x1F ///< Unknown no device type
|
||||
|
||||
//
|
||||
// SCSI Data Direction definition
|
||||
//
|
||||
|
|
Loading…
Reference in New Issue