net: ethernet: xilinx: cleanup comments
authorTom Rix <trix@redhat.com>
Thu, 17 Feb 2022 16:05:18 +0000 (08:05 -0800)
committerDavid S. Miller <davem@davemloft.net>
Fri, 18 Feb 2022 11:11:10 +0000 (11:11 +0000)
Remove the second 'the'.
Replacements:
endiannes to endianness
areconnected to are connected
Mamagement to Management
undoccumented to undocumented
Xilink to Xilinx
strucutre to structure

Change kernel-doc comment style to c style for
/* Management ...

Signed-off-by: Tom Rix <trix@redhat.com>
Reviewed-by: Michal Simek <michal.simek@xilinx.com>
Acked-by: Randy Dunlap <rdunlap@infradead.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/xilinx/Kconfig
drivers/net/ethernet/xilinx/ll_temac.h
drivers/net/ethernet/xilinx/ll_temac_main.c
drivers/net/ethernet/xilinx/xilinx_axienet_main.c
drivers/net/ethernet/xilinx/xilinx_emaclite.c

index 911b5ef9e680312f562694bf3793b8d0aa1067a4..0014729b88652fbae1f096d0d2bcd68deb5f3b6c 100644 (file)
@@ -1,6 +1,6 @@
 # SPDX-License-Identifier: GPL-2.0-only
 #
-# Xilink device configuration
+# Xilinx device configuration
 #
 
 config NET_VENDOR_XILINX
index 4a73127e10a6818e7bff044e4a37b97432002323..c6395c406418e1fc9d0cda3e37b7330101e87aa2 100644 (file)
@@ -271,7 +271,7 @@ This option defaults to enabled (set) */
 
 #define XTE_TIE_OFFSET                 0x000003A4 /* Interrupt enable */
 
-/**  MII Mamagement Control register (MGTCR) */
+/* MII Management Control register (MGTCR) */
 #define XTE_MGTDR_OFFSET               0x000003B0 /* MII data */
 #define XTE_MIIMAI_OFFSET              0x000003B4 /* MII control */
 
@@ -283,7 +283,7 @@ This option defaults to enabled (set) */
 
 #define STS_CTRL_APP0_ERR         (1 << 31)
 #define STS_CTRL_APP0_IRQONEND    (1 << 30)
-/* undoccumented */
+/* undocumented */
 #define STS_CTRL_APP0_STOPONEND   (1 << 29)
 #define STS_CTRL_APP0_CMPLT       (1 << 28)
 #define STS_CTRL_APP0_SOP         (1 << 27)
index 0547a3fde561d54b539fc49c502a8e2096e787e1..0a045d9e3501c700771ef403c801fc5da97cf407 100644 (file)
@@ -1009,7 +1009,7 @@ static void ll_temac_recv(struct net_device *ndev)
                    (skb->len > 64)) {
 
                        /* Convert from device endianness (be32) to cpu
-                        * endiannes, and if necessary swap the bytes
+                        * endianness, and if necessary swap the bytes
                         * (back) for proper IP checksum byte order
                         * (be16).
                         */
index de0a6372ae0e55b4025599131dece56f8ec7ae0c..6eeaab77fbe0603e9e4b953d90ea0d94710d8e26 100644 (file)
@@ -537,7 +537,7 @@ static int __axienet_device_reset(struct axienet_local *lp)
  * This function is called to reset and initialize the Axi Ethernet core. This
  * is typically called during initialization. It does a reset of the Axi DMA
  * Rx/Tx channels and initializes the Axi DMA BDs. Since Axi DMA reset lines
- * areconnected to Axi Ethernet reset lines, this in turn resets the Axi
+ * are connected to Axi Ethernet reset lines, this in turn resets the Axi
  * Ethernet core. No separate hardware reset is done for the Axi Ethernet
  * core.
  * Returns 0 on success or a negative error number otherwise.
index 519599480b15411c660fcbbfa6dc2e600fada179..f65a638b7239341c145205fe0490756aad36b266 100644 (file)
@@ -498,7 +498,7 @@ static void xemaclite_update_address(struct net_local *drvdata,
  * @dev:       Pointer to the network device instance
  * @address:   Void pointer to the sockaddr structure
  *
- * This function copies the HW address from the sockaddr strucutre to the
+ * This function copies the HW address from the sockaddr structure to the
  * net_device structure and updates the address in HW.
  *
  * Return:     Error if the net device is busy or 0 if the addr is set