fix recently committed typos by msaitoh in few more places, as well as few more.

mainly s/contigous/contiguous/ and s/miliseconds/milliseconds/ in comments.
This commit is contained in:
andvar 2024-05-14 19:00:43 +00:00
parent 1a4228f94c
commit e4ebea9efd
14 changed files with 38 additions and 38 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: rec_utils.c,v 1.14 2013/12/14 18:04:56 christos Exp $ */ /* $NetBSD: rec_utils.c,v 1.15 2024/05/14 19:00:43 andvar Exp $ */
/*- /*-
* Copyright (c) 1990, 1993, 1994 * Copyright (c) 1990, 1993, 1994
@ -34,7 +34,7 @@
#endif #endif
#include <sys/cdefs.h> #include <sys/cdefs.h>
__RCSID("$NetBSD: rec_utils.c,v 1.14 2013/12/14 18:04:56 christos Exp $"); __RCSID("$NetBSD: rec_utils.c,v 1.15 2024/05/14 19:00:43 andvar Exp $");
#include <sys/param.h> #include <sys/param.h>
@ -86,7 +86,7 @@ dataonly:
return (RET_SUCCESS); return (RET_SUCCESS);
/* /*
* We must copy big keys/data to make them contigous. Otherwise, * We must copy big keys/data to make them contiguous. Otherwise,
* leave the page pinned and don't copy unless the user specified * leave the page pinned and don't copy unless the user specified
* concurrent access. * concurrent access.
*/ */

View File

@ -1,4 +1,4 @@
# $NetBSD: svc.conf,v 1.1 1997/11/13 03:02:08 thorpej Exp $ # $NetBSD: svc.conf,v 1.2 2024/05/14 19:00:43 andvar Exp $
# #
# Ultrix-compatible svc.conf file. # Ultrix-compatible svc.conf file.
# Each line below binds a particular database to one or more resolver # Each line below binds a particular database to one or more resolver
@ -8,7 +8,7 @@
# bind - DNS # bind - DNS
# #
# Multiple services can be specified by a comma-separated list. # Multiple services can be specified by a comma-separated list.
# Order is signficant. Whitespace not allowed except after comments or commas. # Order is significant. Whitespace not allowed except after comments or commas.
# #
aliases=local # sendmail /etc/aliases: just run native senmamil. aliases=local # sendmail /etc/aliases: just run native senmamil.
auth=local auth=local

View File

@ -1,4 +1,4 @@
/* $NetBSD: vmparam.h,v 1.11 2019/03/28 08:28:16 christos Exp $ */ /* $NetBSD: vmparam.h,v 1.12 2024/05/14 19:00:43 andvar Exp $ */
/* $OpenBSD: vmparam.h,v 1.3 1997/04/19 17:19:59 pefo Exp $ */ /* $OpenBSD: vmparam.h,v 1.3 1997/04/19 17:19:59 pefo Exp $ */
/* NetBSD: vmparam.h,v 1.5 1994/10/26 21:10:10 cgd Exp */ /* NetBSD: vmparam.h,v 1.5 1994/10/26 21:10:10 cgd Exp */
@ -12,7 +12,7 @@
#define VM_MAX_WIRED_MAP_ADDRESS ((vaddr_t)0xFFFFC000) #define VM_MAX_WIRED_MAP_ADDRESS ((vaddr_t)0xFFFFC000)
/* /*
* Maximum number of contigous physical memory segment. * Maximum number of contiguous physical memory segment.
*/ */
#undef VM_PHYSSEG_MAX #undef VM_PHYSSEG_MAX
#define VM_PHYSSEG_MAX 16 #define VM_PHYSSEG_MAX 16

View File

@ -1,4 +1,4 @@
$NetBSD: HPMMU.notes,v 1.6 2023/09/08 18:51:19 andvar Exp $ $NetBSD: HPMMU.notes,v 1.7 2024/05/14 19:00:43 andvar Exp $
Overview: Overview:
-------- --------
@ -28,7 +28,7 @@ Overview:
is used with 16 Kbytes of cache on 320 systems and 32 Kbytes on is used with 16 Kbytes of cache on 320 systems and 32 Kbytes on
350 systems. Each cache entry can contain instructions or data, 350 systems. Each cache entry can contain instructions or data,
from either user or supervisor space. Separate valid bits are from either user or supervisor space. Separate valid bits are
kept for user and supervisor entries, allowing for descriminatory kept for user and supervisor entries, allowing for discriminatory
flushing of the cache. flushing of the cache.
MMU translation and cache-miss detection are done in parallel. MMU translation and cache-miss detection are done in parallel.

View File

@ -1,4 +1,4 @@
/* $NetBSD: viper.h,v 1.3 2023/05/06 22:17:28 andvar Exp $ */ /* $NetBSD: viper.h,v 1.4 2024/05/14 19:00:43 andvar Exp $ */
/* $OpenBSD: viper.h,v 1.2 1999/06/29 20:56:10 mickey Exp $ */ /* $OpenBSD: viper.h,v 1.2 1999/06/29 20:56:10 mickey Exp $ */
@ -146,7 +146,7 @@ struct vi_trs {
** Viper also creates HPA registers for the graphics accelerator (Venom). ** Viper also creates HPA registers for the graphics accelerator (Venom).
** Venom has two sets of registers; the User HPA contains registers that ** Venom has two sets of registers; the User HPA contains registers that
** users are allowed to access, while the Supervisor HPA is only accessible ** users are allowed to access, while the Supervisor HPA is only accessible
** by code running at the most priviliged level. Both sets of registers ** by code running at the most privileged level. Both sets of registers
** are defined below. ** are defined below.
*/ */

View File

@ -1,4 +1,4 @@
/* $NetBSD: vmparam.h,v 1.24 2023/01/15 05:08:33 tsutsui Exp $ */ /* $NetBSD: vmparam.h,v 1.25 2024/05/14 19:00:43 andvar Exp $ */
/* /*
* Copyright (c) 1988 University of Utah. * Copyright (c) 1988 University of Utah.
@ -97,7 +97,7 @@
/* /*
* Constants which control the way the VM system deals with memory segments. * Constants which control the way the VM system deals with memory segments.
* Only one physical contigous memory segment. * Only one physical contiguous memory segment.
*/ */
#define VM_PHYSSEG_MAX 1 #define VM_PHYSSEG_MAX 1
#define VM_PHYSSEG_STRAT VM_PSTRAT_BSEARCH #define VM_PHYSSEG_STRAT VM_PSTRAT_BSEARCH

View File

@ -1,4 +1,4 @@
/* $NetBSD: xen_bus_dma.c,v 1.33 2022/08/20 23:48:51 riastradh Exp $ */ /* $NetBSD: xen_bus_dma.c,v 1.34 2024/05/14 19:00:44 andvar Exp $ */
/* NetBSD bus_dma.c,v 1.21 2005/04/16 07:53:35 yamt Exp */ /* NetBSD bus_dma.c,v 1.21 2005/04/16 07:53:35 yamt Exp */
/*- /*-
@ -32,7 +32,7 @@
*/ */
#include <sys/cdefs.h> #include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: xen_bus_dma.c,v 1.33 2022/08/20 23:48:51 riastradh Exp $"); __KERNEL_RCSID(0, "$NetBSD: xen_bus_dma.c,v 1.34 2024/05/14 19:00:44 andvar Exp $");
#include <sys/param.h> #include <sys/param.h>
#include <sys/systm.h> #include <sys/systm.h>
@ -85,7 +85,7 @@ _xen_alloc_contig(bus_size_t size, bus_size_t alignment,
struct xen_memory_reservation res; struct xen_memory_reservation res;
/* /*
* When requesting a contigous memory region, the hypervisor will * When requesting a contiguous memory region, the hypervisor will
* return a memory range aligned on size. * return a memory range aligned on size.
* The only way to enforce alignment is to request a memory region * The only way to enforce alignment is to request a memory region
* of size max(alignment, size). * of size max(alignment, size).
@ -313,7 +313,7 @@ dorealloc:
/* /*
* Too much segments, or memory doesn't fit * Too much segments, or memory doesn't fit
* constraints. Free this memory and * constraints. Free this memory and
* get a contigous segment from the hypervisor. * get a contiguous segment from the hypervisor.
*/ */
uvm_pglistfree(&mlist); uvm_pglistfree(&mlist);
for (curseg = 0; curseg < nsegs; curseg++) { for (curseg = 0; curseg < nsegs; curseg++) {

View File

@ -1,4 +1,4 @@
/* $NetBSD: coda_vnops.c,v 1.118 2022/03/27 16:24:58 christos Exp $ */ /* $NetBSD: coda_vnops.c,v 1.119 2024/05/14 19:00:44 andvar Exp $ */
/* /*
* *
@ -46,7 +46,7 @@
*/ */
#include <sys/cdefs.h> #include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: coda_vnops.c,v 1.118 2022/03/27 16:24:58 christos Exp $"); __KERNEL_RCSID(0, "$NetBSD: coda_vnops.c,v 1.119 2024/05/14 19:00:44 andvar Exp $");
#include <sys/param.h> #include <sys/param.h>
#include <sys/systm.h> #include <sys/systm.h>
@ -797,7 +797,7 @@ coda_fsync(void *v)
return(ENODEV); return(ENODEV);
} }
/* Check for fsync of control object or unitialized cnode. */ /* Check for fsync of control object or uninitialized cnode. */
if (IS_CTL_VP(vp) || vp->v_type == VNON) { if (IS_CTL_VP(vp) || vp->v_type == VNON) {
MARK_INT_SAT(CODA_FSYNC_STATS); MARK_INT_SAT(CODA_FSYNC_STATS);
return(0); return(0);

View File

@ -1,4 +1,4 @@
/* $NetBSD: hd64570reg.h,v 1.11 2005/12/11 12:21:26 christos Exp $ */ /* $NetBSD: hd64570reg.h,v 1.12 2024/05/14 19:00:44 andvar Exp $ */
/* /*
* Copyright (c) 1998 Vixie Enterprises * Copyright (c) 1998 Vixie Enterprises
@ -340,7 +340,7 @@ struct hdlc_llc_header {
#define SCA_RXS_CLK_ADPLL_OUT 0x60 /* BRG out for ADPLL clock */ #define SCA_RXS_CLK_ADPLL_OUT 0x60 /* BRG out for ADPLL clock */
#define SCA_RXS_CLK_ADPLL_IN 0x70 /* line input for ADPLL clock */ #define SCA_RXS_CLK_ADPLL_IN 0x70 /* line input for ADPLL clock */
#define SCA_TXS_DIV_MASK 0x0F /* BRG divisor is 2^(valud) */ #define SCA_TXS_DIV_MASK 0x0F /* BRG divisor is 2^(value) */
#define SCA_TXS_DIV_1 0x00 /* 1 */ #define SCA_TXS_DIV_1 0x00 /* 1 */
#define SCA_TXS_DIV_2 0x01 /* 2 */ #define SCA_TXS_DIV_2 0x01 /* 2 */
#define SCA_TXS_DIV_4 0x02 /* 4 */ #define SCA_TXS_DIV_4 0x02 /* 4 */

View File

@ -1,4 +1,4 @@
/* $NetBSD: if_atu.c,v 1.75 2022/03/03 06:06:52 riastradh Exp $ */ /* $NetBSD: if_atu.c,v 1.76 2024/05/14 19:00:44 andvar Exp $ */
/* $OpenBSD: if_atu.c,v 1.48 2004/12/30 01:53:21 dlg Exp $ */ /* $OpenBSD: if_atu.c,v 1.48 2004/12/30 01:53:21 dlg Exp $ */
/* /*
* Copyright (c) 2003, 2004 * Copyright (c) 2003, 2004
@ -48,7 +48,7 @@
*/ */
#include <sys/cdefs.h> #include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: if_atu.c,v 1.75 2022/03/03 06:06:52 riastradh Exp $"); __KERNEL_RCSID(0, "$NetBSD: if_atu.c,v 1.76 2024/05/14 19:00:44 andvar Exp $");
#ifdef _KERNEL_OPT #ifdef _KERNEL_OPT
#include "opt_usb.h" #include "opt_usb.h"
@ -967,7 +967,7 @@ atu_internal_firmware(device_t arg)
} }
/* after a lot of trying and measuring I found out the device needs /* after a lot of trying and measuring I found out the device needs
* about 56 miliseconds after sending the remap command before * about 56 milliseconds after sending the remap command before
* it's ready to communicate again. So we'll wait just a little bit * it's ready to communicate again. So we'll wait just a little bit
* longer than that to be sure... * longer than that to be sure...
*/ */

View File

@ -1,4 +1,4 @@
$NetBSD: TODO,v 1.4 2010/02/28 15:52:17 snj Exp $ $NetBSD: TODO,v 1.5 2024/05/14 19:00:44 andvar Exp $
- convert the code to do caching in buffer cache indexed by - convert the code to do caching in buffer cache indexed by
file-vnode/file-offset so that NTFS would take advantage of UBC; file-vnode/file-offset so that NTFS would take advantage of UBC;
@ -10,7 +10,7 @@ $NetBSD: TODO,v 1.4 2010/02/28 15:52:17 snj Exp $
- working VOP_BALLOC() (new in UBC) - working VOP_BALLOC() (new in UBC)
(from Chuq) (from Chuq)
- readdir: evalutate impact of using variable length reclen - should - readdir: evaluate impact of using variable length reclen - should
enable us to store much more entries into buf in typical case with enable us to store much more entries into buf in typical case with
short filenames, though more work would need to be done in offset != 0 short filenames, though more work would need to be done in offset != 0
case case

View File

@ -1,4 +1,4 @@
/* $NetBSD: kern_fork.c,v 1.230 2023/02/25 08:22:00 skrll Exp $ */ /* $NetBSD: kern_fork.c,v 1.231 2024/05/14 19:00:44 andvar Exp $ */
/*- /*-
* Copyright (c) 1999, 2001, 2004, 2006, 2007, 2008, 2019 * Copyright (c) 1999, 2001, 2004, 2006, 2007, 2008, 2019
@ -68,7 +68,7 @@
*/ */
#include <sys/cdefs.h> #include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: kern_fork.c,v 1.230 2023/02/25 08:22:00 skrll Exp $"); __KERNEL_RCSID(0, "$NetBSD: kern_fork.c,v 1.231 2024/05/14 19:00:44 andvar Exp $");
#include "opt_ktrace.h" #include "opt_ktrace.h"
#include "opt_dtrace.h" #include "opt_dtrace.h"
@ -109,7 +109,7 @@ u_int nprocs __cacheline_aligned = 1; /* process 0 */
/* /*
* Number of ticks to sleep if fork() would fail due to process hitting * Number of ticks to sleep if fork() would fail due to process hitting
* limits. Exported in miliseconds to userland via sysctl. * limits. Exported in milliseconds to userland via sysctl.
*/ */
int forkfsleep = 0; int forkfsleep = 0;

View File

@ -1,4 +1,4 @@
/* $NetBSD: tcp_congctl.c,v 1.28 2021/07/31 20:29:37 andvar Exp $ */ /* $NetBSD: tcp_congctl.c,v 1.29 2024/05/14 19:00:44 andvar Exp $ */
/*- /*-
* Copyright (c) 1997, 1998, 1999, 2001, 2005, 2006 The NetBSD Foundation, Inc. * Copyright (c) 1997, 1998, 1999, 2001, 2005, 2006 The NetBSD Foundation, Inc.
@ -135,7 +135,7 @@
*/ */
#include <sys/cdefs.h> #include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: tcp_congctl.c,v 1.28 2021/07/31 20:29:37 andvar Exp $"); __KERNEL_RCSID(0, "$NetBSD: tcp_congctl.c,v 1.29 2024/05/14 19:00:44 andvar Exp $");
#ifdef _KERNEL_OPT #ifdef _KERNEL_OPT
#include "opt_inet.h" #include "opt_inet.h"
@ -815,7 +815,7 @@ tcp_cubic_update_ctime(struct tcpcb *tp)
} }
/* /*
* miliseconds from last congestion * milliseconds from last congestion
*/ */
static uint32_t static uint32_t
tcp_cubic_diff_ctime(struct tcpcb *tp) tcp_cubic_diff_ctime(struct tcpcb *tp)

View File

@ -1,4 +1,4 @@
/* $NetBSD: ext2fs_alloc.c,v 1.57 2024/05/13 00:24:19 msaitoh Exp $ */ /* $NetBSD: ext2fs_alloc.c,v 1.58 2024/05/14 19:00:44 andvar Exp $ */
/* /*
* Copyright (c) 1982, 1986, 1989, 1993 * Copyright (c) 1982, 1986, 1989, 1993
@ -60,7 +60,7 @@
*/ */
#include <sys/cdefs.h> #include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: ext2fs_alloc.c,v 1.57 2024/05/13 00:24:19 msaitoh Exp $"); __KERNEL_RCSID(0, "$NetBSD: ext2fs_alloc.c,v 1.58 2024/05/14 19:00:44 andvar Exp $");
#include <sys/param.h> #include <sys/param.h>
#include <sys/systm.h> #include <sys/systm.h>
@ -252,8 +252,8 @@ ext2fs_blkpref(struct inode *ip, daddr_t lbn, int indx,
fs = ip->i_e2fs; fs = ip->i_e2fs;
/* /*
* if we are doing contigous lbn allocation, try to alloc blocks * if we are doing contiguous lbn allocation, try to alloc blocks
* contigously on disk * contiguously on disk
*/ */
if ( ip->i_e2fs_last_blk && lbn == ip->i_e2fs_last_lblk + 1) { if ( ip->i_e2fs_last_blk && lbn == ip->i_e2fs_last_lblk + 1) {
@ -381,7 +381,7 @@ ext2fs_alloccg(struct inode *ip, int cg, daddr_t bpref, int size)
/* /*
* no blocks in the requested cylinder, so take next * no blocks in the requested cylinder, so take next
* available one in this cylinder group. * available one in this cylinder group.
* first try to get 8 contigous blocks, then fall back to a single * first try to get 8 contiguous blocks, then fall back to a single
* block. * block.
*/ */
if (bpref) if (bpref)