]> git.proxmox.com Git - mirror_edk2.git/commit - OvmfPkg/MptScsiDxe/MptScsi.c
OvmfPkg/MptScsiDxe: Report targets and one LUN
authorNikita Leshenko <nikita.leshchenko@oracle.com>
Mon, 4 May 2020 21:06:01 +0000 (00:06 +0300)
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Tue, 5 May 2020 20:43:02 +0000 (20:43 +0000)
commit093cceaf79b5d16880050a08e4bd465954ea6a97
tree5f6639c261e6af40b8584d6f98d19c9f360f1a62
parenta53e5b417413bae3f3ea89976380d169e2f6861d
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>
OvmfPkg/MptScsiDxe/MptScsi.c
OvmfPkg/MptScsiDxe/MptScsiDxe.inf
OvmfPkg/OvmfPkg.dec