Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

net: amd: Correct spelling errors

Find some spelling errors:

interupts --> interrupts
lenth --> length
stoped --> stopped
contoller --> controller

Signed-off-by: Guofeng Yue <yueguofeng@hisilicon.com>
Signed-off-by: Haoyue Xu <xuhaoyue1@hisilicon.com>
Signed-off-by: David S. Miller <davem@davemloft.net>

authored by

Guofeng Yue and committed by
David S. Miller
7c13f442 b0b815a3

+4 -4
+3 -3
drivers/net/ethernet/amd/amd8111e.c
··· 43 43 3.0.4 12/09/2003 44 44 1. Added set_mac_address routine for bonding driver support. 45 45 2. Tested the driver for bonding support 46 - 3. Bug fix: Fixed mismach in actual receive buffer lenth and lenth 46 + 3. Bug fix: Fixed mismach in actual receive buffer length and length 47 47 indicated to the h/w. 48 48 4. Modified amd8111e_rx() routine to receive all the received packets 49 49 in the first interrupt. ··· 1109 1109 /* Check if Receive Interrupt has occurred. */ 1110 1110 if (intr0 & RINT0) { 1111 1111 if (napi_schedule_prep(&lp->napi)) { 1112 - /* Disable receive interupts */ 1112 + /* Disable receive interrupts */ 1113 1113 writel(RINTEN0, mmio + INTEN0); 1114 1114 /* Schedule a polling routine */ 1115 1115 __napi_schedule(&lp->napi); ··· 1554 1554 static int amd8111e_enable_link_change(struct amd8111e_priv *lp) 1555 1555 { 1556 1556 1557 - /* Adapter is already stoped/suspended/interrupt-disabled */ 1557 + /* Adapter is already stopped/suspended/interrupt-disabled */ 1558 1558 writel(VAL0 | LCMODE_SW, lp->mmio + CMD7); 1559 1559 1560 1560 /* To eliminate PCI posting bug */
+1 -1
drivers/net/ethernet/amd/amd8111e.h
··· 600 600 #define CSTATE 1 601 601 #define SSTATE 2 602 602 603 - /* Assume contoller gets data 10 times the maximum processing time */ 603 + /* Assume controller gets data 10 times the maximum processing time */ 604 604 #define REPEAT_CNT 10 605 605 606 606 /* amd8111e descriptor flag definitions */