Module Name: src Committed By: andvar Date: Sat May 28 10:36:24 UTC 2022
Modified Files: src/bin/pax: buf_subs.c src/sys/arch/amiga/dev: ite.c src/sys/arch/atari/dev: ite.c src/sys/arch/hpcarm/dev: sed_saip.c wzero3_lcd.c src/sys/arch/hpcmips/dev: ite8181.c mq200.c src/sys/arch/m68k/060sp: ReadMe.NetBSD src/sys/arch/riscv/riscv: db_disasm.c src/sys/arch/usermode/usermode: trap.c src/sys/arch/x68k/dev: ite.c src/sys/arch/zaurus/dev: w100lcd.c zlcd.c src/sys/dev/hpc: bivideo.c src/sys/dev/i2c: sht3xreg.h src/sys/dev/pci: ahd_pci.c if_casreg.h src/sys/dev/tc: zs_ioasic.c src/sys/netinet: sctp_output.c src/sys/netinet6: raw_ip6.c src/sys/sys: power.h src/usr.bin/mail: mime_detach.h src/usr.sbin/envstat: envstat.c src/usr.sbin/fwctl: fwmpegts.c src/usr.sbin/sysinst: bsddisklabel.c Log Message: fix various typos, mainly in comments. To generate a diff of this commit: cvs rdiff -u -r1.29 -r1.30 src/bin/pax/buf_subs.c cvs rdiff -u -r1.99 -r1.100 src/sys/arch/amiga/dev/ite.c cvs rdiff -u -r1.80 -r1.81 src/sys/arch/atari/dev/ite.c cvs rdiff -u -r1.28 -r1.29 src/sys/arch/hpcarm/dev/sed_saip.c cvs rdiff -u -r1.7 -r1.8 src/sys/arch/hpcarm/dev/wzero3_lcd.c cvs rdiff -u -r1.30 -r1.31 src/sys/arch/hpcmips/dev/ite8181.c cvs rdiff -u -r1.34 -r1.35 src/sys/arch/hpcmips/dev/mq200.c cvs rdiff -u -r1.6 -r1.7 src/sys/arch/m68k/060sp/ReadMe.NetBSD cvs rdiff -u -r1.8 -r1.9 src/sys/arch/riscv/riscv/db_disasm.c cvs rdiff -u -r1.72 -r1.73 src/sys/arch/usermode/usermode/trap.c cvs rdiff -u -r1.67 -r1.68 src/sys/arch/x68k/dev/ite.c cvs rdiff -u -r1.5 -r1.6 src/sys/arch/zaurus/dev/w100lcd.c cvs rdiff -u -r1.20 -r1.21 src/sys/arch/zaurus/dev/zlcd.c cvs rdiff -u -r1.36 -r1.37 src/sys/dev/hpc/bivideo.c cvs rdiff -u -r1.2 -r1.3 src/sys/dev/i2c/sht3xreg.h cvs rdiff -u -r1.39 -r1.40 src/sys/dev/pci/ahd_pci.c cvs rdiff -u -r1.5 -r1.6 src/sys/dev/pci/if_casreg.h cvs rdiff -u -r1.44 -r1.45 src/sys/dev/tc/zs_ioasic.c cvs rdiff -u -r1.29 -r1.30 src/sys/netinet/sctp_output.c cvs rdiff -u -r1.177 -r1.178 src/sys/netinet6/raw_ip6.c cvs rdiff -u -r1.22 -r1.23 src/sys/sys/power.h cvs rdiff -u -r1.2 -r1.3 src/usr.bin/mail/mime_detach.h cvs rdiff -u -r1.101 -r1.102 src/usr.sbin/envstat/envstat.c cvs rdiff -u -r1.4 -r1.5 src/usr.sbin/fwctl/fwmpegts.c cvs rdiff -u -r1.62 -r1.63 src/usr.sbin/sysinst/bsddisklabel.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/bin/pax/buf_subs.c diff -u src/bin/pax/buf_subs.c:1.29 src/bin/pax/buf_subs.c:1.30 --- src/bin/pax/buf_subs.c:1.29 Mon Mar 19 03:11:39 2018 +++ src/bin/pax/buf_subs.c Sat May 28 10:36:21 2022 @@ -1,4 +1,4 @@ -/* $NetBSD: buf_subs.c,v 1.29 2018/03/19 03:11:39 msaitoh Exp $ */ +/* $NetBSD: buf_subs.c,v 1.30 2022/05/28 10:36:21 andvar Exp $ */ /*- * Copyright (c) 1992 Keith Muller. @@ -42,7 +42,7 @@ #if 0 static char sccsid[] = "@(#)buf_subs.c 8.2 (Berkeley) 4/18/94"; #else -__RCSID("$NetBSD: buf_subs.c,v 1.29 2018/03/19 03:11:39 msaitoh Exp $"); +__RCSID("$NetBSD: buf_subs.c,v 1.30 2022/05/28 10:36:21 andvar Exp $"); #endif #endif /* not lint */ @@ -206,7 +206,7 @@ cp_start(void) * on disk files, this is trivial. However, many devices are really picky * about the conditions under which they will allow a write to occur. * Often devices restrict the conditions where writes can be made, - * so it may not be feasable to append archives stored on all types of + * so it may not be feasible to append archives stored on all types of * devices. * Return: * 0 for success, -1 for failure @@ -462,7 +462,7 @@ rd_skip(off_t skcnt) * wr_fin() * flush out any data (and pad if required) the last block. We always pad * with zero (even though we do not have to). Padding with 0 makes it a - * lot easier to recover if the archive is damaged. zero paddding SHOULD + * lot easier to recover if the archive is damaged. zero padding SHOULD * BE a requirement.... */ Index: src/sys/arch/amiga/dev/ite.c diff -u src/sys/arch/amiga/dev/ite.c:1.99 src/sys/arch/amiga/dev/ite.c:1.100 --- src/sys/arch/amiga/dev/ite.c:1.99 Mon Sep 3 16:29:22 2018 +++ src/sys/arch/amiga/dev/ite.c Sat May 28 10:36:22 2022 @@ -1,4 +1,4 @@ -/* $NetBSD: ite.c,v 1.99 2018/09/03 16:29:22 riastradh Exp $ */ +/* $NetBSD: ite.c,v 1.100 2022/05/28 10:36:22 andvar Exp $ */ /* * Copyright (c) 1988 University of Utah. @@ -46,7 +46,7 @@ #include "opt_ddb.h" #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: ite.c,v 1.99 2018/09/03 16:29:22 riastradh Exp $"); +__KERNEL_RCSID(0, "$NetBSD: ite.c,v 1.100 2022/05/28 10:36:22 andvar Exp $"); #include <sys/param.h> #include <sys/kernel.h> @@ -325,7 +325,7 @@ itecninit(struct consdev *cd) /* * ite_cnfinish() is called in ite_init() when the device is - * being probed in the normal fasion, thus we can finish setting + * being probed in the normal fashion, thus we can finish setting * up this ite now that the system is more functional. */ void Index: src/sys/arch/atari/dev/ite.c diff -u src/sys/arch/atari/dev/ite.c:1.80 src/sys/arch/atari/dev/ite.c:1.81 --- src/sys/arch/atari/dev/ite.c:1.80 Sun Jan 3 17:42:10 2021 +++ src/sys/arch/atari/dev/ite.c Sat May 28 10:36:22 2022 @@ -1,4 +1,4 @@ -/* $NetBSD: ite.c,v 1.80 2021/01/03 17:42:10 thorpej Exp $ */ +/* $NetBSD: ite.c,v 1.81 2022/05/28 10:36:22 andvar Exp $ */ /* * Copyright (c) 1988 University of Utah. @@ -44,7 +44,7 @@ */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: ite.c,v 1.80 2021/01/03 17:42:10 thorpej Exp $"); +__KERNEL_RCSID(0, "$NetBSD: ite.c,v 1.81 2022/05/28 10:36:22 andvar Exp $"); #include "opt_ddb.h" @@ -297,7 +297,7 @@ itecninit(struct consdev *cd) /* * ite_cnfinish() is called in ite_init() when the device is - * being probed in the normal fasion, thus we can finish setting + * being probed in the normal fashion, thus we can finish setting * up this ite now that the system is more functional. */ void Index: src/sys/arch/hpcarm/dev/sed_saip.c diff -u src/sys/arch/hpcarm/dev/sed_saip.c:1.28 src/sys/arch/hpcarm/dev/sed_saip.c:1.29 --- src/sys/arch/hpcarm/dev/sed_saip.c:1.28 Sat Aug 7 16:18:53 2021 +++ src/sys/arch/hpcarm/dev/sed_saip.c Sat May 28 10:36:22 2022 @@ -1,4 +1,4 @@ -/* $NetBSD: sed_saip.c,v 1.28 2021/08/07 16:18:53 thorpej Exp $ */ +/* $NetBSD: sed_saip.c,v 1.29 2022/05/28 10:36:22 andvar Exp $ */ /*- * Copyright (c) 1999-2001 @@ -34,7 +34,7 @@ */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: sed_saip.c,v 1.28 2021/08/07 16:18:53 thorpej Exp $"); +__KERNEL_RCSID(0, "$NetBSD: sed_saip.c,v 1.29 2022/05/28 10:36:22 andvar Exp $"); #include <sys/param.h> #include <sys/systm.h> @@ -545,7 +545,7 @@ sed1356_ioctl(void *v, u_long cmd, void case HPCFBIO_GOP: case HPCFBIO_SOP: /* - * curently not implemented... + * currently not implemented... */ return EINVAL; } Index: src/sys/arch/hpcarm/dev/wzero3_lcd.c diff -u src/sys/arch/hpcarm/dev/wzero3_lcd.c:1.7 src/sys/arch/hpcarm/dev/wzero3_lcd.c:1.8 --- src/sys/arch/hpcarm/dev/wzero3_lcd.c:1.7 Sat Aug 7 16:18:53 2021 +++ src/sys/arch/hpcarm/dev/wzero3_lcd.c Sat May 28 10:36:22 2022 @@ -1,4 +1,4 @@ -/* $NetBSD: wzero3_lcd.c,v 1.7 2021/08/07 16:18:53 thorpej Exp $ */ +/* $NetBSD: wzero3_lcd.c,v 1.8 2022/05/28 10:36:22 andvar Exp $ */ /*- * Copyright (C) 2008, 2009 NONAKA Kimihiro <non...@netbsd.org> @@ -26,7 +26,7 @@ */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: wzero3_lcd.c,v 1.7 2021/08/07 16:18:53 thorpej Exp $"); +__KERNEL_RCSID(0, "$NetBSD: wzero3_lcd.c,v 1.8 2022/05/28 10:36:22 andvar Exp $"); #include <sys/param.h> #include <sys/systm.h> @@ -417,7 +417,7 @@ wzero3lcd_ioctl(void *v, void *vs, u_lon case HPCFBIO_GOP: case HPCFBIO_SOP: - /* curently not implemented... */ + /* currently not implemented... */ break; } Index: src/sys/arch/hpcmips/dev/ite8181.c diff -u src/sys/arch/hpcmips/dev/ite8181.c:1.30 src/sys/arch/hpcmips/dev/ite8181.c:1.31 --- src/sys/arch/hpcmips/dev/ite8181.c:1.30 Sat Aug 7 16:18:54 2021 +++ src/sys/arch/hpcmips/dev/ite8181.c Sat May 28 10:36:22 2022 @@ -1,4 +1,4 @@ -/* $NetBSD: ite8181.c,v 1.30 2021/08/07 16:18:54 thorpej Exp $ */ +/* $NetBSD: ite8181.c,v 1.31 2022/05/28 10:36:22 andvar Exp $ */ /*- * Copyright (c) 2000,2001 SATO Kazumi @@ -28,7 +28,7 @@ */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: ite8181.c,v 1.30 2021/08/07 16:18:54 thorpej Exp $"); +__KERNEL_RCSID(0, "$NetBSD: ite8181.c,v 1.31 2022/05/28 10:36:22 andvar Exp $"); #include <sys/param.h> #include <sys/kernel.h> @@ -875,7 +875,7 @@ ite8181_ioctl(void *v, u_long cmd, void case HPCFBIO_GOP: case HPCFBIO_SOP: /* - * curently not implemented... + * currently not implemented... */ return (EINVAL); } Index: src/sys/arch/hpcmips/dev/mq200.c diff -u src/sys/arch/hpcmips/dev/mq200.c:1.34 src/sys/arch/hpcmips/dev/mq200.c:1.35 --- src/sys/arch/hpcmips/dev/mq200.c:1.34 Sat Aug 7 16:18:54 2021 +++ src/sys/arch/hpcmips/dev/mq200.c Sat May 28 10:36:22 2022 @@ -1,4 +1,4 @@ -/* $NetBSD: mq200.c,v 1.34 2021/08/07 16:18:54 thorpej Exp $ */ +/* $NetBSD: mq200.c,v 1.35 2022/05/28 10:36:22 andvar Exp $ */ /*- * Copyright (c) 2000, 2001 TAKEMURA Shin @@ -30,7 +30,7 @@ */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: mq200.c,v 1.34 2021/08/07 16:18:54 thorpej Exp $"); +__KERNEL_RCSID(0, "$NetBSD: mq200.c,v 1.35 2022/05/28 10:36:22 andvar Exp $"); #include <sys/param.h> #include <sys/bus.h> @@ -696,7 +696,7 @@ mq200_ioctl(void *v, u_long cmd, void *d case HPCFBIO_GOP: case HPCFBIO_SOP: /* - * curently not implemented... + * currrently not implemented... */ return (EINVAL); } Index: src/sys/arch/m68k/060sp/ReadMe.NetBSD diff -u src/sys/arch/m68k/060sp/ReadMe.NetBSD:1.6 src/sys/arch/m68k/060sp/ReadMe.NetBSD:1.7 --- src/sys/arch/m68k/060sp/ReadMe.NetBSD:1.6 Sat May 3 23:57:21 2008 +++ src/sys/arch/m68k/060sp/ReadMe.NetBSD Sat May 28 10:36:22 2022 @@ -1,4 +1,4 @@ -$NetBSD: ReadMe.NetBSD,v 1.6 2008/05/03 23:57:21 martin Exp $ +$NetBSD: ReadMe.NetBSD,v 1.7 2022/05/28 10:36:22 andvar Exp $ Copyright (c) 1996 The NetBSD Foundation, Inc. All rights reserved. @@ -53,7 +53,7 @@ the translation time. through an RTE as in the example file Other changes are only in the method this was integrated into the -Amiga vs. X68k port, which is machine dependend anyway. +Amiga vs. X68k port, which is machine dependent anyway. Thanks for the initial effort! @@ -73,7 +73,7 @@ These are: errata, changes, files, readme: by Motorola. -I choose .S as the file suffix which is feeded to our assembler +I choose .S as the file suffix which is fed to our assembler directly or indirectly. We use: To create: Index: src/sys/arch/riscv/riscv/db_disasm.c diff -u src/sys/arch/riscv/riscv/db_disasm.c:1.8 src/sys/arch/riscv/riscv/db_disasm.c:1.9 --- src/sys/arch/riscv/riscv/db_disasm.c:1.8 Sun May 23 23:22:55 2021 +++ src/sys/arch/riscv/riscv/db_disasm.c Sat May 28 10:36:22 2022 @@ -1,4 +1,4 @@ -/* $NetBSD: db_disasm.c,v 1.8 2021/05/23 23:22:55 dholland Exp $ */ +/* $NetBSD: db_disasm.c,v 1.9 2022/05/28 10:36:22 andvar Exp $ */ /*- * Copyright (c) 2014 The NetBSD Foundation, Inc. @@ -31,7 +31,7 @@ #include <sys/cdefs.h> -__RCSID("$NetBSD: db_disasm.c,v 1.8 2021/05/23 23:22:55 dholland Exp $"); +__RCSID("$NetBSD: db_disasm.c,v 1.9 2022/05/28 10:36:22 andvar Exp $"); #include <sys/param.h> #include <sys/systm.h> @@ -1203,7 +1203,7 @@ db_disasm_32(db_addr_t loc, uint32_t ins } else if (info->printflags & CSRIIMM) { /* * CSR instruction with immediate; the CSR - * number is in the immediate fiel and the RS1 + * number is in the immediate field and the RS1 * field contains the immediate. Bleck. */ imm = INSN_IMM_I(insn); Index: src/sys/arch/usermode/usermode/trap.c diff -u src/sys/arch/usermode/usermode/trap.c:1.72 src/sys/arch/usermode/usermode/trap.c:1.73 --- src/sys/arch/usermode/usermode/trap.c:1.72 Fri Nov 29 18:27:33 2019 +++ src/sys/arch/usermode/usermode/trap.c Sat May 28 10:36:22 2022 @@ -1,4 +1,4 @@ -/* $NetBSD: trap.c,v 1.72 2019/11/29 18:27:33 ad Exp $ */ +/* $NetBSD: trap.c,v 1.73 2022/05/28 10:36:22 andvar Exp $ */ /*- * Copyright (c) 2011 Reinoud Zandijk <rein...@netbsd.org> @@ -27,7 +27,7 @@ */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: trap.c,v 1.72 2019/11/29 18:27:33 ad Exp $"); +__KERNEL_RCSID(0, "$NetBSD: trap.c,v 1.73 2022/05/28 10:36:22 andvar Exp $"); #include <sys/types.h> #include <sys/param.h> @@ -115,7 +115,7 @@ setup_signal_handlers(void) * Set up the alternative signal stack. This prevents signals to be * pushed on the NetBSD/usermode userland's stack with all desastrous * effects. Especially ld.so and friends have such tiny stacks that - * its not feasable. + * its not feasible. */ sigstk.ss_sp = sig_stack; sigstk.ss_size = SIGSTKSZ; Index: src/sys/arch/x68k/dev/ite.c diff -u src/sys/arch/x68k/dev/ite.c:1.67 src/sys/arch/x68k/dev/ite.c:1.68 --- src/sys/arch/x68k/dev/ite.c:1.67 Thu May 26 15:05:11 2022 +++ src/sys/arch/x68k/dev/ite.c Sat May 28 10:36:22 2022 @@ -1,4 +1,4 @@ -/* $NetBSD: ite.c,v 1.67 2022/05/26 15:05:11 tsutsui Exp $ */ +/* $NetBSD: ite.c,v 1.68 2022/05/28 10:36:22 andvar Exp $ */ /* * Copyright (c) 1988 University of Utah. @@ -45,7 +45,7 @@ */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: ite.c,v 1.67 2022/05/26 15:05:11 tsutsui Exp $"); +__KERNEL_RCSID(0, "$NetBSD: ite.c,v 1.68 2022/05/28 10:36:22 andvar Exp $"); #include "ite.h" #if NITE > 0 @@ -2367,7 +2367,7 @@ itecninit(struct consdev *cd) /* * itecnfinish() is called in ite_init() when the device is - * being probed in the normal fasion, thus we can finish setting + * being probed in the normal fashion, thus we can finish setting * up this ite now that the system is more functional. */ void Index: src/sys/arch/zaurus/dev/w100lcd.c diff -u src/sys/arch/zaurus/dev/w100lcd.c:1.5 src/sys/arch/zaurus/dev/w100lcd.c:1.6 --- src/sys/arch/zaurus/dev/w100lcd.c:1.5 Sat Aug 7 16:19:08 2021 +++ src/sys/arch/zaurus/dev/w100lcd.c Sat May 28 10:36:23 2022 @@ -1,4 +1,4 @@ -/* $NetBSD: w100lcd.c,v 1.5 2021/08/07 16:19:08 thorpej Exp $ */ +/* $NetBSD: w100lcd.c,v 1.6 2022/05/28 10:36:23 andvar Exp $ */ /* * Copyright (c) 2002, 2003 Genetec Corporation. All rights reserved. * Written by Hiroyuki Bessho for Genetec Corporation. @@ -39,7 +39,7 @@ * LCD on/off switch and backlight brightness are done in lcdctl.c. */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: w100lcd.c,v 1.5 2021/08/07 16:19:08 thorpej Exp $"); +__KERNEL_RCSID(0, "$NetBSD: w100lcd.c,v 1.6 2022/05/28 10:36:23 andvar Exp $"); #include "lcdctl.h" @@ -311,7 +311,7 @@ w100lcd_ioctl(void *v, void *vs, u_long case HPCFBIO_GOP: case HPCFBIO_SOP: - /* curently not implemented... */ + /* currently not implemented... */ break; default: Index: src/sys/arch/zaurus/dev/zlcd.c diff -u src/sys/arch/zaurus/dev/zlcd.c:1.20 src/sys/arch/zaurus/dev/zlcd.c:1.21 --- src/sys/arch/zaurus/dev/zlcd.c:1.20 Sat Aug 7 16:19:08 2021 +++ src/sys/arch/zaurus/dev/zlcd.c Sat May 28 10:36:23 2022 @@ -1,4 +1,4 @@ -/* $NetBSD: zlcd.c,v 1.20 2021/08/07 16:19:08 thorpej Exp $ */ +/* $NetBSD: zlcd.c,v 1.21 2022/05/28 10:36:23 andvar Exp $ */ /* $OpenBSD: zaurus_lcd.c,v 1.20 2006/06/02 20:50:14 miod Exp $ */ /* NetBSD: lubbock_lcd.c,v 1.1 2003/08/09 19:38:53 bsh Exp */ @@ -44,7 +44,7 @@ */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: zlcd.c,v 1.20 2021/08/07 16:19:08 thorpej Exp $"); +__KERNEL_RCSID(0, "$NetBSD: zlcd.c,v 1.21 2022/05/28 10:36:23 andvar Exp $"); #include "lcdctl.h" @@ -324,7 +324,7 @@ lcd_ioctl(void *v, void *vs, u_long cmd, case HPCFBIO_GOP: case HPCFBIO_SOP: - /* curently not implemented... */ + /* currently not implemented... */ break; } Index: src/sys/dev/hpc/bivideo.c diff -u src/sys/dev/hpc/bivideo.c:1.36 src/sys/dev/hpc/bivideo.c:1.37 --- src/sys/dev/hpc/bivideo.c:1.36 Sat Aug 7 16:19:11 2021 +++ src/sys/dev/hpc/bivideo.c Sat May 28 10:36:23 2022 @@ -1,4 +1,4 @@ -/* $NetBSD: bivideo.c,v 1.36 2021/08/07 16:19:11 thorpej Exp $ */ +/* $NetBSD: bivideo.c,v 1.37 2022/05/28 10:36:23 andvar Exp $ */ /*- * Copyright (c) 1999-2001 @@ -35,7 +35,7 @@ */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: bivideo.c,v 1.36 2021/08/07 16:19:11 thorpej Exp $"); +__KERNEL_RCSID(0, "$NetBSD: bivideo.c,v 1.37 2022/05/28 10:36:23 andvar Exp $"); #ifdef _KERNEL_OPT #include "opt_hpcfb.h" @@ -610,7 +610,7 @@ bivideo_ioctl(void *v, u_long cmd, void case HPCFBIO_GOP: case HPCFBIO_SOP: /* - * curently not implemented... + * currently not implemented... */ return (EINVAL); } Index: src/sys/dev/i2c/sht3xreg.h diff -u src/sys/dev/i2c/sht3xreg.h:1.2 src/sys/dev/i2c/sht3xreg.h:1.3 --- src/sys/dev/i2c/sht3xreg.h:1.2 Wed Apr 27 23:11:25 2022 +++ src/sys/dev/i2c/sht3xreg.h Sat May 28 10:36:23 2022 @@ -1,4 +1,4 @@ -/* $NetBSD: sht3xreg.h,v 1.2 2022/04/27 23:11:25 brad Exp $ */ +/* $NetBSD: sht3xreg.h,v 1.3 2022/05/28 10:36:23 andvar Exp $ */ /* * Copyright (c) 2021 Brad Spencer <b...@anduin.eldar.org> @@ -83,7 +83,7 @@ /* This is not supported by the sht3xtemp driver as the information in the datasheet was not enough to get it working. A read of the registers appears to - funtion just fine, but writes do not do anything, and + function just fine, but writes do not do anything, and the chip does not indicate any errors occured. */ #define SHT3X_READ_HIGH_ALERT_SET 0xE11F Index: src/sys/dev/pci/ahd_pci.c diff -u src/sys/dev/pci/ahd_pci.c:1.39 src/sys/dev/pci/ahd_pci.c:1.40 --- src/sys/dev/pci/ahd_pci.c:1.39 Sun Nov 10 21:16:36 2019 +++ src/sys/dev/pci/ahd_pci.c Sat May 28 10:36:23 2022 @@ -1,4 +1,4 @@ -/* $NetBSD: ahd_pci.c,v 1.39 2019/11/10 21:16:36 chs Exp $ */ +/* $NetBSD: ahd_pci.c,v 1.40 2022/05/28 10:36:23 andvar Exp $ */ /* * Product specific probe and attach routines for: @@ -50,7 +50,7 @@ */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: ahd_pci.c,v 1.39 2019/11/10 21:16:36 chs Exp $"); +__KERNEL_RCSID(0, "$NetBSD: ahd_pci.c,v 1.40 2022/05/28 10:36:23 andvar Exp $"); #define AHD_PCI_IOADDR PCI_MAPREG_START /* I/O Address */ #define AHD_PCI_MEMADDR (PCI_MAPREG_START + 4) /* Mem I/O Address */ @@ -606,7 +606,7 @@ ahd_pci_test_register_access(struct ahd_ * Next create a situation where write combining * or read prefetching could be initiated by the * CPU or host bridge. Our device does not support - * either, so look for data corruption and/or flaged + * either, so look for data corruption and/or flagged * PCI errors. First pause without causing another * chip reset. */ Index: src/sys/dev/pci/if_casreg.h diff -u src/sys/dev/pci/if_casreg.h:1.5 src/sys/dev/pci/if_casreg.h:1.6 --- src/sys/dev/pci/if_casreg.h:1.5 Thu Dec 9 20:49:26 2021 +++ src/sys/dev/pci/if_casreg.h Sat May 28 10:36:23 2022 @@ -1,4 +1,4 @@ -/* $NetBSD: if_casreg.h,v 1.5 2021/12/09 20:49:26 andvar Exp $ */ +/* $NetBSD: if_casreg.h,v 1.6 2022/05/28 10:36:23 andvar Exp $ */ /* $OpenBSD: if_casreg.h,v 1.10 2008/05/31 22:49:03 kettenis Exp $ */ /* @@ -254,7 +254,7 @@ #define CAS_RX_PAGE_SIZE_SZ 0x00000003 /* Page size */ #define CAS_RX_PAGE_SIZE_COUNT 0x00007800 /* MTU buffers per page */ #define CAS_RX_PAGE_SIZE_STRIDE 0x18000000 /* MTU buffer separation */ -#define CAS_RX_PAGE_SIZE_FBOFF 0xc0000000 /* Firts byte offset */ +#define CAS_RX_PAGE_SIZE_FBOFF 0xc0000000 /* First byte offset */ #define CAS_RX_PAGE_SIZE_COUNT_SHIFT 11 #define CAS_RX_PAGE_SIZE_STRIDE_SHIFT 27 Index: src/sys/dev/tc/zs_ioasic.c diff -u src/sys/dev/tc/zs_ioasic.c:1.44 src/sys/dev/tc/zs_ioasic.c:1.45 --- src/sys/dev/tc/zs_ioasic.c:1.44 Sat Sep 11 20:28:06 2021 +++ src/sys/dev/tc/zs_ioasic.c Sat May 28 10:36:23 2022 @@ -1,4 +1,4 @@ -/* $NetBSD: zs_ioasic.c,v 1.44 2021/09/11 20:28:06 andvar Exp $ */ +/* $NetBSD: zs_ioasic.c,v 1.45 2022/05/28 10:36:23 andvar Exp $ */ /*- * Copyright (c) 1996, 1998 The NetBSD Foundation, Inc. @@ -41,7 +41,7 @@ */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: zs_ioasic.c,v 1.44 2021/09/11 20:28:06 andvar Exp $"); +__KERNEL_RCSID(0, "$NetBSD: zs_ioasic.c,v 1.45 2022/05/28 10:36:23 andvar Exp $"); #include "opt_ddb.h" #include "opt_kgdb.h" @@ -107,7 +107,7 @@ static void zs_putc(struct zs_chanstate int zs_def_cflag = (TTYDEF_CFLAG & ~(CSIZE | PARENB)) | CS8; /* - * ZS chips are feeded a 7.372 MHz clock. + * ZS chips are fed a 7.372 MHz clock. */ #define PCLK (9600 * 768) /* PCLK pin input clock rate */ Index: src/sys/netinet/sctp_output.c diff -u src/sys/netinet/sctp_output.c:1.29 src/sys/netinet/sctp_output.c:1.30 --- src/sys/netinet/sctp_output.c:1.29 Fri Apr 8 10:17:55 2022 +++ src/sys/netinet/sctp_output.c Sat May 28 10:36:23 2022 @@ -1,4 +1,4 @@ -/* $NetBSD: sctp_output.c,v 1.29 2022/04/08 10:17:55 andvar Exp $ */ +/* $NetBSD: sctp_output.c,v 1.30 2022/05/28 10:36:23 andvar Exp $ */ /* $KAME: sctp_output.c,v 1.48 2005/06/16 18:29:24 jinmei Exp $ */ /* @@ -30,7 +30,7 @@ * SUCH DAMAGE. */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: sctp_output.c,v 1.29 2022/04/08 10:17:55 andvar Exp $"); +__KERNEL_RCSID(0, "$NetBSD: sctp_output.c,v 1.30 2022/05/28 10:36:23 andvar Exp $"); #ifdef _KERNEL_OPT #include "opt_ipsec.h" @@ -4697,7 +4697,7 @@ sctp_sendall_completes(void *ptr, u_int3 * Kacheong suggests that the notify * be done at the send time.. so you would * push up a notification if any send failed. - * Don't know if this is feasable since the + * Don't know if this is feasible since the * only failures we have is "memory" related and * if you cannot get an mbuf to send the data * you surely can't get an mbuf to send up Index: src/sys/netinet6/raw_ip6.c diff -u src/sys/netinet6/raw_ip6.c:1.177 src/sys/netinet6/raw_ip6.c:1.178 --- src/sys/netinet6/raw_ip6.c:1.177 Wed Feb 23 21:54:41 2022 +++ src/sys/netinet6/raw_ip6.c Sat May 28 10:36:23 2022 @@ -1,4 +1,4 @@ -/* $NetBSD: raw_ip6.c,v 1.177 2022/02/23 21:54:41 andvar Exp $ */ +/* $NetBSD: raw_ip6.c,v 1.178 2022/05/28 10:36:23 andvar Exp $ */ /* $KAME: raw_ip6.c,v 1.82 2001/07/23 18:57:56 jinmei Exp $ */ /* @@ -62,7 +62,7 @@ */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: raw_ip6.c,v 1.177 2022/02/23 21:54:41 andvar Exp $"); +__KERNEL_RCSID(0, "$NetBSD: raw_ip6.c,v 1.178 2022/05/28 10:36:23 andvar Exp $"); #ifdef _KERNEL_OPT #include "opt_ipsec.h" @@ -783,7 +783,7 @@ rip6_shutdown(struct socket *so) KASSERT(solocked(so)); /* - * Mark the connection as being incapable of futher input. + * Mark the connection as being incapable of further input. */ socantsendmore(so); return 0; Index: src/sys/sys/power.h diff -u src/sys/sys/power.h:1.22 src/sys/sys/power.h:1.23 --- src/sys/sys/power.h:1.22 Sat May 29 16:49:57 2021 +++ src/sys/sys/power.h Sat May 28 10:36:23 2022 @@ -1,4 +1,4 @@ -/* $NetBSD: power.h,v 1.22 2021/05/29 16:49:57 riastradh Exp $ */ +/* $NetBSD: power.h,v 1.23 2022/05/28 10:36:23 andvar Exp $ */ /* * Copyright (c) 2003 Wasabi Systems, Inc. @@ -139,7 +139,7 @@ struct pswitch_state { * envsys events are sent by the sysmon envsys framework when * a warning or critical condition happens in a sensor. * - * We define the folowing types of envsys events: + * We define the following types of envsys events: * * sensor temperature To handle temperature sensors. * Index: src/usr.bin/mail/mime_detach.h diff -u src/usr.bin/mail/mime_detach.h:1.2 src/usr.bin/mail/mime_detach.h:1.3 --- src/usr.bin/mail/mime_detach.h:1.2 Mon Apr 28 20:24:14 2008 +++ src/usr.bin/mail/mime_detach.h Sat May 28 10:36:24 2022 @@ -1,4 +1,4 @@ -/* $NetBSD: mime_detach.h,v 1.2 2008/04/28 20:24:14 martin Exp $ */ +/* $NetBSD: mime_detach.h,v 1.3 2022/05/28 10:36:24 andvar Exp $ */ /*- * Copyright (c) 2006 The NetBSD Foundation, Inc. @@ -36,7 +36,7 @@ #define __MIME_DETACH_H__ /* - * The fundametal data structure shared by mime_decode.c and mime_detach.c. + * The fundamental data structure shared by mime_decode.c and mime_detach.c. */ struct mime_info { struct mime_info *mi_blink; Index: src/usr.sbin/envstat/envstat.c diff -u src/usr.sbin/envstat/envstat.c:1.101 src/usr.sbin/envstat/envstat.c:1.102 --- src/usr.sbin/envstat/envstat.c:1.101 Sat Nov 27 22:30:25 2021 +++ src/usr.sbin/envstat/envstat.c Sat May 28 10:36:24 2022 @@ -1,4 +1,4 @@ -/* $NetBSD: envstat.c,v 1.101 2021/11/27 22:30:25 rillig Exp $ */ +/* $NetBSD: envstat.c,v 1.102 2022/05/28 10:36:24 andvar Exp $ */ /*- * Copyright (c) 2007, 2008 Juan Romero Pardines. @@ -27,7 +27,7 @@ #include <sys/cdefs.h> #ifndef lint -__RCSID("$NetBSD: envstat.c,v 1.101 2021/11/27 22:30:25 rillig Exp $"); +__RCSID("$NetBSD: envstat.c,v 1.102 2022/05/28 10:36:24 andvar Exp $"); #endif /* not lint */ #include <stdio.h> @@ -52,7 +52,7 @@ __RCSID("$NetBSD: envstat.c,v 1.101 2021 #include "prog_ops.h" #define ENVSYS_DFLAG 0x00000001 /* list registered devices */ -#define ENVSYS_FFLAG 0x00000002 /* show temp in farenheit */ +#define ENVSYS_FFLAG 0x00000002 /* show temp in fahrenheit */ #define ENVSYS_LFLAG 0x00000004 /* list sensors */ #define ENVSYS_XFLAG 0x00000008 /* externalize dictionary */ #define ENVSYS_IFLAG 0x00000010 /* skip invalid sensors */ @@ -142,7 +142,7 @@ int main(int argc, char **argv) case 'd': /* show sensors of a specific device */ mydevname = optarg; break; - case 'f': /* display temperature in Farenheit */ + case 'f': /* display temperature in Fahrenheit */ flags |= ENVSYS_FFLAG; break; case 'I': /* Skips invalid sensors */ Index: src/usr.sbin/fwctl/fwmpegts.c diff -u src/usr.sbin/fwctl/fwmpegts.c:1.4 src/usr.sbin/fwctl/fwmpegts.c:1.5 --- src/usr.sbin/fwctl/fwmpegts.c:1.4 Tue Jan 4 20:45:13 2011 +++ src/usr.sbin/fwctl/fwmpegts.c Sat May 28 10:36:24 2022 @@ -1,4 +1,4 @@ -/* $NetBSD: fwmpegts.c,v 1.4 2011/01/04 20:45:13 christos Exp $ */ +/* $NetBSD: fwmpegts.c,v 1.5 2022/05/28 10:36:24 andvar Exp $ */ /* * Copyright (C) 2005 * Petr Holub, Hidetoshi Shimokawa. All rights reserved. @@ -83,7 +83,7 @@ MPEG-2 Transport Stream (MPEG TS) packet N.b. that CRCs are removed by firewire layer! -The following fiels are fixed for IEEE-1394: +The following fields are fixed for IEEE-1394: tag = 01b tcode = 1010b The length is payload length, i.e. includes CIP header and data size. @@ -108,7 +108,7 @@ bandwidth (R): 2) 1.5 < R < 3 Mbps: db0/db1 or db2/db3 or db4/db5 or db6/db7 is payload, 3) 3 < R < 6 Mbps: db0/db1/db2/db3 or db4/db5/db6/db7 is payload, 4) R > 6 Mbps: all db0..db7 contain the payload. -Curently, only case (4) is supported in fwmpegts.c +Currently, only case (4) is supported in fwmpegts.c Each packet may contain N MPEG TS data blocks with timestamp header, which are (4+188)B long. Experimentally, the N ranges from 0 through 3. Index: src/usr.sbin/sysinst/bsddisklabel.c diff -u src/usr.sbin/sysinst/bsddisklabel.c:1.62 src/usr.sbin/sysinst/bsddisklabel.c:1.63 --- src/usr.sbin/sysinst/bsddisklabel.c:1.62 Sun May 22 11:27:37 2022 +++ src/usr.sbin/sysinst/bsddisklabel.c Sat May 28 10:36:24 2022 @@ -1,4 +1,4 @@ -/* $NetBSD: bsddisklabel.c,v 1.62 2022/05/22 11:27:37 andvar Exp $ */ +/* $NetBSD: bsddisklabel.c,v 1.63 2022/05/28 10:36:24 andvar Exp $ */ /* * Copyright 1997 Piermont Information Systems Inc. @@ -897,7 +897,7 @@ merge_part_with_wanted(struct disk_parti } /* - * no match - if this is fromt the outer scheme, we are done. + * no match - if this is from the outer scheme, we are done. * otherwise it must be inserted into the wanted set. */ if (is_outer) @@ -1246,7 +1246,7 @@ sort_and_sync_parts(struct partition_usa infos[i].cur_flags = PTI_PSCHEME_INTERNAL; } /* - * Now copy over eveything from our old entries that points to + * Now copy over everything from our old entries that points to * a real partition. */ for (i = 0; i < pset->num; i++) {