X-Git-Url: https://git.proxmox.com/?p=mirror_edk2.git;a=blobdiff_plain;f=OvmfPkg%2FVirtioNetDxe%2FComponentName.c;h=2c96adbcbd118622aad0036789cccad345e0e7da;hp=a291405ee6363a290966594da9405d160ffd9b39;hb=d5a60558c51aaa5b63e857130172b332e9ab4988;hpb=bde8a2e0db96eb808be3d96d04920e35e16264bd diff --git a/OvmfPkg/VirtioNetDxe/ComponentName.c b/OvmfPkg/VirtioNetDxe/ComponentName.c index a291405ee6..2c96adbcbd 100644 --- a/OvmfPkg/VirtioNetDxe/ComponentName.c +++ b/OvmfPkg/VirtioNetDxe/ComponentName.c @@ -139,20 +139,20 @@ VirtioNetGetControllerName ( } // - // confirm that the device is managed by this driver, using the PCI IO + // confirm that the device is managed by this driver, using the VirtIo // Protocol // Status = EfiTestManagedDevice ( ControllerHandle, gVirtioNetDriverBinding.DriverBindingHandle, - &gEfiPciIoProtocolGuid + &gVirtioDeviceProtocolGuid ); if (EFI_ERROR (Status)) { return Status; } // - // we don't give different names to the bus (= parent, = PCI) handle and the + // we don't give different names to the bus (= parent) handle and the // child (= MAC) handle // return LookupUnicodeString2 (