Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/dev/scsipi fix various typos, mainly in comments.



details:   https://anonhg.NetBSD.org/src/rev/22844100685c
branches:  trunk
changeset: 989115:22844100685c
user:      andvar <andvar%NetBSD.org@localhost>
date:      Tue Oct 12 08:36:28 2021 +0000

description:
fix various typos, mainly in comments.

diffstat:

 sys/arch/m68k/m68k/pmap_motorola.c            |   6 +++---
 sys/arch/vax/vax/pmap.c                       |  10 +++++-----
 sys/compat/linux/arch/aarch64/linux_commons.c |   6 +++---
 sys/compat/linux/arch/amd64/linux_commons.c   |   6 +++---
 sys/compat/linux/arch/arm/linux_commons.c     |   6 +++---
 sys/compat/linux/arch/i386/linux_commons.c    |   6 +++---
 sys/dev/i2c/i2c_exec.c                        |   6 +++---
 sys/dev/pci/piixpm.c                          |   6 +++---
 sys/dev/scsipi/cd.c                           |  14 +++++++-------
 9 files changed, 33 insertions(+), 33 deletions(-)

diffs (274 lines):

diff -r b0592641ea4f -r 22844100685c sys/arch/m68k/m68k/pmap_motorola.c
--- a/sys/arch/m68k/m68k/pmap_motorola.c        Tue Oct 12 08:30:58 2021 +0000
+++ b/sys/arch/m68k/m68k/pmap_motorola.c        Tue Oct 12 08:36:28 2021 +0000
@@ -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_release:
  *
- *     Relese the resources held by a pmap.
+ *     Release the resources held by a pmap.
  *
  *     Note: THIS FUNCTION SHOULD BE MOVED INTO pmap_destroy().
  */
diff -r b0592641ea4f -r 22844100685c sys/arch/vax/vax/pmap.c
--- a/sys/arch/vax/vax/pmap.c   Tue Oct 12 08:30:58 2021 +0000
+++ b/sys/arch/vax/vax/pmap.c   Tue Oct 12 08:36:28 2021 +0000
@@ -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 @@
 
        /*
         * 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_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
diff -r b0592641ea4f -r 22844100685c sys/compat/linux/arch/aarch64/linux_commons.c
--- a/sys/compat/linux/arch/aarch64/linux_commons.c     Tue Oct 12 08:30:58 2021 +0000
+++ b/sys/compat/linux/arch/aarch64/linux_commons.c     Tue Oct 12 08:36:28 2021 +0000
@@ -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"
diff -r b0592641ea4f -r 22844100685c sys/compat/linux/arch/amd64/linux_commons.c
--- a/sys/compat/linux/arch/amd64/linux_commons.c       Tue Oct 12 08:30:58 2021 +0000
+++ b/sys/compat/linux/arch/amd64/linux_commons.c       Tue Oct 12 08:36:28 2021 +0000
@@ -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"
diff -r b0592641ea4f -r 22844100685c sys/compat/linux/arch/arm/linux_commons.c
--- a/sys/compat/linux/arch/arm/linux_commons.c Tue Oct 12 08:30:58 2021 +0000
+++ b/sys/compat/linux/arch/arm/linux_commons.c Tue Oct 12 08:36:28 2021 +0000
@@ -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"
diff -r b0592641ea4f -r 22844100685c sys/compat/linux/arch/i386/linux_commons.c
--- a/sys/compat/linux/arch/i386/linux_commons.c        Tue Oct 12 08:30:58 2021 +0000
+++ b/sys/compat/linux/arch/i386/linux_commons.c        Tue Oct 12 08:36:28 2021 +0000
@@ -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"
diff -r b0592641ea4f -r 22844100685c sys/dev/i2c/i2c_exec.c
--- a/sys/dev/i2c/i2c_exec.c    Tue Oct 12 08:30:58 2021 +0000
+++ b/sys/dev/i2c/i2c_exec.c    Tue Oct 12 08:36:28 2021 +0000
@@ -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_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)
diff -r b0592641ea4f -r 22844100685c sys/dev/pci/piixpm.c
--- a/sys/dev/pci/piixpm.c      Tue Oct 12 08:30:58 2021 +0000
+++ b/sys/dev/pci/piixpm.c      Tue Oct 12 08:36:28 2021 +0000
@@ -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 @@
                    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,
diff -r b0592641ea4f -r 22844100685c sys/dev/scsipi/cd.c
--- a/sys/dev/scsipi/cd.c       Tue Oct 12 08:30:58 2021 +0000
+++ b/sys/dev/scsipi/cd.c       Tue Oct 12 08:36:28 2021 +0000
@@ -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 @@
        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 @@
 #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 @@
        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 @@
        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 @@
        if (error)
                return error;
 
-       /* set page length for reasurance */
+       /* set page length for reassurance */
        page5[1] = P5LEN;       /* page length */
 
        /* write type packet/incremental */



Home | Main Index | Thread Index | Old Index