From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from us-smtp-delivery-1.mimecast.com (us-smtp-delivery-1.mimecast.com [207.211.31.81]) by mx.groups.io with SMTP id smtpd.web09.6480.1581037740853483110 for ; Thu, 06 Feb 2020 17:09:01 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=QIrSnp8q; spf=pass (domain: redhat.com, ip: 207.211.31.81, mailfrom: philmd@redhat.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1581037740; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=zWY9UwmeIqw584Bj6F0enr0Rs48BlAoKci2Zie9eWuQ=; b=QIrSnp8q5WdopkOQR3m83RjGQOuyr2CKM2a2EknCu3yeAfoNJ/OGR+IKL9oE4x0YmOoagh IATaHtO1K3ypBC5i8TVT/de/kVY670wX5JHPLFNj2aFq/b/PGbYsTDAYvL3n+0XXYob9+G ymZxun8+PAXTZpZHnuqzqsqGGVBYeho= Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-181-eK8lPQBfPBO1MNRYJzq5Gg-1; Thu, 06 Feb 2020 20:08:55 -0500 Received: from smtp.corp.redhat.com (int-mx06.intmail.prod.int.phx2.redhat.com [10.5.11.16]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 74736DB22; Fri, 7 Feb 2020 01:08:54 +0000 (UTC) Received: from x1w.redhat.com (ovpn-204-120.brq.redhat.com [10.40.204.120]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 631BC5C1BB; Fri, 7 Feb 2020 01:08:53 +0000 (UTC) From: =?UTF-8?B?UGhpbGlwcGUgTWF0aGlldS1EYXVkw6k=?= To: devel@edk2.groups.io Cc: Laszlo Ersek , Eric Dong Subject: [PATCH v3 11/78] MdeModulePkg/Bus/Ata: Fix various typos Date: Fri, 7 Feb 2020 02:07:24 +0100 Message-Id: <20200207010831.9046-12-philmd@redhat.com> In-Reply-To: <20200207010831.9046-1-philmd@redhat.com> References: <20200207010831.9046-1-philmd@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.16 X-MC-Unique: eK8lPQBfPBO1MNRYJzq5Gg-1 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable From: Antoine Coeur Fix various typos in documentation, comments and debug strings. Cc: Jian J Wang Cc: Hao A Wu Cc: Ray Ni Signed-off-by: Antoine Coeur Reviewed-by: Philippe Mathieu-Daude Acked-by: Liming Gao Signed-off-by: Philippe Mathieu-Daude --- MdeModulePkg/Bus/Ata/AtaBusDxe/AtaBusDxe.inf | 2 +- MdeModulePkg/Bus/Ata/AhciPei/AhciPei.h | 4 ++-- MdeModulePkg/Bus/Ata/AtaAtapiPassThru/AhciMode.h | 4 ++-- .../Bus/Ata/AtaAtapiPassThru/AtaAtapiPassThru.h | 4 ++-- MdeModulePkg/Bus/Ata/AtaAtapiPassThru/IdeMode.h | 2 +- MdeModulePkg/Bus/Ata/AtaBusDxe/AtaBus.h | 12 ++++++------ MdeModulePkg/Bus/Ata/AhciPei/AhciMode.c | 8 ++++---- MdeModulePkg/Bus/Ata/AtaAtapiPassThru/AhciMode.c | 14 +++++++------- .../Bus/Ata/AtaAtapiPassThru/AtaAtapiPassThru.c | 8 ++++---- MdeModulePkg/Bus/Ata/AtaAtapiPassThru/IdeMode.c | 16 ++++++++-------- MdeModulePkg/Bus/Ata/AtaBusDxe/AtaBus.c | 10 +++++----- .../Bus/Ata/AtaBusDxe/AtaPassThruExecute.c | 4 ++-- MdeModulePkg/Bus/Ata/AtaBusDxe/AtaBusDxe.uni | 2 +- 13 files changed, 45 insertions(+), 45 deletions(-) diff --git a/MdeModulePkg/Bus/Ata/AtaBusDxe/AtaBusDxe.inf b/MdeModulePkg/Bu= s/Ata/AtaBusDxe/AtaBusDxe.inf index c3ab5c18f148..086ec5f7c6d3 100644 --- a/MdeModulePkg/Bus/Ata/AtaBusDxe/AtaBusDxe.inf +++ b/MdeModulePkg/Bus/Ata/AtaBusDxe/AtaBusDxe.inf @@ -1,5 +1,5 @@ ## @file -# ATA Bus driver to enumerate and identfy ATA devices. +# ATA Bus driver to enumerate and identify ATA devices. # # This driver follows UEFI driver model and layers on ATA Pass Thru proto= col defined # in UEFI spec 2.2. It installs Block IO and Disk Info protocol for each = ATA device diff --git a/MdeModulePkg/Bus/Ata/AhciPei/AhciPei.h b/MdeModulePkg/Bus/Ata/= AhciPei/AhciPei.h index 9a34dc6e4f15..2be78076bee7 100644 --- a/MdeModulePkg/Bus/Ata/AhciPei/AhciPei.h +++ b/MdeModulePkg/Bus/Ata/AhciPei/AhciPei.h @@ -161,7 +161,7 @@ typedef struct { UINT8 AhciD2HRegisterFis[0x14]; // D2H Register Fis: offset 0x4= 0 UINT8 AhciD2HRegisterFisRsvd[0x04]; UINT64 AhciSetDeviceBitsFis; // Set Device Bits Fix: offset = 0x58 - UINT8 AhciUnknownFis[0x40]; // Unkonwn Fis: offset 0x60 + UINT8 AhciUnknownFis[0x40]; // Unknown Fis: offset 0x60 UINT8 AhciUnknownFisRsvd[0x60]; } EFI_AHCI_RECEIVED_FIS; =20 @@ -239,7 +239,7 @@ typedef struct { } EFI_AHCI_COMMAND_PRDT; =20 // -// Command table Data strucute which is pointed to by the entry in the com= mand list +// Command table Data structure which is pointed to by the entry in the co= mmand list // typedef struct { EFI_AHCI_COMMAND_FIS CommandFis; // A software constructed FI= S. diff --git a/MdeModulePkg/Bus/Ata/AtaAtapiPassThru/AhciMode.h b/MdeModulePk= g/Bus/Ata/AtaAtapiPassThru/AhciMode.h index 66d5da0b714c..786413930ae9 100644 --- a/MdeModulePkg/Bus/Ata/AtaAtapiPassThru/AhciMode.h +++ b/MdeModulePkg/Bus/Ata/AtaAtapiPassThru/AhciMode.h @@ -263,7 +263,7 @@ typedef struct { } EFI_AHCI_COMMAND_PRDT; =20 // -// Command table data strucute which is pointed to by the entry in the com= mand list +// Command table data structure which is pointed to by the entry in the co= mmand list // typedef struct { EFI_AHCI_COMMAND_FIS CommandFis; // A software constructed FI= S. @@ -283,7 +283,7 @@ typedef struct { UINT8 AhciD2HRegisterFis[0x14]; // D2H Register Fis: offset 0x40 UINT8 AhciD2HRegisterFisRsvd[0x04]; UINT64 AhciSetDeviceBitsFis; // Set Device Bits Fix: offset 0= x58 - UINT8 AhciUnknownFis[0x40]; // Unkonwn Fis: offset 0x60 + UINT8 AhciUnknownFis[0x40]; // Unknown Fis: offset 0x60 UINT8 AhciUnknownFisRsvd[0x60]; } EFI_AHCI_RECEIVED_FIS; =20 diff --git a/MdeModulePkg/Bus/Ata/AtaAtapiPassThru/AtaAtapiPassThru.h b/Mde= ModulePkg/Bus/Ata/AtaAtapiPassThru/AtaAtapiPassThru.h index de9e1ee98f19..5f582b9b3e76 100644 --- a/MdeModulePkg/Bus/Ata/AtaAtapiPassThru/AtaAtapiPassThru.h +++ b/MdeModulePkg/Bus/Ata/AtaAtapiPassThru/AtaAtapiPassThru.h @@ -384,7 +384,7 @@ AtaAtapiPassThruSupported ( @retval EFI_SUCCESS The device was started. @retval EFI_DEVICE_ERROR The device could not be started due to = a device error.Currently not implemented. @retval EFI_OUT_OF_RESOURCES The request could not be completed due = to a lack of resources. - @retval Others The driver failded to start the device. + @retval Others The driver failed to start the device. =20 **/ EFI_STATUS @@ -521,7 +521,7 @@ EnumerateAttachedDevice ( ); =20 /** - Call back funtion when the timer event is signaled. + Call back function when the timer event is signaled. =20 @param[in] Event The Event this notify function registered to. @param[in] Context Pointer to the context data registered to the diff --git a/MdeModulePkg/Bus/Ata/AtaAtapiPassThru/IdeMode.h b/MdeModulePkg= /Bus/Ata/AtaAtapiPassThru/IdeMode.h index 39273c5b02db..c39ebd06679d 100644 --- a/MdeModulePkg/Bus/Ata/AtaAtapiPassThru/IdeMode.h +++ b/MdeModulePkg/Bus/Ata/AtaAtapiPassThru/IdeMode.h @@ -158,7 +158,7 @@ typedef struct { =20 @retval EFI_UNSUPPORTED Return this value when the BARs is not IO= type @retval EFI_SUCCESS Get the Base address successfully - @retval Other Read the pci configureation data error + @retval Other Read the pci configuration data error =20 **/ EFI_STATUS diff --git a/MdeModulePkg/Bus/Ata/AtaBusDxe/AtaBus.h b/MdeModulePkg/Bus/Ata= /AtaBusDxe/AtaBus.h index 54c0f3d30fc2..a5a865209942 100644 --- a/MdeModulePkg/Bus/Ata/AtaBusDxe/AtaBus.h +++ b/MdeModulePkg/Bus/Ata/AtaBusDxe/AtaBus.h @@ -408,7 +408,7 @@ AtaBusDriverBindingSupported ( @retval EFI_SUCCESS The device was started. @retval EFI_DEVICE_ERROR The device could not be started due to = a device error.Currently not implemented. @retval EFI_OUT_OF_RESOURCES The request could not be completed due = to a lack of resources. - @retval Others The driver failded to start the device. + @retval Others The driver failed to start the device. =20 **/ EFI_STATUS @@ -614,7 +614,7 @@ AtaBlockIoReset ( @retval EFI_SUCCESS The data was read correctly from the devic= e. @retval EFI_DEVICE_ERROR The device reported an error while perform= ing the read. @retval EFI_NO_MEDIA There is no media in the device. - @retval EFI_MEDIA_CHANGED The MediaId does not matched the current d= evice. + @retval EFI_MEDIA_CHANGED The MediaId does not match the current dev= ice. @retval EFI_BAD_BUFFER_SIZE The Buffer was not a multiple of the block= size of the device. @retval EFI_INVALID_PARAMETER The read request contains LBAs that are no= t valid, or the buffer is not on proper alignment. @@ -645,7 +645,7 @@ AtaBlockIoReadBlocks ( @retval EFI_WRITE_PROTECTED The device can not be written to. @retval EFI_DEVICE_ERROR The device reported an error while perform= ing the write. @retval EFI_NO_MEDIA There is no media in the device. - @retval EFI_MEDIA_CHNAGED The MediaId does not matched the current d= evice. + @retval EFI_MEDIA_CHANGED The MediaId does not match the current dev= ice. @retval EFI_BAD_BUFFER_SIZE The Buffer was not a multiple of the block= size of the device. @retval EFI_INVALID_PARAMETER The write request contains LBAs that are n= ot valid, or the buffer is not on proper alignment. @@ -679,7 +679,7 @@ AtaBlockIoFlushBlocks ( ); =20 /** - Reset the Block Device throught Block I/O2 protocol. + Reset the Block Device through Block I/O2 protocol. =20 @param[in] This Indicates a pointer to the calling cont= ext. @param[in] ExtendedVerification Driver may perform diagnostics on reset= . @@ -749,7 +749,7 @@ AtaBlockIoReadBlocksEx ( @retval EFI_WRITE_PROTECTED The device can not be written to. @retval EFI_DEVICE_ERROR The device reported an error while perform= ing the write. @retval EFI_NO_MEDIA There is no media in the device. - @retval EFI_MEDIA_CHNAGED The MediaId does not matched the current d= evice. + @retval EFI_MEDIA_CHANGED The MediaId does not match the current dev= ice. @retval EFI_BAD_BUFFER_SIZE The Buffer was not a multiple of the block= size of the device. @retval EFI_INVALID_PARAMETER The write request contains LBAs that are n= ot valid, or the buffer is not on proper alignment. @@ -1061,7 +1061,7 @@ AtaStorageSecuritySendData ( Typically, there are 2 mechanism for resetting eDrive. They are: 1. TPer Reset through IEEE 1667 protocol. 2. TPer Reset through native TCG protocol. - This routine will detect what protocol the attached eDrive comform to, T= CG or + This routine will detect what protocol the attached eDrive conform to, T= CG or IEEE 1667 protocol. Then send out TPer Reset command separately. =20 @param[in] AtaDevice ATA_DEVICE pointer. diff --git a/MdeModulePkg/Bus/Ata/AhciPei/AhciMode.c b/MdeModulePkg/Bus/Ata= /AhciPei/AhciMode.c index 8c491bd13865..7636ad27c86c 100644 --- a/MdeModulePkg/Bus/Ata/AhciPei/AhciMode.c +++ b/MdeModulePkg/Bus/Ata/AhciPei/AhciMode.c @@ -266,7 +266,7 @@ AhciWaitMemSet ( =20 do { // - // Access sytem memory to see if the value is the tested one. + // Access system memory to see if the value is the tested one. // // The system memory pointed by Address will be updated by the // SATA Host Controller, "volatile" is introduced to prevent @@ -520,7 +520,7 @@ AhciBuildCommand ( } =20 /** - Buid a command FIS. + Build a command FIS. =20 @param[in,out] CmdFis A pointer to the EFI_AHCI_COMMAND_FIS = data structure. @@ -801,7 +801,7 @@ AhciPioTransfer ( AhciWriteReg (AhciBar, Offset, Data64.Uint32.Upper32); =20 // - // Single task envrionment, we only use one command table for all port + // Single task environment, we only use one command table for all port // Offset =3D AHCI_PORT_START + Port * AHCI_PORT_REG_WIDTH + AHCI_PORT_CLB; OldCmdListLo =3D AhciReadReg (AhciBar, Offset); @@ -1843,7 +1843,7 @@ AhciModeInitialization ( if (EFI_ERROR (Status)) { DEBUG (( DEBUG_ERROR, - "%a: Error occured when waiting for the first D2H register FIS -= %r\n", + "%a: Error occurred when waiting for the first D2H register FIS = - %r\n", __FUNCTION__, Status )); continue; diff --git a/MdeModulePkg/Bus/Ata/AtaAtapiPassThru/AhciMode.c b/MdeModulePk= g/Bus/Ata/AtaAtapiPassThru/AhciMode.c index 00aa7e686c34..79d051761d6a 100644 --- a/MdeModulePkg/Bus/Ata/AtaAtapiPassThru/AhciMode.c +++ b/MdeModulePkg/Bus/Ata/AtaAtapiPassThru/AhciMode.c @@ -219,7 +219,7 @@ AhciWaitMemSet ( =20 do { // - // Access sytem memory to see if the value is the tested one. + // Access system memory to see if the value is the tested one. // // The system memory pointed by Address will be updated by the // SATA Host Controller, "volatile" is introduced to prevent @@ -581,7 +581,7 @@ AhciBuildCommand ( } =20 /** - Buid a command FIS. + Build a command FIS. =20 @param CmdFis A pointer to the EFI_AHCI_COMMAND_FIS data str= ucture. @param AtaCommandBlock A pointer to the AhciBuildCommandFis data stru= cture. @@ -997,7 +997,7 @@ AhciDmaTransfer ( } =20 // - // Wait for command compelte + // Wait for command complete // FisBaseAddr =3D (UINTN)AhciRegisters->AhciRFis + Port * sizeof (EFI_AHCI= _RECEIVED_FIS); Offset =3D FisBaseAddr + EFI_AHCI_D2H_FIS_OFFSET; @@ -1903,7 +1903,7 @@ AhciCreateTransferDescriptor ( =20 PortImplementBitMap =3D AhciReadReg(PciIo, EFI_AHCI_PI_OFFSET); // - // Get the highest bit of implemented ports which decides how many bytes= are allocated for recived FIS. + // Get the highest bit of implemented ports which decides how many bytes= are allocated for received FIS. // MaxPortNumber =3D (UINT8)(UINTN)(HighBitSet32(PortImplementBitMap= ) + 1); if (MaxPortNumber =3D=3D 0) { @@ -1958,7 +1958,7 @@ AhciCreateTransferDescriptor ( =20 // // Allocate memory for command list - // Note that the implemenation is a single task model which only use a c= ommand list for all ports. + // Note that the implementation is a single task model which only use a = command list for all ports. // Buffer =3D NULL; MaxCommandListSize =3D MaxCommandSlotNumber * sizeof (EFI_AHCI_COMMAND_L= IST); @@ -2713,7 +2713,7 @@ AhciModeInitialization ( } else { continue; } - DEBUG ((EFI_D_INFO, "port [%d] port mulitplier [%d] has a [%a]\n", + DEBUG ((EFI_D_INFO, "port [%d] port multitplier [%d] has a [%a]\n", Port, 0, DeviceType =3D=3D EfiIdeCdrom ? "cdrom" : "harddisk= ")); =20 // @@ -2761,7 +2761,7 @@ AhciModeInitialization ( TransferMode.ModeNumber =3D (UINT8) (SupportedModes->PioMode.Mode); =20 // - // Set supported DMA mode on this IDE device. Note that UDMA & MDMA = cann't + // Set supported DMA mode on this IDE device. Note that UDMA & MDMA = can't // be set together. Only one DMA mode can be set to a device. If set= ting // DMA mode operation fails, we can continue moving on because we on= ly use // PIO mode at boot time. DMA modes are used by certain kind of OS b= ooting diff --git a/MdeModulePkg/Bus/Ata/AtaAtapiPassThru/AtaAtapiPassThru.c b/Mde= ModulePkg/Bus/Ata/AtaAtapiPassThru/AtaAtapiPassThru.c index e5b8f40d03b3..86fe9d954fdb 100644 --- a/MdeModulePkg/Bus/Ata/AtaAtapiPassThru/AtaAtapiPassThru.c +++ b/MdeModulePkg/Bus/Ata/AtaAtapiPassThru/AtaAtapiPassThru.c @@ -1,5 +1,5 @@ /** @file - This file implements ATA_PASSTHRU_PROCTOCOL and EXT_SCSI_PASSTHRU_PROTOC= OL interfaces + This file implements ATA_PASSTHRU_PROTOCOL and EXT_SCSI_PASSTHRU_PROTOCO= L interfaces for managed ATA controllers. =20 Copyright (c) 2010 - 2018, Intel Corporation. All rights reserved.
@@ -404,7 +404,7 @@ AsyncNonBlockingTransferRoutine ( Instance =3D (ATA_ATAPI_PASS_THRU_INSTANCE *) Context; EntryHeader =3D &Instance->NonBlockingTaskList; // - // Get the Taks from the Taks List and execute it, until there is + // Get the Tasks from the Tasks List and execute it, until there is // no task in the list or the device is busy with task (EFI_NOT_READY). // while (TRUE) { @@ -538,7 +538,7 @@ AtaAtapiPassThruSupported ( EFI_IDE_CONTROLLER_INIT_PROTOCOL *IdeControllerInit; =20 // - // SATA Controller is a device driver, and should ingore the + // SATA Controller is a device driver, and should ignore the // "RemainingDevicePath" according to UEFI spec // Status =3D gBS->OpenProtocol ( @@ -659,7 +659,7 @@ AtaAtapiPassThruSupported ( @retval EFI_SUCCESS The device was started. @retval EFI_DEVICE_ERROR The device could not be started due to = a device error.Currently not implemented. @retval EFI_OUT_OF_RESOURCES The request could not be completed due = to a lack of resources. - @retval Others The driver failded to start the device. + @retval Others The driver failed to start the device. =20 **/ EFI_STATUS diff --git a/MdeModulePkg/Bus/Ata/AtaAtapiPassThru/IdeMode.c b/MdeModulePkg= /Bus/Ata/AtaAtapiPassThru/IdeMode.c index ac055f00422f..d284cc600b6a 100644 --- a/MdeModulePkg/Bus/Ata/AtaAtapiPassThru/IdeMode.c +++ b/MdeModulePkg/Bus/Ata/AtaAtapiPassThru/IdeMode.c @@ -46,7 +46,7 @@ IdeReadPortB ( write a 1-byte data to a specific IDE port. =20 @param PciIo A pointer to EFI_PCI_IO_PROTOCOL data structure - @param Port The IDE port to be writen + @param Port The IDE port to be written @param Data The data to write to the port **/ VOID @@ -76,7 +76,7 @@ IdeWritePortB ( write a 1-word data to a specific IDE port. =20 @param PciIo A pointer to EFI_PCI_IO_PROTOCOL data structure - @param Port The IDE port to be writen + @param Port The IDE port to be written @param Data The data to write to the port **/ VOID @@ -106,7 +106,7 @@ IdeWritePortW ( write a 2-word data to a specific IDE port. =20 @param PciIo A pointer to EFI_PCI_IO_PROTOCOL data structure - @param Port The IDE port to be writen + @param Port The IDE port to be written @param Data The data to write to the port **/ VOID @@ -718,12 +718,12 @@ WaitForBSYClear ( Table 2. BARs for Register Mapping =20 @param[in] PciIo Pointer to the EFI_PCI_IO_PROTOCOL instan= ce - @param[in, out] IdeRegisters Pointer to EFI_IDE_REGISTERS which is us= ed to + @param[in, out] IdeRegisters Pointer to EFI_IDE_REGISTERS which is use= d to store the IDE i/o port registers' base ad= dresses =20 @retval EFI_UNSUPPORTED Return this value when the BARs is not IO= type @retval EFI_SUCCESS Get the Base address successfully - @retval Other Read the pci configureation data error + @retval Other Read the pci configuration data error =20 **/ EFI_STATUS @@ -983,7 +983,7 @@ AtaPioDataInOut ( Increment =3D 256; =20 // - // used to record bytes of currently transfered data + // used to record bytes of currently transferred data // WordCount =3D 0; =20 @@ -1688,7 +1688,7 @@ AtaPacketReadWrite ( RequiredWordCount =3D *ByteCount >> 1; =20 // - // No data transfer is premitted. + // No data transfer is permitted. // if (RequiredWordCount =3D=3D 0) { return EFI_SUCCESS; @@ -2509,7 +2509,7 @@ DetectAndConfigIdeDevice ( } =20 // - // Set supported DMA mode on this IDE device. Note that UDMA & MDMA ca= nn't + // Set supported DMA mode on this IDE device. Note that UDMA & MDMA ca= n't // be set together. Only one DMA mode can be set to a device. If setti= ng // DMA mode operation fails, we can continue moving on because we only= use // PIO mode at boot time. DMA modes are used by certain kind of OS boo= ting diff --git a/MdeModulePkg/Bus/Ata/AtaBusDxe/AtaBus.c b/MdeModulePkg/Bus/Ata= /AtaBusDxe/AtaBus.c index f93afab3bba7..28f8638c52fa 100644 --- a/MdeModulePkg/Bus/Ata/AtaBusDxe/AtaBus.c +++ b/MdeModulePkg/Bus/Ata/AtaBusDxe/AtaBus.c @@ -703,7 +703,7 @@ AtaBusDriverBindingSupported ( @retval EFI_SUCCESS The device was started. @retval EFI_DEVICE_ERROR The device could not be started due to = a device error.Currently not implemented. @retval EFI_OUT_OF_RESOURCES The request could not be completed due = to a lack of resources. - @retval Others The driver failded to start the device. + @retval Others The driver failed to start the device. =20 **/ EFI_STATUS @@ -1007,7 +1007,7 @@ AtaBlockIoReset ( @retval EFI_WRITE_PROTECTED The device can not be read/written to. @retval EFI_DEVICE_ERROR The device reported an error while perform= ing the read/write. @retval EFI_NO_MEDIA There is no media in the device. - @retval EFI_MEDIA_CHNAGED The MediaId does not matched the current d= evice. + @retval EFI_MEDIA_CHANGED The MediaId does not match the current dev= ice. @retval EFI_BAD_BUFFER_SIZE The Buffer was not a multiple of the block= size of the device. @retval EFI_INVALID_PARAMETER The read/write request contains LBAs that = are not valid, or the buffer is not on proper alignment. @@ -1101,7 +1101,7 @@ BlockIoReadWrite ( @retval EFI_SUCCESS The data was read correctly from the devic= e. @retval EFI_DEVICE_ERROR The device reported an error while perform= ing the read. @retval EFI_NO_MEDIA There is no media in the device. - @retval EFI_MEDIA_CHANGED The MediaId does not matched the current d= evice. + @retval EFI_MEDIA_CHANGED The MediaId does not match the current dev= ice. @retval EFI_BAD_BUFFER_SIZE The Buffer was not a multiple of the block= size of the device. @retval EFI_INVALID_PARAMETER The read request contains LBAs that are no= t valid, or the buffer is not on proper alignment. @@ -1135,7 +1135,7 @@ AtaBlockIoReadBlocks ( @retval EFI_WRITE_PROTECTED The device can not be written to. @retval EFI_DEVICE_ERROR The device reported an error while perform= ing the write. @retval EFI_NO_MEDIA There is no media in the device. - @retval EFI_MEDIA_CHNAGED The MediaId does not matched the current d= evice. + @retval EFI_MEDIA_CHANGED The MediaId does not match the current dev= ice. @retval EFI_BAD_BUFFER_SIZE The Buffer was not a multiple of the block= size of the device. @retval EFI_INVALID_PARAMETER The write request contains LBAs that are n= ot valid, or the buffer is not on proper alignment. @@ -1272,7 +1272,7 @@ AtaBlockIoReadBlocksEx ( @retval EFI_WRITE_PROTECTED The device can not be written to. @retval EFI_DEVICE_ERROR The device reported an error while perform= ing the write. @retval EFI_NO_MEDIA There is no media in the device. - @retval EFI_MEDIA_CHNAGED The MediaId does not matched the current d= evice. + @retval EFI_MEDIA_CHANGED The MediaId does not match the current dev= ice. @retval EFI_BAD_BUFFER_SIZE The Buffer was not a multiple of the block= size of the device. @retval EFI_INVALID_PARAMETER The write request contains LBAs that are n= ot valid, or the buffer is not on proper alignment. diff --git a/MdeModulePkg/Bus/Ata/AtaBusDxe/AtaPassThruExecute.c b/MdeModul= ePkg/Bus/Ata/AtaBusDxe/AtaPassThruExecute.c index fd483cb9a465..79026a4a957d 100644 --- a/MdeModulePkg/Bus/Ata/AtaBusDxe/AtaPassThruExecute.c +++ b/MdeModulePkg/Bus/Ata/AtaBusDxe/AtaPassThruExecute.c @@ -536,7 +536,7 @@ TransferAtaDevice ( // // As AtaBus is used to manage ATA devices, we have to use the lowest tr= ansfer rate to // calculate the possible maximum timeout value for each read/write oper= ation. - // The timout value is rounded up to nearest integar and here an additio= nal 30s is added + // The timeout value is rounded up to nearest integer and here an additi= onal 30s is added // to follow ATA spec in which it mentioned that the device may take up = to 30s to respond // commands in the Standby/Idle mode. // @@ -634,7 +634,7 @@ AtaTerminateNonBlockingTask ( } =20 /** - Call back funtion when the event is signaled. + Call back function when the event is signaled. =20 @param[in] Event The Event this notify function registered to. @param[in] Context Pointer to the context data registered to the diff --git a/MdeModulePkg/Bus/Ata/AtaBusDxe/AtaBusDxe.uni b/MdeModulePkg/Bu= s/Ata/AtaBusDxe/AtaBusDxe.uni index 00bebce11c2c..ec4aab24d5f6 100644 --- a/MdeModulePkg/Bus/Ata/AtaBusDxe/AtaBusDxe.uni +++ b/MdeModulePkg/Bus/Ata/AtaBusDxe/AtaBusDxe.uni @@ -1,5 +1,5 @@ // /** @file -// ATA Bus driver to enumerate and identfy ATA devices. +// ATA Bus driver to enumerate and identify ATA devices. // // This driver follows UEFI driver model and layers on ATA Pass Thru proto= col defined // in UEFI spec 2.2. It installs Block IO and Disk Info protocol for each = ATA device --=20 2.21.1