aboutsummaryrefslogtreecommitdiff
path: root/lib/libe1k/e1k.c
diff options
context:
space:
mode:
authorThomas Huth <thuth@redhat.com>2023-02-22 16:40:56 +0100
committerAlexey Kardashevskiy <aik@ozlabs.ru>2023-02-28 16:12:57 +1100
commit9604efb1832de13b51f93ad0a3581f9ed6dc04b5 (patch)
tree67b01f8c25785243baedd3863df657baa3d086a2 /lib/libe1k/e1k.c
parentac9eac38755af41c114bef5515aa6863ad648d86 (diff)
downloadSLOF-9604efb1832de13b51f93ad0a3581f9ed6dc04b5.zip
SLOF-9604efb1832de13b51f93ad0a3581f9ed6dc04b5.tar.gz
SLOF-9604efb1832de13b51f93ad0a3581f9ed6dc04b5.tar.bz2
Fix typos in the remaining lib folders
Found with the "codespell" utility. Signed-off-by: Thomas Huth <thuth@redhat.com> Signed-off-by: Alexey Kardashevskiy <aik@ozlabs.ru>
Diffstat (limited to 'lib/libe1k/e1k.c')
-rw-r--r--lib/libe1k/e1k.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/libe1k/e1k.c b/lib/libe1k/e1k.c
index 3bbc75f..514e7c2 100644
--- a/lib/libe1k/e1k.c
+++ b/lib/libe1k/e1k.c
@@ -369,7 +369,7 @@ e1k_init_receiver(void)
e1k_wr32(RCTL, 0);
/*
- * clear receive desciptors and setup buffer pointers
+ * clear receive descriptors and setup buffer pointers
*/
for (i = 0; i < E1K_NUM_RX_DESC; i++) {
memset((uint8_t *) &m_e1k.m_rx_ring_pst[i], 0,
@@ -421,7 +421,7 @@ e1k_init_transmitter(void)
uint64_t addr;
/*
- * clear transmit desciptors and setup buffer pointers
+ * clear transmit descriptors and setup buffer pointers
*/
for (i = 0; i < E1K_NUM_TX_DESC; i++) {
memset((uint8_t *) &m_e1k.m_tx_ring_pst[i], 0,
@@ -451,7 +451,7 @@ e1k_init_transmitter(void)
*/
e1k_wr32(TCTL, BIT32(1) | // enable transmitter
BIT32(3) | // pad short packets
- ((uint32_t) 0x0f << 4) | // collision threshhold
+ ((uint32_t) 0x0f << 4) | // collision threshold
((uint32_t) 0x40 << 12)); // collision distance
}