Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev/ic fix few typos in comments.
details: https://anonhg.NetBSD.org/src/rev/43d35d4243fc
branches: trunk
changeset: 371812:43d35d4243fc
user: andvar <andvar%NetBSD.org@localhost>
date: Wed Oct 12 20:50:43 2022 +0000
description:
fix few typos in comments.
diffstat:
sys/arch/powerpc/powerpc/ofw_machdep.c | 6 +++---
sys/compat/ultrix/ultrix_pathname.c | 12 ++++++------
sys/dev/ic/nvmereg.h | 8 ++++----
3 files changed, 13 insertions(+), 13 deletions(-)
diffs (90 lines):
diff -r 2c2eb14bb845 -r 43d35d4243fc sys/arch/powerpc/powerpc/ofw_machdep.c
--- a/sys/arch/powerpc/powerpc/ofw_machdep.c Wed Oct 12 19:50:29 2022 +0000
+++ b/sys/arch/powerpc/powerpc/ofw_machdep.c Wed Oct 12 20:50:43 2022 +0000
@@ -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 @@
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;
diff -r 2c2eb14bb845 -r 43d35d4243fc sys/compat/ultrix/ultrix_pathname.c
--- a/sys/compat/ultrix/ultrix_pathname.c Wed Oct 12 19:50:29 2022 +0000
+++ b/sys/compat/ultrix/ultrix_pathname.c Wed Oct 12 20:50:43 2022 +0000
@@ -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>
diff -r 2c2eb14bb845 -r 43d35d4243fc sys/dev/ic/nvmereg.h
--- a/sys/dev/ic/nvmereg.h Wed Oct 12 19:50:29 2022 +0000
+++ b/sys/dev/ic/nvmereg.h Wed Oct 12 20:50:43 2022 +0000
@@ -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 @@
#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 @@
#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 */
Home |
Main Index |
Thread Index |
Old Index