diff options
author | Liran Alon <liran.alon@oracle.com> | 2020-03-28 23:00:47 +0300 |
---|---|---|
committer | mergify[bot] <37929162+mergify[bot]@users.noreply.github.com> | 2020-03-30 16:45:07 +0000 |
commit | a9f9d5cf5636d9757be542a2544729f343bb607e (patch) | |
tree | a80558f1e1ca5764b3dff043dcf7f34a5d671d4c /OvmfPkg/PvScsiDxe/PvScsiDxe.inf | |
parent | 419b30d642264bef34f9054a4adf64bf4f9e31aa (diff) | |
download | edk2-a9f9d5cf5636d9757be542a2544729f343bb607e.tar.gz edk2-a9f9d5cf5636d9757be542a2544729f343bb607e.tar.bz2 edk2-a9f9d5cf5636d9757be542a2544729f343bb607e.zip |
OvmfPkg/PvScsiDxe: Probe PCI devices and look for PvScsi
PvScsiControllerSupported() is called on handles passed in
by the ConnectController() boot service and if the handle is the
PVSCSI controller, the function would return success. A success
return value will attach our driver to the device.
Ref: https://bugzilla.tianocore.org/show_bug.cgi?id=2567
Reviewed-by: Laszlo Ersek <lersek@redhat.com>
Signed-off-by: Liran Alon <liran.alon@oracle.com>
Message-Id: <20200328200100.60786-5-liran.alon@oracle.com>
Reviewed-by: Nikita Leshenko <nikita.leshchenko@oracle.com>
Diffstat (limited to 'OvmfPkg/PvScsiDxe/PvScsiDxe.inf')
-rw-r--r-- | OvmfPkg/PvScsiDxe/PvScsiDxe.inf | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/OvmfPkg/PvScsiDxe/PvScsiDxe.inf b/OvmfPkg/PvScsiDxe/PvScsiDxe.inf index d1d0e963f9..c1f0663832 100644 --- a/OvmfPkg/PvScsiDxe/PvScsiDxe.inf +++ b/OvmfPkg/PvScsiDxe/PvScsiDxe.inf @@ -22,7 +22,12 @@ [Packages]
MdePkg/MdePkg.dec
+ OvmfPkg/OvmfPkg.dec
[LibraryClasses]
+ UefiBootServicesTableLib
UefiDriverEntryPoint
UefiLib
+
+[Protocols]
+ gEfiPciIoProtocolGuid ## TO_START
|