Module Name: src
Committed By: andvar
Date: Tue Oct 12 08:36:29 UTC 2021
Modified Files:
src/sys/arch/m68k/m68k: pmap_motorola.c
src/sys/arch/vax/vax: pmap.c
src/sys/compat/linux/arch/aarch64: linux_commons.c
src/sys/compat/linux/arch/amd64: linux_commons.c
src/sys/compat/linux/arch/arm: linux_commons.c
src/sys/compat/linux/arch/i386: linux_commons.c
src/sys/dev/i2c: i2c_exec.c
src/sys/dev/pci: piixpm.c
src/sys/dev/scsipi: cd.c
Log Message:
fix various typos, mainly in comments.
To generate a diff of this commit:
cvs rdiff -u -r1.74 -r1.75 src/sys/arch/m68k/m68k/pmap_motorola.c
cvs rdiff -u -r1.192 -r1.193 src/sys/arch/vax/vax/pmap.c
cvs rdiff -u -r1.1 -r1.2 src/sys/compat/linux/arch/aarch64/linux_commons.c
cvs rdiff -u -r1.12 -r1.13 src/sys/compat/linux/arch/amd64/linux_commons.c
cvs rdiff -u -r1.13 -r1.14 src/sys/compat/linux/arch/arm/linux_commons.c
cvs rdiff -u -r1.17 -r1.18 src/sys/compat/linux/arch/i386/linux_commons.c
cvs rdiff -u -r1.16 -r1.17 src/sys/dev/i2c/i2c_exec.c
cvs rdiff -u -r1.65 -r1.66 src/sys/dev/pci/piixpm.c
cvs rdiff -u -r1.352 -r1.353 src/sys/dev/scsipi/cd.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sys/arch/m68k/m68k/pmap_motorola.c
diff -u src/sys/arch/m68k/m68k/pmap_motorola.c:1.74 src/sys/arch/m68k/m68k/pmap_motorola.c:1.75
--- src/sys/arch/m68k/m68k/pmap_motorola.c:1.74 Fri Apr 16 00:13:48 2021
+++ src/sys/arch/m68k/m68k/pmap_motorola.c Tue Oct 12 08:36:28 2021
@@ -1,4 +1,4 @@
-/* $NetBSD: pmap_motorola.c,v 1.74 2021/04/16 00:13:48 mrg Exp $ */
+/* $NetBSD: pmap_motorola.c,v 1.75 2021/10/12 08:36:28 andvar Exp $ */
/*-
* Copyright (c) 1999 The NetBSD Foundation, Inc.
@@ -119,7 +119,7 @@
#include "opt_m68k_arch.h"
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: pmap_motorola.c,v 1.74 2021/04/16 00:13:48 mrg Exp $");
+__KERNEL_RCSID(0, "$NetBSD: pmap_motorola.c,v 1.75 2021/10/12 08:36:28 andvar Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -696,7 +696,7 @@ pmap_destroy(pmap_t pmap)
/*
* pmap_release:
*
- * Relese the resources held by a pmap.
+ * Release the resources held by a pmap.
*
* Note: THIS FUNCTION SHOULD BE MOVED INTO pmap_destroy().
*/
Index: src/sys/arch/vax/vax/pmap.c
diff -u src/sys/arch/vax/vax/pmap.c:1.192 src/sys/arch/vax/vax/pmap.c:1.193
--- src/sys/arch/vax/vax/pmap.c:1.192 Mon Aug 2 12:56:23 2021
+++ src/sys/arch/vax/vax/pmap.c Tue Oct 12 08:36:28 2021
@@ -1,4 +1,4 @@
-/* $NetBSD: pmap.c,v 1.192 2021/08/02 12:56:23 andvar Exp $ */
+/* $NetBSD: pmap.c,v 1.193 2021/10/12 08:36:28 andvar Exp $ */
/*
* Copyright (c) 1994, 1998, 1999, 2003 Ludd, University of Lule}, Sweden.
* All rights reserved.
@@ -25,7 +25,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: pmap.c,v 1.192 2021/08/02 12:56:23 andvar Exp $");
+__KERNEL_RCSID(0, "$NetBSD: pmap.c,v 1.193 2021/10/12 08:36:28 andvar Exp $");
#include "opt_ddb.h"
#include "opt_cputype.h"
@@ -859,7 +859,7 @@ pmap_pinit(pmap_t pmap)
/*
* Do not allocate any pte's here, we don't know the size and
- * we'll get a page pault anyway when some page is referenced,
+ * we'll get a page fault anyway when some page is referenced,
* so do it then.
*/
pmap->pm_p0br = (struct pte *)KERNBASE;
@@ -935,8 +935,8 @@ pmap_release(struct pmap *pmap)
/*
* pmap_destroy(pmap): Remove a reference from the pmap.
- * If the pmap is NULL then just return else decrese pm_count.
- * If this was the last reference we call's pmap_relaese to release this pmap.
+ * If the pmap is NULL then just return else decrease pm_count.
+ * If this was the last reference we call's pmap_release to release this pmap.
*/
void
Index: src/sys/compat/linux/arch/aarch64/linux_commons.c
diff -u src/sys/compat/linux/arch/aarch64/linux_commons.c:1.1 src/sys/compat/linux/arch/aarch64/linux_commons.c:1.2
--- src/sys/compat/linux/arch/aarch64/linux_commons.c:1.1 Thu Sep 23 06:56:27 2021
+++ src/sys/compat/linux/arch/aarch64/linux_commons.c Tue Oct 12 08:36:28 2021
@@ -1,8 +1,8 @@
-/* $NetBSD: linux_commons.c,v 1.1 2021/09/23 06:56:27 ryo Exp $ */
+/* $NetBSD: linux_commons.c,v 1.2 2021/10/12 08:36:28 andvar Exp $ */
/*
* This file includes C files from the common
- * area to decrese the number of files to compile
+ * area to decrease the number of files to compile
* in order to make building a kernel go faster.
*
* Option headers and headers which depend on
@@ -13,7 +13,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: linux_commons.c,v 1.1 2021/09/23 06:56:27 ryo Exp $");
+__KERNEL_RCSID(0, "$NetBSD: linux_commons.c,v 1.2 2021/10/12 08:36:28 andvar Exp $");
#if defined(_KERNEL_OPT)
#include "opt_sysv.h"
Index: src/sys/compat/linux/arch/amd64/linux_commons.c
diff -u src/sys/compat/linux/arch/amd64/linux_commons.c:1.12 src/sys/compat/linux/arch/amd64/linux_commons.c:1.13
--- src/sys/compat/linux/arch/amd64/linux_commons.c:1.12 Sun May 3 01:06:55 2020
+++ src/sys/compat/linux/arch/amd64/linux_commons.c Tue Oct 12 08:36:28 2021
@@ -1,8 +1,8 @@
-/* $NetBSD: linux_commons.c,v 1.12 2020/05/03 01:06:55 thorpej Exp $ */
+/* $NetBSD: linux_commons.c,v 1.13 2021/10/12 08:36:28 andvar Exp $ */
/*
* This file includes C files from the common
- * area to decrese the number of files to compile
+ * area to decrease the number of files to compile
* in order to make building a kernel go faster.
*
* Option headers and headers which depend on
@@ -13,7 +13,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(1, "$NetBSD: linux_commons.c,v 1.12 2020/05/03 01:06:55 thorpej Exp $");
+__KERNEL_RCSID(1, "$NetBSD: linux_commons.c,v 1.13 2021/10/12 08:36:28 andvar Exp $");
#if defined(_KERNEL_OPT)
#include "opt_sysv.h"
Index: src/sys/compat/linux/arch/arm/linux_commons.c
diff -u src/sys/compat/linux/arch/arm/linux_commons.c:1.13 src/sys/compat/linux/arch/arm/linux_commons.c:1.14
--- src/sys/compat/linux/arch/arm/linux_commons.c:1.13 Sun May 3 01:06:55 2020
+++ src/sys/compat/linux/arch/arm/linux_commons.c Tue Oct 12 08:36:28 2021
@@ -1,8 +1,8 @@
-/* $NetBSD: linux_commons.c,v 1.13 2020/05/03 01:06:55 thorpej Exp $ */
+/* $NetBSD: linux_commons.c,v 1.14 2021/10/12 08:36:28 andvar Exp $ */
/*
* This file includes C files from the common
- * area to decrese the number of files to compile
+ * area to decrease the number of files to compile
* in order to make building a kernel go faster.
*
* Option headers and headers which depend on
@@ -13,7 +13,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(1, "$NetBSD: linux_commons.c,v 1.13 2020/05/03 01:06:55 thorpej Exp $");
+__KERNEL_RCSID(1, "$NetBSD: linux_commons.c,v 1.14 2021/10/12 08:36:28 andvar Exp $");
#if defined(_KERNEL_OPT)
#include "opt_sysv.h"
Index: src/sys/compat/linux/arch/i386/linux_commons.c
diff -u src/sys/compat/linux/arch/i386/linux_commons.c:1.17 src/sys/compat/linux/arch/i386/linux_commons.c:1.18
--- src/sys/compat/linux/arch/i386/linux_commons.c:1.17 Sun May 3 01:06:56 2020
+++ src/sys/compat/linux/arch/i386/linux_commons.c Tue Oct 12 08:36:29 2021
@@ -1,8 +1,8 @@
-/* $NetBSD: linux_commons.c,v 1.17 2020/05/03 01:06:56 thorpej Exp $ */
+/* $NetBSD: linux_commons.c,v 1.18 2021/10/12 08:36:29 andvar Exp $ */
/*
* This file includes C files from the common
- * area to decrese the number of files to compile
+ * area to decrease the number of files to compile
* in order to make building a kernel go faster.
*
* Option headers and headers which depend on
@@ -13,7 +13,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(1, "$NetBSD: linux_commons.c,v 1.17 2020/05/03 01:06:56 thorpej Exp $");
+__KERNEL_RCSID(1, "$NetBSD: linux_commons.c,v 1.18 2021/10/12 08:36:29 andvar Exp $");
#if defined(_KERNEL_OPT)
#include "opt_sysv.h"
Index: src/sys/dev/i2c/i2c_exec.c
diff -u src/sys/dev/i2c/i2c_exec.c:1.16 src/sys/dev/i2c/i2c_exec.c:1.17
--- src/sys/dev/i2c/i2c_exec.c:1.16 Sun Apr 19 17:08:14 2020
+++ src/sys/dev/i2c/i2c_exec.c Tue Oct 12 08:36:29 2021
@@ -1,4 +1,4 @@
-/* $NetBSD: i2c_exec.c,v 1.16 2020/04/19 17:08:14 thorpej Exp $ */
+/* $NetBSD: i2c_exec.c,v 1.17 2021/10/12 08:36:29 andvar Exp $ */
/*
* Copyright (c) 2003 Wasabi Systems, Inc.
@@ -36,7 +36,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: i2c_exec.c,v 1.16 2020/04/19 17:08:14 thorpej Exp $");
+__KERNEL_RCSID(0, "$NetBSD: i2c_exec.c,v 1.17 2021/10/12 08:36:29 andvar Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -151,7 +151,7 @@ iic_acquire_bus(i2c_tag_t tag, int flags
/*
* iic_release_bus:
*
- * Relese the I2C bus, allowing another client to use it.
+ * Release the I2C bus, allowing another client to use it.
*/
void
iic_release_bus(i2c_tag_t tag, int flags)
Index: src/sys/dev/pci/piixpm.c
diff -u src/sys/dev/pci/piixpm.c:1.65 src/sys/dev/pci/piixpm.c:1.66
--- src/sys/dev/pci/piixpm.c:1.65 Sat Aug 7 16:19:14 2021
+++ src/sys/dev/pci/piixpm.c Tue Oct 12 08:36:29 2021
@@ -1,4 +1,4 @@
-/* $NetBSD: piixpm.c,v 1.65 2021/08/07 16:19:14 thorpej Exp $ */
+/* $NetBSD: piixpm.c,v 1.66 2021/10/12 08:36:29 andvar Exp $ */
/* $OpenBSD: piixpm.c,v 1.39 2013/10/01 20:06:02 sf Exp $ */
/*
@@ -22,7 +22,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: piixpm.c,v 1.65 2021/08/07 16:19:14 thorpej Exp $");
+__KERNEL_RCSID(0, "$NetBSD: piixpm.c,v 1.66 2021/10/12 08:36:29 andvar Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -581,7 +581,7 @@ piixpm_i2c_sb800_release_bus(void *cooki
SB800_INDIRECTIO_DATA, reg);
}
- /* Relase the host semaphore */
+ /* Release the host semaphore */
sctl = bus_space_read_1(sc->sc_smb_iot, sc->sc_smb_ioh, PIIX_SMB_SC);
sctl &= ~PIIX_SMB_SC_SEMMASK;
bus_space_write_1(sc->sc_smb_iot, sc->sc_smb_ioh, PIIX_SMB_SC,
Index: src/sys/dev/scsipi/cd.c
diff -u src/sys/dev/scsipi/cd.c:1.352 src/sys/dev/scsipi/cd.c:1.353
--- src/sys/dev/scsipi/cd.c:1.352 Sat Aug 21 23:00:32 2021
+++ src/sys/dev/scsipi/cd.c Tue Oct 12 08:36:29 2021
@@ -1,4 +1,4 @@
-/* $NetBSD: cd.c,v 1.352 2021/08/21 23:00:32 andvar Exp $ */
+/* $NetBSD: cd.c,v 1.353 2021/10/12 08:36:29 andvar Exp $ */
/*-
* Copyright (c) 1998, 2001, 2003, 2004, 2005, 2008 The NetBSD Foundation,
@@ -50,7 +50,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: cd.c,v 1.352 2021/08/21 23:00:32 andvar Exp $");
+__KERNEL_RCSID(0, "$NetBSD: cd.c,v 1.353 2021/10/12 08:36:29 andvar Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -942,7 +942,7 @@ cd_interpret_sense(struct scsipi_xfer *x
int retval = EJUSTRETURN;
/*
- * If it isn't a extended or extended/deferred error, let
+ * If it isn't an extended or extended/deferred error, let
* the generic code handle it.
*/
if (SSD_RCODE(sense->response_code) != SSD_RCODE_CURRENT &&
@@ -1092,7 +1092,7 @@ lba2msf(u_long lba, u_char *m, u_char *s
#endif /* XXX Not used */
/*
- * Convert an hour:minute:second:frame address to a logical block adres. In
+ * Convert an hour:minute:second:frame address to a logical block address. In
* theory the number of secs/minute and number of frames/second could be
* configured differently in the device as could the block offset but in
* practice these values are rock solid and most drives don't even allow
@@ -3118,7 +3118,7 @@ mmc_gettrackinfo_dvdrom(struct scsipi_pe
toc_hdr = (struct scsipi_toc_header *) buffer;
if (_2btol(toc_hdr->length) > buffer_size - 2) {
#ifdef DIAGNOSTIC
- printf("incease buffersize in mmc_readtrackinfo_dvdrom\n");
+ printf("increase buffersize in mmc_readtrackinfo_dvdrom\n");
#endif
error = ENOBUFS;
goto out;
@@ -3139,7 +3139,7 @@ mmc_gettrackinfo_dvdrom(struct scsipi_pe
toc = (struct scsipi_toc_formatted *) (buffer + 4);
/* as in read disc info, all sessions are converted to tracks */
- /* track 1.. -> offsets, sizes can be (rougly) estimated (16 ECC) */
+ /* track 1.. -> offsets, sizes can be (roughly) estimated (16 ECC) */
/* last track -> we got the size from the lead-out */
tracknr = 0;
@@ -3552,7 +3552,7 @@ mmc_setup_writeparams(struct scsipi_peri
if (error)
return error;
- /* set page length for reasurance */
+ /* set page length for reassurance */
page5[1] = P5LEN; /* page length */
/* write type packet/incremental */