]> git.proxmox.com Git - mirror_edk2.git/blobdiff - OvmfPkg/VirtioNetDxe/ComponentName.c
OvmfPkg: Make the VirtIo devices use the new VIRTIO_DEVICE_PROTOCOL
[mirror_edk2.git] / OvmfPkg / VirtioNetDxe / ComponentName.c
index a291405ee6363a290966594da9405d160ffd9b39..2c96adbcbd118622aad0036789cccad345e0e7da 100644 (file)
@@ -139,20 +139,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