summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorandvar <andvar@NetBSD.org>2021-11-01 21:28:01 +0000
committerandvar <andvar@NetBSD.org>2021-11-01 21:28:01 +0000
commitee4bc26f46b1caa589a3a282912d1aae8e5d9ba2 (patch)
tree6f0ca47652bd45f362b4318ae773a6f3ad7e57eb /sys
parent662a6dfd6a3188acbdbc98437a016c62962dbb73 (diff)
fix typos, mainly in words minimum and maximum, but also few others.
Diffstat (limited to 'sys')
-rw-r--r--sys/arch/amiga/dev/grfioctl.h4
-rw-r--r--sys/arch/amiga/dev/iteioctl.h4
-rw-r--r--sys/arch/atari/dev/grfioctl.h4
-rw-r--r--sys/arch/atari/dev/iteioctl.h4
-rw-r--r--sys/arch/mips/include/cpuregs.h8
-rw-r--r--sys/arch/prep/include/nvram.h4
-rw-r--r--sys/arch/sparc/sparc/pci_fixup.c4
-rw-r--r--sys/arch/x68k/include/iteioctl.h4
-rw-r--r--sys/dev/acpi/vald_acpi.c6
-rw-r--r--sys/dev/cardbus/cardbus.c6
-rw-r--r--sys/dev/i2o/dptivar.h4
-rw-r--r--sys/dev/pci/ixgbe/ixgbe_type.h8
-rw-r--r--sys/kern/vfs_cache.c6
13 files changed, 33 insertions, 33 deletions
diff --git a/sys/arch/amiga/dev/grfioctl.h b/sys/arch/amiga/dev/grfioctl.h
index f1be0e41ebd..609dc64b68d 100644
--- a/sys/arch/amiga/dev/grfioctl.h
+++ b/sys/arch/amiga/dev/grfioctl.h
@@ -1,4 +1,4 @@
-/* $NetBSD: grfioctl.h,v 1.21 2015/09/07 03:49:45 dholland Exp $ */
+/* $NetBSD: grfioctl.h,v 1.22 2021/11/01 21:28:02 andvar Exp $ */
/*
* Copyright (c) 1988 University of Utah.
@@ -141,7 +141,7 @@ struct grfvideo_mode {
* colormap related information. Every grf has an associated
* colormap. Depending on the capabilities of the hardware, more
* or less of the information provided may be used.
- * Maxium value of "index" can be deduced from grfinfo->gd_colors.
+ * Maximum value of "index" can be deduced from grfinfo->gd_colors.
*/
struct grf_colormap {
unsigned int index; /* start at red[index],green[index],blue[index] */
diff --git a/sys/arch/amiga/dev/iteioctl.h b/sys/arch/amiga/dev/iteioctl.h
index 59fbf50ef63..767c9c3aeb6 100644
--- a/sys/arch/amiga/dev/iteioctl.h
+++ b/sys/arch/amiga/dev/iteioctl.h
@@ -1,4 +1,4 @@
-/* $NetBSD: iteioctl.h,v 1.13 2015/09/07 03:49:45 dholland Exp $ */
+/* $NetBSD: iteioctl.h,v 1.14 2021/11/01 21:28:02 andvar Exp $ */
/*
* Copyright (c) 1988 University of Utah.
@@ -62,7 +62,7 @@ struct iterepeat {
int start; /* number of 100/s before repeat start */
int next; /* number of 100/s before next repeat */
};
-#define ITEMINREPEAT 5 /* mininum number of 100/s for key repeat */
+#define ITEMINREPEAT 5 /* minimum number of 100/s for key repeat */
#define ITEIOCSKMAP _IOW('Z',0x70, struct kbdmap)
#define ITEIOCGKMAP _IOR('Z',0x71, struct kbdmap)
diff --git a/sys/arch/atari/dev/grfioctl.h b/sys/arch/atari/dev/grfioctl.h
index 9360a7f352b..ca173846eb9 100644
--- a/sys/arch/atari/dev/grfioctl.h
+++ b/sys/arch/atari/dev/grfioctl.h
@@ -1,4 +1,4 @@
-/* $NetBSD: grfioctl.h,v 1.10 2015/09/07 03:49:45 dholland Exp $ */
+/* $NetBSD: grfioctl.h,v 1.11 2021/11/01 21:28:02 andvar Exp $ */
/*
* Copyright (c) 1988 University of Utah.
@@ -137,7 +137,7 @@ struct grfvideo_mode {
* colormap related information. Every grf has an associated
* colormap. Depending on the capabilities of the hardware, more
* or less of the information provided may be used.
- * Maxium value of "index" can be deduced from grfinfo->gd_colors.
+ * Maximum value of "index" can be deduced from grfinfo->gd_colors.
*/
struct grf_colormap {
int index; /* start at red[index],green[index],blue[index] */
diff --git a/sys/arch/atari/dev/iteioctl.h b/sys/arch/atari/dev/iteioctl.h
index 7dc23c1b07b..4f271989949 100644
--- a/sys/arch/atari/dev/iteioctl.h
+++ b/sys/arch/atari/dev/iteioctl.h
@@ -1,4 +1,4 @@
-/* $NetBSD: iteioctl.h,v 1.8 2015/09/07 03:49:45 dholland Exp $ */
+/* $NetBSD: iteioctl.h,v 1.9 2021/11/01 21:28:02 andvar Exp $ */
/*
* Copyright (c) 1988 University of Utah.
@@ -69,7 +69,7 @@ struct iterepeat {
int start; /* number of 100/s before repeat start */
int next; /* number of 100/s before next repeat */
};
-#define ITEMINREPEAT 5 /* mininum number of 100/s for key repeat */
+#define ITEMINREPEAT 5 /* minimum number of 100/s for key repeat */
#define ITEIOCSKMAP _IOW('Z',0x70, struct kbdmap)
#define ITEIOCSSKMAP _IOW('Z',0x68, struct kbdmap)
diff --git a/sys/arch/mips/include/cpuregs.h b/sys/arch/mips/include/cpuregs.h
index 0344cae9034..294be82742e 100644
--- a/sys/arch/mips/include/cpuregs.h
+++ b/sys/arch/mips/include/cpuregs.h
@@ -1,4 +1,4 @@
-/* $NetBSD: cpuregs.h,v 1.112 2021/08/09 21:13:05 andvar Exp $ */
+/* $NetBSD: cpuregs.h,v 1.113 2021/11/01 21:28:02 andvar Exp $ */
/*
* Copyright (c) 2009 Miodrag Vallat.
@@ -695,7 +695,7 @@
(MIPS_BREAK_SOVER_VAL << MIPS_BREAK_VAL_SHIFT))
/*
- * Mininum and maximum cache sizes.
+ * Minimum and maximum cache sizes.
*/
#define MIPS_MIN_CACHE_SIZE (16 * 1024)
#define MIPS_MAX_CACHE_SIZE (256 * 1024)
@@ -712,7 +712,7 @@
*/
#define MIPS_FCSR_RM __BITS(1,0)
#define MIPS_FCSR_RM_RN 0 /* round to nearest */
-#define MIPS_FCSR_RM_RZ 1 /* round toward zerO */
+#define MIPS_FCSR_RM_RZ 1 /* round towards zero */
#define MIPS_FCSR_RM_RP 2 /* round towards +infinity */
#define MIPS_FCSR_RM_RM 3 /* round towards -infinity */
#define MIPS_FCSR_FLAGS __BITS(6,2)
@@ -1034,7 +1034,7 @@
#define MIPS_BCM3302 0x90 /* MIPS 4KEc_R2-like? ISA 32 Rel 2 */
/*
- * Alchemy (company ID 3) use the processor ID field to donote the CPU core
+ * Alchemy (company ID 3) use the processor ID field to denote the CPU core
* revision and the company options field do donate the SOC chip type.
*/
/* CPU processor revision IDs */
diff --git a/sys/arch/prep/include/nvram.h b/sys/arch/prep/include/nvram.h
index a36eb5e6c4f..65ef6c6e13d 100644
--- a/sys/arch/prep/include/nvram.h
+++ b/sys/arch/prep/include/nvram.h
@@ -1,4 +1,4 @@
-/* $NetBSD: nvram.h,v 1.9 2015/09/07 03:49:45 dholland Exp $ */
+/* $NetBSD: nvram.h,v 1.10 2021/11/01 21:28:02 andvar Exp $ */
/*-
* Copyright (c) 2006 The NetBSD Foundation, Inc.
@@ -46,7 +46,7 @@
#include <dev/ic/mk48txxvar.h>
#endif
-#define MAX_PREP_NVRAM 0x8000 /* maxmum size of the nvram */
+#define MAX_PREP_NVRAM 0x8000 /* maximum size of the nvram */
#define NVSIZE 4096 /* standard nvram size */
#define OSAREASIZE 512 /* size of OSArea space */
diff --git a/sys/arch/sparc/sparc/pci_fixup.c b/sys/arch/sparc/sparc/pci_fixup.c
index 23a8909a8cf..5874b2bcf3e 100644
--- a/sys/arch/sparc/sparc/pci_fixup.c
+++ b/sys/arch/sparc/sparc/pci_fixup.c
@@ -1,4 +1,4 @@
-/* $NetBSD: pci_fixup.c,v 1.4 2021/01/24 07:36:54 mrg Exp $ */
+/* $NetBSD: pci_fixup.c,v 1.5 2021/11/01 21:28:02 andvar Exp $ */
/*-
* Copyright (c) 1999 The NetBSD Foundation, Inc.
@@ -101,7 +101,7 @@ mspcic_pci_scan(int root)
/*
* Scan our known PCI devices and collect:
* maximum bus number
- * maxium used address in each I/O and memory range
+ * maximum used address in each I/O and memory range
*/
while(node) {
uint32_t busrange[2];
diff --git a/sys/arch/x68k/include/iteioctl.h b/sys/arch/x68k/include/iteioctl.h
index 6cfa3880436..e6a87df180e 100644
--- a/sys/arch/x68k/include/iteioctl.h
+++ b/sys/arch/x68k/include/iteioctl.h
@@ -34,7 +34,7 @@
* from: Utah $Hdr: iteioctl.h 1.1 90/07/09$
*
* @(#)iteioctl.h 7.2 (Berkeley) 11/4/90
- * $NetBSD: iteioctl.h,v 1.9 2015/09/07 03:49:46 dholland Exp $
+ * $NetBSD: iteioctl.h,v 1.10 2021/11/01 21:28:02 andvar Exp $
*/
#ifndef _X68K_ITEIOCTL_H_
@@ -55,7 +55,7 @@ struct iterepeat {
int start; /* number of 100/s before repeat start */
int next; /* number of 100/s before next repeat */
};
-#define ITEMINREPEAT 5 /* mininum number of 100/s for key repeat */
+#define ITEMINREPEAT 5 /* minimum number of 100/s for key repeat */
#define ITEIOCSKMAP _IOW('Z',0x70, struct kbdmap)
#define ITEIOCGKMAP _IOR('Z',0x71, struct kbdmap)
diff --git a/sys/dev/acpi/vald_acpi.c b/sys/dev/acpi/vald_acpi.c
index 064847eebab..f02806c35b2 100644
--- a/sys/dev/acpi/vald_acpi.c
+++ b/sys/dev/acpi/vald_acpi.c
@@ -1,4 +1,4 @@
-/* $NetBSD: vald_acpi.c,v 1.6 2021/01/29 15:49:55 thorpej Exp $ */
+/* $NetBSD: vald_acpi.c,v 1.7 2021/11/01 21:28:03 andvar Exp $ */
/*-
* Copyright (c) 2002 The NetBSD Foundation, Inc.
@@ -74,7 +74,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: vald_acpi.c,v 1.6 2021/01/29 15:49:55 thorpej Exp $");
+__KERNEL_RCSID(0, "$NetBSD: vald_acpi.c,v 1.7 2021/11/01 21:28:03 andvar Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -546,7 +546,7 @@ vald_acpi_libright_set(struct vald_acpi_softc *sc, int UpDown)
/* Check index value. */
if (sc->lcd_index < 2)
- sc->lcd_index = 2; /* index Minium Value */
+ sc->lcd_index = 2; /* index Minimum Value */
if (sc->lcd_index >= sc->lcd_num)
sc->lcd_index = sc->lcd_num - 1;
diff --git a/sys/dev/cardbus/cardbus.c b/sys/dev/cardbus/cardbus.c
index 92add9bc7b2..ad2ff21a811 100644
--- a/sys/dev/cardbus/cardbus.c
+++ b/sys/dev/cardbus/cardbus.c
@@ -1,4 +1,4 @@
-/* $NetBSD: cardbus.c,v 1.112 2021/08/07 16:19:10 thorpej Exp $ */
+/* $NetBSD: cardbus.c,v 1.113 2021/11/01 21:28:03 andvar Exp $ */
/*
* Copyright (c) 1997, 1998, 1999 and 2000
@@ -27,7 +27,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: cardbus.c,v 1.112 2021/08/07 16:19:10 thorpej Exp $");
+__KERNEL_RCSID(0, "$NetBSD: cardbus.c,v 1.113 2021/11/01 21:28:03 andvar Exp $");
#include "opt_cardbus.h"
@@ -448,7 +448,7 @@ cardbus_rescan(device_t self, const char *ifattr,
tag = cardbus_make_tag(cc, cf, sc->sc_bus, function);
/*
- * Wait until power comes up. Maxmum 500 ms.
+ * Wait until power comes up. Maximum 500 ms.
*
* XXX What is this for? The bridge driver ought to have waited
* XXX already.
diff --git a/sys/dev/i2o/dptivar.h b/sys/dev/i2o/dptivar.h
index f9bb126c155..c512883db58 100644
--- a/sys/dev/i2o/dptivar.h
+++ b/sys/dev/i2o/dptivar.h
@@ -1,4 +1,4 @@
-/* $NetBSD: dptivar.h,v 1.9 2012/10/27 17:18:17 chs Exp $ */
+/* $NetBSD: dptivar.h,v 1.10 2021/11/01 21:28:03 andvar Exp $ */
/*-
* Copyright (c) 2001 The NetBSD Foundation, Inc.
@@ -265,7 +265,7 @@ struct dpt_sysinfo {
#define PROC_i960 0x05 /* Intel i960 */
#define PROC_ULTRASPARC 0x06 /* SPARC processor */
-/* Specific Minimim Processor - u_int8_t dsProcessor; FLAG BITS */
+/* Specific Minimum Processor - u_int8_t dsProcessor; FLAG BITS */
/* ------------------------------------------------------------------ */
/* Different bit definitions dependent on processor_family */
diff --git a/sys/dev/pci/ixgbe/ixgbe_type.h b/sys/dev/pci/ixgbe/ixgbe_type.h
index a549c87dacd..c6b583791c1 100644
--- a/sys/dev/pci/ixgbe/ixgbe_type.h
+++ b/sys/dev/pci/ixgbe/ixgbe_type.h
@@ -1,4 +1,4 @@
-/* $NetBSD: ixgbe_type.h,v 1.49 2021/05/19 08:19:20 msaitoh Exp $ */
+/* $NetBSD: ixgbe_type.h,v 1.50 2021/11/01 21:28:03 andvar Exp $ */
/******************************************************************************
SPDX-License-Identifier: BSD-3-Clause
@@ -358,7 +358,7 @@ struct ixgbe_nvm_version {
#define IXGBE_MIN_INT_RATE 956
/* On 82599 and newer, minimum RSC_DELAY is 4us. ITR interval must be larger
* than RSC_DELAY if RSC is used. ITR_INTERVAL is in 2(.048) us units on 10G
- * and 1G. The minimun EITR is 6us.
+ * and 1G. The minimum EITR is 6us.
*/
#define IXGBE_MIN_RSC_EITR_10G1G 0x00000018
#define IXGBE_MAX_EITR 0x00000FF8
@@ -1504,7 +1504,7 @@ struct ixgbe_dmac_config {
#define IXGBE_CTRL_RST_MASK (IXGBE_CTRL_LNK_RST | IXGBE_CTRL_RST)
/* FACTPS */
-#define IXGBE_FACTPS_MNGCG 0x20000000 /* Manageblility Clock Gated */
+#define IXGBE_FACTPS_MNGCG 0x20000000 /* Managebility Clock Gated */
#define IXGBE_FACTPS_LFS 0x40000000 /* LAN Function Select */
/* MHADD Bit Masks */
@@ -2360,7 +2360,7 @@ enum {
/* EEPROM Addressing bits based on type (0-small, 1-large) */
#define IXGBE_EEC_ADDR_SIZE 0x00000400
#define IXGBE_EEC_SIZE 0x00007800 /* EEPROM Size */
-#define IXGBE_EERD_MAX_ADDR 0x00003FFF /* EERD alows 14 bits for addr. */
+#define IXGBE_EERD_MAX_ADDR 0x00003FFF /* EERD allows 14 bits for addr. */
#define IXGBE_EEC_SIZE_SHIFT 11
#define IXGBE_EEPROM_WORD_SIZE_SHIFT 6
diff --git a/sys/kern/vfs_cache.c b/sys/kern/vfs_cache.c
index ef7c5bfa5aa..39cd691a75f 100644
--- a/sys/kern/vfs_cache.c
+++ b/sys/kern/vfs_cache.c
@@ -1,4 +1,4 @@
-/* $NetBSD: vfs_cache.c,v 1.151 2021/09/21 14:56:08 christos Exp $ */
+/* $NetBSD: vfs_cache.c,v 1.152 2021/11/01 21:28:03 andvar Exp $ */
/*-
* Copyright (c) 2008, 2019, 2020 The NetBSD Foundation, Inc.
@@ -172,7 +172,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: vfs_cache.c,v 1.151 2021/09/21 14:56:08 christos Exp $");
+__KERNEL_RCSID(0, "$NetBSD: vfs_cache.c,v 1.152 2021/11/01 21:28:03 andvar Exp $");
#define __NAMECACHE_PRIVATE
#ifdef _KERNEL_OPT
@@ -1372,7 +1372,7 @@ cache_reclaim(void)
int toscan;
/*
- * Scan up to a preset maxium number of entries, but no more than
+ * Scan up to a preset maximum number of entries, but no more than
* 0.8% of the total at once (to allow for very small systems).
*
* On bigger systems, do a larger chunk of work to reduce the number