EmbeddedPkg: Fix various typos

Fix various typos in EmbeddedPkg.

Signed-off-by: Coeur <coeur@gmx.fr>
Reviewed-by: Leif Lindholm <leif.lindholm@linaro.org>
This commit is contained in:
Cœur
2019-07-03 14:25:30 +01:00
committed by Leif Lindholm
parent 16f3544ddd
commit c6a72cd794
34 changed files with 84 additions and 84 deletions

View File

@@ -224,7 +224,7 @@ OnReadyToBoot (
@retval EFI_ALREADY_STARTED The driver already exists in system.
@retval EFI_OUT_OF_RESOURCES Fail to execute entry point due to lack of
resources.
@retval EFI_SUCCES All the related protocols are installed on
@retval EFI_SUCCESS All the related protocols are installed on
the driver.
**/

View File

@@ -92,7 +92,7 @@ InstallHiiPages (
@retval EFI_ALREADY_STARTED The driver already exists in system.
@retval EFI_OUT_OF_RESOURCES Fail to execute entry point due to lack of
resources.
@retval EFI_SUCCES All the related protocols are installed on
@retval EFI_SUCCESS All the related protocols are installed on
the driver.
**/

View File

@@ -33,7 +33,7 @@
*/
// TODO Make sure the controller isn't sending empty packets when it shouldn't
// (check behaviour in cases when Buffer Length isn't explcitly set)
// (check behaviour in cases when Buffer Length isn't explicitly set)
// ISP1582 Datasheet:
// "Data transfers preceding the status stage must first be fully
@@ -570,7 +570,7 @@ Isp1761PeriphStart (
mDataReceivedCallback = RxCallback;
mDataSentCallback = TxCallback;
// Register a timer event so CheckInterupts gets called periodically
// Register a timer event so CheckInterrupts gets called periodically
Status = gBS->CreateEvent (
EVT_TIMER | EVT_NOTIFY_SIGNAL,
TPL_CALLBACK,

View File

@@ -1439,7 +1439,7 @@ SnpReceive (
return EFI_BUFFER_TOO_SMALL;
}
// Set the amount of data to be transfered out of FIFO for THIS packet
// Set the amount of data to be transferred out of FIFO for THIS packet
// This can be used to trigger an interrupt, and status can be checked
RxCfgValue = Lan9118MmioRead32 (LAN9118_RX_CFG);
RxCfgValue &= ~(RXCFG_RX_DMA_CNT_MASK);

View File

@@ -127,7 +127,7 @@
#define RXSTATUS_CRC_ERROR BIT1 // Cyclic Redundancy Check Error
#define RXSTATUS_DB BIT2 // Dribbling bit: Frame had non-integer multiple of 8bits
#define RXSTATUS_MII_ERROR BIT3 // Receive error during interception
#define RXSTATUS_RXW_TO BIT4 // Incomming frame larger than 2kb
#define RXSTATUS_RXW_TO BIT4 // Incoming frame larger than 2kb
#define RXSTATUS_FT BIT5 // 1: Ether type / 0: 802.3 type frame
#define RXSTATUS_LCOLL BIT6 // Late collision detected
#define RXSTATUS_FTL BIT7 // Frame longer than Ether type

View File

@@ -427,7 +427,7 @@ Lan9118Initialize (
if ((Lan9118MmioRead32 (LAN9118_E2P_CMD) & E2P_EPC_MAC_ADDRESS_LOADED) == 0) {
DEBUG ((EFI_D_ERROR, "Warning: There was an error detecting EEPROM or loading the MAC Address.\n"));
// If we had an address before (set by StationAddess), continue to use it
// If we had an address before (set by StationAddress), continue to use it
if (CompareMem (&Snp->Mode->CurrentAddress, &mZeroMac, NET_ETHER_ADDR_LEN)) {
Lan9118SetMacAddress (&Snp->Mode->CurrentAddress, Snp);
} else {

View File

@@ -441,7 +441,7 @@ PrintIoRegisters (
DEBUG ((DEBUG_ERROR, "\nLAN91x I/O Register Dump:\n"));
// Print currrent bank select register
// Print current bank select register
Value = MmioRead16 (LanDriver->IoBase + LAN91X_BANK_OFFSET);
DEBUG ((DEBUG_ERROR, " BankSel: %d Bank Register %04x (%d)\n",
LanDriver->BankSel, Value, Value & 0x0007));

View File

@@ -173,7 +173,7 @@
#define PTR_AUTO_INCR BIT14
#define PTR_RCV BIT15
// Interupt Status and Mask Register Bits
// Interrupt Status and Mask Register Bits
#define IST_RCV BIT0
#define IST_TX BIT1
#define IST_TX_EMPTY BIT2

View File

@@ -634,7 +634,7 @@ SiI3132GetDevice (
return EFI_UNSUPPORTED;
} else {
*Port = ((SATA_DEVICE_PATH*)DevicePath)->Lun;
// Return the first Sata Sevice as there should be only one directly connected
// Return the first Sata Device as there should be only one directly connected
*PortMultiplierPort = ((SATA_SI3132_DEVICE*)SataSiI3132Instance->Ports[*Port].Devices.ForwardLink)->Index;
return EFI_SUCCESS;
}