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

net: dlink: fix several spelling mistakes in comments

This patch fixes multiple spelling mistakes in dl2k driver comments:

- "deivices" -> "devices"
- "Ttransmit" -> "Transmit"
- "catastronphic" -> "catastrophic"
- "Extened" -> "Extended"

Also fix incorrect unit description: `rx_timeout` uses 640ns increments,
not 64ns.
- "64ns" -> "640ns"

These are comment-only changes and do not affect runtime behavior.

Signed-off-by: Yeounsu Moon <yyyynoom@gmail.com>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Link: https://patch.msgid.link/20251130220652.5425-2-yyyynoom@gmail.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>

authored by

Yeounsu Moon and committed by
Jakub Kicinski
40d5ce4a cbca440d

+5 -5
+4 -4
drivers/net/ethernet/dlink/dl2k.c
··· 41 41 module_param(rx_flow, int, 0); 42 42 module_param(copy_thresh, int, 0); 43 43 module_param(rx_coalesce, int, 0); /* Rx frame count each interrupt */ 44 - module_param(rx_timeout, int, 0); /* Rx DMA wait time in 64ns increments */ 44 + module_param(rx_timeout, int, 0); /* Rx DMA wait time in 640ns increments */ 45 45 module_param(tx_coalesce, int, 0); /* HW xmit count each TxDMAComplete */ 46 46 47 47 ··· 262 262 np->link_status = 0; 263 263 /* Set media and reset PHY */ 264 264 if (np->phy_media) { 265 - /* default Auto-Negotiation for fiber deivices */ 265 + /* default Auto-Negotiation for fiber devices */ 266 266 if (np->an_enable == 2) { 267 267 np->an_enable = 1; 268 268 } ··· 887 887 frame_id = (tx_status & 0xffff0000); 888 888 printk (KERN_ERR "%s: Transmit error, TxStatus %4.4x, FrameId %d.\n", 889 889 dev->name, tx_status, frame_id); 890 - /* Ttransmit Underrun */ 890 + /* Transmit Underrun */ 891 891 if (tx_status & 0x10) { 892 892 dev->stats.tx_fifo_errors++; 893 893 dw16(TxStartThresh, dr16(TxStartThresh) + 0x10); ··· 1083 1083 get_stats (dev); 1084 1084 } 1085 1085 1086 - /* PCI Error, a catastronphic error related to the bus interface 1086 + /* PCI Error, a catastrophic error related to the bus interface 1087 1087 occurs, set GlobalReset and HostReset to reset. */ 1088 1088 if (int_status & HostError) { 1089 1089 printk (KERN_ERR "%s: HostError! IntStatus %4.4x.\n",
+1 -1
drivers/net/ethernet/dlink/dl2k.h
··· 270 270 PCS_ESR = 15, 271 271 }; 272 272 273 - /* IEEE Extened Status Register */ 273 + /* IEEE Extended Status Register */ 274 274 enum _mii_esr { 275 275 MII_ESR_1000BX_FD = 0x8000, 276 276 MII_ESR_1000BX_HD = 0x4000,