/** @file\r
Implement the driver binding protocol for Asix AX88772 Ethernet driver.\r
\r
- Copyright (c) 2011, Intel Corporation\r
+ Copyright (c) 2011-2013, Intel Corporation\r
All rights reserved. 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
IN EFI_SYSTEM_TABLE * pSystemTable\r
)\r
{\r
- EFI_LOADED_IMAGE_PROTOCOL * pLoadedImage;\r
EFI_STATUS Status;\r
\r
- //\r
- // Enable unload support\r
- //\r
- Status = gBS->HandleProtocol (\r
- gImageHandle,\r
- &gEfiLoadedImageProtocolGuid,\r
- (VOID **)&pLoadedImage\r
- );\r
- if (!EFI_ERROR (Status)) {\r
- pLoadedImage->Unload = DriverUnload;\r
- }\r
-\r
//\r
// Add the driver to the list of drivers\r
//\r
&gComponentName2\r
);\r
if ( !EFI_ERROR ( Status )) {\r
-\r
- AsciiPrint ("Installed: gEfiDriverBindingProtocolGuid on 0x%08x\r\n",\r
- ImageHandle );\r
- AsciiPrint("Installed: gEfiComponentNameProtocolGuid on 0x%08x\r\n",\r
- ImageHandle );\r
- AsciiPrint("Installed: gEfiComponentName2ProtocolGuid on 0x%08x\r\n",\r
- ImageHandle );\r
+ DEBUG ((EFI_D_INFO, "Installed: gEfiDriverBindingProtocolGuid on 0x%08x\r\n",\r
+ ImageHandle));\r
+ DEBUG ((EFI_D_INFO, "Installed: gEfiComponentNameProtocolGuid on 0x%08x\r\n",\r
+ ImageHandle));\r
+ DEBUG ((EFI_D_INFO,"Installed: gEfiComponentName2ProtocolGuid on 0x%08x\r\n",\r
+ ImageHandle ));\r
\r
}\r
return Status;\r