OvmfPkg/MptScsiDxe: Implement the PassThru method
Machines should be able to boot after this commit. Tested with different Linux distributions (Ubuntu, CentOS) and different Windows versions (Windows 7, Windows 10, Server 2016). 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-12-nikita.leshchenko@oracle.com> [lersek@redhat.com: MPT_SCSI_DMA_ADDR_HIGH: drop redundant space char]
This commit is contained in:
committed by
mergify[bot]
parent
81cada9892
commit
505812ae1d
@@ -44,6 +44,15 @@
|
||||
|
||||
#define MPT_IOC_WHOINIT_ROM_BIOS 0x02
|
||||
|
||||
#define MPT_SCSIIO_REQUEST_CONTROL_TXDIR_NONE (0x00 << 24)
|
||||
#define MPT_SCSIIO_REQUEST_CONTROL_TXDIR_WRITE (0x01 << 24)
|
||||
#define MPT_SCSIIO_REQUEST_CONTROL_TXDIR_READ (0x02 << 24)
|
||||
|
||||
#define MPT_SCSI_IOCSTATUS_SUCCESS 0x0000
|
||||
#define MPT_SCSI_IOCSTATUS_DEVICE_NOT_THERE 0x0043
|
||||
#define MPT_SCSI_IOCSTATUS_DATA_OVERRUN 0x0044
|
||||
#define MPT_SCSI_IOCSTATUS_DATA_UNDERRUN 0x0045
|
||||
|
||||
//
|
||||
// Device structures
|
||||
//
|
||||
|
Reference in New Issue
Block a user