Commit c2b733da authored by Yicong Hui's avatar Yicong Hui Committed by Jakub Kicinski
Browse files

net/micrel: Fix typos in micrel driver code comments



Fix various typos and misspellings in code comments in the
drivers/net/ethernet/micrel directory

Signed-off-by: default avatarYicong Hui <yiconghui@gmail.com>
Link: https://patch.msgid.link/20260118121001.136806-3-yiconghui@gmail.com


Signed-off-by: default avatarJakub Kicinski <kuba@kernel.org>
parent 1cbc1fe0
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -242,7 +242,7 @@ static void ks8842_reset(struct ks8842_adapter *adapter)
		msleep(10);
		iowrite16(0, adapter->hw_addr + REG_GRR);
	} else {
		/* The KS8842 goes haywire when doing softare reset
		/* The KS8842 goes haywire when doing software reset
		* a work around in the timberdale IP is implemented to
		* do a hardware reset instead
		ks8842_write16(adapter, 3, 1, REG_GRR);
@@ -312,7 +312,7 @@ static void ks8842_reset_hw(struct ks8842_adapter *adapter)
	/* aggressive back off in half duplex */
	ks8842_enable_bits(adapter, 32, 1 << 8, REG_SGCR1);

	/* enable no excessive collison drop */
	/* enable no excessive collision drop */
	ks8842_enable_bits(adapter, 32, 1 << 3, REG_SGCR2);

	/* Enable port 1 force flow control / back pressure / transmit / recv */
+1 −1
Original line number Diff line number Diff line
@@ -480,7 +480,7 @@ static int ks8851_net_open(struct net_device *dev)
 * ks8851_net_stop - close network device
 * @dev: The device being closed.
 *
 * Called to close down a network device which has been active. Cancell any
 * Called to close down a network device which has been active. Cancel any
 * work, shutdown the RX and TX process and then place the chip into a low
 * power state whilst it is not being used.
 */
+2 −2
Original line number Diff line number Diff line
@@ -39,7 +39,7 @@ static int msg_enable;
 *
 * The @lock ensures that the chip is protected when certain operations are
 * in progress. When the read or write packet transfer is in progress, most
 * of the chip registers are not ccessible until the transfer is finished and
 * of the chip registers are not accessible until the transfer is finished and
 * the DMA has been de-asserted.
 */
struct ks8851_net_spi {
@@ -298,7 +298,7 @@ static unsigned int calc_txlen(unsigned int len)

/**
 * ks8851_tx_work - process tx packet(s)
 * @work: The work strucutre what was scheduled.
 * @work: The work structure what was scheduled.
 *
 * This is called when a number of packets have been scheduled for
 * transmission and need to be sent to the device.
+2 −2
Original line number Diff line number Diff line
@@ -1166,7 +1166,7 @@ struct ksz_port_info {
 * @tx_cfg:		Cached transmit control settings.
 * @rx_cfg:		Cached receive control settings.
 * @intr_mask:		Current interrupt mask.
 * @intr_set:		Current interrup set.
 * @intr_set:		Current interrupt set.
 * @intr_blocked:	Interrupt blocked.
 * @rx_desc_info:	Receive descriptor information.
 * @tx_desc_info:	Transmit descriptor information.
@@ -2096,7 +2096,7 @@ static void sw_dis_prio_rate(struct ksz_hw *hw, int port)
}

/**
 * sw_init_prio_rate - initialize switch prioirty rate
 * sw_init_prio_rate - initialize switch priority rate
 * @hw: 	The hardware instance.
 *
 * This routine initializes the priority rate function of the switch.