Module Name: src Committed By: andvar Date: Mon Aug 9 19:24:33 UTC 2021
Modified Files: src/distrib/alpha/instkernel/ramdisk: upgrade.sh src/distrib/amiga/floppies/upgr: upgrade.sh src/doc: TODO.smpnet src/sys/arch/arm/gemini: gemini_ipm.c src/sys/arch/hpcmips/tx: tx3912video.c src/sys/arch/shark/shark: scr.c src/sys/dev/mscp: mscp_disk.c src/usr.sbin/sysinst/arch/hpcarm: md.c src/usr.sbin/sysinst/arch/zaurus: md.c Log Message: fix various typos in comments and messages. To generate a diff of this commit: cvs rdiff -u -r1.3 -r1.4 src/distrib/alpha/instkernel/ramdisk/upgrade.sh cvs rdiff -u -r1.9 -r1.10 src/distrib/amiga/floppies/upgr/upgrade.sh cvs rdiff -u -r1.43 -r1.44 src/doc/TODO.smpnet cvs rdiff -u -r1.4 -r1.5 src/sys/arch/arm/gemini/gemini_ipm.c cvs rdiff -u -r1.47 -r1.48 src/sys/arch/hpcmips/tx/tx3912video.c cvs rdiff -u -r1.31 -r1.32 src/sys/arch/shark/shark/scr.c cvs rdiff -u -r1.89 -r1.90 src/sys/dev/mscp/mscp_disk.c cvs rdiff -u -r1.9 -r1.10 src/usr.sbin/sysinst/arch/hpcarm/md.c cvs rdiff -u -r1.10 -r1.11 src/usr.sbin/sysinst/arch/zaurus/md.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/distrib/alpha/instkernel/ramdisk/upgrade.sh diff -u src/distrib/alpha/instkernel/ramdisk/upgrade.sh:1.3 src/distrib/alpha/instkernel/ramdisk/upgrade.sh:1.4 --- src/distrib/alpha/instkernel/ramdisk/upgrade.sh:1.3 Sat Jul 26 17:06:26 2003 +++ src/distrib/alpha/instkernel/ramdisk/upgrade.sh Mon Aug 9 19:24:32 2021 @@ -1,5 +1,5 @@ #!/bin/sh -# $NetBSD: upgrade.sh,v 1.3 2003/07/26 17:06:26 salo Exp $ +# $NetBSD: upgrade.sh,v 1.4 2021/08/09 19:24:32 andvar Exp $ # # Copyright (c) 1997 Perry E. Metzger # Copyright (c) 1994 Christopher G. Demetriou @@ -62,7 +62,7 @@ echo "This program is designed to help y echo "on your hard disk, in a simple and rational way. To upgrade, you" echo "must have plenty of free space on all partitions which will be" echo "upgraded. If you have at least 1MB free on your root partition," -echo "and several free on your /usr patition, you should be fine." +echo "and several free on your /usr partition, you should be fine." echo "" echo "As with anything which modifies your hard drive's contents, this" echo "program can cause SIGNIFICANT data loss, and you are advised" Index: src/distrib/amiga/floppies/upgr/upgrade.sh diff -u src/distrib/amiga/floppies/upgr/upgrade.sh:1.9 src/distrib/amiga/floppies/upgr/upgrade.sh:1.10 --- src/distrib/amiga/floppies/upgr/upgrade.sh:1.9 Wed Dec 23 09:13:21 2009 +++ src/distrib/amiga/floppies/upgr/upgrade.sh Mon Aug 9 19:24:32 2021 @@ -1,5 +1,5 @@ #!/bin/sh -# $NetBSD: upgrade.sh,v 1.9 2009/12/23 09:13:21 mbalmer Exp $ +# $NetBSD: upgrade.sh,v 1.10 2021/08/09 19:24:32 andvar Exp $ # # Copyright (c) 1994 Christopher G. Demetriou # All rights reserved. @@ -98,7 +98,7 @@ echo "This program is designed to help y echo "on your hard disk, in a simple and rational way. To upgrade, you" echo "must have plenty of free space on all partitions which will be" echo "upgraded. If you have at least 1MB free on your root partition," -echo "and several free on your /usr patition, you should be fine." +echo "and several free on your /usr partition, you should be fine." echo "" echo "As with anything which modifies your hard drive's contents, this" echo "program can cause SIGNIFICANT data loss, and you are advised" Index: src/doc/TODO.smpnet diff -u src/doc/TODO.smpnet:1.43 src/doc/TODO.smpnet:1.44 --- src/doc/TODO.smpnet:1.43 Wed Aug 4 13:50:47 2021 +++ src/doc/TODO.smpnet Mon Aug 9 19:24:33 2021 @@ -1,4 +1,4 @@ -$NetBSD: TODO.smpnet,v 1.43 2021/08/04 13:50:47 nia Exp $ +$NetBSD: TODO.smpnet,v 1.44 2021/08/09 19:24:33 andvar Exp $ MP-safe components ================== @@ -129,7 +129,7 @@ bpf MP-ification of bpf requires all of bpf_mtap* are called in normal LWP context or softint context, i.e., not in hardware interrupt context. For Tx, all -bpf_mtap satisfy the requrement. For Rx, most of bpf_mtap are called in softint. +bpf_mtap satisfy the requirement. For Rx, most of bpf_mtap are called in softint. Unfortunately some bpf_mtap on Rx are still called in hardware interrupt context. This is the list of the functions that have such bpf_mtap: @@ -240,7 +240,7 @@ initializing address can loop in the net The address initialization creates an local route first and then registers an initializing address to the global hash table that is used to decide if an incoming packet destinates to the host by checking the destination of the packet -is registered to the hash table. So, if the host allows forwaring, an incoming +is registered to the hash table. So, if the host allows forwarding, an incoming packet can match on a local route of an initializing address at ip_output while it fails the to-self check described above at ip_input. Because a matched local route points a loopback interface as its destination interface, an incoming Index: src/sys/arch/arm/gemini/gemini_ipm.c diff -u src/sys/arch/arm/gemini/gemini_ipm.c:1.4 src/sys/arch/arm/gemini/gemini_ipm.c:1.5 --- src/sys/arch/arm/gemini/gemini_ipm.c:1.4 Sat Aug 7 16:18:44 2021 +++ src/sys/arch/arm/gemini/gemini_ipm.c Mon Aug 9 19:24:33 2021 @@ -7,7 +7,7 @@ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: gemini_ipm.c,v 1.4 2021/08/07 16:18:44 thorpej Exp $"); +__KERNEL_RCSID(0, "$NetBSD: gemini_ipm.c,v 1.5 2021/08/09 19:24:33 andvar Exp $"); #include <sys/param.h> #include <sys/systm.h> @@ -126,7 +126,7 @@ gemini_ipm_attach(device_t parent, devic /* - * queues are flipped tx/rx for mater/slave + * queues are flipped tx/rx for master/slave */ KASSERT(GEMINI_IPMQ_SIZE == (2 * sizeof(ipm_queue_t))); #if defined(GEMINI_MASTER) Index: src/sys/arch/hpcmips/tx/tx3912video.c diff -u src/sys/arch/hpcmips/tx/tx3912video.c:1.47 src/sys/arch/hpcmips/tx/tx3912video.c:1.48 --- src/sys/arch/hpcmips/tx/tx3912video.c:1.47 Sat Aug 7 16:18:54 2021 +++ src/sys/arch/hpcmips/tx/tx3912video.c Mon Aug 9 19:24:33 2021 @@ -1,4 +1,4 @@ -/* $NetBSD: tx3912video.c,v 1.47 2021/08/07 16:18:54 thorpej Exp $ */ +/* $NetBSD: tx3912video.c,v 1.48 2021/08/09 19:24:33 andvar Exp $ */ /*- * Copyright (c) 1999-2002 The NetBSD Foundation, Inc. @@ -30,7 +30,7 @@ */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: tx3912video.c,v 1.47 2021/08/07 16:18:54 thorpej Exp $"); +__KERNEL_RCSID(0, "$NetBSD: tx3912video.c,v 1.48 2021/08/09 19:24:33 andvar Exp $"); #define TX3912VIDEO_DEBUG @@ -344,7 +344,7 @@ tx3912video_init(paddr_t fb_start, paddr /* Set DMA transfer address to VID module */ tx3912video_framebuffer_init(chip); - /* Syncronize framebuffer addr to frame signal */ + /* Synchronize framebuffer addr to frame signal */ tx3912video_reset(chip); bootinfo->fb_line_bytes = (chip->vc_fbwidth * fbdepth) / NBBY; Index: src/sys/arch/shark/shark/scr.c diff -u src/sys/arch/shark/shark/scr.c:1.31 src/sys/arch/shark/shark/scr.c:1.32 --- src/sys/arch/shark/shark/scr.c:1.31 Thu Jul 7 06:55:38 2016 +++ src/sys/arch/shark/shark/scr.c Mon Aug 9 19:24:33 2021 @@ -1,4 +1,4 @@ -/* $NetBSD: scr.c,v 1.31 2016/07/07 06:55:38 msaitoh Exp $ */ +/* $NetBSD: scr.c,v 1.32 2021/08/09 19:24:33 andvar Exp $ */ /* * Copyright 1997 @@ -102,7 +102,7 @@ */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: scr.c,v 1.31 2016/07/07 06:55:38 msaitoh Exp $"); +__KERNEL_RCSID(0, "$NetBSD: scr.c,v 1.32 2021/08/09 19:24:33 andvar Exp $"); #include "opt_ddb.h" @@ -1386,7 +1386,7 @@ scrioctl(dev_t dev, u_long cmd, void *da ** requirement that the scrioctl disables interrupts before calling this function. ** ** NB:- there is no way for the machine to get from msIdleOn to msIdleOff. Since -** this is just a mater of turning all signals off and resetting state machines, +** this is just a matter of turning all signals off and resetting state machines, ** scrioctl takes a shortcut and resets everything itself. Ie it hits everything ** with a big hammer!! ** Index: src/sys/dev/mscp/mscp_disk.c diff -u src/sys/dev/mscp/mscp_disk.c:1.89 src/sys/dev/mscp/mscp_disk.c:1.90 --- src/sys/dev/mscp/mscp_disk.c:1.89 Tue Mar 29 04:55:53 2016 +++ src/sys/dev/mscp/mscp_disk.c Mon Aug 9 19:24:33 2021 @@ -1,4 +1,4 @@ -/* $NetBSD: mscp_disk.c,v 1.89 2016/03/29 04:55:53 mlelstv Exp $ */ +/* $NetBSD: mscp_disk.c,v 1.90 2021/08/09 19:24:33 andvar Exp $ */ /* * Copyright (c) 1988 Regents of the University of California. * All rights reserved. @@ -82,7 +82,7 @@ */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: mscp_disk.c,v 1.89 2016/03/29 04:55:53 mlelstv Exp $"); +__KERNEL_RCSID(0, "$NetBSD: mscp_disk.c,v 1.90 2021/08/09 19:24:33 andvar Exp $"); #include <sys/param.h> #include <sys/buf.h> @@ -1060,7 +1060,7 @@ rrreplace(device_t usc, struct mscp *mp) /* * A transfer failed. We get a chance to fix or restart it. - * Need to write the bad block forwaring code first.... + * Need to write the bad block forwarding code first.... */ /*ARGSUSED*/ int Index: src/usr.sbin/sysinst/arch/hpcarm/md.c diff -u src/usr.sbin/sysinst/arch/hpcarm/md.c:1.9 src/usr.sbin/sysinst/arch/hpcarm/md.c:1.10 --- src/usr.sbin/sysinst/arch/hpcarm/md.c:1.9 Mon Oct 12 16:14:34 2020 +++ src/usr.sbin/sysinst/arch/hpcarm/md.c Mon Aug 9 19:24:33 2021 @@ -1,4 +1,4 @@ -/* $NetBSD: md.c,v 1.9 2020/10/12 16:14:34 martin Exp $ */ +/* $NetBSD: md.c,v 1.10 2021/08/09 19:24:33 andvar Exp $ */ /* * Copyright 1997 Piermont Information Systems Inc. @@ -220,7 +220,7 @@ md_post_newfs(struct install_partition_d /* Clear BPB */ memset(&pbr.mbr_bpb, 0, sizeof(pbr.mbr_bpb)); - /* write-backed new patition boot record */ + /* write-backed new partition boot record */ (void)pwrite(fd, &pbr, sizeof(pbr), 0); out: Index: src/usr.sbin/sysinst/arch/zaurus/md.c diff -u src/usr.sbin/sysinst/arch/zaurus/md.c:1.10 src/usr.sbin/sysinst/arch/zaurus/md.c:1.11 --- src/usr.sbin/sysinst/arch/zaurus/md.c:1.10 Wed Oct 14 08:49:04 2020 +++ src/usr.sbin/sysinst/arch/zaurus/md.c Mon Aug 9 19:24:33 2021 @@ -1,4 +1,4 @@ -/* $NetBSD: md.c,v 1.10 2020/10/14 08:49:04 martin Exp $ */ +/* $NetBSD: md.c,v 1.11 2021/08/09 19:24:33 andvar Exp $ */ /* * Copyright 1997 Piermont Information Systems Inc. @@ -197,7 +197,7 @@ md_post_newfs(struct install_partition_d /* Clear BPB */ memset(&pbr.mbr_bpb, 0, sizeof(pbr.mbr_bpb)); - /* write-backed new patition boot record */ + /* write-backed new partition boot record */ (void)pwrite(fd, &pbr, sizeof(pbr), 0); out: