Module Name:    src
Committed By:   andvar
Date:           Wed Oct 12 20:50:43 UTC 2022

Modified Files:
        src/sys/arch/powerpc/powerpc: ofw_machdep.c
        src/sys/compat/ultrix: ultrix_pathname.c
        src/sys/dev/ic: nvmereg.h

Log Message:
fix few typos in comments.


To generate a diff of this commit:
cvs rdiff -u -r1.30 -r1.31 src/sys/arch/powerpc/powerpc/ofw_machdep.c
cvs rdiff -u -r1.39 -r1.40 src/sys/compat/ultrix/ultrix_pathname.c
cvs rdiff -u -r1.18 -r1.19 src/sys/dev/ic/nvmereg.h

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/powerpc/powerpc/ofw_machdep.c
diff -u src/sys/arch/powerpc/powerpc/ofw_machdep.c:1.30 src/sys/arch/powerpc/powerpc/ofw_machdep.c:1.31
--- src/sys/arch/powerpc/powerpc/ofw_machdep.c:1.30	Tue Mar  2 02:28:45 2021
+++ src/sys/arch/powerpc/powerpc/ofw_machdep.c	Wed Oct 12 20:50:43 2022
@@ -1,4 +1,4 @@
-/*	$NetBSD: ofw_machdep.c,v 1.30 2021/03/02 02:28:45 thorpej Exp $	*/
+/*	$NetBSD: ofw_machdep.c,v 1.31 2022/10/12 20:50:43 andvar Exp $	*/
 
 /*-
  * Copyright (c) 2007, 2021 The NetBSD Foundation, Inc.
@@ -61,7 +61,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: ofw_machdep.c,v 1.30 2021/03/02 02:28:45 thorpej Exp $");
+__KERNEL_RCSID(0, "$NetBSD: ofw_machdep.c,v 1.31 2022/10/12 20:50:43 andvar Exp $");
 
 #include <sys/param.h>
 #include <sys/buf.h>
@@ -471,7 +471,7 @@ ofw_bootstrap(void)
 	aprint_normal("OpenFirmware running in %s-mode\n",
 	    ofw_real_mode ? "real" : "virtual");
 
-	/* Get #address-cells and #size-cells to fething memory info. */
+	/* Get #address-cells and #size-cells to fetching memory info. */
 	if (OF_getprop(ofw_root, "#address-cells", &ofw_address_cells,
 		       sizeof(ofw_address_cells)) <= 0)
 		ofw_address_cells = 1;

Index: src/sys/compat/ultrix/ultrix_pathname.c
diff -u src/sys/compat/ultrix/ultrix_pathname.c:1.39 src/sys/compat/ultrix/ultrix_pathname.c:1.40
--- src/sys/compat/ultrix/ultrix_pathname.c:1.39	Fri Sep  5 09:21:55 2014
+++ src/sys/compat/ultrix/ultrix_pathname.c	Wed Oct 12 20:50:43 2022
@@ -1,4 +1,4 @@
-/*	$NetBSD: ultrix_pathname.c,v 1.39 2014/09/05 09:21:55 matt Exp $	*/
+/*	$NetBSD: ultrix_pathname.c,v 1.40 2022/10/12 20:50:43 andvar Exp $	*/
 
 /*
  * Copyright (c) 1992, 1993
@@ -47,19 +47,19 @@
 /*
  * Ultrix emulation filesystem-namespace compatibility module.
  *
- * Ultrix system calls that examine the filesysten namespace
+ * Ultrix system calls that examine the filesystem namespace
  * are implemented here.  Each system call has a wrapper that
  * first checks if the given file exists at a special `emulation'
- * pathname: the given path, prefixex with '/emul/ultrix', and
- * if that pathname exists, it is used instead of the providd pathname.
+ * pathname: the given path, prefixed with '/emul/ultrix', and
+ * if that pathname exists, it is used instead of the provided pathname.
  *
  * Used to locate OS-specific files (shared libraries, config files,
  * etc) used by emul processes at their `normal' pathnames, without
- * polluting, or conflicting with, the native filesysten namespace.
+ * polluting, or conflicting with, the native filesystem namespace.
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: ultrix_pathname.c,v 1.39 2014/09/05 09:21:55 matt Exp $");
+__KERNEL_RCSID(0, "$NetBSD: ultrix_pathname.c,v 1.40 2022/10/12 20:50:43 andvar Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>

Index: src/sys/dev/ic/nvmereg.h
diff -u src/sys/dev/ic/nvmereg.h:1.18 src/sys/dev/ic/nvmereg.h:1.19
--- src/sys/dev/ic/nvmereg.h:1.18	Mon Aug  1 07:34:28 2022
+++ src/sys/dev/ic/nvmereg.h	Wed Oct 12 20:50:43 2022
@@ -1,4 +1,4 @@
-/*	$NetBSD: nvmereg.h,v 1.18 2022/08/01 07:34:28 mlelstv Exp $	*/
+/*	$NetBSD: nvmereg.h,v 1.19 2022/10/12 20:50:43 andvar Exp $	*/
 /*	$OpenBSD: nvmereg.h,v 1.10 2016/04/14 11:18:32 dlg Exp $ */
 
 /*
@@ -214,7 +214,7 @@ struct nvme_sqe_io {
 #define  NVM_SQE_IO_FREQ_FRR_FRW	0x5	/* Freq. read and writes */
 #define  NVM_SQE_IO_FREQ_ONCE		0x6	/* One time i/o operation */
 /* Extra Access Frequency bits for read operations */
-#define  NVM_SQE_IO_FREQ_SPEC		0x7	/* Speculative read - prefech */
+#define  NVM_SQE_IO_FREQ_SPEC		0x7	/* Speculative read - prefetch */
 #define  NVM_SQE_IO_FREQ_OVERWRITE	0x8	/* Will be overwritten soon */
 	uint8_t		_reserved2[3];
 
@@ -320,8 +320,8 @@ NVME_CTASSERT(sizeof(struct nvme_cqe) ==
 #define NVM_ADMIN_DEV_SELFTEST	0x14 /* Device Self Test */
 #define NVM_ADMIN_NS_ATTACHMENT	0x15 /* Namespace Attachment */
 #define NVM_ADMIN_KEEP_ALIVE	0x18 /* Keep Alive */
-#define NVM_ADMIN_DIRECTIVE_SND	0x19 /* Derective Send */
-#define NVM_ADMIN_DIRECTIVE_RCV	0x1a /* Derective Receive */
+#define NVM_ADMIN_DIRECTIVE_SND	0x19 /* Directive Send */
+#define NVM_ADMIN_DIRECTIVE_RCV	0x1a /* Directive Receive */
 #define NVM_ADMIN_VIRT_MGMT	0x1c /* Virtualization Management */
 #define NVM_ADMIN_NVME_MI_SEND	0x1d /* NVMe-MI Send */
 #define NVM_ADMIN_NVME_MI_RECV	0x1e /* NVMe-MI Receive */

Reply via email to