]> git.proxmox.com Git - mirror_edk2.git/blobdiff - OptionRomPkg/Bus/Usb/UsbNetworking/Ax88772b/DriverBinding.c
Ax88772: Add logic to separate packet, fix MTU issue. Ax88772b: Fix driver model...
[mirror_edk2.git] / OptionRomPkg / Bus / Usb / UsbNetworking / Ax88772b / DriverBinding.c
index 076b6396389e5b3680faab1a46c3b281aebf79a4..3b7304047813858290a1e9255c805a9e82679352 100644 (file)
@@ -1,7 +1,7 @@
 /** @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
@@ -632,21 +632,8 @@ EntryPoint (
   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
@@ -659,13 +646,12 @@ EntryPoint (
              &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