Skip to content

Commit 8efa26f

Browse files
hormsdavem330
authored andcommitted
tg3: spelling corrections
Correct spelling as flagged by codespell. Signed-off-by: Simon Horman <[email protected]> Reviewed-by: Michael Chan <[email protected]> Signed-off-by: David S. Miller <[email protected]>
1 parent 67e3ba9 commit 8efa26f

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

drivers/net/ethernet/broadcom/tg3.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6686,7 +6686,7 @@ static void tg3_rx_data_free(struct tg3 *tp, struct ring_info *ri, u32 map_sz)
66866686
* We only need to fill in the address because the other members
66876687
* of the RX descriptor are invariant, see tg3_init_rings.
66886688
*
6689-
* Note the purposeful assymetry of cpu vs. chip accesses. For
6689+
* Note the purposeful asymmetry of cpu vs. chip accesses. For
66906690
* posting buffers we only dirty the first cache line of the RX
66916691
* descriptor (containing the address). Whereas for the RX status
66926692
* buffers the cpu only reads the last cacheline of the RX descriptor
@@ -10145,7 +10145,7 @@ static int tg3_reset_hw(struct tg3 *tp, bool reset_phy)
1014510145
tp->grc_mode |= GRC_MODE_HOST_SENDBDS;
1014610146

1014710147
/* Pseudo-header checksum is done by hardware logic and not
10148-
* the offload processers, so make the chip do the pseudo-
10148+
* the offload processors, so make the chip do the pseudo-
1014910149
* header checksums on receive. For transmit it is more
1015010150
* convenient to do the pseudo-header checksum in software
1015110151
* as Linux does that on transmit for us in all cases.

drivers/net/ethernet/broadcom/tg3.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2390,7 +2390,7 @@
23902390
#define TG3_CL45_D7_EEERES_STAT_LP_1000T 0x0004
23912391

23922392

2393-
/* Fast Ethernet Tranceiver definitions */
2393+
/* Fast Ethernet Transceiver definitions */
23942394
#define MII_TG3_FET_PTEST 0x17
23952395
#define MII_TG3_FET_PTEST_TRIM_SEL 0x0010
23962396
#define MII_TG3_FET_PTEST_TRIM_2 0x0002

0 commit comments

Comments
 (0)