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

@@ -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 {