summaryrefslogtreecommitdiffstats
path: root/MdePkg/Library/UefiScsiLib
diff options
context:
space:
mode:
authorqhuang8 <qhuang8@6f19259b-4bc3-4df7-8a09-765794883524>2009-04-15 14:31:45 +0000
committerqhuang8 <qhuang8@6f19259b-4bc3-4df7-8a09-765794883524>2009-04-15 14:31:45 +0000
commit51969ecb37e8d671c0237e936d79a51b7ca646ff (patch)
tree1d62d24d3a5cf080378d7dc0ec8d73ee6c017e19 /MdePkg/Library/UefiScsiLib
parentaeb90c4a15e90a85121e47b541baeaeff1e150a4 (diff)
downloadedk2-51969ecb37e8d671c0237e936d79a51b7ca646ff.tar.gz
edk2-51969ecb37e8d671c0237e936d79a51b7ca646ff.tar.bz2
edk2-51969ecb37e8d671c0237e936d79a51b7ca646ff.zip
Fix several minor coding style issues.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8092 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'MdePkg/Library/UefiScsiLib')
-rw-r--r--MdePkg/Library/UefiScsiLib/UefiScsiLib.c19
1 files changed, 9 insertions, 10 deletions
diff --git a/MdePkg/Library/UefiScsiLib/UefiScsiLib.c b/MdePkg/Library/UefiScsiLib/UefiScsiLib.c
index 1458efd2f9..2b770b58e3 100644
--- a/MdePkg/Library/UefiScsiLib/UefiScsiLib.c
+++ b/MdePkg/Library/UefiScsiLib/UefiScsiLib.c
@@ -539,7 +539,7 @@ ScsiRequestSenseCommand (
Executes the SCSI Read Capacity command on the SCSI target specified by ScsiIo.
If Timeout is zero, then this function waits indefinitely for the command to complete.
If Timeout is greater than zero, then the command is executed and will timeout after
- Timeout 100 ns units. The PMI parameter is used to construct the CDB for this SCSI command.
+ Timeout 100 ns units. The Pmi parameter is used to construct the CDB for this SCSI command.
If ScsiIo is NULL, then ASSERT().
If SenseDataLength is NULL, then ASSERT().
If HostAdapterStatus is NULL, then ASSERT().
@@ -554,7 +554,7 @@ ScsiRequestSenseCommand (
@param[out] TargetStatus The status of the target.
@param[in, out] DataBuffer A pointer to a data buffer.
@param[in, out] DataLength The length of data buffer.
- @param[in] PMI Partial medium indicator.
+ @param[in] Pmi Partial medium indicator.
@retval EFI_SUCCESS Command is executed successfully.
@retval EFI_BAD_BUFFER_SIZE The SCSI Request Packet was executed, but the entire
@@ -579,7 +579,7 @@ ScsiReadCapacityCommand (
OUT UINT8 *TargetStatus,
IN OUT VOID *DataBuffer, OPTIONAL
IN OUT UINT32 *DataLength,
- IN BOOLEAN PMI
+ IN BOOLEAN Pmi
)
{
EFI_SCSI_IO_SCSI_REQUEST_PACKET CommandPacket;
@@ -611,9 +611,9 @@ ScsiReadCapacityCommand (
Cdb[0] = EFI_SCSI_OP_READ_CAPACITY;
Cdb[1] = (UINT8) (Lun & EFI_SCSI_LOGICAL_UNIT_NUMBER_MASK);
- if (!PMI) {
+ if (!Pmi) {
//
- // Partial medium indicator,if PMI is FALSE, the Cdb.2 ~ Cdb.5 MUST BE ZERO.
+ // Partial medium indicator,if Pmi is FALSE, the Cdb.2 ~ Cdb.5 MUST BE ZERO.
//
ZeroMem ((Cdb + 2), 4);
} else {
@@ -646,7 +646,7 @@ ScsiReadCapacityCommand (
@param TargetStatus The status of the target.
@param DataBuffer A pointer to a data buffer.
@param DataLength The length of data buffer.
- @param PMI Partial medium indicator.
+ @param Pmi Partial medium indicator.
@retval EFI_SUCCESS The status of the unit is tested successfully.
@retval EFI_BAD_BUFFER_SIZE The SCSI Request Packet was executed,
@@ -666,7 +666,6 @@ ScsiReadCapacityCommand (
Request Packet to execute.
**/
-
EFI_STATUS
EFIAPI
ScsiReadCapacity16Command (
@@ -678,7 +677,7 @@ ScsiReadCapacity16Command (
OUT UINT8 *TargetStatus,
OUT VOID *DataBuffer,
IN OUT UINT32 *DataLength,
- IN BOOLEAN PMI
+ IN BOOLEAN Pmi
)
{
EFI_SCSI_IO_SCSI_REQUEST_PACKET CommandPacket;
@@ -704,9 +703,9 @@ ScsiReadCapacity16Command (
Cdb[0] = EFI_SCSI_OP_READ_CAPACITY16;
Cdb[1] = 0x10;
- if (!PMI) {
+ if (!Pmi) {
//
- // Partial medium indicator,if PMI is FALSE, the Cdb.2 ~ Cdb.9 MUST BE ZERO.
+ // Partial medium indicator,if Pmi is FALSE, the Cdb.2 ~ Cdb.9 MUST BE ZERO.
//
ZeroMem ((Cdb + 2), 8);
} else {