MdeModulePkg/PciBus: Correct typos
Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Ray Ni <ray.ni@intel.com> Reviewed-by: Hao Wu <hao.a.wu@intel.com>
This commit is contained in:
@ -1,7 +1,7 @@
|
||||
/** @file
|
||||
PCI command register operations supporting functions declaration for PCI Bus module.
|
||||
|
||||
Copyright (c) 2006 - 2009, Intel Corporation. All rights reserved.<BR>
|
||||
Copyright (c) 2006 - 2019, Intel Corporation. All rights reserved.<BR>
|
||||
This program and the accompanying materials
|
||||
are licensed and made available under the terms and conditions of the BSD License
|
||||
which accompanies this distribution. The full text of the license may be found at
|
||||
@ -84,12 +84,12 @@ PciOperateRegister (
|
||||
);
|
||||
|
||||
/**
|
||||
Check the cpability supporting by given device.
|
||||
Check the capability supporting by given device.
|
||||
|
||||
@param PciIoDevice Pointer to instance of PCI_IO_DEVICE.
|
||||
|
||||
@retval TRUE Cpability supportted.
|
||||
@retval FALSE Cpability not supportted.
|
||||
@retval TRUE Capability supported.
|
||||
@retval FALSE Capability not supported.
|
||||
|
||||
**/
|
||||
BOOLEAN
|
||||
@ -105,7 +105,7 @@ PciCapabilitySupport (
|
||||
@param Offset A pointer to the offset returned.
|
||||
@param NextRegBlock A pointer to the next block returned.
|
||||
|
||||
@retval EFI_SUCCESS Successfuly located capability register block.
|
||||
@retval EFI_SUCCESS Successfully located capability register block.
|
||||
@retval EFI_UNSUPPORTED Pci device does not support capability.
|
||||
@retval EFI_NOT_FOUND Pci device support but can not find register block.
|
||||
|
||||
@ -126,7 +126,7 @@ LocateCapabilityRegBlock (
|
||||
@param Offset A pointer to the offset returned.
|
||||
@param NextRegBlock A pointer to the next block returned.
|
||||
|
||||
@retval EFI_SUCCESS Successfuly located capability register block.
|
||||
@retval EFI_SUCCESS Successfully located capability register block.
|
||||
@retval EFI_UNSUPPORTED Pci device does not support capability.
|
||||
@retval EFI_NOT_FOUND Pci device support but can not find register block.
|
||||
|
||||
@ -176,7 +176,7 @@ LocatePciExpressCapabilityRegBlock (
|
||||
PciOperateRegister (a, b, PCI_COMMAND_OFFSET, EFI_ENABLE_REGISTER, NULL)
|
||||
|
||||
/**
|
||||
Macro that disalbes command register.
|
||||
Macro that disables command register.
|
||||
|
||||
@param a[in] Pointer to instance of PCI_IO_DEVICE.
|
||||
@param b[in] The disabled value written into command register.
|
||||
@ -224,7 +224,7 @@ LocatePciExpressCapabilityRegBlock (
|
||||
PciOperateRegister (a, b, PCI_BRIDGE_CONTROL_REGISTER_OFFSET, EFI_ENABLE_REGISTER, NULL)
|
||||
|
||||
/**
|
||||
Macro that disalbes PCI bridge control register.
|
||||
Macro that disables PCI bridge control register.
|
||||
|
||||
@param a[in] Pointer to instance of PCI_IO_DEVICE.
|
||||
@param b[in] The disabled value written into command register.
|
||||
|
Reference in New Issue
Block a user