mirror of
https://github.com/ipxe/ipxe
synced 2026-01-01 09:09:32 +03:00
[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>
This commit is contained in:
committed by
Michael Brown
parent
717279a294
commit
3fcb8cf8dc
@@ -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, ®, 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, ®, 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, ®, 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, ®, 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,
|
||||
|
||||
Reference in New Issue
Block a user