Module Name:    src
Committed By:   andvar
Date:           Wed Mar  6 20:02:24 UTC 2024

Modified Files:
        src/sys/arch/shark/shark: scr.c
        src/sys/dev/pci: if_vmx.c

Log Message:
Fix few typos in comments.


To generate a diff of this commit:
cvs rdiff -u -r1.37 -r1.38 src/sys/arch/shark/shark/scr.c
cvs rdiff -u -r1.14 -r1.15 src/sys/dev/pci/if_vmx.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/arch/shark/shark/scr.c
diff -u src/sys/arch/shark/shark/scr.c:1.37 src/sys/arch/shark/shark/scr.c:1.38
--- src/sys/arch/shark/shark/scr.c:1.37	Fri Feb  9 22:08:33 2024
+++ src/sys/arch/shark/shark/scr.c	Wed Mar  6 20:02:24 2024
@@ -1,4 +1,4 @@
-/*	$NetBSD: scr.c,v 1.37 2024/02/09 22:08:33 andvar Exp $	*/
+/*	$NetBSD: scr.c,v 1.38 2024/03/06 20:02:24 andvar Exp $	*/
 
 /*
  * Copyright 1997
@@ -67,7 +67,7 @@
 **    referenced to T2 counts.
 **
 **    The bottom half is done as a several linked state machines.  
-**    The top level machine is the maserSM (ie master State Machine).  This 
+**    The top level machine is the masterSM (ie master State Machine).  This 
 **    machine calls mid level protocol machines, ie ATRSM (Answer To Reset 
 **    State Machine), t0SendSM (T=0 Send State Machine), and t0RecvSM (T=0 Recv 
 **    State Machine).  These mid level protocol machines in turn call low level
@@ -102,7 +102,7 @@
 */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: scr.c,v 1.37 2024/02/09 22:08:33 andvar Exp $");
+__KERNEL_RCSID(0, "$NetBSD: scr.c,v 1.38 2024/03/06 20:02:24 andvar Exp $");
 
 #include "opt_ddb.h"
 

Index: src/sys/dev/pci/if_vmx.c
diff -u src/sys/dev/pci/if_vmx.c:1.14 src/sys/dev/pci/if_vmx.c:1.15
--- src/sys/dev/pci/if_vmx.c:1.14	Fri Feb  9 18:39:52 2024
+++ src/sys/dev/pci/if_vmx.c	Wed Mar  6 20:02:24 2024
@@ -1,4 +1,4 @@
-/*	$NetBSD: if_vmx.c,v 1.14 2024/02/09 18:39:52 andvar Exp $	*/
+/*	$NetBSD: if_vmx.c,v 1.15 2024/03/06 20:02:24 andvar Exp $	*/
 /*	$OpenBSD: if_vmx.c,v 1.16 2014/01/22 06:04:17 brad Exp $	*/
 
 /*
@@ -19,7 +19,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: if_vmx.c,v 1.14 2024/02/09 18:39:52 andvar Exp $");
+__KERNEL_RCSID(0, "$NetBSD: if_vmx.c,v 1.15 2024/03/06 20:02:24 andvar Exp $");
 
 #ifdef _KERNEL_OPT
 #include "opt_if_vmx.h"
@@ -3288,7 +3288,7 @@ vmxnet3_select_txqueue(struct ifnet *ifp
 	sc = ifp->if_softc;
 	cpuid = cpu_index(curcpu());
 	/*
-	 * Furure work
+	 * Future work
 	 * We should select txqueue to even up the load even if ncpu is
 	 * different from sc->vmx_ntxqueues. Currently, the load is not
 	 * even, that is, when ncpu is six and ntxqueues is four, the load
@@ -3606,7 +3606,7 @@ vmxnet3_if_link_status(struct vmxnet3_so
  * check vmx(4) state by VMXNET3_CMD and update ifp->if_baudrate
  *   returns
  *       - true:  link up
- *       - flase: link down
+ *       - false: link down
  */
 static bool
 vmxnet3_cmd_link_status(struct ifnet *ifp)

Reply via email to