Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

net: ethernet: altera: cleanup comments

Replacements:
queueing to queuing
trasfer to transfer
aditional to additional
adaptor to adapter
transactino to transaction

Signed-off-by: Tom Rix <trix@redhat.com>
Link: https://lore.kernel.org/r/20220215213802.3043178-1-trix@redhat.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>

authored by

Tom Rix and committed by
Jakub Kicinski
a5e516d0 1ce22047

+5 -5
+1 -1
drivers/net/ethernet/altera/altera_sgdma.c
··· 513 513 { 514 514 int delay = 0; 515 515 516 - /* if DMA is busy, wait for current transactino to finish */ 516 + /* if DMA is busy, wait for current transaction to finish */ 517 517 while ((csrrd32(priv->tx_dma_csr, sgdma_csroffs(status)) 518 518 & SGDMA_STSREG_BUSY) && (delay++ < 100)) 519 519 udelay(1);
+4 -4
drivers/net/ethernet/altera/altera_tse_main.c
··· 72 72 */ 73 73 #define ALTERA_RXDMABUFFER_SIZE 2048 74 74 75 - /* Allow network stack to resume queueing packets after we've 75 + /* Allow network stack to resume queuing packets after we've 76 76 * finished transmitting at least 1/4 of the packets in the queue. 77 77 */ 78 78 #define TSE_TX_THRESH(x) (x->tx_ring_size / 4) ··· 390 390 "RCV pktstatus %08X pktlength %08X\n", 391 391 pktstatus, pktlength); 392 392 393 - /* DMA trasfer from TSE starts with 2 aditional bytes for 393 + /* DMA transfer from TSE starts with 2 additional bytes for 394 394 * IP payload alignment. Status returned by get_rx_status() 395 395 * contains DMA transfer length. Packet is 2 bytes shorter. 396 396 */ ··· 1044 1044 csrwr32(1, priv->mac_dev, tse_csroffs(hash_table) + i * 4); 1045 1045 } 1046 1046 1047 - /* Set or clear the multicast filter for this adaptor 1047 + /* Set or clear the multicast filter for this adapter 1048 1048 */ 1049 1049 static void tse_set_rx_mode_hashfilter(struct net_device *dev) 1050 1050 { ··· 1064 1064 spin_unlock(&priv->mac_cfg_lock); 1065 1065 } 1066 1066 1067 - /* Set or clear the multicast filter for this adaptor 1067 + /* Set or clear the multicast filter for this adapter 1068 1068 */ 1069 1069 static void tse_set_rx_mode(struct net_device *dev) 1070 1070 {