Enhance SCSI disk module to produce Disk Info protocol on the same Block IO handle:

SCSI Interface GUID: Physical SCSI disk
IDE  Interface GUID: ATAPI device run in legacy IDE mode
AHCI Interface GUID: ATAPI device run in AHCI mode.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9584 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
qhuang8
2009-12-22 07:31:18 +00:00
parent 48a0e6bfbd
commit d716651f8c
3 changed files with 446 additions and 25 deletions

View File

@@ -3,7 +3,7 @@
# Scsi Disk driver. This driver detects the Scsi disk media and installs Block I/O Protocol
# on the device handle that holds the SCSI I/O Portocol.
#
# Copyright (c) 2006 - 2008, Intel Corporation. <BR>
# Copyright (c) 2006 - 2009, Intel Corporation. <BR>
# All rights reserved. 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
@@ -50,11 +50,16 @@
UefiLib
UefiDriverEntryPoint
DebugLib
DevicePathLib
[Protocols]
gEfiDiskInfoProtocolGuid ## BY_START
gEfiBlockIoProtocolGuid ## BY_START
gEfiScsiIoProtocolGuid ## TO_START
gEfiScsiPassThruProtocolGuid ## TO_START
gEfiExtScsiPassThruProtocolGuid ## TO_START
[Guids]
gEfiDiskInfoScsiInterfaceGuid ## SOMETIME_PRODUCES (The device is physical SCSI disk)
gEfiDiskInfoIdeInterfaceGuid ## SOMETIME_PRODUCES (The device is ATAPI device in IDE mode)
gEfiDiskInfoAhciInterfaceGuid ## SOMETIME_PRODUCES (The device is ATAPI device in AHCI mode)