Revision: 19071
          http://sourceforge.net/p/edk2/code/19071
Author:   erictian
Date:     2015-12-01 00:40:37 +0000 (Tue, 01 Dec 2015)
Log Message:
-----------
MdeModulePkg/NvmExpressDxe: Fix wrong logic in GetControllerName()

NvmExpressComponentNameGetControllerName returns EFI_UNSUPPORTED if 
child handle is passed. gEfiNvmExpressPassThruProtocolGuid needs to
be passed to EfiTestChildHandle instead of gEfiPciIoProtocolGuid.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: "Anbazhagan, Baraneedharan" <[email protected]>
Reviewed-by: "Tian, Feng" <[email protected]>

Modified Paths:
--------------
    trunk/edk2/MdeModulePkg/Bus/Pci/NvmExpressDxe/ComponentName.c

Modified: trunk/edk2/MdeModulePkg/Bus/Pci/NvmExpressDxe/ComponentName.c
===================================================================
--- trunk/edk2/MdeModulePkg/Bus/Pci/NvmExpressDxe/ComponentName.c       
2015-11-30 23:36:31 UTC (rev 19070)
+++ trunk/edk2/MdeModulePkg/Bus/Pci/NvmExpressDxe/ComponentName.c       
2015-12-01 00:40:37 UTC (rev 19071)
@@ -199,7 +199,7 @@
     Status = EfiTestChildHandle (
                ControllerHandle,
                ChildHandle,
-               &gEfiPciIoProtocolGuid
+               &gEfiNvmExpressPassThruProtocolGuid
                );
     if (EFI_ERROR (Status)) {
       return Status;


------------------------------------------------------------------------------
Go from Idea to Many App Stores Faster with Intel(R) XDK
Give your users amazing mobile app experiences with Intel(R) XDK.
Use one codebase in this all-in-one HTML5 development environment.
Design, debug & build mobile apps & 2D/3D high-impact games for multiple OSs.
http://pubads.g.doubleclick.net/gampad/clk?id=254741911&iu=/4140
_______________________________________________
edk2-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/edk2-commits

Reply via email to