]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdeModulePkg/Bus/Ata/AtaAtapiPassThru/IdeMode.c
MdeModulePkg/Bus/Ata: Fix various typos
[mirror_edk2.git] / MdeModulePkg / Bus / Ata / AtaAtapiPassThru / IdeMode.c
index ac055f00422f132d283755f338967f4161033628..d284cc600b6ae28570662e3f740bb6fd3bf4cf5d 100644 (file)
@@ -46,7 +46,7 @@ IdeReadPortB (
   write a 1-byte data to a specific IDE port.\r
 \r
   @param  PciIo  A pointer to EFI_PCI_IO_PROTOCOL data structure\r
-  @param  Port   The IDE port to be writen\r
+  @param  Port   The IDE port to be written\r
   @param  Data   The data to write to the port\r
 **/\r
 VOID\r
@@ -76,7 +76,7 @@ IdeWritePortB (
   write a 1-word data to a specific IDE port.\r
 \r
   @param  PciIo  A pointer to EFI_PCI_IO_PROTOCOL data structure\r
-  @param  Port   The IDE port to be writen\r
+  @param  Port   The IDE port to be written\r
   @param  Data   The data to write to the port\r
 **/\r
 VOID\r
@@ -106,7 +106,7 @@ IdeWritePortW (
   write a 2-word data to a specific IDE port.\r
 \r
   @param  PciIo  A pointer to EFI_PCI_IO_PROTOCOL data structure\r
-  @param  Port   The IDE port to be writen\r
+  @param  Port   The IDE port to be written\r
   @param  Data   The data to write to the port\r
 **/\r
 VOID\r
@@ -718,12 +718,12 @@ WaitForBSYClear (
   Table 2. BARs for Register Mapping\r
 \r
   @param[in]      PciIo          Pointer to the EFI_PCI_IO_PROTOCOL instance\r
-  @param[in, out] IdeRegisters    Pointer to EFI_IDE_REGISTERS which is used to\r
+  @param[in, out] IdeRegisters   Pointer to EFI_IDE_REGISTERS which is used to\r
                                  store the IDE i/o port registers' base addresses\r
 \r
   @retval EFI_UNSUPPORTED        Return this value when the BARs is not IO type\r
   @retval EFI_SUCCESS            Get the Base address successfully\r
-  @retval Other                  Read the pci configureation data error\r
+  @retval Other                  Read the pci configuration data error\r
 \r
 **/\r
 EFI_STATUS\r
@@ -983,7 +983,7 @@ AtaPioDataInOut (
   Increment = 256;\r
 \r
   //\r
-  // used to record bytes of currently transfered data\r
+  // used to record bytes of currently transferred data\r
   //\r
   WordCount = 0;\r
 \r
@@ -1688,7 +1688,7 @@ AtaPacketReadWrite (
   RequiredWordCount = *ByteCount >> 1;\r
 \r
   //\r
-  // No data transfer is premitted.\r
+  // No data transfer is permitted.\r
   //\r
   if (RequiredWordCount == 0) {\r
     return EFI_SUCCESS;\r
@@ -2509,7 +2509,7 @@ DetectAndConfigIdeDevice (
     }\r
 \r
     //\r
-    // Set supported DMA mode on this IDE device. Note that UDMA & MDMA cann't\r
+    // Set supported DMA mode on this IDE device. Note that UDMA & MDMA can't\r
     // be set together. Only one DMA mode can be set to a device. If setting\r
     // DMA mode operation fails, we can continue moving on because we only use\r
     // PIO mode at boot time. DMA modes are used by certain kind of OS booting\r