mirror of
https://github.com/acidanthera/audk.git
synced 2025-07-24 22:24:37 +02:00
NetworkPkg/SnpDxe: Fix few typos
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>
This commit is contained in:
parent
f6c8bbbe92
commit
bb3594e842
@ -53,7 +53,7 @@ SnpUndi32CallbackBlock (
|
|||||||
@param UniqueId This was supplied to UNDI at Undi_Start, SNP uses this to
|
@param UniqueId This was supplied to UNDI at Undi_Start, SNP uses this to
|
||||||
store Undi interface context (Undi does not read or write
|
store Undi interface context (Undi does not read or write
|
||||||
this variable).
|
this variable).
|
||||||
@param MicroSeconds Number of micro seconds to pause, ususlly multiple of 10.
|
@param MicroSeconds Number of micro seconds to pause, usually multiple of 10.
|
||||||
|
|
||||||
**/
|
**/
|
||||||
VOID
|
VOID
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
/** @file
|
/** @file
|
||||||
Implementation of shuting down a network adapter.
|
Implementation of shutting down a network adapter.
|
||||||
|
|
||||||
Copyright (c) 2004 - 2018, Intel Corporation. All rights reserved.<BR>
|
Copyright (c) 2004 - 2018, Intel Corporation. All rights reserved.<BR>
|
||||||
SPDX-License-Identifier: BSD-2-Clause-Patent
|
SPDX-License-Identifier: BSD-2-Clause-Patent
|
||||||
|
@ -782,7 +782,7 @@ SimpleNetworkDriverStop (
|
|||||||
|
|
||||||
if (PcdGetBool (PcdSnpCreateExitBootServicesEvent)) {
|
if (PcdGetBool (PcdSnpCreateExitBootServicesEvent)) {
|
||||||
//
|
//
|
||||||
// Close EXIT_BOOT_SERIVES Event
|
// Close EXIT_BOOT_SERVICES Event
|
||||||
//
|
//
|
||||||
gBS->CloseEvent (Snp->ExitBootServicesEvent);
|
gBS->CloseEvent (Snp->ExitBootServicesEvent);
|
||||||
}
|
}
|
||||||
@ -840,9 +840,9 @@ EFI_DRIVER_BINDING_PROTOCOL gSimpleNetworkDriverBinding = {
|
|||||||
@param ImageHandle The driver image handle.
|
@param ImageHandle The driver image handle.
|
||||||
@param SystemTable The system table.
|
@param SystemTable The system table.
|
||||||
|
|
||||||
@retval EFI_SUCEESS Initialization routine has found UNDI hardware,
|
@retval EFI_SUCCESS Initialization routine has found UNDI hardware,
|
||||||
loaded it's ROM, and installed a notify event for
|
loaded it's ROM, and installed a notify event for
|
||||||
the Network Indentifier Interface Protocol
|
the Network Identifier Interface Protocol
|
||||||
successfully.
|
successfully.
|
||||||
@retval Other Return value from HandleProtocol for
|
@retval Other Return value from HandleProtocol for
|
||||||
DeviceIoProtocol or LoadedImageProtocol
|
DeviceIoProtocol or LoadedImageProtocol
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
/** @file
|
/** @file
|
||||||
Declaration of strctures and functions for SnpDxe driver.
|
Declaration of structures and functions for SnpDxe driver.
|
||||||
|
|
||||||
Copyright (c) 2004 - 2019, Intel Corporation. All rights reserved.<BR>
|
Copyright (c) 2004 - 2019, Intel Corporation. All rights reserved.<BR>
|
||||||
SPDX-License-Identifier: BSD-2-Clause-Patent
|
SPDX-License-Identifier: BSD-2-Clause-Patent
|
||||||
@ -289,7 +289,7 @@ SnpUndi32CallbackBlock (
|
|||||||
@param UniqueId This was supplied to UNDI at Undi_Start, SNP uses this to
|
@param UniqueId This was supplied to UNDI at Undi_Start, SNP uses this to
|
||||||
store Undi interface context (Undi does not read or write
|
store Undi interface context (Undi does not read or write
|
||||||
this variable)
|
this variable)
|
||||||
@param MicroSeconds number of micro seconds to pause, ususlly multiple of 10.
|
@param MicroSeconds number of micro seconds to pause, usually multiple of 10.
|
||||||
**/
|
**/
|
||||||
VOID
|
VOID
|
||||||
EFIAPI
|
EFIAPI
|
||||||
@ -378,7 +378,7 @@ SnpUndi32CallbackUnmap (
|
|||||||
need to synchronize their contents whenever it writes to/reads from the buffer
|
need to synchronize their contents whenever it writes to/reads from the buffer
|
||||||
using either the cpu address or the device address.
|
using either the cpu address or the device address.
|
||||||
|
|
||||||
EFI does not provide a sync call, since virt=physical, we sould just do
|
EFI does not provide a sync call, since virt=physical, we should just do
|
||||||
the synchronization ourself here!
|
the synchronization ourself here!
|
||||||
|
|
||||||
@param UniqueId This was supplied to UNDI at Undi_Start, SNP uses this to store
|
@param UniqueId This was supplied to UNDI at Undi_Start, SNP uses this to store
|
||||||
@ -1015,7 +1015,7 @@ SnpUndi32Receive (
|
|||||||
);
|
);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
Nofication call back function for WaitForPacket event.
|
Notification call back function for WaitForPacket event.
|
||||||
|
|
||||||
@param Event EFI Event.
|
@param Event EFI Event.
|
||||||
@param SnpPtr Pointer to SNP_DRIVER structure.
|
@param SnpPtr Pointer to SNP_DRIVER structure.
|
||||||
|
@ -10,7 +10,7 @@ SPDX-License-Identifier: BSD-2-Clause-Patent
|
|||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
Nofication call back function for WaitForPacket event.
|
Notification call back function for WaitForPacket event.
|
||||||
|
|
||||||
@param Event EFI Event.
|
@param Event EFI Event.
|
||||||
@param SnpPtr Pointer to SNP_DRIVER structure.
|
@param SnpPtr Pointer to SNP_DRIVER structure.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user