summaryrefslogtreecommitdiffstats
path: root/OvmfPkg/MptScsiDxe/MptScsiDxe.inf
diff options
context:
space:
mode:
authorNikita Leshenko <nikita.leshchenko@oracle.com>2020-05-05 00:06:01 +0300
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>2020-05-05 20:43:02 +0000
commit093cceaf79b5d16880050a08e4bd465954ea6a97 (patch)
tree5f6639c261e6af40b8584d6f98d19c9f360f1a62 /OvmfPkg/MptScsiDxe/MptScsiDxe.inf
parenta53e5b417413bae3f3ea89976380d169e2f6861d (diff)
downloadedk2-093cceaf79b5d16880050a08e4bd465954ea6a97.tar.gz
edk2-093cceaf79b5d16880050a08e4bd465954ea6a97.tar.bz2
edk2-093cceaf79b5d16880050a08e4bd465954ea6a97.zip
OvmfPkg/MptScsiDxe: Report targets and one LUN
The controller supports up to 8 targets in practice (Not reported by the controller, but based on the implementation of the virtual device), report them in GetNextTarget and GetNextTargetLun. The firmware will then try to communicate with them and create a block device for each one that responds. Support for multiple LUNs will be implemented in another series. 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> Message-Id: <20200504210607.144434-7-nikita.leshchenko@oracle.com>
Diffstat (limited to 'OvmfPkg/MptScsiDxe/MptScsiDxe.inf')
-rw-r--r--OvmfPkg/MptScsiDxe/MptScsiDxe.inf5
1 files changed, 5 insertions, 0 deletions
diff --git a/OvmfPkg/MptScsiDxe/MptScsiDxe.inf b/OvmfPkg/MptScsiDxe/MptScsiDxe.inf
index 9f7c98829e..d5fd2516e4 100644
--- a/OvmfPkg/MptScsiDxe/MptScsiDxe.inf
+++ b/OvmfPkg/MptScsiDxe/MptScsiDxe.inf
@@ -24,8 +24,10 @@
OvmfPkg/OvmfPkg.dec
[LibraryClasses]
+ BaseMemoryLib
DebugLib
MemoryAllocationLib
+ PcdLib
UefiBootServicesTableLib
UefiDriverEntryPoint
UefiLib
@@ -33,3 +35,6 @@
[Protocols]
gEfiExtScsiPassThruProtocolGuid ## BY_START
gEfiPciIoProtocolGuid ## TO_START
+
+[FixedPcd]
+ gUefiOvmfPkgTokenSpaceGuid.PcdMptScsiMaxTargetLimit ## CONSUMES