]> git.proxmox.com Git - mirror_edk2.git/commitdiff
NetworkPkg/SnpDxe: Fix few typos
authorAntoine Coeur <coeur@gmx.fr>
Fri, 7 Feb 2020 01:07:59 +0000 (02:07 +0100)
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Mon, 10 Feb 2020 22:30:07 +0000 (22:30 +0000)
Fix few typos in comments and documentation.

Cc: Jiaxin Wu <jiaxin.wu@intel.com>
Cc: Siyuan Fu <siyuan.fu@intel.com>
Cc: Maciej Rabeda <maciej.rabeda@intel.com>
Signed-off-by: Antoine Coeur <coeur@gmx.fr>
Reviewed-by: Philippe Mathieu-Daude <philmd@redhat.com>
Reviewed-by: Maciej Rabeda <maciej.rabeda@linux.intel.com>
Signed-off-by: Philippe Mathieu-Daude <philmd@redhat.com>
Message-Id: <20200207010831.9046-47-philmd@redhat.com>

NetworkPkg/SnpDxe/Callback.c
NetworkPkg/SnpDxe/Shutdown.c
NetworkPkg/SnpDxe/Snp.c
NetworkPkg/SnpDxe/Snp.h
NetworkPkg/SnpDxe/WaitForPacket.c

index 6387dbdb35ef2317550b5c68c20ea25de08a5a1d..0c0b81fdca8ee5d9bdf0183f67d217e301ca45c5 100644 (file)
@@ -53,7 +53,7 @@ SnpUndi32CallbackBlock (
   @param UniqueId      This was supplied to UNDI at Undi_Start, SNP uses this to\r
                        store Undi interface context (Undi does not read or write\r
                        this variable).\r
-  @param MicroSeconds  Number of micro seconds to pause, ususlly multiple of 10.\r
+  @param MicroSeconds  Number of micro seconds to pause, usually multiple of 10.\r
 \r
 **/\r
 VOID\r
index aad0fe8493a87a42e0ad17b580f37399d96762bf..ae823fd35243a1bc7781c1da750b261bf0899833 100644 (file)
@@ -1,5 +1,5 @@
 /** @file\r
-    Implementation of shuting down a network adapter.\r
+    Implementation of shutting down a network adapter.\r
 \r
 Copyright (c) 2004 - 2018, Intel Corporation. All rights reserved.<BR>\r
 SPDX-License-Identifier: BSD-2-Clause-Patent\r
index 1099dbfa6a2807ebcc22fd158c569771720d8b99..078b27cf5edd007d46ed5fb4beeebde138478395 100644 (file)
@@ -782,7 +782,7 @@ SimpleNetworkDriverStop (
 \r
   if (PcdGetBool (PcdSnpCreateExitBootServicesEvent)) {\r
     //\r
-    // Close EXIT_BOOT_SERIVES Event\r
+    // Close EXIT_BOOT_SERVICES Event\r
     //\r
     gBS->CloseEvent (Snp->ExitBootServicesEvent);\r
   }\r
@@ -840,9 +840,9 @@ EFI_DRIVER_BINDING_PROTOCOL gSimpleNetworkDriverBinding = {
   @param ImageHandle       The driver image handle.\r
   @param SystemTable       The system table.\r
 \r
-  @retval EFI_SUCEESS      Initialization routine has found UNDI hardware,\r
+  @retval EFI_SUCCESS      Initialization routine has found UNDI hardware,\r
                            loaded it's ROM, and installed a notify event for\r
-                           the Network Indentifier Interface Protocol\r
+                           the Network Identifier Interface Protocol\r
                            successfully.\r
   @retval Other            Return value from HandleProtocol for\r
                            DeviceIoProtocol or LoadedImageProtocol\r
index 9e4b7d6f86a074fbbdea62bcb1110ee4df46172b..66b5f948e27c2a3dca406e512dd11e3919776d23 100644 (file)
@@ -1,5 +1,5 @@
 /** @file\r
-    Declaration of strctures and functions for SnpDxe driver.\r
+    Declaration of structures and functions for SnpDxe driver.\r
 \r
 Copyright (c) 2004 - 2019, Intel Corporation. All rights reserved.<BR>\r
 SPDX-License-Identifier: BSD-2-Clause-Patent\r
@@ -289,7 +289,7 @@ SnpUndi32CallbackBlock (
   @param UniqueId      This was supplied to UNDI at Undi_Start, SNP uses this to\r
                        store Undi interface context (Undi does not read or write\r
                        this variable)\r
-  @param MicroSeconds  number of micro seconds to pause, ususlly multiple of 10.\r
+  @param MicroSeconds  number of micro seconds to pause, usually multiple of 10.\r
 **/\r
 VOID\r
 EFIAPI\r
@@ -378,7 +378,7 @@ SnpUndi32CallbackUnmap (
   need to synchronize their contents whenever it writes to/reads from the buffer\r
   using either the cpu address or the device address.\r
 \r
-  EFI does not provide a sync call, since virt=physical, we sould just do\r
+  EFI does not provide a sync call, since virt=physical, we should just do\r
   the synchronization ourself here!\r
 \r
   @param UniqueId    This was supplied to UNDI at Undi_Start, SNP uses this to store\r
@@ -1015,7 +1015,7 @@ SnpUndi32Receive (
   );\r
 \r
 /**\r
-  Nofication call back function for WaitForPacket event.\r
+  Notification call back function for WaitForPacket event.\r
 \r
   @param  Event       EFI Event.\r
   @param  SnpPtr      Pointer to SNP_DRIVER structure.\r
index 866a1e8c0e8c8a037aabc66517f38d85808fbbd7..c337e69290f90fbf22303bda9b96c4da947638e7 100644 (file)
@@ -10,7 +10,7 @@ SPDX-License-Identifier: BSD-2-Clause-Patent
 \r
 \r
 /**\r
-  Nofication call back function for WaitForPacket event.\r
+  Notification call back function for WaitForPacket event.\r
 \r
   @param  Event       EFI Event.\r
   @param  SnpPtr      Pointer to SNP_DRIVER structure.\r