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 implementation for PCI Bus module.
|
||||
|
||||
Copyright (c) 2006 - 2015, 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
|
||||
@@ -75,12 +75,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
|
||||
@@ -103,7 +103,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.
|
||||
|
||||
@@ -121,7 +121,7 @@ LocateCapabilityRegBlock (
|
||||
UINT8 CapabilityID;
|
||||
|
||||
//
|
||||
// To check the cpability of this device supports
|
||||
// To check the capability of this device supports
|
||||
//
|
||||
if (!PciCapabilitySupport (PciIoDevice)) {
|
||||
return EFI_UNSUPPORTED;
|
||||
@@ -195,7 +195,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.
|
||||
|
||||
|
Reference in New Issue
Block a user