]> 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 9aaff01f1511a77bd1771b00ee3fdffb5ab77b93..47539e55c8e771ea470a34312b0923fa31d5d599 100644 (file)
@@ -1,11 +1,10 @@
-#/** @file\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
-#    Component description file for Scsi Disk module.\r
-#  \r
-#   Scsi Disk driver. This driver detected the Scsi disk media and export block io protocol\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                    = DXE_DRIVER\r
+  MODULE_TYPE                    = UEFI_DRIVER\r
   VERSION_STRING                 = 1.0\r
-  EDK_RELEASE_VERSION            = 0x00020000\r
-  EFI_SPECIFICATION_VERSION      = 0x00010010\r
 \r
   ENTRY_POINT                    = InitializeScsiDisk\r
 \r
 #\r
 #  VALID_ARCHITECTURES           = IA32 X64 IPF EBC\r
 #\r
-#  DRIVER_BINDING                =  gScsiDiskDriverBinding                       \r
-#  COMPONENT_NAME                =  gScsiDiskComponentName                       \r
+#  DRIVER_BINDING                =  gScsiDiskDriverBinding\r
+#  COMPONENT_NAME                =  gScsiDiskComponentName\r
+#  COMPONENT_NAME2               =  gScsiDiskComponentName2\r
 #\r
 \r
-[Sources.common]\r
+[Sources]\r
   ComponentName.c\r
   ScsiDisk.c\r
   ScsiDisk.h\r
 \r
 [LibraryClasses]\r
   UefiBootServicesTableLib\r
-  ScsiLib\r
+  UefiScsiLib\r
   BaseMemoryLib\r
+  MemoryAllocationLib\r
   UefiLib\r
   UefiDriverEntryPoint\r
   DebugLib\r
-\r
+  DevicePathLib\r
 \r
 [Protocols]\r
-  gEfiBlockIoProtocolGuid                       # PROTOCOL BY_START\r
-  gEfiScsiIoProtocolGuid                        # PROTOCOL TO_START\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
+[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