Commit 8aba73ef authored by Tom Rix's avatar Tom Rix Committed by David S. Miller
Browse files

net: ethernet: xilinx: cleanup comments



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: default avatarTom Rix <trix@redhat.com>
Reviewed-by: default avatarMichal Simek <michal.simek@xilinx.com>
Acked-by: default avatarRandy Dunlap <rdunlap@infradead.org>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 8467fadc
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
# SPDX-License-Identifier: GPL-2.0-only
#
# Xilink device configuration
# Xilinx device configuration
#

config NET_VENDOR_XILINX
+2 −2
Original line number Diff line number Diff line
@@ -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)
+1 −1
Original line number Diff line number Diff line
@@ -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).
			 */
+1 −1
Original line number Diff line number Diff line
@@ -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
+1 −1

File changed.

Contains only whitespace changes.