]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdeModulePkg/Bus/Scsi/ScsiDiskDxe/ScsiDiskDxe.inf
MdeModulePkg ScsiDiskDxe: Add BlockIO2 Support
[mirror_edk2.git] / MdeModulePkg / Bus / Scsi / ScsiDiskDxe / ScsiDiskDxe.inf
index c39bc6d2d06a1e7b3592c373b3d3f1d63e3fbf2a..47539e55c8e771ea470a34312b0923fa31d5d599 100644 (file)
@@ -1,10 +1,10 @@
-#/** @file\r
-#    \r
-#  Scsi Disk driver. This driver detects the Scsi disk media and installs Block I/O Protocol\r
-#  on the device handle that holds the SCSI I/O Portocol.\r
+## @file\r
+#  The Scsi Disk driver is used to retrieve the media info in the attached SCSI disk.\r
+#  It detects the SCSI disk media and installs Block I/O and Block I/O2 Protocol on\r
+#  the device handle.\r
 #  \r
-#  Copyright (c) 2006 - 2008, Intel Corporation. <BR>\r
-#  All rights reserved. This program and the accompanying materials\r
+#  Copyright (c) 2006 - 2015, Intel Corporation. All rights reserved.<BR>\r
+#  This program and the accompanying materials\r
 #  are licensed and made available under the terms and conditions of the BSD License\r
 #  which accompanies this distribution.  The full text of the license may be found at\r
 #  http://opensource.org/licenses/bsd-license.php\r
 #  THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
 #  WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
 #  \r
-#**/\r
+##\r
 \r
 [Defines]\r
   INF_VERSION                    = 0x00010005\r
   BASE_NAME                      = ScsiDisk\r
+  MODULE_UNI_FILE                = ScsiDisk.uni\r
   FILE_GUID                      = 0A66E322-3740-4cce-AD62-BD172CECCA35\r
   MODULE_TYPE                    = UEFI_DRIVER\r
   VERSION_STRING                 = 1.0\r
@@ -33,7 +34,7 @@
 #  COMPONENT_NAME2               =  gScsiDiskComponentName2\r
 #\r
 \r
-[Sources.common]\r
+[Sources]\r
   ComponentName.c\r
   ScsiDisk.c\r
   ScsiDisk.h\r
   UefiLib\r
   UefiDriverEntryPoint\r
   DebugLib\r
-\r
+  DevicePathLib\r
 \r
 [Protocols]\r
+  gEfiDiskInfoProtocolGuid                      ## BY_START\r
   gEfiBlockIoProtocolGuid                       ## BY_START\r
+  gEfiBlockIo2ProtocolGuid                      ## BY_START\r
   gEfiScsiIoProtocolGuid                        ## TO_START\r
   gEfiScsiPassThruProtocolGuid                  ## TO_START\r
   gEfiExtScsiPassThruProtocolGuid               ## TO_START\r
-  \r
+\r
+[Guids]\r
+  gEfiDiskInfoScsiInterfaceGuid                 ## SOMETIMES_PRODUCES ## UNDEFINED\r
+  gEfiDiskInfoIdeInterfaceGuid                  ## SOMETIMES_PRODUCES ## UNDEFINED\r
+  gEfiDiskInfoAhciInterfaceGuid                 ## SOMETIMES_PRODUCES ## UNDEFINED\r
+  gEfiDiskInfoUfsInterfaceGuid                  ## SOMETIMES_PRODUCES ## UNDEFINED\r
+\r
+# [Event]\r
+# EVENT_TYPE_RELATIVE_TIMER       ## CONSUMES\r
+#\r
+\r
+[UserExtensions.TianoCore."ExtraFiles"]\r
+  ScsiDiskExtra.uni\r