fix various typos in comments, documentation and messages.

This commit is contained in:
andvar 2022-05-31 08:43:13 +00:00
parent 5c1221df4e
commit ff23aff6ad
34 changed files with 91 additions and 91 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: memalloc.c,v 1.36 2022/04/10 09:50:44 andvar Exp $ */ /* $NetBSD: memalloc.c,v 1.37 2022/05/31 08:43:13 andvar Exp $ */
/*- /*-
* Copyright (c) 1991, 1993 * Copyright (c) 1991, 1993
@ -37,7 +37,7 @@
#if 0 #if 0
static char sccsid[] = "@(#)memalloc.c 8.3 (Berkeley) 5/4/95"; static char sccsid[] = "@(#)memalloc.c 8.3 (Berkeley) 5/4/95";
#else #else
__RCSID("$NetBSD: memalloc.c,v 1.36 2022/04/10 09:50:44 andvar Exp $"); __RCSID("$NetBSD: memalloc.c,v 1.37 2022/05/31 08:43:13 andvar Exp $");
#endif #endif
#endif /* not lint */ #endif /* not lint */
@ -325,7 +325,7 @@ makestrspace(void)
* of the string we have stored beyond there and are now releasing. * of the string we have stored beyond there and are now releasing.
* (ie: "p" should be the same as in the call to grabstackstr()). * (ie: "p" should be the same as in the call to grabstackstr()).
* *
* stunalloc(s) and ungrabstackstr(s, p) are almost interchangable after * stunalloc(s) and ungrabstackstr(s, p) are almost interchangeable after
* a grabstackstr(), however the latter also returns string space so we * a grabstackstr(), however the latter also returns string space so we
* can just continue with STPUTC() etc without needing a new STARTSTACKSTR(s) * can just continue with STPUTC() etc without needing a new STARTSTACKSTR(s)
*/ */

View File

@ -1,4 +1,4 @@
/* $NetBSD: pthread_atfork.c,v 1.15 2020/05/15 14:37:21 joerg Exp $ */ /* $NetBSD: pthread_atfork.c,v 1.16 2022/05/31 08:43:13 andvar Exp $ */
/*- /*-
* Copyright (c) 2002 The NetBSD Foundation, Inc. * Copyright (c) 2002 The NetBSD Foundation, Inc.
@ -31,7 +31,7 @@
#include <sys/cdefs.h> #include <sys/cdefs.h>
#if defined(LIBC_SCCS) && !defined(lint) #if defined(LIBC_SCCS) && !defined(lint)
__RCSID("$NetBSD: pthread_atfork.c,v 1.15 2020/05/15 14:37:21 joerg Exp $"); __RCSID("$NetBSD: pthread_atfork.c,v 1.16 2022/05/31 08:43:13 andvar Exp $");
#endif /* LIBC_SCCS and not lint */ #endif /* LIBC_SCCS and not lint */
#include "namespace.h" #include "namespace.h"
@ -202,7 +202,7 @@ fork(void)
* a locked mutex in this context. * a locked mutex in this context.
* *
* The problem exists for users of this interface, * The problem exists for users of this interface,
* too, since the intented use of pthread_atfork() is * too, since the intended use of pthread_atfork() is
* to acquire locks across the fork call to ensure * to acquire locks across the fork call to ensure
* that the child sees consistent state. There's not * that the child sees consistent state. There's not
* much that can usefully be done in a child handler, * much that can usefully be done in a child handler,

View File

@ -1,4 +1,4 @@
/* $NetBSD: bsearch.c,v 1.15 2012/03/04 20:01:45 christos Exp $ */ /* $NetBSD: bsearch.c,v 1.16 2022/05/31 08:43:14 andvar Exp $ */
/* /*
* Copyright (c) 1990, 1993 * Copyright (c) 1990, 1993
@ -34,7 +34,7 @@
#if 0 #if 0
static char sccsid[] = "@(#)bsearch.c 8.1 (Berkeley) 6/4/93"; static char sccsid[] = "@(#)bsearch.c 8.1 (Berkeley) 6/4/93";
#else #else
__RCSID("$NetBSD: bsearch.c,v 1.15 2012/03/04 20:01:45 christos Exp $"); __RCSID("$NetBSD: bsearch.c,v 1.16 2022/05/31 08:43:14 andvar Exp $");
#endif #endif
#endif /* LIBC_SCCS and not lint */ #endif /* LIBC_SCCS and not lint */
@ -50,7 +50,7 @@ __RCSID("$NetBSD: bsearch.c,v 1.15 2012/03/04 20:01:45 christos Exp $");
* is odd, moving left simply involves halving lim: e.g., when lim * is odd, moving left simply involves halving lim: e.g., when lim
* is 5 we look at item 2, so we change lim to 2 so that we will * is 5 we look at item 2, so we change lim to 2 so that we will
* look at items 0 & 1. If lim is even, the same applies. If lim * look at items 0 & 1. If lim is even, the same applies. If lim
* is odd, moving right again involes halving lim, this time moving * is odd, moving right again involves halving lim, this time moving
* the base up one item past p: e.g., when lim is 5 we change base * the base up one item past p: e.g., when lim is 5 we change base
* to item 3 and make lim 2 so that we will look at items 3 and 4. * to item 3 and make lim 2 so that we will look at items 3 and 4.
* If lim is even, however, we have to shrink it by one before * If lim is even, however, we have to shrink it by one before

View File

@ -1,4 +1,4 @@
.\" $NetBSD: pset.3,v 1.13 2017/07/03 21:32:51 wiz Exp $ .\" $NetBSD: pset.3,v 1.14 2022/05/31 08:43:14 andvar Exp $
.\" .\"
.\" Copyright (c) 2008 The NetBSD Foundation, Inc. .\" Copyright (c) 2008 The NetBSD Foundation, Inc.
.\" All rights reserved. .\" All rights reserved.
@ -113,7 +113,7 @@ supports the following types of targets specified by
.It Dv P_PID .It Dv P_PID
Process identified by the PID. Process identified by the PID.
.It Dv P_LWPID .It Dv P_LWPID
Thread of the calling process indentified by the LID. Thread of the calling process identified by the LID.
.El .El
.Pp .Pp
The following actions can be specified: The following actions can be specified:

View File

@ -1,4 +1,4 @@
/* $NetBSD: mdreloc.c,v 1.14 2020/06/16 21:01:30 joerg Exp $ */ /* $NetBSD: mdreloc.c,v 1.15 2022/05/31 08:43:14 andvar Exp $ */
/*- /*-
* Copyright (c) 2014 The NetBSD Foundation, Inc. * Copyright (c) 2014 The NetBSD Foundation, Inc.
@ -60,7 +60,7 @@
#include <sys/cdefs.h> #include <sys/cdefs.h>
#ifndef lint #ifndef lint
__RCSID("$NetBSD: mdreloc.c,v 1.14 2020/06/16 21:01:30 joerg Exp $"); __RCSID("$NetBSD: mdreloc.c,v 1.15 2022/05/31 08:43:14 andvar Exp $");
#endif /* not lint */ #endif /* not lint */
#include <sys/types.h> #include <sys/types.h>
@ -158,7 +158,7 @@ _rtld_tlsdesc_fill(const Obj_Entry *obj, const Elf_Rela *rela, Elf_Addr *where,
offs += rela->r_addend; offs += rela->r_addend;
if (defobj->tls_done) { if (defobj->tls_done) {
/* Variable is in initialy allocated TLS segment */ /* Variable is in initially allocated TLS segment */
where[0] = (Elf_Addr)_rtld_tlsdesc_static; where[0] = (Elf_Addr)_rtld_tlsdesc_static;
where[1] = defobj->tlsoffset + offs + where[1] = defobj->tlsoffset + offs +
sizeof(struct tls_tcb); sizeof(struct tls_tcb);

View File

@ -1,4 +1,4 @@
/* $NetBSD: iscsid_lists.c,v 1.9 2016/05/29 13:35:45 mlelstv Exp $ */ /* $NetBSD: iscsid_lists.c,v 1.10 2022/05/31 08:43:14 andvar Exp $ */
/*- /*-
* Copyright (c) 2005,2006,2011 The NetBSD Foundation, Inc. * Copyright (c) 2005,2006,2011 The NetBSD Foundation, Inc.
@ -692,7 +692,7 @@ get_connection_info(iscsid_get_connection_info_req_t * req,
/* ------------------------------------------------------------------------- */ /* ------------------------------------------------------------------------- */
/* /*
* find_initator_by_addr: * find_initiator_by_addr:
* Find an Initiator Portal by Address. * Find an Initiator Portal by Address.
* *
* Parameter: the address * Parameter: the address

View File

@ -1,4 +1,4 @@
.\" $NetBSD: LWP_CACHE_CREDS.9,v 1.2 2007/12/09 08:53:57 yamt Exp $ .\" $NetBSD: LWP_CACHE_CREDS.9,v 1.3 2022/05/31 08:43:14 andvar Exp $
.\" .\"
.\" Copyright (c)2007 YAMAMOTO Takashi, .\" Copyright (c)2007 YAMAMOTO Takashi,
.\" All rights reserved. .\" All rights reserved.
@ -54,7 +54,7 @@ returns the cached credential.
is called by MD entry code for system call and various traps. is called by MD entry code for system call and various traps.
LWPs which can live in kernel for long period should call LWPs which can live in kernel for long period should call
.Fn LWP_CACHE_CREDS .Fn LWP_CACHE_CREDS
by itsself to refresh its credential. by itself to refresh its credential.
.Pp .Pp
.Fn LWP_CACHE_CREDS .Fn LWP_CACHE_CREDS
takes the following arguments. takes the following arguments.

View File

@ -1,4 +1,4 @@
/* $NetBSD: if_esreg.h,v 1.7 2009/10/21 23:53:38 snj Exp $ */ /* $NetBSD: if_esreg.h,v 1.8 2022/05/31 08:43:14 andvar Exp $ */
/* /*
* Copyright (c) 1995 Michael L. Hitch * Copyright (c) 1995 Michael L. Hitch
@ -117,7 +117,7 @@ union smcregs {
/* MMU Command Register */ /* MMU Command Register */
#define MMUCR_NOOP 0x0000 /* No operation */ #define MMUCR_NOOP 0x0000 /* No operation */
#define MMUCR_ALLOC 0x2000 /* Allocate memory for TX */ #define MMUCR_ALLOC 0x2000 /* Allocate memory for TX */
#define MMUCR_RESET 0x4000 /* Reset to intitial state */ #define MMUCR_RESET 0x4000 /* Reset to initial state */
#define MMUCR_REM_RX 0x6000 /* Remove frame from top of RX FIFO */ #define MMUCR_REM_RX 0x6000 /* Remove frame from top of RX FIFO */
#define MMUCR_REMRLS_RX 0x8000 /* Remove & release from top of RX FIFO */ #define MMUCR_REMRLS_RX 0x8000 /* Remove & release from top of RX FIFO */
#define MMUCR_RLSPKT 0xa000 /* Release specific packet */ #define MMUCR_RLSPKT 0xa000 /* Release specific packet */

View File

@ -1,4 +1,4 @@
/* $NetBSD: cpu.h,v 1.20 2019/12/01 15:34:44 ad Exp $ */ /* $NetBSD: cpu.h,v 1.21 2022/05/31 08:43:14 andvar Exp $ */
/*- /*-
* Copyright (c) 2006 The NetBSD Foundation, Inc. * Copyright (c) 2006 The NetBSD Foundation, Inc.
@ -103,7 +103,7 @@ struct cpu_info {
*/ */
cpuid_t ci_cpuid; /* our CPU ID */ cpuid_t ci_cpuid; /* our CPU ID */
uint32_t ci_acpiid; /* our ACPI/MADT ID */ uint32_t ci_acpiid; /* our ACPI/MADT ID */
uint32_t ci_initapicid; /* our intitial APIC ID */ uint32_t ci_initapicid; /* our initial APIC ID */
struct pmap *ci_pmap; /* current pmap */ /* XXX FreeBSD has *pcb_current_pmap in pcb ? */ struct pmap *ci_pmap; /* current pmap */ /* XXX FreeBSD has *pcb_current_pmap in pcb ? */
struct lwp *ci_fpcurlwp; /* current owner of the FPU */ struct lwp *ci_fpcurlwp; /* current owner of the FPU */
paddr_t ci_curpcb; /* PA of current HW PCB */ paddr_t ci_curpcb; /* PA of current HW PCB */

View File

@ -1,4 +1,4 @@
/* $NetBSD: mipsX_subr.S,v 1.114 2022/03/13 17:50:55 andvar Exp $ */ /* $NetBSD: mipsX_subr.S,v 1.115 2022/05/31 08:43:14 andvar Exp $ */
/* /*
* Copyright 2002 Wasabi Systems, Inc. * Copyright 2002 Wasabi Systems, Inc.
@ -117,7 +117,7 @@
*/ */
#include <mips/asm.h> #include <mips/asm.h>
RCSID("$NetBSD: mipsX_subr.S,v 1.114 2022/03/13 17:50:55 andvar Exp $") RCSID("$NetBSD: mipsX_subr.S,v 1.115 2022/05/31 08:43:14 andvar Exp $")
#include "opt_cputype.h" #include "opt_cputype.h"
#include "opt_ddb.h" #include "opt_ddb.h"
@ -370,7 +370,7 @@ RCSID("$NetBSD: mipsX_subr.S,v 1.114 2022/03/13 17:50:55 andvar Exp $")
* *
* Loongson2 processors don't have separate tlbmiss and xtlbmiss handlers; * Loongson2 processors don't have separate tlbmiss and xtlbmiss handlers;
* so we have to check for useg addresses in tlb_miss. The good news is that * so we have to check for useg addresses in tlb_miss. The good news is that
* we can use 64 intructions from tlbmiss instead of 32. * we can use 64 instructions from tlbmiss instead of 32.
* *
*---------------------------------------------------------------------------- *----------------------------------------------------------------------------
*/ */

View File

@ -1,4 +1,4 @@
/* $NetBSD: e500_tlb.c,v 1.23 2020/07/07 00:59:29 rin Exp $ */ /* $NetBSD: e500_tlb.c,v 1.24 2022/05/31 08:43:15 andvar Exp $ */
/*- /*-
* Copyright (c) 2010, 2011 The NetBSD Foundation, Inc. * Copyright (c) 2010, 2011 The NetBSD Foundation, Inc.
* All rights reserved. * All rights reserved.
@ -37,7 +37,7 @@
#define __PMAP_PRIVATE #define __PMAP_PRIVATE
#include <sys/cdefs.h> #include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: e500_tlb.c,v 1.23 2020/07/07 00:59:29 rin Exp $"); __KERNEL_RCSID(0, "$NetBSD: e500_tlb.c,v 1.24 2022/05/31 08:43:15 andvar Exp $");
#ifdef _KERNEL_OPT #ifdef _KERNEL_OPT
#include "opt_multiprocessor.h" #include "opt_multiprocessor.h"
@ -851,7 +851,7 @@ e500_tlbmemmap(paddr_t memstart, psize_t memsize, struct e500_tlb1 *tlb1)
if (slots > tlb1->tlb1_numfree - 1) if (slots > tlb1->tlb1_numfree - 1)
panic("%s: %d: can't map memory (%#lx) into TLB1: %s", panic("%s: %d: can't map memory (%#lx) into TLB1: %s",
__func__, __LINE__, memsize, __func__, __LINE__, memsize,
"insufficent TLB entries"); "insufficient TLB entries");
for (; nextslot < slots; nextslot++) { for (; nextslot < slots; nextslot++) {
const u_int freeslot = e500_alloc_tlb1_entry(); const u_int freeslot = e500_alloc_tlb1_entry();
struct e500_xtlb * const xtlb = struct e500_xtlb * const xtlb =

View File

@ -1,4 +1,4 @@
/* $NetBSD: 4xx_locore.S,v 1.7 2007/03/04 06:00:34 christos Exp $ */ /* $NetBSD: 4xx_locore.S,v 1.8 2022/05/31 08:43:15 andvar Exp $ */
/* /*
* Copyright 2001 Wasabi Systems, Inc. * Copyright 2001 Wasabi Systems, Inc.
@ -67,7 +67,7 @@
*/ */
/* /*
* This is not a standalone file. To use it, #inlcude it at * This is not a standalone file. To use it, #include it at
* the end of your port's locore.S * the end of your port's locore.S
*/ */

View File

@ -1,4 +1,4 @@
/* $NetBSD: pmap.c,v 1.120 2022/05/04 07:48:34 andvar Exp $ */ /* $NetBSD: pmap.c,v 1.121 2022/05/31 08:43:15 andvar Exp $ */
/*- /*-
* Copyright (c) 1996, 1997 The NetBSD Foundation, Inc. * Copyright (c) 1996, 1997 The NetBSD Foundation, Inc.
@ -105,7 +105,7 @@
*/ */
#include <sys/cdefs.h> #include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: pmap.c,v 1.120 2022/05/04 07:48:34 andvar Exp $"); __KERNEL_RCSID(0, "$NetBSD: pmap.c,v 1.121 2022/05/31 08:43:15 andvar Exp $");
#include "opt_ddb.h" #include "opt_ddb.h"
#include "opt_pmap_debug.h" #include "opt_pmap_debug.h"
@ -2256,7 +2256,7 @@ pmap_protect_kernel(vaddr_t startva, vaddr_t endva, vm_prot_t prot)
* and therefore do not need to map the page just to apply a protection * and therefore do not need to map the page just to apply a protection
* code. Only pmap_enter() needs to create new mappings if they do not exist. * code. Only pmap_enter() needs to create new mappings if they do not exist.
* *
* XXX - This function could be speeded up by using pmap_stroll() for inital * XXX - This function could be speeded up by using pmap_stroll() for initial
* setup, and then manual scrolling in the for() loop. * setup, and then manual scrolling in the for() loop.
*/ */
void void

View File

@ -1,4 +1,4 @@
/* $NetBSD: ata.c,v 1.168 2022/05/28 22:16:43 andvar Exp $ */ /* $NetBSD: ata.c,v 1.169 2022/05/31 08:43:15 andvar Exp $ */
/* /*
* Copyright (c) 1998, 2001 Manuel Bouyer. All rights reserved. * Copyright (c) 1998, 2001 Manuel Bouyer. All rights reserved.
@ -25,7 +25,7 @@
*/ */
#include <sys/cdefs.h> #include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: ata.c,v 1.168 2022/05/28 22:16:43 andvar Exp $"); __KERNEL_RCSID(0, "$NetBSD: ata.c,v 1.169 2022/05/31 08:43:15 andvar Exp $");
#include "opt_ata.h" #include "opt_ata.h"
@ -1024,7 +1024,7 @@ ata_exec_xfer(struct ata_channel *chp, struct ata_xfer *xfer)
/* /*
* Standard commands are added to the end of command list, but * Standard commands are added to the end of command list, but
* recovery commands must be run immediatelly. * recovery commands must be run immediately.
*/ */
if ((xfer->c_flags & C_SKIP_QUEUE) == 0) if ((xfer->c_flags & C_SKIP_QUEUE) == 0)
SIMPLEQ_INSERT_TAIL(&chp->ch_queue->queue_xfer, xfer, SIMPLEQ_INSERT_TAIL(&chp->ch_queue->queue_xfer, xfer,

View File

@ -1,4 +1,4 @@
/* $NetBSD: arcofi.c,v 1.3 2019/06/08 08:02:38 isaki Exp $ */ /* $NetBSD: arcofi.c,v 1.4 2022/05/31 08:43:15 andvar Exp $ */
/* $OpenBSD: arcofi.c,v 1.6 2013/05/15 08:29:24 ratchov Exp $ */ /* $OpenBSD: arcofi.c,v 1.6 2013/05/15 08:29:24 ratchov Exp $ */
/* /*
@ -665,7 +665,7 @@ arcofi_mi_to_gain(int lvl)
* - the `line out' connector is the `H out' (heaphones) output. * - the `line out' connector is the `H out' (heaphones) output.
* - the internal `speaker' is the `LS out' (loudspeaker) output. * - the internal `speaker' is the `LS out' (loudspeaker) output.
* *
* Each of these can be enabled or disabled indepently, except for * Each of these can be enabled or disabled independently, except for
* MIC enabled with H out and LS out disabled, which is not allowed * MIC enabled with H out and LS out disabled, which is not allowed
* by the chip (and makes no sense for a chip which was intended to * by the chip (and makes no sense for a chip which was intended to
* be used in phones, not voice recorders); we cheat by keeping one * be used in phones, not voice recorders); we cheat by keeping one

View File

@ -1,4 +1,4 @@
/* $NetBSD: dm9000reg.h,v 1.7 2021/10/21 13:21:54 andvar Exp $ */ /* $NetBSD: dm9000reg.h,v 1.8 2022/05/31 08:43:15 andvar Exp $ */
/* /*
* Copyright (c) 2009 Paul Fleischer * Copyright (c) 2009 Paul Fleischer
@ -71,7 +71,7 @@
#define DM9000_TCR_PAD_DIS1 (1<<2) /* disbale CRC append on Tx1 */ #define DM9000_TCR_PAD_DIS1 (1<<2) /* disbale CRC append on Tx1 */
#define DM9000_TCR_CRC_DIS2 (1<<3) /* disable PAD op on Tx2 */ #define DM9000_TCR_CRC_DIS2 (1<<3) /* disable PAD op on Tx2 */
#define DM9000_TCR_PAD_DIS2 (1<<4) /* disbale CRC append on Tx2 */ #define DM9000_TCR_PAD_DIS2 (1<<4) /* disbale CRC append on Tx2 */
#define DM9000_TCR_EXCECM (1<<5) /* allow infinate colli. retries */ #define DM9000_TCR_EXCECM (1<<5) /* allow infinite colli. retries */
#define DM9000_TCR_TJDIS (1<<6) /* disable xmit jabber, otherwise on */ #define DM9000_TCR_TJDIS (1<<6) /* disable xmit jabber, otherwise on */
#define DM9000_TSR1 0x03 /* transmit completion status 1 */ #define DM9000_TSR1 0x03 /* transmit completion status 1 */
#define DM9000_TSR2 0x04 /* transmit completion status 2 */ #define DM9000_TSR2 0x04 /* transmit completion status 2 */

View File

@ -1,4 +1,4 @@
/* $NetBSD: mpt_debug.c,v 1.11 2015/11/05 21:08:18 palle Exp $ */ /* $NetBSD: mpt_debug.c,v 1.12 2022/05/31 08:43:15 andvar Exp $ */
/* /*
* Copyright (c) 2000, 2001 by Greg Ansley * Copyright (c) 2000, 2001 by Greg Ansley
@ -35,7 +35,7 @@
*/ */
#include <sys/cdefs.h> #include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: mpt_debug.c,v 1.11 2015/11/05 21:08:18 palle Exp $"); __KERNEL_RCSID(0, "$NetBSD: mpt_debug.c,v 1.12 2022/05/31 08:43:15 andvar Exp $");
#include <dev/ic/mpt.h> #include <dev/ic/mpt.h>
@ -163,9 +163,9 @@ static const struct Error_Map IOC_SCSIStatus[] = {
{ SCSI_STATUS_COND_MET, "Check Condition Met" }, { SCSI_STATUS_COND_MET, "Check Condition Met" },
#endif #endif
{ SCSI_BUSY, "Busy" }, { SCSI_BUSY, "Busy" },
{ SCSI_INTERM, "Intermidiate Condition" }, { SCSI_INTERM, "Intermediate Condition" },
#if 0 #if 0
{ SCSI_STATUS_INTERMED_COND_MET, "Intermidiate Condition Met" }, { SCSI_STATUS_INTERMED_COND_MET, "Intermediate Condition Met" },
#endif #endif
{ SCSI_RESV_CONFLICT, "Reservation Conflict" }, { SCSI_RESV_CONFLICT, "Reservation Conflict" },
#if 0 #if 0

View File

@ -1,4 +1,4 @@
/* $NetBSD: wdc.c,v 1.309 2022/05/24 20:50:19 andvar Exp $ */ /* $NetBSD: wdc.c,v 1.310 2022/05/31 08:43:15 andvar Exp $ */
/* /*
* Copyright (c) 1998, 2001, 2003 Manuel Bouyer. All rights reserved. * Copyright (c) 1998, 2001, 2003 Manuel Bouyer. All rights reserved.
@ -58,7 +58,7 @@
*/ */
#include <sys/cdefs.h> #include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: wdc.c,v 1.309 2022/05/24 20:50:19 andvar Exp $"); __KERNEL_RCSID(0, "$NetBSD: wdc.c,v 1.310 2022/05/31 08:43:15 andvar Exp $");
#include "opt_ata.h" #include "opt_ata.h"
#include "opt_wdc.h" #include "opt_wdc.h"
@ -998,7 +998,7 @@ wdc_reset_channel(struct ata_channel *chp, int flags)
* Look for pending xfers. If we have a shared queue, we'll also reset * Look for pending xfers. If we have a shared queue, we'll also reset
* the other channel if the current xfer is running on it. * the other channel if the current xfer is running on it.
* Then we'll kill the eventual active transfer explicitly, so that * Then we'll kill the eventual active transfer explicitly, so that
* it is queued for retry immediatelly without waiting for I/O timeout. * it is queued for retry immediately without waiting for I/O timeout.
*/ */
if (xfer) { if (xfer) {
if (xfer->c_chp != chp) { if (xfer->c_chp != chp) {

View File

@ -1,4 +1,4 @@
/* $NetBSD: sbreg.h,v 1.31 2005/12/11 12:22:03 christos Exp $ */ /* $NetBSD: sbreg.h,v 1.32 2022/05/31 08:43:15 andvar Exp $ */
/* /*
* Copyright (c) 1991-1993 Regents of the University of California. * Copyright (c) 1991-1993 Regents of the University of California.
@ -270,7 +270,7 @@
/* /*
* The ADPCM encodings are differential, meaning each sample represents * The ADPCM encodings are differential, meaning each sample represents
* a difference to add to a running sum. The inital value is called the * a difference to add to a running sum. The initial value is called the
* reference, or reference byte. Any of the ADPCM DMA transfers can specify * reference, or reference byte. Any of the ADPCM DMA transfers can specify
* that the given transfer begins with a reference byte by or'ing * that the given transfer begins with a reference byte by or'ing
* in the bit below. * in the bit below.

View File

@ -1,4 +1,4 @@
/* $NetBSD: aic79xx.reg,v 1.15 2022/01/25 22:01:34 andvar Exp $ */ /* $NetBSD: aic79xx.reg,v 1.16 2022/05/31 08:43:15 andvar Exp $ */
/* /*
* Aic79xx register and scratch ram definitions. * Aic79xx register and scratch ram definitions.
@ -1386,7 +1386,7 @@ const LUNLEN_SINGLE_LEVEL_LUN 0xF
/* /*
* CDB Limit * CDB Limit
* The size, in bytes, of the embedded CDB field in initator SCBs. * The size, in bytes, of the embedded CDB field in initiator SCBs.
*/ */
register CDBLIMIT { register CDBLIMIT {
address 0x031 address 0x031

View File

@ -1,4 +1,4 @@
/* $NetBSD: ahcisata_pci.c,v 1.64 2022/05/29 22:26:21 rin Exp $ */ /* $NetBSD: ahcisata_pci.c,v 1.65 2022/05/31 08:43:15 andvar Exp $ */
/* /*
* Copyright (c) 2006 Manuel Bouyer. * Copyright (c) 2006 Manuel Bouyer.
@ -26,7 +26,7 @@
*/ */
#include <sys/cdefs.h> #include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: ahcisata_pci.c,v 1.64 2022/05/29 22:26:21 rin Exp $"); __KERNEL_RCSID(0, "$NetBSD: ahcisata_pci.c,v 1.65 2022/05/31 08:43:15 andvar Exp $");
#ifdef _KERNEL_OPT #ifdef _KERNEL_OPT
#include "opt_ahcisata_pci.h" #include "opt_ahcisata_pci.h"
@ -374,7 +374,7 @@ ahci_pci_intr_establish(struct ahci_softc *sc, int port)
if (port == vec) { if (port == vec) {
/* Print error once */ /* Print error once */
aprint_error_dev(self, aprint_error_dev(self,
"port %d independant interrupt vector not " "port %d independent interrupt vector not "
"available, sharing with further ports", "available, sharing with further ports",
port); port);
} }

View File

@ -1,4 +1,4 @@
/* $NetBSD: cmpci.c,v 1.59 2021/08/07 16:19:14 thorpej Exp $ */ /* $NetBSD: cmpci.c,v 1.60 2022/05/31 08:43:15 andvar Exp $ */
/* /*
* Copyright (c) 2000, 2001, 2008 The NetBSD Foundation, Inc. * Copyright (c) 2000, 2001, 2008 The NetBSD Foundation, Inc.
@ -43,7 +43,7 @@
*/ */
#include <sys/cdefs.h> #include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: cmpci.c,v 1.59 2021/08/07 16:19:14 thorpej Exp $"); __KERNEL_RCSID(0, "$NetBSD: cmpci.c,v 1.60 2022/05/31 08:43:15 andvar Exp $");
#if defined(AUDIO_DEBUG) || defined(DEBUG) #if defined(AUDIO_DEBUG) || defined(DEBUG)
#define DPRINTF(x) if (cmpcidebug) printf x #define DPRINTF(x) if (cmpcidebug) printf x
@ -468,7 +468,7 @@ cmpci_attach(device_t parent, device_t self, void *aux)
v = 1; v = 1;
break; break;
/* volume with inital value 0 */ /* volume with initial value 0 */
case CMPCI_CD_VOL: case CMPCI_CD_VOL:
case CMPCI_LINE_IN_VOL: case CMPCI_LINE_IN_VOL:
case CMPCI_AUX_IN_VOL: case CMPCI_AUX_IN_VOL:

View File

@ -1,4 +1,4 @@
/* $NetBSD: if_age.c,v 1.69 2020/03/01 02:51:42 thorpej Exp $ */ /* $NetBSD: if_age.c,v 1.70 2022/05/31 08:43:15 andvar Exp $ */
/* $OpenBSD: if_age.c,v 1.1 2009/01/16 05:00:34 kevlo Exp $ */ /* $OpenBSD: if_age.c,v 1.1 2009/01/16 05:00:34 kevlo Exp $ */
/*- /*-
@ -31,7 +31,7 @@
/* Driver for Attansic Technology Corp. L1 Gigabit Ethernet. */ /* Driver for Attansic Technology Corp. L1 Gigabit Ethernet. */
#include <sys/cdefs.h> #include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: if_age.c,v 1.69 2020/03/01 02:51:42 thorpej Exp $"); __KERNEL_RCSID(0, "$NetBSD: if_age.c,v 1.70 2022/05/31 08:43:15 andvar Exp $");
#include "vlan.h" #include "vlan.h"
@ -1709,7 +1709,7 @@ age_init(struct ifnet *ifp)
* it's hard to separate code path between Tx and Rx without * it's hard to separate code path between Tx and Rx without
* locking. If L1 hardware have a separate mail box register * locking. If L1 hardware have a separate mail box register
* for Tx and Rx consumer/producer management we could have * for Tx and Rx consumer/producer management we could have
* indepent Tx/Rx handler which in turn Rx handler could have * independent Tx/Rx handler which in turn Rx handler could have
* been run without any locking. * been run without any locking.
*/ */
AGE_COMMIT_MBOX(sc); AGE_COMMIT_MBOX(sc);

View File

@ -1,4 +1,4 @@
/* $NetBSD: synaptics.c,v 1.78 2022/04/04 07:04:20 blymn Exp $ */ /* $NetBSD: synaptics.c,v 1.79 2022/05/31 08:43:16 andvar Exp $ */
/* /*
* Copyright (c) 2005, Steve C. Woodford * Copyright (c) 2005, Steve C. Woodford
@ -48,7 +48,7 @@
#include "opt_pms.h" #include "opt_pms.h"
#include <sys/cdefs.h> #include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: synaptics.c,v 1.78 2022/04/04 07:04:20 blymn Exp $"); __KERNEL_RCSID(0, "$NetBSD: synaptics.c,v 1.79 2022/05/31 08:43:16 andvar Exp $");
#include <sys/param.h> #include <sys/param.h>
#include <sys/systm.h> #include <sys/systm.h>
@ -1008,7 +1008,7 @@ pms_sysctl_synaptics(struct sysctllog **clog)
if ((rc = sysctl_createv(clog, 0, NULL, &node, if ((rc = sysctl_createv(clog, 0, NULL, &node,
CTLFLAG_PERMANENT | CTLFLAG_READWRITE, CTLFLAG_PERMANENT | CTLFLAG_READWRITE,
CTLTYPE_BOOL, "aux_mid_button_scroll", CTLTYPE_BOOL, "aux_mid_button_scroll",
SYSCTL_DESCR("Interpet Y-Axis movement with the middle button held as scrolling on the passthrough device (e.g. TrackPoint)"), SYSCTL_DESCR("Interpret Y-Axis movement with the middle button held as scrolling on the passthrough device (e.g. TrackPoint)"),
pms_sysctl_synaptics_verify, 0, pms_sysctl_synaptics_verify, 0,
&synaptics_aux_mid_button_scroll, &synaptics_aux_mid_button_scroll,
0, CTL_HW, root_num, CTL_CREATE, 0, CTL_HW, root_num, CTL_CREATE,

View File

@ -1,4 +1,4 @@
/* $NetBSD: ppbus_msq.c,v 1.11 2016/02/14 18:11:16 dholland Exp $ */ /* $NetBSD: ppbus_msq.c,v 1.12 2022/05/31 08:43:16 andvar Exp $ */
/*- /*-
* Copyright (c) 1998, 1999 Nicolas Souchu * Copyright (c) 1998, 1999 Nicolas Souchu
@ -30,7 +30,7 @@
*/ */
#include <sys/cdefs.h> #include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: ppbus_msq.c,v 1.11 2016/02/14 18:11:16 dholland Exp $"); __KERNEL_RCSID(0, "$NetBSD: ppbus_msq.c,v 1.12 2022/05/31 08:43:16 andvar Exp $");
#include <sys/param.h> #include <sys/param.h>
#include <sys/systm.h> #include <sys/systm.h>
@ -267,7 +267,7 @@ ppbus_MS_init_msq(struct ppbus_microseq * msq, int nbparam, ...)
/* /*
* ppbus_MS_microseq() * ppbus_MS_microseq()
* *
* Interprete a microsequence. Some microinstructions are executed at adapter * Interpret a microsequence. Some microinstructions are executed at adapter
* level to avoid function call overhead between ppbus and the adapter * level to avoid function call overhead between ppbus and the adapter
*/ */
int int

View File

@ -1,4 +1,4 @@
/* $NetBSD: kern_hook.c,v 1.12 2021/12/03 08:33:30 gson Exp $ */ /* $NetBSD: kern_hook.c,v 1.13 2022/05/31 08:43:16 andvar Exp $ */
/*- /*-
* Copyright (c) 1997, 1998, 1999, 2002, 2007, 2008 The NetBSD Foundation, Inc. * Copyright (c) 1997, 1998, 1999, 2002, 2007, 2008 The NetBSD Foundation, Inc.
@ -31,7 +31,7 @@
*/ */
#include <sys/cdefs.h> #include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: kern_hook.c,v 1.12 2021/12/03 08:33:30 gson Exp $"); __KERNEL_RCSID(0, "$NetBSD: kern_hook.c,v 1.13 2022/05/31 08:43:16 andvar Exp $");
#include <sys/param.h> #include <sys/param.h>
#include <sys/condvar.h> #include <sys/condvar.h>
@ -558,7 +558,7 @@ simplehook_disestablish(khook_list_t *l, khook_t *hd, kmutex_t *lock)
panic("hook_disestablish: hook %p not established", hd); panic("hook_disestablish: hook %p not established", hd);
#endif #endif
/* The hook is not referred, remove immidiately */ /* The hook is not referred, remove immediately */
if (l->hl_state == HKLIST_IDLE) { if (l->hl_state == HKLIST_IDLE) {
LIST_REMOVE(hd, hk_list); LIST_REMOVE(hd, hk_list);
kmem_free(hd, sizeof(*hd)); kmem_free(hd, sizeof(*hd));

View File

@ -1,4 +1,4 @@
/* $NetBSD: subr_blist.c,v 1.14 2022/05/29 10:47:40 andvar Exp $ */ /* $NetBSD: subr_blist.c,v 1.15 2022/05/31 08:43:16 andvar Exp $ */
/*- /*-
* Copyright (c) 1998 Matthew Dillon. All Rights Reserved. * Copyright (c) 1998 Matthew Dillon. All Rights Reserved.
@ -86,7 +86,7 @@
*/ */
#include <sys/cdefs.h> #include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: subr_blist.c,v 1.14 2022/05/29 10:47:40 andvar Exp $"); __KERNEL_RCSID(0, "$NetBSD: subr_blist.c,v 1.15 2022/05/31 08:43:16 andvar Exp $");
#if 0 #if 0
__FBSDID("$FreeBSD: src/sys/kern/subr_blist.c,v 1.17 2004/06/04 04:03:25 alc Exp $"); __FBSDID("$FreeBSD: src/sys/kern/subr_blist.c,v 1.17 2004/06/04 04:03:25 alc Exp $");
#endif #endif
@ -256,7 +256,7 @@ blist_alloc(blist_t bl, blist_blkno_t count)
/* /*
* blist_free() - free up space in the block bitmap. Return the base * blist_free() - free up space in the block bitmap. Return the base
* of a contiguous region. Panic if an inconsistancy is * of a contiguous region. Panic if an inconsistency is
* found. * found.
*/ */

View File

@ -1,4 +1,4 @@
/* $NetBSD: subr_vmem.c,v 1.107 2022/02/27 14:24:11 riastradh Exp $ */ /* $NetBSD: subr_vmem.c,v 1.108 2022/05/31 08:43:16 andvar Exp $ */
/*- /*-
* Copyright (c)2006,2007,2008,2009 YAMAMOTO Takashi, * Copyright (c)2006,2007,2008,2009 YAMAMOTO Takashi,
@ -39,14 +39,14 @@
* vmem arena locks. * vmem arena locks.
* - During pool_put calls no vmem mutexes are locked. * - During pool_put calls no vmem mutexes are locked.
* - pool_drain doesn't hold the pool's mutex while releasing memory to * - pool_drain doesn't hold the pool's mutex while releasing memory to
* its backing therefore no interferance with any vmem mutexes. * its backing therefore no interference with any vmem mutexes.
* - The boundary tag pool is forced to put page headers into pool pages * - The boundary tag pool is forced to put page headers into pool pages
* (PR_PHINPAGE) and not off page to avoid pool recursion. * (PR_PHINPAGE) and not off page to avoid pool recursion.
* (due to sizeof(bt_t) it should be the case anyway) * (due to sizeof(bt_t) it should be the case anyway)
*/ */
#include <sys/cdefs.h> #include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: subr_vmem.c,v 1.107 2022/02/27 14:24:11 riastradh Exp $"); __KERNEL_RCSID(0, "$NetBSD: subr_vmem.c,v 1.108 2022/05/31 08:43:16 andvar Exp $");
#if defined(_KERNEL) && defined(_KERNEL_OPT) #if defined(_KERNEL) && defined(_KERNEL_OPT)
#include "opt_ddb.h" #include "opt_ddb.h"

View File

@ -1,4 +1,4 @@
/* $NetBSD: ip_reass.c,v 1.22 2022/02/16 22:00:56 andvar Exp $ */ /* $NetBSD: ip_reass.c,v 1.23 2022/05/31 08:43:16 andvar Exp $ */
/* /*
* Copyright (c) 1982, 1986, 1988, 1993 * Copyright (c) 1982, 1986, 1988, 1993
@ -46,7 +46,7 @@
*/ */
#include <sys/cdefs.h> #include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: ip_reass.c,v 1.22 2022/02/16 22:00:56 andvar Exp $"); __KERNEL_RCSID(0, "$NetBSD: ip_reass.c,v 1.23 2022/05/31 08:43:16 andvar Exp $");
#include <sys/param.h> #include <sys/param.h>
#include <sys/types.h> #include <sys/types.h>
@ -464,7 +464,7 @@ ip_freef(ipfr_queue_t *fp)
* *
* Decrement TTL of all reasembly queue entries by `ticks'. Count * Decrement TTL of all reasembly queue entries by `ticks'. Count
* number of distinct fragments (as opposed to partial, fragmented * number of distinct fragments (as opposed to partial, fragmented
* datagrams) inthe reassembly queue. While we traverse the entire * datagrams) in the reassembly queue. While we traverse the entire
* reassembly queue, compute and return the median TTL over all * reassembly queue, compute and return the median TTL over all
* fragments. * fragments.
*/ */

View File

@ -1,4 +1,4 @@
/* $NetBSD: sctp_output.c,v 1.30 2022/05/28 10:36:23 andvar Exp $ */ /* $NetBSD: sctp_output.c,v 1.31 2022/05/31 08:43:16 andvar Exp $ */
/* $KAME: sctp_output.c,v 1.48 2005/06/16 18:29:24 jinmei Exp $ */ /* $KAME: sctp_output.c,v 1.48 2005/06/16 18:29:24 jinmei Exp $ */
/* /*
@ -30,7 +30,7 @@
* SUCH DAMAGE. * SUCH DAMAGE.
*/ */
#include <sys/cdefs.h> #include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: sctp_output.c,v 1.30 2022/05/28 10:36:23 andvar Exp $"); __KERNEL_RCSID(0, "$NetBSD: sctp_output.c,v 1.31 2022/05/31 08:43:16 andvar Exp $");
#ifdef _KERNEL_OPT #ifdef _KERNEL_OPT
#include "opt_ipsec.h" #include "opt_ipsec.h"
@ -4818,7 +4818,7 @@ sctp_sendall (struct sctp_inpcb *inp, struct uio *uio, struct mbuf *m, struct sc
(void *)ca, 0, sctp_sendall_completes, inp); (void *)ca, 0, sctp_sendall_completes, inp);
if (ret) { if (ret) {
#ifdef SCTP_DEBUG #ifdef SCTP_DEBUG
printf("Failed to initate iterator to takeover associations\n"); printf("Failed to initiate iterator to takeover associations\n");
#endif #endif
free(ca, M_PCB); free(ca, M_PCB);
return (EFAULT); return (EFAULT);

View File

@ -1,4 +1,4 @@
/* $NetBSD: uvm_aobj.c,v 1.155 2022/04/09 23:38:33 riastradh Exp $ */ /* $NetBSD: uvm_aobj.c,v 1.156 2022/05/31 08:43:16 andvar Exp $ */
/* /*
* Copyright (c) 1998 Chuck Silvers, Charles D. Cranor and * Copyright (c) 1998 Chuck Silvers, Charles D. Cranor and
@ -38,7 +38,7 @@
*/ */
#include <sys/cdefs.h> #include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: uvm_aobj.c,v 1.155 2022/04/09 23:38:33 riastradh Exp $"); __KERNEL_RCSID(0, "$NetBSD: uvm_aobj.c,v 1.156 2022/05/31 08:43:16 andvar Exp $");
#ifdef _KERNEL_OPT #ifdef _KERNEL_OPT
#include "opt_uvmhist.h" #include "opt_uvmhist.h"
@ -384,7 +384,7 @@ uao_free(struct uvm_aobj *aobj)
} else { } else {
/* /*
* free the array itsself. * free the array itself.
*/ */
kmem_free(aobj->u_swslots, aobj->u_pages * sizeof(int)); kmem_free(aobj->u_swslots, aobj->u_pages * sizeof(int));

View File

@ -1,4 +1,4 @@
/* $NetBSD: audiotest.c,v 1.21 2022/05/24 06:18:34 andvar Exp $ */ /* $NetBSD: audiotest.c,v 1.22 2022/05/31 08:43:16 andvar Exp $ */
/* /*
* Copyright (C) 2019 Tetsuya Isaki. All rights reserved. * Copyright (C) 2019 Tetsuya Isaki. All rights reserved.
@ -26,7 +26,7 @@
*/ */
#include <sys/cdefs.h> #include <sys/cdefs.h>
__RCSID("$NetBSD: audiotest.c,v 1.21 2022/05/24 06:18:34 andvar Exp $"); __RCSID("$NetBSD: audiotest.c,v 1.22 2022/05/31 08:43:16 andvar Exp $");
#include <errno.h> #include <errno.h>
#include <fcntl.h> #include <fcntl.h>
@ -5374,7 +5374,7 @@ DEF(AUDIO_SETINFO_sample_rate_0)
* On NetBSD7,8 this will block system call and you will not * On NetBSD7,8 this will block system call and you will not
* even be able to shutdown... * even be able to shutdown...
*/ */
XP_SKIP("This will cause an infinate loop in the kernel"); XP_SKIP("This will cause an infinite loop in the kernel");
return; return;
} }

View File

@ -1,4 +1,4 @@
/* $NetBSD: nbsvtool.c,v 1.4 2018/02/06 20:15:39 christos Exp $ */ /* $NetBSD: nbsvtool.c,v 1.5 2022/05/31 08:43:16 andvar Exp $ */
/*- /*-
* Copyright (c) 2004, 2008 The NetBSD Foundation, Inc. * Copyright (c) 2004, 2008 The NetBSD Foundation, Inc.
@ -98,7 +98,7 @@ sign_file(X509 *cert, EVP_PKEY *private_key, STACK_OF(X509) *cert_chain,
/* /*
* Verifies a detached PEM signature in the file `sigfile' of file * Verifies a detached PEM signature in the file `sigfile' of file
* `infile'. The trust anchor file `anchor' to the trust anchors must * `infile'. The trust anchor file `anchor' to the trust anchors must
* be given. If its suspended that the sender didn't inlude the whole * be given. If its suspended that the sender didn't include the whole
* path from the signing certificate to the given trust anchor, extra * path from the signing certificate to the given trust anchor, extra
* certificates can be passed in `cert_chain'. * certificates can be passed in `cert_chain'.
*/ */

View File

@ -1,4 +1,4 @@
/* $NetBSD: defs.h,v 1.13 2020/05/15 22:39:54 christos Exp $ */ /* $NetBSD: defs.h,v 1.14 2022/05/31 08:43:16 andvar Exp $ */
/*- /*-
* Copyright (c) 1992 Diomidis Spinellis. * Copyright (c) 1992 Diomidis Spinellis.
@ -88,7 +88,7 @@ struct s_tr {
/* /*
* An internally compiled command. * An internally compiled command.
* Initialy, label references are stored in t, on a second pass they * Initially, label references are stored in t, on a second pass they
* are updated to pointers. * are updated to pointers.
*/ */
struct s_command { struct s_command {