Add Add Driver Diagnostic 2 Protocol support for IdeBus driver.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4241 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
qhuang8
2007-10-30 06:45:44 +00:00
parent db168de9b0
commit dfc4846489
3 changed files with 60 additions and 4 deletions

View File

@@ -1419,13 +1419,16 @@ InitializeIdeBus(
//
// Install driver model protocol(s).
//
Status = EfiLibInstallDriverBindingComponentName2 (
Status = EfiLibInstallAllDriverProtocols2 (
ImageHandle,
SystemTable,
&gIDEBusDriverBinding,
ImageHandle,
&gIDEBusComponentName,
&gIDEBusComponentName2
&gIDEBusComponentName2,
NULL,
&gIDEBusDriverDiagnostics,
&gIDEBusDriverDiagnostics2
);
ASSERT_EFI_ERROR (Status);