summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorandvar <andvar@NetBSD.org>2022-04-17 21:24:52 +0000
committerandvar <andvar@NetBSD.org>2022-04-17 21:24:52 +0000
commitbcbc1fcf66293d2ccf37cd6aa1b1121562b28133 (patch)
tree1d7ff8bc0c5a6697fde4a9f3f63c3aebf0ca396e /sys
parent68ab89ee24c9efdbf0f7c6a3be221bef68475f6e (diff)
fix various typos in comments.
Diffstat (limited to 'sys')
-rw-r--r--sys/arch/hppa/hppa/db_disasm.c6
-rw-r--r--sys/arch/mips/cavium/dev/octeon_gmxreg.h4
-rw-r--r--sys/dev/i2o/iopio.h4
-rw-r--r--sys/dev/qbus/ts.c8
-rw-r--r--sys/netinet/ip.h4
5 files changed, 13 insertions, 13 deletions
diff --git a/sys/arch/hppa/hppa/db_disasm.c b/sys/arch/hppa/hppa/db_disasm.c
index 1a393a35d25..a10dbbfb029 100644
--- a/sys/arch/hppa/hppa/db_disasm.c
+++ b/sys/arch/hppa/hppa/db_disasm.c
@@ -1,4 +1,4 @@
-/* $NetBSD: db_disasm.c,v 1.17 2018/02/21 10:42:16 skrll Exp $ */
+/* $NetBSD: db_disasm.c,v 1.18 2022/04/17 21:24:53 andvar Exp $ */
/* $OpenBSD: db_disasm.c,v 1.9 2000/04/18 20:02:45 mickey Exp $ */
@@ -38,7 +38,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: db_disasm.c,v 1.17 2018/02/21 10:42:16 skrll Exp $");
+__KERNEL_RCSID(0, "$NetBSD: db_disasm.c,v 1.18 2022/04/17 21:24:53 andvar Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -990,7 +990,7 @@ static const char fdreg[][4] = {
/* To replace instr function, do the following: */
/* a) locate the desired entry in instrs[] below */
-/* b) change the 3rd field if an alternate mneumonic is */
+/* b) change the 3rd field if an alternate mnemonic is */
/* desired for window disassembly */
/* c) change the 4th field to the name of the function being */
/* used for replacement (i.e. ldwRepl instead of ldw) */
diff --git a/sys/arch/mips/cavium/dev/octeon_gmxreg.h b/sys/arch/mips/cavium/dev/octeon_gmxreg.h
index 1360c6f12d2..2e6f9eb5c1b 100644
--- a/sys/arch/mips/cavium/dev/octeon_gmxreg.h
+++ b/sys/arch/mips/cavium/dev/octeon_gmxreg.h
@@ -1,4 +1,4 @@
-/* $NetBSD: octeon_gmxreg.h,v 1.5 2020/06/23 05:17:13 simonb Exp $ */
+/* $NetBSD: octeon_gmxreg.h,v 1.6 2022/04/17 21:24:53 andvar Exp $ */
/*
* Copyright (c) 2007 Internet Initiative Japan, Inc.
@@ -238,7 +238,7 @@
#define RXN_STATS_CTL_XXX_63_1 UINT64_C(0xfffffffffffffffe)
#define RXN_STATS_CTL_RD_CLR UINT64_C(0x0000000000000001)
-/* GMX Minimun Interface-Gap Cycles Registers */
+/* GMX Minimum Interface-Gap Cycles Registers */
#define RXN_IFG_XXX_63_4 UINT64_C(0xfffffffffffffff0)
#define RXN_IFG_IFG UINT64_C(0x000000000000000f)
diff --git a/sys/dev/i2o/iopio.h b/sys/dev/i2o/iopio.h
index 287643e41b8..1c6df2a7859 100644
--- a/sys/dev/i2o/iopio.h
+++ b/sys/dev/i2o/iopio.h
@@ -1,4 +1,4 @@
-/* $NetBSD: iopio.h,v 1.8 2017/10/28 06:27:32 riastradh Exp $ */
+/* $NetBSD: iopio.h,v 1.9 2022/04/17 21:24:53 andvar Exp $ */
/*-
* Copyright (c) 2000, 2001 The NetBSD Foundation, Inc.
@@ -41,7 +41,7 @@
#define IOP_MF_RESERVE 4 /* Frames to reserve for ctl ops */
#define IOP_MAX_XFER 64*1024 /* Maximum transfer size */
#define IOP_MAX_MSG_SIZE 160 /* Maximum message frame size */
-#define IOP_MIN_MSG_SIZE 128 /* Minumum size supported by IOP */
+#define IOP_MIN_MSG_SIZE 128 /* Minimum size supported by IOP */
struct iop_tidmap {
u_short it_tid;
diff --git a/sys/dev/qbus/ts.c b/sys/dev/qbus/ts.c
index 44a50ba4553..558e75b3226 100644
--- a/sys/dev/qbus/ts.c
+++ b/sys/dev/qbus/ts.c
@@ -1,4 +1,4 @@
-/* $NetBSD: ts.c,v 1.35 2022/02/12 02:40:20 riastradh Exp $ */
+/* $NetBSD: ts.c,v 1.36 2022/04/17 21:24:53 andvar Exp $ */
/*-
* Copyright (c) 1991 The Regents of the University of California.
@@ -66,7 +66,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: ts.c,v 1.35 2022/02/12 02:40:20 riastradh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: ts.c,v 1.36 2022/04/17 21:24:53 andvar Exp $");
#undef TSDEBUG
@@ -368,7 +368,7 @@ tscommand(struct ts_softc *sc, dev_t dev, int cmd, int count)
/*
* Load the buffer. The b_count field gets used to hold the command
- * count. the b_resid field gets used to hold the command mneumonic.
+ * count. the b_resid field gets used to hold the command mnemonic.
* These 2 fields are "known" to be "safe" to use for this purpose.
* (Most other drivers also use these fields in this way.)
*/
@@ -639,7 +639,7 @@ tsintr(void *arg)
case TS_TC_NORM:
/*
* Normal termination -- The operation is completed
- * witout incident.
+ * without incident.
*/
if (sc->sc_state == TS_FASTREPOS) {
#ifdef TSDEBUG
diff --git a/sys/netinet/ip.h b/sys/netinet/ip.h
index 211c8f7ede8..51158dcbf33 100644
--- a/sys/netinet/ip.h
+++ b/sys/netinet/ip.h
@@ -1,4 +1,4 @@
-/* $NetBSD: ip.h,v 1.38 2021/02/03 18:13:13 roy Exp $ */
+/* $NetBSD: ip.h,v 1.39 2022/04/17 21:24:53 andvar Exp $ */
/*
* Copyright (c) 1982, 1986, 1993
@@ -73,7 +73,7 @@ struct ip {
};
#define IP_MAXPACKET 65535 /* maximum packet size */
-#define IP_MINFRAGSIZE 69 /* minumum size that can be fraged */
+#define IP_MINFRAGSIZE 69 /* minimum size that can be fraged */
/*
* Definitions for IP type of service (ip_tos)