net: ethernet: altera: cleanup comments
authorTom Rix <trix@redhat.com>
Tue, 15 Feb 2022 21:38:02 +0000 (13:38 -0800)
committerJakub Kicinski <kuba@kernel.org>
Thu, 17 Feb 2022 04:33:04 +0000 (20:33 -0800)
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>
drivers/net/ethernet/altera/altera_sgdma.c
drivers/net/ethernet/altera/altera_tse_main.c

index db97170..7f247cc 100644 (file)
@@ -513,7 +513,7 @@ static int sgdma_txbusy(struct altera_tse_private *priv)
 {
        int delay = 0;
 
-       /* if DMA is busy, wait for current transactino to finish */
+       /* if DMA is busy, wait for current transaction to finish */
        while ((csrrd32(priv->tx_dma_csr, sgdma_csroffs(status))
                & SGDMA_STSREG_BUSY) && (delay++ < 100))
                udelay(1);
index 993b2fb..a381626 100644 (file)
@@ -72,7 +72,7 @@ MODULE_PARM_DESC(dma_tx_num, "Number of descriptors in the TX list");
  */
 #define ALTERA_RXDMABUFFER_SIZE        2048
 
-/* Allow network stack to resume queueing packets after we've
+/* Allow network stack to resume queuing packets after we've
  * finished transmitting at least 1/4 of the packets in the queue.
  */
 #define TSE_TX_THRESH(x)       (x->tx_ring_size / 4)
@@ -390,7 +390,7 @@ static int tse_rx(struct altera_tse_private *priv, int limit)
                                   "RCV pktstatus %08X pktlength %08X\n",
                                   pktstatus, pktlength);
 
-               /* DMA trasfer from TSE starts with 2 aditional bytes for
+               /* DMA transfer from TSE starts with 2 additional bytes for
                 * IP payload alignment. Status returned by get_rx_status()
                 * contains DMA transfer length. Packet is 2 bytes shorter.
                 */
@@ -1044,7 +1044,7 @@ static void altera_tse_set_mcfilterall(struct net_device *dev)
                csrwr32(1, priv->mac_dev, tse_csroffs(hash_table) + i * 4);
 }
 
-/* Set or clear the multicast filter for this adaptor
+/* Set or clear the multicast filter for this adapter
  */
 static void tse_set_rx_mode_hashfilter(struct net_device *dev)
 {
@@ -1064,7 +1064,7 @@ static void tse_set_rx_mode_hashfilter(struct net_device *dev)
        spin_unlock(&priv->mac_cfg_lock);
 }
 
-/* Set or clear the multicast filter for this adaptor
+/* Set or clear the multicast filter for this adapter
  */
 static void tse_set_rx_mode(struct net_device *dev)
 {