Skip to content

Commit 40d5ce4

Browse files
Cruzer-Skuba-moo
authored andcommitted
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>
1 parent cbca440 commit 40d5ce4

2 files changed

Lines changed: 5 additions & 5 deletions

File tree

drivers/net/ethernet/dlink/dl2k.c

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ module_param(tx_flow, int, 0);
4141
module_param(rx_flow, int, 0);
4242
module_param(copy_thresh, int, 0);
4343
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 */
4545
module_param(tx_coalesce, int, 0); /* HW xmit count each TxDMAComplete */
4646

4747

@@ -262,7 +262,7 @@ rio_probe1 (struct pci_dev *pdev, const struct pci_device_id *ent)
262262
np->link_status = 0;
263263
/* Set media and reset PHY */
264264
if (np->phy_media) {
265-
/* default Auto-Negotiation for fiber deivices */
265+
/* default Auto-Negotiation for fiber devices */
266266
if (np->an_enable == 2) {
267267
np->an_enable = 1;
268268
}
@@ -887,7 +887,7 @@ tx_error (struct net_device *dev, int tx_status)
887887
frame_id = (tx_status & 0xffff0000);
888888
printk (KERN_ERR "%s: Transmit error, TxStatus %4.4x, FrameId %d.\n",
889889
dev->name, tx_status, frame_id);
890-
/* Ttransmit Underrun */
890+
/* Transmit Underrun */
891891
if (tx_status & 0x10) {
892892
dev->stats.tx_fifo_errors++;
893893
dw16(TxStartThresh, dr16(TxStartThresh) + 0x10);
@@ -1083,7 +1083,7 @@ rio_error (struct net_device *dev, int int_status)
10831083
get_stats (dev);
10841084
}
10851085

1086-
/* PCI Error, a catastronphic error related to the bus interface
1086+
/* PCI Error, a catastrophic error related to the bus interface
10871087
occurs, set GlobalReset and HostReset to reset. */
10881088
if (int_status & HostError) {
10891089
printk (KERN_ERR "%s: HostError! IntStatus %4.4x.\n",

drivers/net/ethernet/dlink/dl2k.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -270,7 +270,7 @@ enum _pcs_reg {
270270
PCS_ESR = 15,
271271
};
272272

273-
/* IEEE Extened Status Register */
273+
/* IEEE Extended Status Register */
274274
enum _mii_esr {
275275
MII_ESR_1000BX_FD = 0x8000,
276276
MII_ESR_1000BX_HD = 0x4000,

0 commit comments

Comments
 (0)