Revision: 14653
http://sourceforge.net/p/edk2/code/14653
Author: erictian
Date: 2013-09-11 03:33:55 +0000 (Wed, 11 Sep 2013)
Log Message:
-----------
Add missing SCSI_IO related definitions.
Signed-off-by: Feng Tian <[email protected]>
Reviewed-by: Elvin Li <[email protected]>
Modified Paths:
--------------
trunk/edk2/MdePkg/Include/Protocol/ScsiIo.h
Modified: trunk/edk2/MdePkg/Include/Protocol/ScsiIo.h
===================================================================
--- trunk/edk2/MdePkg/Include/Protocol/ScsiIo.h 2013-09-11 03:19:09 UTC (rev
14652)
+++ trunk/edk2/MdePkg/Include/Protocol/ScsiIo.h 2013-09-11 03:33:55 UTC (rev
14653)
@@ -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
@@ -29,6 +29,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
//
#define EFI_SCSI_IO_DATA_DIRECTION_READ 0
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
------------------------------------------------------------------------------
How ServiceNow helps IT people transform IT departments:
1. Consolidate legacy IT systems to a single system of record for IT
2. Standardize and globalize service processes across IT
3. Implement zero-touch automation to replace manual, redundant tasks
http://pubads.g.doubleclick.net/gampad/clk?id=51271111&iu=/4140/ostg.clktrk
_______________________________________________
edk2-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/edk2-commits