]> git.proxmox.com Git - mirror_edk2.git/commit - OvmfPkg/MptScsiDxe/MptScsi.c
OvmfPkg/MptScsiDxe: Probe PCI devices and look for MptScsi
authorNikita Leshenko <nikita.leshchenko@oracle.com>
Mon, 4 May 2020 21:05:59 +0000 (00:05 +0300)
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Tue, 5 May 2020 20:43:02 +0000 (20:43 +0000)
commitf47074425d2ecdd03cb651cc218b88226ad4a0fb
treec23de175610993700b45dab23789827eaf85eda7
parentbe7fcaa1c9e952aaacdcbe806933ce70a391aa78
OvmfPkg/MptScsiDxe: Probe PCI devices and look for MptScsi

The MptScsiControllerSupported function is called on handles passed in
by the ConnectController() boot service and if the handle is the
lsi53c1030 controller the function would return success. A successful
return value will attach our driver to the device.

Ref: https://bugzilla.tianocore.org/show_bug.cgi?id=2390
Signed-off-by: Nikita Leshenko <nikita.leshchenko@oracle.com>
Reviewed-by: Laszlo Ersek <lersek@redhat.com>
Reviewed-by: Liran Alon <liran.alon@oracle.com>
Message-Id: <20200504210607.144434-5-nikita.leshchenko@oracle.com>
OvmfPkg/Include/IndustryStandard/FusionMptScsi.h [new file with mode: 0644]
OvmfPkg/MptScsiDxe/MptScsi.c
OvmfPkg/MptScsiDxe/MptScsiDxe.inf