summaryrefslogtreecommitdiffstats
path: root/src/drivers/net/etherfabric.c
diff options
context:
space:
mode:
authorStefan Weil2013-01-03 16:12:32 +0100
committerMichael Brown2013-01-03 16:18:48 +0100
commit3fcb8cf8dceb45f8b01e1d69d43cfd99df43b78a (patch)
treeeb4699b2651c17f6da8b7575815c2d37f0044b7b /src/drivers/net/etherfabric.c
parent[efi] Include product short name in EFI SNP device names (diff)
downloadipxe-3fcb8cf8dceb45f8b01e1d69d43cfd99df43b78a.tar.gz
ipxe-3fcb8cf8dceb45f8b01e1d69d43cfd99df43b78a.tar.xz
ipxe-3fcb8cf8dceb45f8b01e1d69d43cfd99df43b78a.zip
[src] Fix spelling in comments, debug messages and local variable names
Fixes in comments and debug messages: existance -> existence unecessary -> unnecessary occured -> occurred decriptor -> descriptor neccessary -> necessary addres, adress -> address initilize -> initialize sucessfully -> successfully paramter -> parameter acess -> access upto -> up to likelyhood ->likelihood thru -> through substracting -> subtracting lenght -> length isnt -> isn't interupt -> interrupt publically -> publicly (this one was not wrong, but unusual) recieve -> receive accessable -> accessible seperately -> separately pacet -> packet controled -> controlled dectect -> detect indicies -> indices extremly -> extremely boundry -> boundary usefull -> useful unuseable -> unusable auxilliary -> auxiliary embeded -> embedded enviroment -> environment sturcture -> structure complier -> compiler constructes -> constructs supress -> suppress intruduced -> introduced compatability -> compatibility verfication -> verification ths -> the reponse -> response Fixes in local variable names: retreive -> retrieve Most of these fixes were made using codespell. Signed-off-by: Stefan Weil <sw@weilnetz.de> Modified-by: Michael Brown <mcb30@ipxe.org> Signed-off-by: Michael Brown <mcb30@ipxe.org>
Diffstat (limited to 'src/drivers/net/etherfabric.c')
-rw-r--r--src/drivers/net/etherfabric.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/drivers/net/etherfabric.c b/src/drivers/net/etherfabric.c
index a0a009cb..6036d321 100644
--- a/src/drivers/net/etherfabric.c
+++ b/src/drivers/net/etherfabric.c
@@ -1566,7 +1566,7 @@ falcon_gmii_wait ( struct efab_nic *efab )
efab_dword_t md_stat;
int count;
- /* wait upto 10ms */
+ /* wait up to 10ms */
for (count = 0; count < 1000; count++) {
falcon_readl ( efab, &md_stat, FCN_MD_STAT_REG_KER );
if ( EFAB_DWORD_FIELD ( md_stat, FCN_MD_BSY ) == 0 ) {
@@ -2195,7 +2195,7 @@ falcon_reset_xaui ( struct efab_nic *efab )
falcon_xmac_writel ( efab, &reg, FCN_XX_PWR_RST_REG_MAC );
/* Give some time for the link to establish */
- for (count = 0; count < 1000; count++) { /* wait upto 10ms */
+ for (count = 0; count < 1000; count++) { /* wait up to 10ms */
falcon_xmac_readl ( efab, &reg, FCN_XX_PWR_RST_REG_MAC );
if ( EFAB_DWORD_FIELD ( reg, FCN_XX_RST_XX_EN ) == 0 ) {
falcon_setup_xaui ( efab );
@@ -3395,7 +3395,7 @@ falcon_init_sram ( struct efab_nic *efab )
falcon_read ( efab, &reg, FCN_SRM_CFG_REG_KER );
if ( !EFAB_OWORD_FIELD ( reg, FCN_SRAM_OOB_BT_INIT_EN ) )
return 0;
- } while (++count < 20); /* wait upto 0.4 sec */
+ } while (++count < 20); /* wait up to 0.4 sec */
EFAB_ERR ( "timed out waiting for SRAM reset\n");
return -ETIMEDOUT;
@@ -3426,7 +3426,7 @@ falcon_setup_nic ( struct efab_nic *efab )
falcon_write ( efab, &reg, FCN_RX_DC_CFG_REG_KER );
/* Set number of RSS CPUs
- * bug7244: Increase filter depth to reduce RX_RESET likelyhood
+ * bug7244: Increase filter depth to reduce RX_RESET likelihood
*/
EFAB_POPULATE_OWORD_5 ( reg,
FCN_NUM_KER, 0,