Module Name: src Committed By: andvar Date: Mon Aug 9 20:49:11 UTC 2021
Modified Files: src/doc: BRANCHES TODO.modules src/include: netdb.h string.h src/lib/libc/compat/arch/hppa/sys: compat_sigpending.S compat_sigprocmask.S compat_sigreturn.S compat_sigsuspend.S src/lib/libc/gen: isinfd_ieee754.c isnand_ieee754.c src/sys/arch/sandpoint/stand/altboot: brdsetup.c src/sys/compat/common: Makefile.sysio files.common src/sys/ddb: db_command.h src/sys/dev/acpi: acpi_util.c src/sys/dev/gpio: gpio.c src/sys/dev/i2c: dbcool.c src/sys/dev/ic: ath.c dp8390var.h sl811hs.c src/sys/kern: compat_stub.c sys_ptrace_common.c tty_conf.c src/sys/modules: Makefile src/sys/net: if.h route.h src/sys/netinet: sctp_pcb.h src/sys/netipsec: key.h src/usr.bin/find: option.c src/usr.sbin/rpc.pcnfsd: README Log Message: fix various typos in compatibility, mainly in comments. To generate a diff of this commit: cvs rdiff -u -r1.363 -r1.364 src/doc/BRANCHES cvs rdiff -u -r1.23 -r1.24 src/doc/TODO.modules cvs rdiff -u -r1.70 -r1.71 src/include/netdb.h cvs rdiff -u -r1.52 -r1.53 src/include/string.h cvs rdiff -u -r1.5 -r1.6 \ src/lib/libc/compat/arch/hppa/sys/compat_sigpending.S \ src/lib/libc/compat/arch/hppa/sys/compat_sigprocmask.S \ src/lib/libc/compat/arch/hppa/sys/compat_sigreturn.S \ src/lib/libc/compat/arch/hppa/sys/compat_sigsuspend.S cvs rdiff -u -r1.1 -r1.2 src/lib/libc/gen/isinfd_ieee754.c \ src/lib/libc/gen/isnand_ieee754.c cvs rdiff -u -r1.39 -r1.40 src/sys/arch/sandpoint/stand/altboot/brdsetup.c cvs rdiff -u -r1.13 -r1.14 src/sys/compat/common/Makefile.sysio cvs rdiff -u -r1.6 -r1.7 src/sys/compat/common/files.common cvs rdiff -u -r1.41 -r1.42 src/sys/ddb/db_command.h cvs rdiff -u -r1.24 -r1.25 src/sys/dev/acpi/acpi_util.c cvs rdiff -u -r1.66 -r1.67 src/sys/dev/gpio/gpio.c cvs rdiff -u -r1.62 -r1.63 src/sys/dev/i2c/dbcool.c cvs rdiff -u -r1.135 -r1.136 src/sys/dev/ic/ath.c cvs rdiff -u -r1.35 -r1.36 src/sys/dev/ic/dp8390var.h cvs rdiff -u -r1.106 -r1.107 src/sys/dev/ic/sl811hs.c cvs rdiff -u -r1.21 -r1.22 src/sys/kern/compat_stub.c cvs rdiff -u -r1.91 -r1.92 src/sys/kern/sys_ptrace_common.c cvs rdiff -u -r1.56 -r1.57 src/sys/kern/tty_conf.c cvs rdiff -u -r1.250 -r1.251 src/sys/modules/Makefile cvs rdiff -u -r1.291 -r1.292 src/sys/net/if.h cvs rdiff -u -r1.128 -r1.129 src/sys/net/route.h cvs rdiff -u -r1.3 -r1.4 src/sys/netinet/sctp_pcb.h cvs rdiff -u -r1.36 -r1.37 src/sys/netipsec/key.h cvs rdiff -u -r1.28 -r1.29 src/usr.bin/find/option.c cvs rdiff -u -r1.3 -r1.4 src/usr.sbin/rpc.pcnfsd/README Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/doc/BRANCHES diff -u src/doc/BRANCHES:1.363 src/doc/BRANCHES:1.364 --- src/doc/BRANCHES:1.363 Mon Aug 9 00:32:51 2021 +++ src/doc/BRANCHES Mon Aug 9 20:49:08 2021 @@ -1,4 +1,4 @@ -# $NetBSD: BRANCHES,v 1.363 2021/08/09 00:32:51 thorpej Exp $ +# $NetBSD: BRANCHES,v 1.364 2021/08/09 20:49:08 andvar Exp $ # # This file contains a list of branches that exist in the NetBSD CVS # tree and their current state. @@ -824,7 +824,7 @@ Maintainer: Bill Stouder-Studenmund <wrs Scope: src, though all the interesting stuff is in the kernel Notes: This branch is intended to revive Scheduler Activations in -current in the 5.0 era. This branch's main goal is - to re-add syscall compatability so that SA-based libpthread + to re-add syscall compatibility so that SA-based libpthread programs can run with a -current kernel. 1:1 threading will remain the NetBSD-default. This branch will re-add necessary upcall support, and will also serve as a chance to clean Index: src/doc/TODO.modules diff -u src/doc/TODO.modules:1.23 src/doc/TODO.modules:1.24 --- src/doc/TODO.modules:1.23 Sun May 30 02:37:42 2021 +++ src/doc/TODO.modules Mon Aug 9 20:49:08 2021 @@ -1,4 +1,4 @@ -/* $NetBSD: TODO.modules,v 1.23 2021/05/30 02:37:42 pgoyette Exp $ */ +/* $NetBSD: TODO.modules,v 1.24 2021/08/09 20:49:08 andvar Exp $ */ Some notes on the limitations of our current (as of 7.99.35) module subsystem. This list was triggered by an Email exchange between @@ -129,7 +129,7 @@ christos and pgoyette. kernel and its modules at /netbsd/kernel and /netbsd/modules/... Whatever new mechanism we arrive at will probably require changes to installation procedures and bootstrap code, and will need to handle - both the new and old mechanisms for compatability. + both the new and old mechanisms for compatibility. One additional option mentioned is to be able to specify, at boot loader time, an alternate value for the os-release portion of the Index: src/include/netdb.h diff -u src/include/netdb.h:1.70 src/include/netdb.h:1.71 --- src/include/netdb.h:1.70 Thu Jun 4 11:21:16 2020 +++ src/include/netdb.h Mon Aug 9 20:49:08 2021 @@ -1,4 +1,4 @@ -/* $NetBSD: netdb.h,v 1.70 2020/06/04 11:21:16 nia Exp $ */ +/* $NetBSD: netdb.h,v 1.71 2021/08/09 20:49:08 andvar Exp $ */ /* * ++Copyright++ 1980, 1983, 1988, 1993 @@ -151,7 +151,7 @@ struct hostent { int h_addrtype; /*%< host address type */ int h_length; /*%< length of address */ char **h_addr_list; /*%< list of addresses from name server */ -#define h_addr h_addr_list[0] /*%< address, for backward compatiblity */ +#define h_addr h_addr_list[0] /*%< address, for backward compatibility */ }; /*% Index: src/include/string.h diff -u src/include/string.h:1.52 src/include/string.h:1.53 --- src/include/string.h:1.52 Tue Feb 20 02:35:24 2018 +++ src/include/string.h Mon Aug 9 20:49:08 2021 @@ -1,4 +1,4 @@ -/* $NetBSD: string.h,v 1.52 2018/02/20 02:35:24 kamil Exp $ */ +/* $NetBSD: string.h,v 1.53 2021/08/09 20:49:08 andvar Exp $ */ /*- * Copyright (c) 1990, 1993 @@ -95,7 +95,7 @@ __aconst char *strsignal(int); __END_DECLS #if defined(_NETBSD_SOURCE) -#include <strings.h> /* for backwards-compatibilty */ +#include <strings.h> /* for backwards-compatibility */ __BEGIN_DECLS void *memmem(const void *, size_t, const void *, size_t); char *strcasestr(const char *, const char *); Index: src/lib/libc/compat/arch/hppa/sys/compat_sigpending.S diff -u src/lib/libc/compat/arch/hppa/sys/compat_sigpending.S:1.5 src/lib/libc/compat/arch/hppa/sys/compat_sigpending.S:1.6 --- src/lib/libc/compat/arch/hppa/sys/compat_sigpending.S:1.5 Tue May 5 20:43:47 2020 +++ src/lib/libc/compat/arch/hppa/sys/compat_sigpending.S Mon Aug 9 20:49:08 2021 @@ -1,4 +1,4 @@ -/* $NetBSD: compat_sigpending.S,v 1.5 2020/05/05 20:43:47 skrll Exp $ */ +/* $NetBSD: compat_sigpending.S,v 1.6 2021/08/09 20:49:08 andvar Exp $ */ /*- * Copyright (c) 2002 The NetBSD Foundation, Inc. @@ -38,7 +38,7 @@ WARN_REFERENCES(sigpending, \ ENTRY(sigpending, 0) /* * AFAICT, since the hppa port came after __sigpending14, - * we shouldn't have to supply the compatability sigpending. + * we shouldn't have to supply the compatibility sigpending. */ b __cerror ldi EINVAL, %t1 Index: src/lib/libc/compat/arch/hppa/sys/compat_sigprocmask.S diff -u src/lib/libc/compat/arch/hppa/sys/compat_sigprocmask.S:1.5 src/lib/libc/compat/arch/hppa/sys/compat_sigprocmask.S:1.6 --- src/lib/libc/compat/arch/hppa/sys/compat_sigprocmask.S:1.5 Tue May 5 20:43:47 2020 +++ src/lib/libc/compat/arch/hppa/sys/compat_sigprocmask.S Mon Aug 9 20:49:08 2021 @@ -1,4 +1,4 @@ -/* $NetBSD: compat_sigprocmask.S,v 1.5 2020/05/05 20:43:47 skrll Exp $ */ +/* $NetBSD: compat_sigprocmask.S,v 1.6 2021/08/09 20:49:08 andvar Exp $ */ /*- * Copyright (c) 2002 The NetBSD Foundation, Inc. @@ -38,7 +38,7 @@ WARN_REFERENCES(sigprocmask, \ ENTRY(sigprocmask, 0) /* * AFAICT, since the hppa port came after __sigprocmask14, - * we shouldn't have to supply the compatability sigprocmask. + * we shouldn't have to supply the compatibility sigprocmask. */ b __cerror ldi EINVAL, %t1 Index: src/lib/libc/compat/arch/hppa/sys/compat_sigreturn.S diff -u src/lib/libc/compat/arch/hppa/sys/compat_sigreturn.S:1.5 src/lib/libc/compat/arch/hppa/sys/compat_sigreturn.S:1.6 --- src/lib/libc/compat/arch/hppa/sys/compat_sigreturn.S:1.5 Tue May 5 20:43:47 2020 +++ src/lib/libc/compat/arch/hppa/sys/compat_sigreturn.S Mon Aug 9 20:49:08 2021 @@ -1,4 +1,4 @@ -/* $NetBSD: compat_sigreturn.S,v 1.5 2020/05/05 20:43:47 skrll Exp $ */ +/* $NetBSD: compat_sigreturn.S,v 1.6 2021/08/09 20:49:08 andvar Exp $ */ /*- * Copyright (c) 2002 The NetBSD Foundation, Inc. @@ -38,7 +38,7 @@ WARN_REFERENCES(sigreturn, \ ENTRY(sigreturn, 0) /* * AFAICT, since the hppa port came after __sigreturn14, - * we shouldn't have to supply the compatability sigreturn. + * we shouldn't have to supply the compatibility sigreturn. */ b __cerror ldi EINVAL, %t1 Index: src/lib/libc/compat/arch/hppa/sys/compat_sigsuspend.S diff -u src/lib/libc/compat/arch/hppa/sys/compat_sigsuspend.S:1.5 src/lib/libc/compat/arch/hppa/sys/compat_sigsuspend.S:1.6 --- src/lib/libc/compat/arch/hppa/sys/compat_sigsuspend.S:1.5 Tue May 5 20:43:47 2020 +++ src/lib/libc/compat/arch/hppa/sys/compat_sigsuspend.S Mon Aug 9 20:49:08 2021 @@ -1,4 +1,4 @@ -/* $NetBSD: compat_sigsuspend.S,v 1.5 2020/05/05 20:43:47 skrll Exp $ */ +/* $NetBSD: compat_sigsuspend.S,v 1.6 2021/08/09 20:49:08 andvar Exp $ */ /*- * Copyright (c) 2002 The NetBSD Foundation, Inc. @@ -38,7 +38,7 @@ WARN_REFERENCES(sigsuspend, \ ENTRY(sigsuspend, 0) /* * AFAICT, since the hppa port came after __sigsuspend14, - * we shouldn't have to supply the compatability sigsuspend. + * we shouldn't have to supply the compatibility sigsuspend. */ b __cerror ldi EINVAL, %t1 Index: src/lib/libc/gen/isinfd_ieee754.c diff -u src/lib/libc/gen/isinfd_ieee754.c:1.1 src/lib/libc/gen/isinfd_ieee754.c:1.2 --- src/lib/libc/gen/isinfd_ieee754.c:1.1 Thu Mar 4 23:42:39 2004 +++ src/lib/libc/gen/isinfd_ieee754.c Mon Aug 9 20:49:09 2021 @@ -1,4 +1,4 @@ -/* $NetBSD: isinfd_ieee754.c,v 1.1 2004/03/04 23:42:39 kleink Exp $ */ +/* $NetBSD: isinfd_ieee754.c,v 1.2 2021/08/09 20:49:09 andvar Exp $ */ /* * Copyright (c) 1992, 1993 @@ -40,14 +40,14 @@ #if 0 static char sccsid[] = "@(#)isinf.c 8.1 (Berkeley) 6/4/93"; #else -__RCSID("$NetBSD: isinfd_ieee754.c,v 1.1 2004/03/04 23:42:39 kleink Exp $"); +__RCSID("$NetBSD: isinfd_ieee754.c,v 1.2 2021/08/09 20:49:09 andvar Exp $"); #endif #endif /* LIBC_SCCS and not lint */ #include <machine/ieee.h> #include <math.h> -/* libc.so.12 ABI compatbility */ +/* libc.so.12 ABI compatibility */ #ifdef __weak_alias __weak_alias(isinf,__isinfd) #endif Index: src/lib/libc/gen/isnand_ieee754.c diff -u src/lib/libc/gen/isnand_ieee754.c:1.1 src/lib/libc/gen/isnand_ieee754.c:1.2 --- src/lib/libc/gen/isnand_ieee754.c:1.1 Thu Mar 4 23:42:39 2004 +++ src/lib/libc/gen/isnand_ieee754.c Mon Aug 9 20:49:09 2021 @@ -1,4 +1,4 @@ -/* $NetBSD: isnand_ieee754.c,v 1.1 2004/03/04 23:42:39 kleink Exp $ */ +/* $NetBSD: isnand_ieee754.c,v 1.2 2021/08/09 20:49:09 andvar Exp $ */ /* * Copyright (c) 1992, 1993 @@ -40,14 +40,14 @@ #if 0 static char sccsid[] = "@(#)isinf.c 8.1 (Berkeley) 6/4/93"; #else -__RCSID("$NetBSD: isnand_ieee754.c,v 1.1 2004/03/04 23:42:39 kleink Exp $"); +__RCSID("$NetBSD: isnand_ieee754.c,v 1.2 2021/08/09 20:49:09 andvar Exp $"); #endif #endif /* LIBC_SCCS and not lint */ #include <machine/ieee.h> #include <math.h> -/* libc.so.12 ABI compatbility */ +/* libc.so.12 ABI compatibility */ #ifdef __weak_alias __weak_alias(isnan,__isnand) #endif Index: src/sys/arch/sandpoint/stand/altboot/brdsetup.c diff -u src/sys/arch/sandpoint/stand/altboot/brdsetup.c:1.39 src/sys/arch/sandpoint/stand/altboot/brdsetup.c:1.40 --- src/sys/arch/sandpoint/stand/altboot/brdsetup.c:1.39 Thu Aug 3 19:22:15 2017 +++ src/sys/arch/sandpoint/stand/altboot/brdsetup.c Mon Aug 9 20:49:09 2021 @@ -1,4 +1,4 @@ -/* $NetBSD: brdsetup.c,v 1.39 2017/08/03 19:22:15 phx Exp $ */ +/* $NetBSD: brdsetup.c,v 1.40 2021/08/09 20:49:09 andvar Exp $ */ /*- * Copyright (c) 2008 The NetBSD Foundation, Inc. @@ -513,7 +513,7 @@ encpcifix(struct brdprop *brd) #else /* * //// IDE fixup //// - * - "compatiblity mode" (ide 0x09) + * - "compatibility mode" (ide 0x09) * - remove PCI pin assignment (ide 0x3d) */ @@ -652,7 +652,7 @@ motpcifix(struct brdprop *brd) #else /* * //// IDE fixup -- case B //// - * - "compatiblity mode" (ide 0x09) + * - "compatibility mode" (ide 0x09) * - IDE primary/secondary interrupt routing (pcib 0x43) * - PCI interrupt routing (pcib 0x45/44) * - no PCI pin/line assignment (ide 0x3d/3c) Index: src/sys/compat/common/Makefile.sysio diff -u src/sys/compat/common/Makefile.sysio:1.13 src/sys/compat/common/Makefile.sysio:1.14 --- src/sys/compat/common/Makefile.sysio:1.13 Mon Jan 27 17:09:17 2020 +++ src/sys/compat/common/Makefile.sysio Mon Aug 9 20:49:09 2021 @@ -1,4 +1,4 @@ -# $NetBSD: Makefile.sysio,v 1.13 2020/01/27 17:09:17 pgoyette Exp $ +# $NetBSD: Makefile.sysio,v 1.14 2021/08/09 20:49:09 andvar Exp $ # Sources for syscall and ioctl compatibility across the versions. @@ -10,7 +10,7 @@ SRCS+= kern_exit_43.c kern_info_43.c ker SRCS+= kern_info_09.c SRCS+= compat_sysctl_09_43.c # for compat_43 or compat_09 -# Compatability code for NetBSD 1.0 +# Compatibility code for NetBSD 1.0 SRCS+= vfs_syscalls_10.c # Compatibility code for NetBSD 1.2 @@ -46,7 +46,7 @@ SRCS+= kern_sa_60.c tty_60.c kern_time_6 # Compatibility code for NetBSD 7.0 SRCS+= rtsock_70.c uipc_usrreq_70.c -# Compatability code for NetBSD 8.0 +# Compatibility code for NetBSD 8.0 SRCS+= kern_mod_80.c if_media_80.c # More compatibility code for NetBSD 5.0 Index: src/sys/compat/common/files.common diff -u src/sys/compat/common/files.common:1.6 src/sys/compat/common/files.common:1.7 --- src/sys/compat/common/files.common:1.6 Tue Jan 21 02:37:16 2020 +++ src/sys/compat/common/files.common Mon Aug 9 20:49:09 2021 @@ -1,4 +1,4 @@ -# $NetBSD: files.common,v 1.6 2020/01/21 02:37:16 pgoyette Exp $ +# $NetBSD: files.common,v 1.7 2021/08/09 20:49:09 andvar Exp $ # # Generic utility files, used by various compat options. @@ -28,7 +28,7 @@ file compat/common/compat_09_mod.c comp file compat/common/kern_info_09.c compat_09 file compat/common/compat_sysctl_09_43.c compat_09 | compat_43 -# Compatability code for NetBSD 1.0 +# Compatibility code for NetBSD 1.0 file compat/common/compat_10_mod.c compat_10 file compat/common/vfs_syscalls_10.c compat_10 Index: src/sys/ddb/db_command.h diff -u src/sys/ddb/db_command.h:1.41 src/sys/ddb/db_command.h:1.42 --- src/sys/ddb/db_command.h:1.41 Tue Feb 23 07:13:53 2021 +++ src/sys/ddb/db_command.h Mon Aug 9 20:49:09 2021 @@ -1,4 +1,4 @@ -/* $NetBSD: db_command.h,v 1.41 2021/02/23 07:13:53 mrg Exp $ */ +/* $NetBSD: db_command.h,v 1.42 2021/08/09 20:49:09 andvar Exp $ */ /*- * Copyright (c) 1996, 1997, 1998, 1999, 2002 The NetBSD Foundation, Inc. @@ -132,7 +132,7 @@ struct db_command { #define CS_OWN 0x1 /* non-standard syntax */ #define CS_MORE 0x2 /* standard syntax, but may have other words at end */ -#define CS_COMPAT 0x4 /* is set for compatibilty with old +#define CS_COMPAT 0x4 /* is set for compatibility with old ddb versions */ #define CS_SHOW 0x8 /* select show list */ #define CS_MACH 0x10 /* select machine dependent list */ Index: src/sys/dev/acpi/acpi_util.c diff -u src/sys/dev/acpi/acpi_util.c:1.24 src/sys/dev/acpi/acpi_util.c:1.25 --- src/sys/dev/acpi/acpi_util.c:1.24 Fri Feb 5 17:12:43 2021 +++ src/sys/dev/acpi/acpi_util.c Mon Aug 9 20:49:09 2021 @@ -1,4 +1,4 @@ -/* $NetBSD: acpi_util.c,v 1.24 2021/02/05 17:12:43 thorpej Exp $ */ +/* $NetBSD: acpi_util.c,v 1.25 2021/08/09 20:49:09 andvar Exp $ */ /*- * Copyright (c) 2003, 2007, 2021 The NetBSD Foundation, Inc. @@ -65,7 +65,7 @@ */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: acpi_util.c,v 1.24 2021/02/05 17:12:43 thorpej Exp $"); +__KERNEL_RCSID(0, "$NetBSD: acpi_util.c,v 1.25 2021/08/09 20:49:09 andvar Exp $"); #include <sys/param.h> #include <sys/kmem.h> @@ -435,7 +435,7 @@ acpi_compatible_free_strarray(const char * acpi_compatible_match -- * * Returns a weighted match value, comparing the _HID and _CID - * IDs against a driver's compatbility data. + * IDs against a driver's compatibility data. */ int acpi_compatible_match(const struct acpi_attach_args * const aa, Index: src/sys/dev/gpio/gpio.c diff -u src/sys/dev/gpio/gpio.c:1.66 src/sys/dev/gpio/gpio.c:1.67 --- src/sys/dev/gpio/gpio.c:1.66 Sat Aug 7 16:19:10 2021 +++ src/sys/dev/gpio/gpio.c Mon Aug 9 20:49:09 2021 @@ -1,4 +1,4 @@ -/* $NetBSD: gpio.c,v 1.66 2021/08/07 16:19:10 thorpej Exp $ */ +/* $NetBSD: gpio.c,v 1.67 2021/08/09 20:49:09 andvar Exp $ */ /* $OpenBSD: gpio.c,v 1.6 2006/01/14 12:33:49 grange Exp $ */ /* @@ -19,7 +19,7 @@ */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: gpio.c,v 1.66 2021/08/07 16:19:10 thorpej Exp $"); +__KERNEL_RCSID(0, "$NetBSD: gpio.c,v 1.67 2021/08/09 20:49:09 andvar Exp $"); /* * General Purpose Input/Output framework. @@ -812,7 +812,7 @@ gpio_ioctl(struct gpio_softc *sc, u_long /* * The double assignment to 'attach' in case of GPIOATTACH * and COMPAT_50 is on purpose. It ensures backward - * compatability in case we are called through the old + * compatibility in case we are called through the old * GPIOATTACH50 ioctl(2), which had not the ga_flags field * in struct gpio_attach. */ Index: src/sys/dev/i2c/dbcool.c diff -u src/sys/dev/i2c/dbcool.c:1.62 src/sys/dev/i2c/dbcool.c:1.63 --- src/sys/dev/i2c/dbcool.c:1.62 Mon Jun 21 03:12:54 2021 +++ src/sys/dev/i2c/dbcool.c Mon Aug 9 20:49:09 2021 @@ -1,4 +1,4 @@ -/* $NetBSD: dbcool.c,v 1.62 2021/06/21 03:12:54 christos Exp $ */ +/* $NetBSD: dbcool.c,v 1.63 2021/08/09 20:49:09 andvar Exp $ */ /*- * Copyright (c) 2008 The NetBSD Foundation, Inc. @@ -50,7 +50,7 @@ */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: dbcool.c,v 1.62 2021/06/21 03:12:54 christos Exp $"); +__KERNEL_RCSID(0, "$NetBSD: dbcool.c,v 1.63 2021/08/09 20:49:09 andvar Exp $"); #include <sys/param.h> #include <sys/systm.h> @@ -1501,7 +1501,7 @@ dbcool_setup(device_t self) /* * Some chips are capable of reporting an extended temperature range * by default. On these models, config register 5 bit 0 can be set - * to 1 for compatability with other chips that report 2s complement. + * to 1 for compatibility with other chips that report 2s complement. */ if (sc->sc_dc.dc_chip->flags & DBCFLAG_ADT7466) { if (sc->sc_dc.dc_readreg(&sc->sc_dc, DBCOOL_ADT7466_CONFIG1) & 0x80) Index: src/sys/dev/ic/ath.c diff -u src/sys/dev/ic/ath.c:1.135 src/sys/dev/ic/ath.c:1.136 --- src/sys/dev/ic/ath.c:1.135 Sat Jun 12 12:15:54 2021 +++ src/sys/dev/ic/ath.c Mon Aug 9 20:49:10 2021 @@ -1,4 +1,4 @@ -/* $NetBSD: ath.c,v 1.135 2021/06/12 12:15:54 riastradh Exp $ */ +/* $NetBSD: ath.c,v 1.136 2021/08/09 20:49:10 andvar Exp $ */ /*- * Copyright (c) 2002-2005 Sam Leffler, Errno Consulting @@ -41,7 +41,7 @@ __FBSDID("$FreeBSD: src/sys/dev/ath/if_ath.c,v 1.104 2005/09/16 10:09:23 ru Exp $"); #endif #ifdef __NetBSD__ -__KERNEL_RCSID(0, "$NetBSD: ath.c,v 1.135 2021/06/12 12:15:54 riastradh Exp $"); +__KERNEL_RCSID(0, "$NetBSD: ath.c,v 1.136 2021/08/09 20:49:10 andvar Exp $"); #endif /* @@ -5307,7 +5307,7 @@ ath_watchdog(struct ifnet *ifp) * Diagnostic interface to the HAL. This is used by various * tools to do things like retrieve register contents for * debugging. The mechanism is intentionally opaque so that - * it can change frequently w/o concern for compatiblity. + * it can change frequently w/o concern for compatibility. */ static int ath_ioctl_diag(struct ath_softc *sc, struct ath_diag *ad) Index: src/sys/dev/ic/dp8390var.h diff -u src/sys/dev/ic/dp8390var.h:1.35 src/sys/dev/ic/dp8390var.h:1.36 --- src/sys/dev/ic/dp8390var.h:1.35 Wed Jun 30 20:00:18 2021 +++ src/sys/dev/ic/dp8390var.h Mon Aug 9 20:49:10 2021 @@ -1,4 +1,4 @@ -/* $NetBSD: dp8390var.h,v 1.35 2021/06/30 20:00:18 thorpej Exp $ */ +/* $NetBSD: dp8390var.h,v 1.36 2021/08/09 20:49:10 andvar Exp $ */ /* * Device driver for National Semiconductor DS8390/WD83C690 based ethernet @@ -34,7 +34,7 @@ struct dp8390_softc { struct ethercom sc_ec; /* ethernet common */ struct mii_data sc_mii; /* MII glue */ -#define sc_media sc_mii.mii_media /* compatibilty definition */ +#define sc_media sc_mii.mii_media /* compatibility definition */ callout_t sc_tick_ch; /* MII tick callout */ bus_space_tag_t sc_regt; /* NIC register space tag */ Index: src/sys/dev/ic/sl811hs.c diff -u src/sys/dev/ic/sl811hs.c:1.106 src/sys/dev/ic/sl811hs.c:1.107 --- src/sys/dev/ic/sl811hs.c:1.106 Sat Aug 7 16:19:12 2021 +++ src/sys/dev/ic/sl811hs.c Mon Aug 9 20:49:10 2021 @@ -1,4 +1,4 @@ -/* $NetBSD: sl811hs.c,v 1.106 2021/08/07 16:19:12 thorpej Exp $ */ +/* $NetBSD: sl811hs.c,v 1.107 2021/08/09 20:49:10 andvar Exp $ */ /* * Not (c) 2007 Matthew Orgass @@ -68,7 +68,7 @@ */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: sl811hs.c,v 1.106 2021/08/07 16:19:12 thorpej Exp $"); +__KERNEL_RCSID(0, "$NetBSD: sl811hs.c,v 1.107 2021/08/09 20:49:10 andvar Exp $"); #ifdef _KERNEL_OPT #include "opt_slhci.h" @@ -2859,7 +2859,7 @@ slhci_reset(struct slhci_softc *sc) /* * Initialize B registers. This can't be done earlier since * they are not valid until the SL811_CSOF register is written - * above due to SL11H compatability. + * above due to SL11H compatibility. */ slhci_write(sc, SL11_E1ADDR, SL11_BUFFER_END - 8); slhci_write(sc, SL11_E1LEN, 0); Index: src/sys/kern/compat_stub.c diff -u src/sys/kern/compat_stub.c:1.21 src/sys/kern/compat_stub.c:1.22 --- src/sys/kern/compat_stub.c:1.21 Sun Nov 1 18:51:02 2020 +++ src/sys/kern/compat_stub.c Mon Aug 9 20:49:10 2021 @@ -1,4 +1,4 @@ -/* $NetBSD: compat_stub.c,v 1.21 2020/11/01 18:51:02 pgoyette Exp $ */ +/* $NetBSD: compat_stub.c,v 1.22 2021/08/09 20:49:10 andvar Exp $ */ /*- * Copyright (c) 2018 The NetBSD Foundation, Inc. @@ -75,83 +75,83 @@ void (*vec_sctp_delete_ip_address)(struc /* - * usb device_info compatability + * usb device_info compatibility */ struct usb_subr_fill_30_hook_t usb_subr_fill_30_hook; struct usb_subr_copy_30_hook_t usb_subr_copy_30_hook; /* - * ccd device compatability ioctl + * ccd device compatibility ioctl */ struct ccd_ioctl_60_hook_t ccd_ioctl_60_hook; /* - * clockctl device compatability ioctl + * clockctl device compatibility ioctl */ struct clockctl_ioctl_50_hook_t clockctl_ioctl_50_hook; /* - * if_sppp device compatability ioctl subroutine + * if_sppp device compatibility ioctl subroutine */ struct sppp_params_50_hook_t sppp_params_50_hook; /* - * cryptodev compatability ioctl + * cryptodev compatibility ioctl */ struct ocryptof_50_hook_t ocryptof_50_hook; /* - * raidframe compatability + * raidframe compatibility */ struct raidframe_ioctl_50_hook_t raidframe_ioctl_50_hook; struct raidframe_ioctl_80_hook_t raidframe_ioctl_80_hook; struct raidframe_netbsd32_ioctl_hook_t raidframe_netbsd32_ioctl_hook; /* - * puffs compatability + * puffs compatibility */ struct puffs_out_50_hook_t puffs_out_50_hook; struct puffs_in_50_hook_t puffs_in_50_hook; /* - * wsevents compatability + * wsevents compatibility */ struct wscons_copyout_events_50_hook_t wscons_copyout_events_50_hook; /* - * sysmon_power compatability + * sysmon_power compatibility */ struct compat_sysmon_power_40_hook_t compat_sysmon_power_40_hook; /* - * compat_bio compatability + * compat_bio compatibility */ struct compat_bio_30_hook_t compat_bio_30_hook; /* - * vnd ioctl compatability + * vnd ioctl compatibility */ struct compat_vndioctl_30_hook_t compat_vndioctl_30_hook; struct compat_vndioctl_50_hook_t compat_vndioctl_50_hook; /* - * ieee80211 ioctl compatability + * ieee80211 ioctl compatibility */ struct ieee80211_ioctl_20_hook_t ieee80211_ioctl_20_hook; /* - * if_43 compatability + * if_43 compatibility */ struct if_cvtcmd_43_hook_t if_cvtcmd_43_hook; struct if_ifioctl_43_hook_t if_ifioctl_43_hook; /* - * if43_cvtcmd_20 compatability + * if43_cvtcmd_20 compatibility */ struct if43_cvtcmd_20_hook_t if43_cvtcmd_20_hook; @@ -173,18 +173,18 @@ struct uipc_socket_50_getopt1_hook_t uip struct uipc_socket_50_sbts_hook_t uipc_socket_50_sbts_hook; /* - * uipc_syscalls_50 compatability + * uipc_syscalls_50 compatibility */ struct uipc_syscalls_50_hook_t uipc_syscalls_50_hook; /* - * rtsock 14 compatability + * rtsock 14 compatibility */ struct rtsock_oifmsg_14_hook_t rtsock_oifmsg_14_hook; struct rtsock_iflist_14_hook_t rtsock_iflist_14_hook; /* - * rtsock 50 compatability + * rtsock 50 compatibility */ struct rtsock_iflist_50_hook_t rtsock_iflist_50_hook; struct rtsock_oifmsg_50_hook_t rtsock_oifmsg_50_hook; @@ -197,7 +197,7 @@ struct rtsock_rt_addrmsg_50_hook_t rtsoc struct rtsock_rt_ieee80211msg_50_hook_t rtsock_rt_ieee80211msg_50_hook; /* - * rtsock 70 compatability + * rtsock 70 compatibility */ struct rtsock_newaddr_70_hook_t rtsock_newaddr_70_hook; struct rtsock_iflist_70_hook_t rtsock_iflist_70_hook; @@ -252,7 +252,7 @@ struct uipc_unp_70_hook_t uipc_unp_70_ho struct sysvipc_sysctl_50_hook_t sysvipc_sysctl_50_hook; /* - * ifmedia_80 compatability + * ifmedia_80 compatibility */ struct ifmedia_80_pre_hook_t ifmedia_80_pre_hook; struct ifmedia_80_post_hook_t ifmedia_80_post_hook; Index: src/sys/kern/sys_ptrace_common.c diff -u src/sys/kern/sys_ptrace_common.c:1.91 src/sys/kern/sys_ptrace_common.c:1.92 --- src/sys/kern/sys_ptrace_common.c:1.91 Wed Nov 4 19:27:41 2020 +++ src/sys/kern/sys_ptrace_common.c Mon Aug 9 20:49:10 2021 @@ -1,4 +1,4 @@ -/* $NetBSD: sys_ptrace_common.c,v 1.91 2020/11/04 19:27:41 pgoyette Exp $ */ +/* $NetBSD: sys_ptrace_common.c,v 1.92 2021/08/09 20:49:10 andvar Exp $ */ /*- * Copyright (c) 2008, 2009 The NetBSD Foundation, Inc. @@ -107,7 +107,7 @@ */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: sys_ptrace_common.c,v 1.91 2020/11/04 19:27:41 pgoyette Exp $"); +__KERNEL_RCSID(0, "$NetBSD: sys_ptrace_common.c,v 1.92 2021/08/09 20:49:10 andvar Exp $"); #ifdef _KERNEL_OPT #include "opt_ptrace.h" @@ -1146,7 +1146,7 @@ do_ptrace(struct ptrace_methods *ptm, st * but was extended to two 16-bit (2 x 64kb) address spaces. * * We no longer maintain this feature in maintained architectures, but - * we keep the API for backward compatiblity. Currently the I and D + * we keep the API for backward compatibility. Currently the I and D * operations are exactly the same and not distinguished in debuggers. */ case PT_WRITE_I: Index: src/sys/kern/tty_conf.c diff -u src/sys/kern/tty_conf.c:1.56 src/sys/kern/tty_conf.c:1.57 --- src/sys/kern/tty_conf.c:1.56 Thu May 22 16:28:06 2014 +++ src/sys/kern/tty_conf.c Mon Aug 9 20:49:10 2021 @@ -1,4 +1,4 @@ -/* $NetBSD: tty_conf.c,v 1.56 2014/05/22 16:28:06 dholland Exp $ */ +/* $NetBSD: tty_conf.c,v 1.57 2021/08/09 20:49:10 andvar Exp $ */ /*- * Copyright (c) 2005, 2007 The NetBSD Foundation, Inc. @@ -66,7 +66,7 @@ */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: tty_conf.c,v 1.56 2014/05/22 16:28:06 dholland Exp $"); +__KERNEL_RCSID(0, "$NetBSD: tty_conf.c,v 1.57 2021/08/09 20:49:10 andvar Exp $"); #define TTY_ALLOW_PRIVATE @@ -94,7 +94,7 @@ static struct linesw termios_disc = { }; /* - * This is for the benefit of old BSD TTY compatbility, but since it is + * This is for the benefit of old BSD TTY compatibility, but since it is * identical to termios (except for the name), don't bother conditionalizing * it. */ Index: src/sys/modules/Makefile diff -u src/sys/modules/Makefile:1.250 src/sys/modules/Makefile:1.251 --- src/sys/modules/Makefile:1.250 Mon May 17 04:07:43 2021 +++ src/sys/modules/Makefile Mon Aug 9 20:49:10 2021 @@ -1,10 +1,10 @@ -# $NetBSD: Makefile,v 1.250 2021/05/17 04:07:43 yamaguchi Exp $ +# $NetBSD: Makefile,v 1.251 2021/08/09 20:49:10 andvar Exp $ .include <bsd.own.mk> # For all platforms -# Modules for compatability with earlier versions of NetBSD +# Modules for compatibility with earlier versions of NetBSD SUBDIR+= compat_util SUBDIR+= compat_43 compat_sysctl_09_43 Index: src/sys/net/if.h diff -u src/sys/net/if.h:1.291 src/sys/net/if.h:1.292 --- src/sys/net/if.h:1.291 Tue Jun 29 21:19:58 2021 +++ src/sys/net/if.h Mon Aug 9 20:49:10 2021 @@ -1,4 +1,4 @@ -/* $NetBSD: if.h,v 1.291 2021/06/29 21:19:58 riastradh Exp $ */ +/* $NetBSD: if.h,v 1.292 2021/08/09 20:49:10 andvar Exp $ */ /*- * Copyright (c) 1999, 2000, 2001 The NetBSD Foundation, Inc. @@ -762,7 +762,7 @@ struct ifaddr { /* * Message format for use in obtaining information about interfaces from * sysctl and the routing socket. We need to force 64-bit alignment if we - * aren't using compatiblity definitons. + * aren't using compatibility definitions. */ #if !defined(_KERNEL) || !defined(COMPAT_RTSOCK) #define __align64 __aligned(sizeof(uint64_t)) Index: src/sys/net/route.h diff -u src/sys/net/route.h:1.128 src/sys/net/route.h:1.129 --- src/sys/net/route.h:1.128 Mon Mar 22 18:40:18 2021 +++ src/sys/net/route.h Mon Aug 9 20:49:10 2021 @@ -1,4 +1,4 @@ -/* $NetBSD: route.h,v 1.128 2021/03/22 18:40:18 christos Exp $ */ +/* $NetBSD: route.h,v 1.129 2021/08/09 20:49:10 andvar Exp $ */ /* * Copyright (c) 1980, 1986, 1993 @@ -207,7 +207,7 @@ struct rtstat { #if !defined(_KERNEL) || !defined(COMPAT_RTSOCK) /* - * If we aren't being compiled for backwards compatiblity, enforce 64-bit + * If we aren't being compiled for backwards compatibility, enforce 64-bit * alignment so any routing message is the same regardless if the kernel * is an ILP32 or LP64 kernel. */ Index: src/sys/netinet/sctp_pcb.h diff -u src/sys/netinet/sctp_pcb.h:1.3 src/sys/netinet/sctp_pcb.h:1.4 --- src/sys/netinet/sctp_pcb.h:1.3 Sun Jan 19 20:51:13 2020 +++ src/sys/netinet/sctp_pcb.h Mon Aug 9 20:49:10 2021 @@ -1,5 +1,5 @@ /* $KAME: sctp_pcb.h,v 1.21 2005/07/16 01:18:47 suz Exp $ */ -/* $NetBSD: sctp_pcb.h,v 1.3 2020/01/19 20:51:13 riastradh Exp $ */ +/* $NetBSD: sctp_pcb.h,v 1.4 2021/08/09 20:49:10 andvar Exp $ */ #ifndef __SCTP_PCB_H__ #define __SCTP_PCB_H__ @@ -283,7 +283,7 @@ struct sctp_socket_q_list { struct sctp_inpcb { /* * put an inpcb in front of it all, kind of a waste but we need - * to for compatability with all the other stuff. + * to for compatibility with all the other stuff. */ union { struct inpcb inp; Index: src/sys/netipsec/key.h diff -u src/sys/netipsec/key.h:1.36 src/sys/netipsec/key.h:1.37 --- src/sys/netipsec/key.h:1.36 Thu Apr 19 08:27:38 2018 +++ src/sys/netipsec/key.h Mon Aug 9 20:49:10 2021 @@ -1,4 +1,4 @@ -/* $NetBSD: key.h,v 1.36 2018/04/19 08:27:38 maxv Exp $ */ +/* $NetBSD: key.h,v 1.37 2021/08/09 20:49:10 andvar Exp $ */ /* $FreeBSD: key.h,v 1.1.4.1 2003/01/24 05:11:36 sam Exp $ */ /* $KAME: key.h,v 1.21 2001/07/27 03:51:30 itojun Exp $ */ @@ -61,7 +61,7 @@ struct secpolicy *key_newsp(const char*, struct secpolicy *key_gettunnel(const struct sockaddr *, const struct sockaddr *, const struct sockaddr *, const struct sockaddr *, const char *, int); -/* NB: prepend with _ for KAME IPv6 compatbility */ +/* NB: prepend with _ for KAME IPv6 compatibility */ void key_init_sp(struct secpolicy *); void key_free_sp(struct secpolicy *); u_int key_sp_refcnt(const struct secpolicy *); Index: src/usr.bin/find/option.c diff -u src/usr.bin/find/option.c:1.28 src/usr.bin/find/option.c:1.29 --- src/usr.bin/find/option.c:1.28 Sun Nov 1 05:38:29 2020 +++ src/usr.bin/find/option.c Mon Aug 9 20:49:10 2021 @@ -1,4 +1,4 @@ -/* $NetBSD: option.c,v 1.28 2020/11/01 05:38:29 mrg Exp $ */ +/* $NetBSD: option.c,v 1.29 2021/08/09 20:49:10 andvar Exp $ */ /*- * Copyright (c) 1990, 1993, 1994 @@ -37,7 +37,7 @@ #if 0 static char sccsid[] = "from: @(#)option.c 8.2 (Berkeley) 4/16/94"; #else -__RCSID("$NetBSD: option.c,v 1.28 2020/11/01 05:38:29 mrg Exp $"); +__RCSID("$NetBSD: option.c,v 1.29 2021/08/09 20:49:10 andvar Exp $"); #endif #endif /* not lint */ @@ -94,7 +94,7 @@ static OPTION const options[] = { { "-name", N_NAME, c_name, 1 }, { "-newer", N_NEWER, c_newer, 1 }, -/* Aliases for compatability with Gnu findutils */ +/* Aliases for compatibility with Gnu findutils */ { "-neweraa", N_ANEWER, c_anewer, 1 }, { "-newerat", N_ASINCE, c_asince, 1 }, { "-newercc", N_CNEWER, c_cnewer, 1 }, @@ -126,7 +126,7 @@ static OPTION const options[] = { */ { "-nogroup", N_NOGROUP, c_nogroup, 0 }, -/* Alias for compatability with Gnu findutils */ +/* Alias for compatibility with Gnu findutils */ { "-not", N_NOT, c_not, 0 }, { "-nouser", N_NOUSER, c_nouser, 0 }, { "-o", N_OR, c_or, 0 }, Index: src/usr.sbin/rpc.pcnfsd/README diff -u src/usr.sbin/rpc.pcnfsd/README:1.3 src/usr.sbin/rpc.pcnfsd/README:1.4 --- src/usr.sbin/rpc.pcnfsd/README:1.3 Wed Nov 12 13:31:07 2003 +++ src/usr.sbin/rpc.pcnfsd/README Mon Aug 9 20:49:11 2021 @@ -1,4 +1,4 @@ -# $NetBSD: README,v 1.3 2003/11/12 13:31:07 grant Exp $ +# $NetBSD: README,v 1.4 2021/08/09 20:49:11 andvar Exp $ July 1995 - Ported to NetBSD by Gordon Ross <g...@netbsd.org> @@ -47,7 +47,7 @@ or porting this should watch for the fol - Since some commands (especially lpq) can hang up forever if, say, the host of a remote printer is down, the su_popen mechanism now includes a watchdog timer. I HAVE NOT HAD A CHANCE TO TEST THIS - LOGIC ON SVR4 YET! The code was derived from the System V compatiility + LOGIC ON SVR4 YET! The code was derived from the System V compatibility section of the AnswerBook, so it _should_ be OK, but I can't wait to test it before posting this. - I've mades lots of lint-suggested improvements. It doesn't lint