diff options
author | klu2 <klu2@6f19259b-4bc3-4df7-8a09-765794883524> | 2007-06-29 03:27:28 +0000 |
---|---|---|
committer | klu2 <klu2@6f19259b-4bc3-4df7-8a09-765794883524> | 2007-06-29 03:27:28 +0000 |
commit | a02e796b5edcdd538c6052b8b65798eb77436504 (patch) | |
tree | 42100161ab1b85a14273f3fa9684c6e4bed04098 /MdePkg/Include | |
parent | fd7a76af08f21401713f4ca595c0bdde49f6f388 (diff) | |
download | edk2-platforms-a02e796b5edcdd538c6052b8b65798eb77436504.tar.xz |
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
Diffstat (limited to 'MdePkg/Include')
-rw-r--r-- | MdePkg/Include/IndustryStandard/Scsi.h | 5 | ||||
-rw-r--r-- | MdePkg/Include/Protocol/ScsiIo.h | 2 |
2 files changed, 6 insertions, 1 deletions
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;
};
|