|
@@ -129,6 +129,13 @@ VirtioNetGetControllerName (
|
|
return EFI_INVALID_PARAMETER;
|
|
return EFI_INVALID_PARAMETER;
|
|
}
|
|
}
|
|
|
|
|
|
|
|
+ //
|
|
|
|
+ // This is a device driver, so ChildHandle must be NULL.
|
|
|
|
+ //
|
|
|
|
+ if (ChildHandle != NULL) {
|
|
|
|
+ return EFI_UNSUPPORTED;
|
|
|
|
+ }
|
|
|
|
+
|
|
//
|
|
//
|
|
// confirm that the device is managed by this driver, using the VirtIo
|
|
// confirm that the device is managed by this driver, using the VirtIo
|
|
// Protocol
|
|
// Protocol
|