From a02e796b5edcdd538c6052b8b65798eb77436504 Mon Sep 17 00:00:00 2001 From: klu2 Date: Fri, 29 Jun 2007 03:27:28 +0000 Subject: 1) Modify ScsiIo protocol according to UEFI specification 2) Add UefiScsiLib library instance. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2875 6f19259b-4bc3-4df7-8a09-765794883524 --- MdePkg/Include/IndustryStandard/Scsi.h | 5 +++++ MdePkg/Include/Protocol/ScsiIo.h | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) (limited to 'MdePkg/Include') diff --git a/MdePkg/Include/IndustryStandard/Scsi.h b/MdePkg/Include/IndustryStandard/Scsi.h index b8cca5fb8b..86f454f1f2 100644 --- a/MdePkg/Include/IndustryStandard/Scsi.h +++ b/MdePkg/Include/IndustryStandard/Scsi.h @@ -277,4 +277,9 @@ typedef struct { // #define EFI_SCSI_ASCQ_IN_PROGRESS (0x01) +// +// Max bytes needed to represent ID of a SCSI device +// +#define EFI_SCSI_TARGET_MAX_BYTES (0x10) + #endif diff --git a/MdePkg/Include/Protocol/ScsiIo.h b/MdePkg/Include/Protocol/ScsiIo.h index d20f9539ef..1e03705906 100644 --- a/MdePkg/Include/Protocol/ScsiIo.h +++ b/MdePkg/Include/Protocol/ScsiIo.h @@ -222,7 +222,7 @@ struct _EFI_SCSI_IO_PROTOCOL { EFI_SCSI_IO_PROTOCOL_GET_DEVICE_LOCATION GetDeviceLocation; EFI_SCSI_IO_PROTOCOL_RESET_BUS ResetBus; EFI_SCSI_IO_PROTOCOL_RESET_DEVICE ResetDevice; - EFI_SCSI_IO_PROTOCOL_EXEC_SCSI_COMMAND ExecuteSCSICommand; + EFI_SCSI_IO_PROTOCOL_EXEC_SCSI_COMMAND ExecuteScsiCommand; UINT32 IoAlign; }; -- cgit v1.2.3