Source-Changes-HG archive

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

[src/trunk]: src Fix all remaining typos, mainly in comments but also in few ...



details:   https://anonhg.NetBSD.org/src/rev/e82452d05fca
branches:  trunk
changeset: 1022544:e82452d05fca
user:      andvar <andvar%NetBSD.org@localhost>
date:      Sat Jul 24 21:31:31 2021 +0000

description:
Fix all remaining typos, mainly in comments but also in few definitions and log messages, reported by me in PR kern/54889.
Also fixed some additional typos in comments, found on review of same files or typos.

diffstat:

 bin/ksh/tty.c                                       |   6 ++--
 common/dist/zlib/zlib.h                             |  10 +++---
 crypto/dist/ipsec-tools/src/racoon/isakmp_cfg.c     |   4 +-
 crypto/external/bsd/libsaslc/dist/src/error.h       |   4 +-
 dist/pf/sbin/pfctl/pfctl_altq.c                     |   4 +-
 external/mit/lua/dist/lua2netbsd                    |   4 +-
 sys/arch/alpha/alpha/db_trace.c                     |   6 ++--
 sys/arch/arm/broadcom/bcm2835_gpio.c                |   6 ++--
 sys/arch/arm/imx/imx51_ccm.c                        |   8 ++--
 sys/arch/arm/imx/imx51_ccmreg.h                     |   6 ++--
 sys/arch/arm/xscale/ixp425_npe.c                    |  12 ++++----
 sys/arch/arm/xscale/ixp425_npereg.h                 |   4 +-
 sys/arch/cesfic/cesfic/pmap_bootstrap.c             |   6 ++--
 sys/arch/cobalt/stand/boot/tlp.c                    |   4 +-
 sys/arch/emips/ebus/ace_ebus.c                      |   6 ++--
 sys/arch/emips/ebus/flash_ebus.c                    |   6 ++--
 sys/arch/emips/stand/common/ace.c                   |   4 +-
 sys/arch/emips/stand/common/raw.c                   |   4 +-
 sys/arch/evbmips/stand/sbmips/common/blkdev.c       |   4 +-
 sys/arch/hp300/hp300/pmap_bootstrap.c               |   6 ++--
 sys/arch/hppa/dev/ssio.c                            |   4 +-
 sys/arch/ia64/ia64/trap.c                           |   6 ++--
 sys/arch/m68k/060sp/dist/isp.s                      |   6 ++--
 sys/arch/m68k/m68k/db_disasm.c                      |   6 ++--
 sys/arch/mac68k/mac68k/pmap_bootstrap.c             |   6 ++--
 sys/arch/macppc/dev/pbms.c                          |   4 +-
 sys/arch/mips/rmi/rmixlreg.h                        |   6 ++--
 sys/arch/mipsco/stand/common/saio.c                 |   4 +-
 sys/arch/mvme68k/dev/sbicvar.h                      |   4 +-
 sys/arch/pmax/ibus/sii.c                            |   8 ++--
 sys/arch/pmax/stand/common/rz.c                     |   4 +-
 sys/arch/powerpc/booke/spe_subr.S                   |   4 +-
 sys/arch/powerpc/powerpc/db_interface.c             |   6 ++--
 sys/arch/powerpc/stand/mkbootimage/rs6000_bootrec.h |   4 +-
 sys/arch/prep/pnpbus/fdc_pnpbus.c                   |   6 ++--
 sys/arch/prep/stand/boot/siop.c                     |  20 +++++++-------
 sys/arch/sgimips/sgimips/machdep.c                  |   6 ++--
 sys/arch/sh3/sh3/exception_vector.S                 |   6 ++--
 sys/arch/sh3/sh3/pmap.c                             |  12 ++++----
 sys/arch/sparc/stand/bootblk/bootblk.fth            |   6 ++--
 sys/arch/sparc64/dev/iommuvar.h                     |   4 +-
 sys/arch/usermode/usermode/pmap.c                   |   6 ++--
 sys/arch/vax/vax/db_disasm.c                        |   6 ++--
 sys/arch/xen/xen/xenevt.c                           |   6 ++--
 sys/dev/bi/kdbreg.h                                 |   4 +-
 sys/dev/cardbus/fwohci_cardbus.c                    |   6 ++--
 sys/dev/dm/dm_ioctl.c                               |   6 ++--
 sys/dev/dm/dm_target_flakey.c                       |   6 ++--
 sys/dev/hpc/files.hpcio                             |   4 +-
 sys/dev/ic/adw.c                                    |   8 ++--
 sys/dev/ic/ahcisatareg.h                            |   8 ++--
 sys/dev/ic/aic79xx.c                                |   8 ++--
 sys/dev/ic/aic7xxx.c                                |   8 ++--
 sys/dev/ic/cs89x0.c                                 |   8 ++--
 sys/dev/ic/lemacreg.h                               |   4 +-
 sys/dev/ic/mfireg.h                                 |   4 +-
 sys/dev/ic/mpt_mpilib.h                             |   4 +-
 sys/dev/ieee1394/fwdma.c                            |   6 ++--
 sys/dev/isa/README.seagate                          |   4 +-
 sys/dev/isa/sbdsp.c                                 |   6 ++--
 sys/dev/marvell/gtidmac.c                           |   6 ++--
 sys/dev/microcode/aic7xxx/aicasm.c                  |   6 ++--
 sys/dev/pci/if_ena.c                                |   4 +-
 sys/dev/pci/if_vge.c                                |   6 ++--
 sys/dev/pci/if_vgereg.h                             |   2 +-
 sys/dev/pci/ixgbe/ixgbe_common.c                    |   8 ++--
 sys/dev/spi/mcp23s17.c                              |   6 ++--
 sys/dev/vnd.c                                       |   6 ++--
 sys/fs/msdosfs/msdosfs_lookup.c                     |   6 ++--
 sys/fs/nilfs/nilfs_vnops.c                          |   6 ++--
 sys/fs/puffs/puffs_vnops.c                          |   6 ++--
 sys/fs/udf/udf_allocation.c                         |   6 ++--
 sys/fs/udf/udf_subr.c                               |  12 ++++----
 sys/fs/udf/udf_vfsops.c                             |   6 ++--
 sys/fs/udf/udf_vnops.c                              |   6 ++--
 sys/net80211/ieee80211_ioctl.c                      |   6 ++--
 sys/net80211/ieee80211_output.c                     |   8 ++--
 sys/net80211/ieee80211_proto.c                      |  10 +++---
 sys/net80211/ieee80211_proto.h                      |   8 ++--
 sys/netinet/sctp_output.c                           |  30 ++++++++++----------
 sys/netinet/sctputil.c                              |   8 ++--
 sys/sys/disk.h                                      |   4 +-
 usr.bin/config/TODO                                 |  12 ++++----
 usr.sbin/altq/altqstat/altqstat.c                   |   4 +-
 usr.sbin/lpr/lpd/recvjob.c                          |   6 ++--
 usr.sbin/sysinst/arch/mac68k/menus.md.de            |   4 +-
 usr.sbin/sysinst/arch/mac68k/menus.md.en            |   4 +-
 usr.sbin/sysinst/arch/mac68k/menus.md.es            |   4 +-
 usr.sbin/sysinst/arch/mac68k/menus.md.pl            |   4 +-
 usr.sbin/ypserv/yppush/yppush.c                     |   4 +-
 90 files changed, 283 insertions(+), 283 deletions(-)

diffs (truncated from 2410 to 300 lines):

diff -r e3c67d606b41 -r e82452d05fca bin/ksh/tty.c
--- a/bin/ksh/tty.c     Sat Jul 24 20:45:45 2021 +0000
+++ b/bin/ksh/tty.c     Sat Jul 24 21:31:31 2021 +0000
@@ -1,9 +1,9 @@
-/*     $NetBSD: tty.c,v 1.9 2017/06/30 04:41:19 kamil Exp $    */
+/*     $NetBSD: tty.c,v 1.10 2021/07/24 21:31:31 andvar Exp $  */
 
 #include <sys/cdefs.h>
 
 #ifndef lint
-__RCSID("$NetBSD: tty.c,v 1.9 2017/06/30 04:41:19 kamil Exp $");
+__RCSID("$NetBSD: tty.c,v 1.10 2021/07/24 21:31:31 andvar Exp $");
 #endif
 
 #include <sys/stat.h>
@@ -92,7 +92,7 @@
 }
 
 
-/* Initialize tty_fd.  Used for saving/reseting tty modes upon
+/* Initialize tty_fd.  Used for saving/resetting tty modes upon
  * foreground job completion and for setting up tty process group.
  */
 void
diff -r e3c67d606b41 -r e82452d05fca common/dist/zlib/zlib.h
--- a/common/dist/zlib/zlib.h   Sat Jul 24 20:45:45 2021 +0000
+++ b/common/dist/zlib/zlib.h   Sat Jul 24 21:31:31 2021 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: zlib.h,v 1.4 2017/01/10 01:27:41 christos Exp $        */
+/*     $NetBSD: zlib.h,v 1.5 2021/07/24 21:31:31 andvar Exp $  */
 
 /* zlib.h -- interface of the 'zlib' general purpose compression library
   version 1.2.10, January 2nd, 2017
@@ -278,7 +278,7 @@
   == 0), or after each call of deflate().  If deflate returns Z_OK and with
   zero avail_out, it must be called again after making room in the output
   buffer because there might be more output pending. See deflatePending(),
-  which can be used if desired to determine whether or not there is more ouput
+  which can be used if desired to determine whether or not there is more output
   in that case.
 
     Normally the parameter flush is set to Z_NO_FLUSH, which allows deflate to
@@ -730,7 +730,7 @@
    Then no more input data should be provided before the deflateParams() call.
    If this is done, the old level and strategy will be applied to the data
    compressed before deflateParams(), and the new level and strategy will be
-   applied to the the data compressed after deflateParams().
+   applied to the data compressed after deflateParams().
 
      deflateParams returns Z_OK on success, Z_STREAM_ERROR if the source stream
    state was inconsistent or if a parameter was invalid, or Z_BUF_ERROR if
@@ -1436,12 +1436,12 @@
 
      In the event that the end of file is reached and only a partial item is
    available at the end, i.e. the remaining uncompressed data length is not a
-   multiple of size, then the final partial item is nevetheless read into buf
+   multiple of size, then the final partial item is nevertheless read into buf
    and the end-of-file flag is set.  The length of the partial item read is not
    provided, but could be inferred from the result of gztell().  This behavior
    is the same as the behavior of fread() implementations in common libraries,
    but it prevents the direct use of gzfread() to read a concurrently written
-   file, reseting and retrying on end-of-file, when size is not 1.
+   file, resetting and retrying on end-of-file, when size is not 1.
 */
 
 ZEXTERN int ZEXPORT gzwrite OF((gzFile file,
diff -r e3c67d606b41 -r e82452d05fca crypto/dist/ipsec-tools/src/racoon/isakmp_cfg.c
--- a/crypto/dist/ipsec-tools/src/racoon/isakmp_cfg.c   Sat Jul 24 20:45:45 2021 +0000
+++ b/crypto/dist/ipsec-tools/src/racoon/isakmp_cfg.c   Sat Jul 24 21:31:31 2021 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: isakmp_cfg.c,v 1.28 2018/05/19 19:47:47 maxv Exp $     */
+/*     $NetBSD: isakmp_cfg.c,v 1.29 2021/07/24 21:31:31 andvar Exp $   */
 
 /* Id: isakmp_cfg.c,v 1.55 2006/08/22 18:17:17 manubsd Exp */
 
@@ -1997,7 +1997,7 @@
                return -1;
        }
 
-       /* Deault domain */
+       /* Default domain */
        if(iph1->mode_cfg->flags & ISAKMP_CFG_GOT_DEFAULT_DOMAIN) 
                strncpy(defdom, 
                    iph1->mode_cfg->default_domain, 
diff -r e3c67d606b41 -r e82452d05fca crypto/external/bsd/libsaslc/dist/src/error.h
--- a/crypto/external/bsd/libsaslc/dist/src/error.h     Sat Jul 24 20:45:45 2021 +0000
+++ b/crypto/external/bsd/libsaslc/dist/src/error.h     Sat Jul 24 21:31:31 2021 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: error.h,v 1.3 2011/02/11 23:44:43 christos Exp $ */
+/* $NetBSD: error.h,v 1.4 2021/07/24 21:31:31 andvar Exp $ */
 
 /* Copyright (c) 2010 The NetBSD Foundation, Inc.
  * All rights reserved.
@@ -68,7 +68,7 @@
 } while(/*CONSTCOND*/0);
 
 /*
- * saslc__eror_get_errno - gets error type
+ * saslc__error_get_errno - gets error type
  *
  * E - error
  */
diff -r e3c67d606b41 -r e82452d05fca dist/pf/sbin/pfctl/pfctl_altq.c
--- a/dist/pf/sbin/pfctl/pfctl_altq.c   Sat Jul 24 20:45:45 2021 +0000
+++ b/dist/pf/sbin/pfctl/pfctl_altq.c   Sat Jul 24 21:31:31 2021 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: pfctl_altq.c,v 1.10 2018/02/04 08:44:36 mrg Exp $      */
+/*     $NetBSD: pfctl_altq.c,v 1.11 2021/07/24 21:31:31 andvar Exp $   */
 /*     $OpenBSD: pfctl_altq.c,v 1.92 2007/05/27 05:15:17 claudio Exp $ */
 
 /*
@@ -1062,7 +1062,7 @@
 rate2str(double rate)
 {
        char            *buf;
-       static char      r2sbuf[R2S_BUFS][RATESTR_MAX];  /* ring bufer */
+       static char      r2sbuf[R2S_BUFS][RATESTR_MAX];  /* ring buffer */
        static int       idx = 0;
        int              i;
        static const char unit[] = " KMG";
diff -r e3c67d606b41 -r e82452d05fca external/mit/lua/dist/lua2netbsd
--- a/external/mit/lua/dist/lua2netbsd  Sat Jul 24 20:45:45 2021 +0000
+++ b/external/mit/lua/dist/lua2netbsd  Sat Jul 24 21:31:31 2021 +0000
@@ -1,6 +1,6 @@
 #! /bin/sh
 #
-#      $NetBSD: lua2netbsd,v 1.2 2011/10/08 19:28:40 christos Exp $
+#      $NetBSD: lua2netbsd,v 1.3 2021/07/24 21:31:31 andvar Exp $
 #      adapted from dist/ipf/ipf2netbsd:
 #      NetBSD: ipf2netbsd,v 1.23 2010/04/17 22:05:53 darrenr Exp $
 #
@@ -28,7 +28,7 @@
 # ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
 # POSSIBILITY OF SUCH DAMAGE.
 #
-# lua2netbsd:  prepare a Lua source tree for NeBSD.
+# lua2netbsd:  prepare a Lua source tree for NetBSD.
 
 ### Remove the $'s around various RCSIDs
 cleantags src doc
diff -r e3c67d606b41 -r e82452d05fca sys/arch/alpha/alpha/db_trace.c
--- a/sys/arch/alpha/alpha/db_trace.c   Sat Jul 24 20:45:45 2021 +0000
+++ b/sys/arch/alpha/alpha/db_trace.c   Sat Jul 24 21:31:31 2021 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: db_trace.c,v 1.29 2020/09/18 00:09:29 thorpej Exp $ */
+/* $NetBSD: db_trace.c,v 1.30 2021/07/24 21:31:32 andvar Exp $ */
 
 /*-
  * Copyright (c) 1999 The NetBSD Foundation, Inc.
@@ -35,7 +35,7 @@
 
 #include <sys/cdefs.h>                 /* RCS ID & Copyright macro defns */
 
-__KERNEL_RCSID(0, "$NetBSD: db_trace.c,v 1.29 2020/09/18 00:09:29 thorpej Exp $");
+__KERNEL_RCSID(0, "$NetBSD: db_trace.c,v 1.30 2021/07/24 21:31:32 andvar Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -132,7 +132,7 @@
                         * The assumption here is that a positive
                         * stack offset is the function epilogue,
                         * which may come before callpc when an
-                        * agressive optimizer (like GCC 3.3 or later)
+                        * aggressive optimizer (like GCC 3.3 or later)
                         * has moved part of the function "out of
                         * line", past the epilogue. Therefore, ignore
                         * the positive offset so that
diff -r e3c67d606b41 -r e82452d05fca sys/arch/arm/broadcom/bcm2835_gpio.c
--- a/sys/arch/arm/broadcom/bcm2835_gpio.c      Sat Jul 24 20:45:45 2021 +0000
+++ b/sys/arch/arm/broadcom/bcm2835_gpio.c      Sat Jul 24 21:31:31 2021 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: bcm2835_gpio.c,v 1.20 2021/04/24 23:36:26 thorpej Exp $        */
+/*     $NetBSD: bcm2835_gpio.c,v 1.21 2021/07/24 21:31:32 andvar Exp $ */
 
 /*-
  * Copyright (c) 2013, 2014, 2017 The NetBSD Foundation, Inc.
@@ -30,7 +30,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: bcm2835_gpio.c,v 1.20 2021/04/24 23:36:26 thorpej Exp $");
+__KERNEL_RCSID(0, "$NetBSD: bcm2835_gpio.c,v 1.21 2021/07/24 21:31:32 andvar Exp $");
 
 /*
  * Driver for BCM2835 GPIO
@@ -873,7 +873,7 @@
        mutex_enter(&sc->sc_lock);
        if (flags & (GPIO_PIN_OUTPUT|GPIO_PIN_INPUT)) {
                if ((flags & GPIO_PIN_INPUT) != 0) {
-                       /* for safety INPUT will overide output */
+                       /* for safety INPUT will override output */
                        bcm283x_pin_setfunc(sc, pin, BCM2835_GPIO_IN);
                } else {
                        bcm283x_pin_setfunc(sc, pin, BCM2835_GPIO_OUT);
diff -r e3c67d606b41 -r e82452d05fca sys/arch/arm/imx/imx51_ccm.c
--- a/sys/arch/arm/imx/imx51_ccm.c      Sat Jul 24 20:45:45 2021 +0000
+++ b/sys/arch/arm/imx/imx51_ccm.c      Sat Jul 24 21:31:31 2021 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: imx51_ccm.c,v 1.7 2018/09/03 16:29:23 riastradh Exp $  */
+/*     $NetBSD: imx51_ccm.c,v 1.8 2021/07/24 21:31:32 andvar Exp $     */
 
 /*
  * Copyright (c) 2010-2012, 2014  Genetec Corporation.  All rights reserved.
@@ -31,7 +31,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: imx51_ccm.c,v 1.7 2018/09/03 16:29:23 riastradh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: imx51_ccm.c,v 1.8 2021/07/24 21:31:32 andvar Exp $");
 
 #include "opt_imx.h"
 #include "opt_imx51clk.h"
@@ -595,7 +595,7 @@
        case CCGR_EPDC_AXI_CLK:
                reg = bus_space_read_4(iot, ioh, CCMC_EPDC_AXI);
                reg &= ~EPDC_AXI_CLKGATE;
-               reg |= EPDC_AXI_CLKGATE_ALLWAYS;
+               reg |= EPDC_AXI_CLKGATE_ALWAYS;
                bus_space_write_4(iot, ioh, CCMC_EPDC_AXI, reg);
 
                /* enable auto-slow */
@@ -607,7 +607,7 @@
        case CCGR_EPDC_PIX_CLK:
                reg = bus_space_read_4(iot, ioh, CCMC_EPDC_PIX);
                reg &= ~EPDC_PIX_CLKGATE;
-               reg |= EPDC_PIX_CLKGATE_ALLWAYS;
+               reg |= EPDC_PIX_CLKGATE_ALWAYS;
                bus_space_write_4(iot, ioh, CCMC_EPDC_PIX, reg);
 
                break;
diff -r e3c67d606b41 -r e82452d05fca sys/arch/arm/imx/imx51_ccmreg.h
--- a/sys/arch/arm/imx/imx51_ccmreg.h   Sat Jul 24 20:45:45 2021 +0000
+++ b/sys/arch/arm/imx/imx51_ccmreg.h   Sat Jul 24 21:31:31 2021 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: imx51_ccmreg.h,v 1.5 2014/07/25 07:49:56 hkenken Exp $ */
+/*     $NetBSD: imx51_ccmreg.h,v 1.6 2021/07/24 21:31:32 andvar Exp $  */
 /*
  * Copyright (c) 2011, 2012  Genetec Corporation.  All rights reserved.
  * Written by Hashimoto Kenichi for Genetec Corporation.
@@ -153,7 +153,7 @@
 #define         EPDC_PIX_CLKGATE               __BITS(31, 30)
 #define         EPDC_PIX_CLKGATE_OFF           __SHIFTIN(0, EPDC_AXI_CLKGATE)
 #define         EPDC_PIX_CLKGATE_RUNMODE       __SHIFTIN(1, EPDC_AXI_CLKGATE)
-#define         EPDC_PIX_CLKGATE_ALLWAYS       __SHIFTIN(2, EPDC_AXI_CLKGATE)
+#define         EPDC_PIX_CLKGATE_ALWAYS        __SHIFTIN(2, EPDC_AXI_CLKGATE)
 #define         EPDC_PIX_CLKGATE_EXCEPTSTOP    __SHIFTIN(3, EPDC_AXI_CLKGATE)
 #define         EPDC_PIX_CLK_PRED              __BITS(13, 12)
 #define         EPDC_PIX_CLK_PODF              __BITS(11, 0)
@@ -161,7 +161,7 @@
 #define         EPDC_AXI_CLKGATE               __BITS(31, 30)
 #define         EPDC_AXI_CLKGATE_OFF           __SHIFTIN(0, EPDC_AXI_CLKGATE)
 #define         EPDC_AXI_CLKGATE_RUNMODE       __SHIFTIN(1, EPDC_AXI_CLKGATE)
-#define         EPDC_AXI_CLKGATE_ALLWAYS       __SHIFTIN(2, EPDC_AXI_CLKGATE)
+#define         EPDC_AXI_CLKGATE_ALWAYS        __SHIFTIN(2, EPDC_AXI_CLKGATE)
 #define         EPDC_AXI_CLKGATE_EXCEPTSTOP    __SHIFTIN(3, EPDC_AXI_CLKGATE)
 #define         EPDC_ASM_EN                    __BIT(9)
 #define         EPDC_ASM_SLOW_DIV              __BITS(8, 6)
diff -r e3c67d606b41 -r e82452d05fca sys/arch/arm/xscale/ixp425_npe.c
--- a/sys/arch/arm/xscale/ixp425_npe.c  Sat Jul 24 20:45:45 2021 +0000
+++ b/sys/arch/arm/xscale/ixp425_npe.c  Sat Jul 24 21:31:31 2021 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: ixp425_npe.c,v 1.12 2021/04/24 23:36:29 thorpej Exp $  */
+/*     $NetBSD: ixp425_npe.c,v 1.13 2021/07/24 21:31:32 andvar Exp $   */
 
 /*-
  * Copyright (c) 2006 Sam Leffler, Errno Consulting
@@ -62,7 +62,7 @@
 #if 0
 __FBSDID("$FreeBSD: src/sys/arm/xscale/ixp425/ixp425_npe.c,v 1.1 2006/11/19 23:55:23 sam Exp $");
 #endif
-__KERNEL_RCSID(0, "$NetBSD: ixp425_npe.c,v 1.12 2021/04/24 23:36:29 thorpej Exp $");
+__KERNEL_RCSID(0, "$NetBSD: ixp425_npe.c,v 1.13 2021/07/24 21:31:32 andvar Exp $");
 
 /*
  * Intel XScale Network Processing Engine (NPE) support.
@@ -411,7 +411,7 @@
 
 /*
  * Indicates the start of an NPE Image, in new NPE Image Library format.
- * 2 consecutive occurances indicates the end of the NPE Image Library
+ * 2 consecutive occurrences indicates the end of the NPE Image Library
  */
 #define NPE_IMAGE_MARKER 0xfeedf00d
 
@@ -488,7 +488,7 @@
 
     /*
      * If download was successful, store image Id in list of
-     * currently loaded images. If a critical error occured
+     * currently loaded images. If a critical error occurred
      * during download, record that the NPE has an invalid image
      */
     mutex_enter(&sc->sc_lock);
@@ -751,7 +751,7 @@
     while (npe_checkbits(sc,
          IX_NPEDL_REG_OFFSET_STAT, IX_NPEDL_MASK_STAT_IFNE)) {
        /*
-        * Step execution of the NPE intruction to read inFIFO using
+        * Step execution of the NPE instruction to read inFIFO using
         * the Debug Executing Context stack.



Home | Main Index | Thread Index | Old Index