]> git.proxmox.com Git - mirror_edk2.git/blobdiff - OvmfPkg/VirtioNetDxe/ComponentName.c
UefiCpuPkg/MpInitLib: Remove Executable attribute from MpLib.h
[mirror_edk2.git] / OvmfPkg / VirtioNetDxe / ComponentName.c
index a291405ee6363a290966594da9405d160ffd9b39..483d4f70388640938cef04225aeeae569f513177 100644 (file)
@@ -5,13 +5,7 @@
   Copyright (C) 2013, Red Hat, Inc.\r
   Copyright (c) 2006 - 2011, Intel Corporation. All rights reserved.<BR>\r
 \r
-  This program and the accompanying materials are licensed and made available\r
-  under the terms and conditions of the BSD License which accompanies this\r
-  distribution. The full text of the license may be found at\r
-  http://opensource.org/licenses/bsd-license.php\r
-\r
-  THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, WITHOUT\r
-  WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
+  SPDX-License-Identifier: BSD-2-Clause-Patent\r
 \r
 **/\r
 \r
@@ -139,20 +133,20 @@ VirtioNetGetControllerName (
   }\r
 \r
   //\r
-  // confirm that the device is managed by this driver, using the PCI IO\r
+  // confirm that the device is managed by this driver, using the VirtIo\r
   // Protocol\r
   //\r
   Status = EfiTestManagedDevice (\r
              ControllerHandle,\r
              gVirtioNetDriverBinding.DriverBindingHandle,\r
-             &gEfiPciIoProtocolGuid\r
+             &gVirtioDeviceProtocolGuid\r
              );\r
   if (EFI_ERROR (Status)) {\r
     return Status;\r
   }\r
 \r
   //\r
-  // we don't give different names to the bus (= parent, = PCI) handle and the\r
+  // we don't give different names to the bus (= parent) handle and the\r
   // child (= MAC) handle\r
   //\r
   return LookupUnicodeString2 (\r