fix various typos in comments and log messages.

This commit is contained in:
andvar 2021-08-02 12:56:22 +00:00
parent e8507174be
commit 077d1c0f36
33 changed files with 101 additions and 101 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: types.h,v 1.3 2019/06/16 16:01:44 christos Exp $ */
/* $NetBSD: types.h,v 1.4 2021/08/02 12:56:22 andvar Exp $ */
/*
* Sun RPC is a product of Sun Microsystems, Inc. and is provided for
@ -95,7 +95,7 @@ struct netbuf {
};
/*
* The format of the addres and options arguments of the XTI t_bind call.
* The format of the address and options arguments of the XTI t_bind call.
* Only provided for compatibility, it should not be used.
*/

View File

@ -1,4 +1,4 @@
/* $NetBSD: armv6_start.S,v 1.34 2021/01/27 13:50:17 skrll Exp $ */
/* $NetBSD: armv6_start.S,v 1.35 2021/08/02 12:56:22 andvar Exp $ */
/*-
* Copyright (c) 2012, 2017, 2018 The NetBSD Foundation, Inc.
@ -462,7 +462,7 @@ generic_startv7:
movt r0, #:upper16:TEMP_L1_TABLE
sub r0, R_VTOPDIFF
// Return to virtual addess after the call to armv7_mmuinit
// Return to virtual address after the call to armv7_mmuinit
movw lr, #:lower16:generic_vstartv7
movt lr, #:upper16:generic_vstartv7
b armv7_mmuinit

View File

@ -1,4 +1,4 @@
/* $NetBSD: ixp12x0reg.h,v 1.7 2009/10/21 14:15:50 rmind Exp $ */
/* $NetBSD: ixp12x0reg.h,v 1.8 2021/08/02 12:56:22 andvar Exp $ */
/*
* Copyright (c) 2002, 2003
@ -121,7 +121,7 @@
* F000 1800 - F000 1C03 GPIO
* F000 1400 - F000 1403 IRQ
* F000 1000 - F000 1003 FIQ
* F000 0C00 - F000 0C03 PLL_CFG (not used at this addres)
* F000 0C00 - F000 0C03 PLL_CFG (not used at this address)
* F000 0000 ---------------------------
* Kernel text and data
* C000 0000 ---------------------------

View File

@ -1,4 +1,4 @@
/* $NetBSD: if_scx.c,v 1.24 2021/01/27 03:10:19 thorpej Exp $ */
/* $NetBSD: if_scx.c,v 1.25 2021/08/02 12:56:22 andvar Exp $ */
/*-
* Copyright (c) 2020 The NetBSD Foundation, Inc.
@ -38,15 +38,15 @@
* to handle incoming frames, outgoing frames and packet data crypto
* processing. uP programs are stored in an external flash memory and
* have to be loaded by device driver.
* NetSec uses Synopsys DesignWare Core EMAC. DWC implmentation
* regiter (0x20) is known to have 0x10.36 and feature register (0x1058)
* NetSec uses Synopsys DesignWare Core EMAC. DWC implementation
* register (0x20) is known to have 0x10.36 and feature register (0x1058)
* to report XX.XX.
*/
#define NOT_MP_SAFE 0
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: if_scx.c,v 1.24 2021/01/27 03:10:19 thorpej Exp $");
__KERNEL_RCSID(0, "$NetBSD: if_scx.c,v 1.25 2021/08/02 12:56:22 andvar Exp $");
#include <sys/param.h>
#include <sys/bus.h>
@ -202,7 +202,7 @@ struct rdes {
#define _MCR_FDX 0x0000280c /* XXX TBD */
#define _MCR_HDX 0x0001a00c /* XXX TBD */
#define GMACAFR 0x0004 /* frame DA/SA address filter */
#define AFR_RA (1U<<31) /* accept all irrecspective of filt. */
#define AFR_RA (1U<<31) /* accept all irrespective of filt. */
#define AFR_HPF (1U<<10) /* hash+perfect filter, or hash only */
#define AFR_SAF (1U<<9) /* source address filter */
#define AFR_SAIF (1U<<8) /* SA inverse filtering */
@ -238,10 +238,10 @@ struct rdes {
#define ISR_LC (1U<<0) /* link status change detected */
#define GMACMAH0 0x0040 /* my own MAC address 47:32 */
#define GMACMAL0 0x0044 /* my own MAC address 31:0 */
#define GMACMAH(i) ((i)*8+0x40) /* supplimental MAC addr 1-15 */
#define GMACMAH(i) ((i)*8+0x40) /* supplemental MAC addr 1-15 */
#define GMACMAL(i) ((i)*8+0x44) /* 31:0 MAC address low part */
/* MAH bit-31: slot in use, 30: SA to match, 29:24 byte-wise don'care */
#define GMACAMAH(i) ((i)*8+0x800) /* supplimental MAC addr 16-31 */
#define GMACAMAH(i) ((i)*8+0x800) /* supplemental MAC addr 16-31 */
#define GMACAMAL(i) ((i)*8+0x804) /* 31: MAC address low part */
/* MAH bit-31: slot in use, no other bit is effective */
#define GMACMHTH 0x0008 /* 64bit multicast hash table 63:32 */
@ -249,7 +249,7 @@ struct rdes {
#define GMACMHT(i) ((i)*4+0x500) /* 256-bit alternative mcast hash 0-7 */
#define GMACVHT 0x0588 /* 16-bit VLAN tag hash */
#define GMACMIISR 0x00d8 /* resolved xMII link status */
/* 3: link up detected, 2:1 resovled speed (0/1/2), 1: fdx detected */
/* 3: link up detected, 2:1 resolved speed (0/1/2), 1: fdx detected */
/* 0x0700 - 0734 ??? */
@ -938,7 +938,7 @@ scx_init(struct ifnet *ifp)
sc->sc_rxptr = 0;
sc->sc_rxptr = 0;
/* set my address in perfect match slot 0. little endin order */
/* set my address in perfect match slot 0. little endian order */
csr = (ea[3] << 24) | (ea[2] << 16) | (ea[1] << 8) | ea[0];
mac_write(sc, GMACMAL0, csr);
csr = (ea[5] << 8) | ea[4];
@ -1050,7 +1050,7 @@ scx_set_rcvfilt(struct scx_softc *sc)
csr &= ~(AFR_PR | AFR_PM | AFR_MHTE | AFR_HPF);
mac_write(sc, GMACAFR, csr);
/* clear 15 entry supplimental perfect match filter */
/* clear 15 entry supplemental perfect match filter */
for (i = 1; i < 16; i++)
mac_write(sc, GMACMAH(i), 0);
/* build 64 bit multicast hash filter */

View File

@ -1,4 +1,4 @@
/* $NetBSD: ixp425_npe.c,v 1.13 2021/07/24 21:31:32 andvar Exp $ */
/* $NetBSD: ixp425_npe.c,v 1.14 2021/08/02 12:56:22 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.13 2021/07/24 21:31:32 andvar Exp $");
__KERNEL_RCSID(0, "$NetBSD: ixp425_npe.c,v 1.14 2021/08/02 12:56:22 andvar Exp $");
/*
* Intel XScale Network Processing Engine (NPE) support.
@ -1135,7 +1135,7 @@ npe_logical_reg_read(struct ixpnpe_softc *sc,
npeInstruction |= (regAddr << IX_NPEDL_OFFSET_INSTR_SRC) |
(regAddr << IX_NPEDL_OFFSET_INSTR_DEST);
/* step execution of NPE intruction using Debug Executing Context stack */
/* step execution of NPE instruction using Debug Executing Context stack */
error = npe_cpu_step(sc, npeInstruction, ctxtNum, IX_NPEDL_RD_INSTR_LDUR);
if (error != 0) {
DPRINTF(sc->sc_dev, "%s(0x%x, %u, %u), cannot step, error %d\n",
@ -1188,7 +1188,7 @@ npe_logical_reg_write(struct ixpnpe_softc *sc, uint32_t regAddr, uint32_t regVal
default:
return EINVAL;
}
/* fill dest operand field of instruction with destination reg addr */
/* fill dest operand field of instruction with destination reg addr */
npeInstruction |= (regAddr << IX_NPEDL_OFFSET_INSTR_DEST);
/* fill src operand field of instruction with least-sig 5 bits of val*/
@ -1199,7 +1199,7 @@ npe_logical_reg_write(struct ixpnpe_softc *sc, uint32_t regAddr, uint32_t regVal
npeInstruction |= ((regVal & IX_NPEDL_MASK_IMMED_INSTR_COPROC_DATA) <<
IX_NPEDL_DISPLACE_IMMED_INSTR_COPROC_DATA);
/* step execution of NPE intruction using Debug ECS */
/* step execution of NPE instruction using Debug ECS */
error = npe_cpu_step(sc, npeInstruction,
ctxtNum, IX_NPEDL_WR_INSTR_LDUR);
}

View File

@ -1,4 +1,4 @@
/* $NetBSD: brhreg.h,v 1.1 2003/01/25 02:00:17 thorpej Exp $ */
/* $NetBSD: brhreg.h,v 1.2 2021/08/02 12:56:22 andvar Exp $ */
/*
* Copyright (c) 2002 Wasabi Systems, Inc.
@ -48,7 +48,7 @@
* everything. Note the physical size of the range may be larger
* or smaller than the virtual size.
*
* We need to leave room near the top of the addres space for the
* We need to leave room near the top of the address space for the
* vectors.
*/

View File

@ -1,4 +1,4 @@
/* $NetBSD: machdep.c,v 1.19 2018/06/06 01:49:08 maya Exp $ */
/* $NetBSD: machdep.c,v 1.20 2021/08/02 12:56:22 andvar Exp $ */
/*
* Copyright 2001, 2002 Wasabi Systems, Inc.
@ -74,7 +74,7 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: machdep.c,v 1.19 2018/06/06 01:49:08 maya Exp $");
__KERNEL_RCSID(0, "$NetBSD: machdep.c,v 1.20 2021/08/02 12:56:22 andvar Exp $");
#define __INTR_PRIVATE
@ -648,7 +648,7 @@ rmixl_physaddr_init(void)
/*
* at this point all regions left in "physaddr" extent
* are unused holes in the physical adress space
* are unused holes in the physical address space
* available for use as needed.
*/
rmixl_configuration.rc_phys_ex = ext;

View File

@ -1,4 +1,4 @@
/* $NetBSD: biosmemx.S,v 1.10 2016/12/04 08:21:08 maxv Exp $ */
/* $NetBSD: biosmemx.S,v 1.11 2021/08/02 12:56:23 andvar Exp $ */
/*
* Copyright (c) 1997, 1999
@ -115,7 +115,7 @@ ENTRY(getmementry)
add %di,%ax
mov %ax,%es
pop %di
and $0xf,%di /* buffer addres now in ES:DI */
and $0xf,%di /* buffer address now in ES:DI */
movl $0xe820,%eax /* Some BIOS check EAX value */
int $0x15

View File

@ -1,4 +1,4 @@
/* $NetBSD: scsivar.h,v 1.3 2015/02/14 05:03:09 tsutsui Exp $ */
/* $NetBSD: scsivar.h,v 1.4 2021/08/02 12:56:23 andvar Exp $ */
/*
* Copyright (c) 1992 OMRON Corporation.
@ -76,7 +76,7 @@ struct scsi_softc {
uint8_t *sc_buf; /* Data Buffer Pointor*/
uint8_t *sc_cdb; /* CDB Buffer Pointor */
volatile int *sc_lock; /* Lock Flag addres */
volatile int *sc_lock; /* Lock Flag address */
int sc_flags; /* SPC Status Flags */
int sc_phase; /* Current SCSI Phase */
int sc_target; /* Current Target ID */

View File

@ -1,5 +1,5 @@
#
# $NetBSD: isp.s,v 1.4 2021/07/24 21:31:33 andvar Exp $
# $NetBSD: isp.s,v 1.5 2021/08/02 12:56:23 andvar Exp $
#
#~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
@ -46,7 +46,7 @@
# to call a given routine. The stub routine actually performs the
# callout. The ISP code does a "bsr" to the stub routine. This
# extra layer of hierarchy adds a slight performance penalty but
# it makes the ISP code easier to read and more mainatinable.
# it makes the ISP code easier to read and more maintainable.
#
set _off_chk, 0x00
@ -269,7 +269,7 @@ _dmem_write_long:
#
# This file contains a set of define statements for constants
# in oreder to promote readability within the core code itself.
# in order to promote readability within the core code itself.
#
set LOCAL_SIZE, 96 # stack frame size(bytes)
@ -762,7 +762,7 @@ uieh_divbyzero_a7:
# The instruction that was just emulated was also being traced. The trace
# trap for this instruction will be lost unless we jump to the trace handler.
# So, here we create a Trace Exception format number two exception stack
# frame from the Unimplemented Integer Intruction Exception stack frame
# frame from the Unimplemented Integer Instruction Exception stack frame
# format number zero and jump to the user supplied hook "_real_trace()".
#
# However, we must also deal with the fact that (a7)+ was used from supervisor
@ -2933,8 +2933,8 @@ cr_cas2:
# (external to package) #
# _isp_cas_terminate(): create access error stack frame on fault #
# (external and internal to package) #
# _isp_cas_inrange(): checks whether instr addess is within range #
# of core cas/cas2emulation code #
# _isp_cas_inrange(): checks whether instr address is within #
# range of core cas/cas2emulation code #
# (external to package) #
# #
# XREF **************************************************************** #
@ -3824,7 +3824,7 @@ CAS2W2_FILLER:
# (3) Save current DFC/SFC (ASSUMED TO BE EQUAL!!!); Then set #
# SFC/DFC according to whether exception occurred in user or #
# supervisor mode. #
# (4) Use "plpaw" instruction to pre-load ATC with efective #
# (4) Use "plpaw" instruction to pre-load ATC with effective #
# address page(s). THIS SHOULD NOT FAULT!!! The relevant #
# page(s) should have been made resident prior to entering #
# this routine. #
@ -3845,7 +3845,7 @@ CAS2W2_FILLER:
# assert LOCKE* for the final write operation. #
# (13)Exit. #
# #
# The algorithm is actually implemented slightly diferently #
# The algorithm is actually implemented slightly differently #
# depending on the size of the operation and the misalignment of the #
# operand. A misaligned operand must be written in aligned chunks or #
# else the BUSCR register control gets confused. #
@ -4040,7 +4040,7 @@ casw_update_done:
################
# there are two possible mis-aligned cases for longword cas. they
# there are two possible misaligned cases for longword cas. they
# are separated because the final write which asserts LOCKE* must
# be an aligned write.
casl:

View File

@ -1,4 +1,4 @@
/* $NetBSD: aereg.h,v 1.2 2008/04/28 20:23:28 martin Exp $ */
/* $NetBSD: aereg.h,v 1.3 2021/08/02 12:56:23 andvar Exp $ */
/*-
* Copyright (c) 1999, 2000 The NetBSD Foundation, Inc.
@ -122,7 +122,7 @@ struct ae_desc {
* Control registers.
*/
/* tese are registers only found on this part */
/* these are registers only found on this part */
#define CSR_MACCTL 0x0000 /* mac control */
#define CSR_MACHI 0x0004
#define CSR_MACLO 0x0008
@ -171,7 +171,7 @@ struct ae_desc {
#define MACCTL_BLE 0x40000000 /* mac big endian */
#define MACCTL_RA 0x80000000 /* receive all packets */
/* CSR_MIIADDR - MII Addess */
/* CSR_MIIADDR - MII Address */
#define MIIADDR_BUSY 0x00000001 /* mii busy */
#define MIIADDR_WRITE 0x00000002 /* mii write */
#define MIIADDR_REG_MASK 0x000007C0 /* mii register */

View File

@ -1,4 +1,4 @@
/* $NetBSD: si_sebuf.c,v 1.30 2020/11/21 00:27:52 thorpej Exp $ */
/* $NetBSD: si_sebuf.c,v 1.31 2021/08/02 12:56:23 andvar Exp $ */
/*-
* Copyright (c) 1996 The NetBSD Foundation, Inc.
@ -37,7 +37,7 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: si_sebuf.c,v 1.30 2020/11/21 00:27:52 thorpej Exp $");
__KERNEL_RCSID(0, "$NetBSD: si_sebuf.c,v 1.31 2021/08/02 12:56:23 andvar Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@ -331,7 +331,7 @@ se_intr_off(struct ncr5380_softc *ncr_sc)
* that precedes a DATA_IN or DATA_OUT phase, in case we need
* to setup the DMA engine before the bus enters a DATA phase.
*
* On the VME version, setup the start addres, but clear the
* On the VME version, setup the start address, but clear the
* count (to make sure it stays idle) and set that later.
* XXX: The VME adapter appears to suppress SBC interrupts
* when the FIFO is not empty or the FIFO count is non-zero!

View File

@ -1,4 +1,4 @@
/* $NetBSD: si_vme.c,v 1.30 2009/11/21 04:16:52 rmind Exp $ */
/* $NetBSD: si_vme.c,v 1.31 2021/08/02 12:56:23 andvar Exp $ */
/*-
* Copyright (c) 1996 The NetBSD Foundation, Inc.
@ -74,7 +74,7 @@
****************************************************************/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: si_vme.c,v 1.30 2009/11/21 04:16:52 rmind Exp $");
__KERNEL_RCSID(0, "$NetBSD: si_vme.c,v 1.31 2021/08/02 12:56:23 andvar Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@ -311,7 +311,7 @@ si_vme_intr_off(struct ncr5380_softc *ncr_sc)
* XXX: The VME adapter appears to suppress SBC interrupts
* when the FIFO is not empty or the FIFO count is non-zero!
*
* On the VME version, setup the start addres, but clear the
* On the VME version, setup the start address, but clear the
* count (to make sure it stays idle) and set that later.
*/
void

View File

@ -1,4 +1,4 @@
/* $NetBSD: pmap.c,v 1.171 2016/12/22 14:47:59 cherry Exp $ */
/* $NetBSD: pmap.c,v 1.172 2021/08/02 12:56:23 andvar Exp $ */
/*-
* Copyright (c) 1996 The NetBSD Foundation, Inc.
@ -80,7 +80,7 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: pmap.c,v 1.171 2016/12/22 14:47:59 cherry Exp $");
__KERNEL_RCSID(0, "$NetBSD: pmap.c,v 1.172 2021/08/02 12:56:23 andvar Exp $");
#include "opt_ddb.h"
#include "opt_pmap_debug.h"
@ -1537,7 +1537,7 @@ pmap_bootstrap(vaddr_t nextva)
/*
* On the Sun3/50, the video frame buffer is located at
* physical addres 1MB so we must step over it.
* physical address 1MB so we must step over it.
*/
if (cpu_machine_id == ID_SUN3_50) {
hole_start = m68k_trunc_page(OBMEM_BW50_ADDR);

View File

@ -1,4 +1,4 @@
/* $NetBSD: pmap.c,v 1.191 2020/05/23 23:42:41 ad Exp $ */
/* $NetBSD: pmap.c,v 1.192 2021/08/02 12:56:23 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.191 2020/05/23 23:42:41 ad Exp $");
__KERNEL_RCSID(0, "$NetBSD: pmap.c,v 1.192 2021/08/02 12:56:23 andvar Exp $");
#include "opt_ddb.h"
#include "opt_cputype.h"
@ -1370,7 +1370,7 @@ pmap_simulref(int bits, int addr)
if (bits & 1)
panic("pte trans len");
#endif
/* Set addess on logical page boundary */
/* Set address on logical page boundary */
addr &= ~PGOFSET;
/* First decode userspace addr */
if (addr >= 0) {

View File

@ -1,4 +1,4 @@
/* $NetBSD: pmap.c,v 1.410 2021/04/17 18:03:21 bouyer Exp $ */
/* $NetBSD: pmap.c,v 1.411 2021/08/02 12:56:23 andvar Exp $ */
/*
* Copyright (c) 2008, 2010, 2016, 2017, 2019, 2020 The NetBSD Foundation, Inc.
@ -130,7 +130,7 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: pmap.c,v 1.410 2021/04/17 18:03:21 bouyer Exp $");
__KERNEL_RCSID(0, "$NetBSD: pmap.c,v 1.411 2021/08/02 12:56:23 andvar Exp $");
#include "opt_user_ldt.h"
#include "opt_lockdebug.h"
@ -3797,7 +3797,7 @@ vtomach(vaddr_t va)
/*
* pmap_virtual_space: used during bootup [pmap_steal_memory] to
* determine the bounds of the kernel virtual addess space.
* determine the bounds of the kernel virtual address space.
*/
void
pmap_virtual_space(vaddr_t *startp, vaddr_t *endp)

View File

@ -1,4 +1,4 @@
/* $NetBSD: cs89x0isa.c,v 1.19 2020/01/29 06:21:40 thorpej Exp $ */
/* $NetBSD: cs89x0isa.c,v 1.20 2021/08/02 12:56:24 andvar Exp $ */
/*
* Copyright 1997
@ -36,7 +36,7 @@
/* isa DMA routines for cs89x0 */
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: cs89x0isa.c,v 1.19 2020/01/29 06:21:40 thorpej Exp $");
__KERNEL_RCSID(0, "$NetBSD: cs89x0isa.c,v 1.20 2021/08/02 12:56:24 andvar Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@ -368,7 +368,7 @@ void cs_process_rx_dma(struct cs_softc *sc)
* received, without the alignment considerations.
*
* The cs8900 pads all frames to start at the next 32bit
* aligned addres. hence we need to pad our offset
* aligned address. hence we need to pad our offset
* pointer.
*/
dma_mem_ptr += 3;

View File

@ -1,4 +1,4 @@
/* $NetBSD: gtintrreg.h,v 1.5 2010/04/28 13:51:56 kiyohara Exp $ */
/* $NetBSD: gtintrreg.h,v 1.6 2021/08/02 12:56:24 andvar Exp $ */
/*
* Copyright (c) 2002 Allegro Networks, Inc., Wasabi Systems, Inc.
@ -78,7 +78,7 @@
#define ICR_CI3M 0xe6c /* CPU int[3] mask */
#define IRQ_DEV 1 /* device interface interrupt */
#define IRQ_DMA 2 /* DMA addres error interrupt */
#define IRQ_DMA 2 /* DMA address error interrupt */
#define IRQ_CPU 3 /* CPU interface interrupt */
#define IRQ_IDMA0_1 4 /* IDMA ch. 0..1 complete interrupt */
#define IRQ_IDMA2_3 5 /* IDMA ch. 2..3 complete interrupt */

View File

@ -1,4 +1,4 @@
/* $NetBSD: if_mvxpe.c,v 1.33 2020/02/05 08:34:48 skrll Exp $ */
/* $NetBSD: if_mvxpe.c,v 1.34 2021/08/02 12:56:24 andvar Exp $ */
/*
* Copyright (c) 2015 Internet Initiative Japan Inc.
* All rights reserved.
@ -25,7 +25,7 @@
* POSSIBILITY OF SUCH DAMAGE.
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: if_mvxpe.c,v 1.33 2020/02/05 08:34:48 skrll Exp $");
__KERNEL_RCSID(0, "$NetBSD: if_mvxpe.c,v 1.34 2021/08/02 12:56:24 andvar Exp $");
#include "opt_multiprocessor.h"
@ -88,7 +88,7 @@ STATIC int mvxpe_miibus_readreg(device_t, int, int, uint16_t *);
STATIC int mvxpe_miibus_writereg(device_t, int, int, uint16_t);
STATIC void mvxpe_miibus_statchg(struct ifnet *);
/* Addres Decoding Window */
/* Address Decoding Window */
STATIC void mvxpe_wininit(struct mvxpe_softc *, enum marvell_tags *);
/* Device Register Initialization */

View File

@ -1,4 +1,4 @@
/* $NetBSD: mvxpbmvar.h,v 1.1 2015/06/03 03:55:47 hsuenaga Exp $ */
/* $NetBSD: mvxpbmvar.h,v 1.2 2021/08/02 12:56:24 andvar Exp $ */
/*
* Copyright (c) 2015 Internet Initiative Japan Inc.
* All rights reserved.
@ -74,7 +74,7 @@ struct mvxpbm_chunk {
off_t buf_off; /* offset of packet from sc_bm_buf */
paddr_t buf_pa; /* physical address of packet */
vaddr_t buf_va; /* virtual addres of packet */
vaddr_t buf_va; /* virtual address of packet */
size_t buf_size; /* size of buffer (exclude hdr) */
LIST_ENTRY(mvxpbm_chunk) link;

View File

@ -28,7 +28,7 @@ POSSIBILITY OF SUCH DAMAGE.
***************************************************************************/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: cxgb_t3_hw.c,v 1.4 2020/09/29 02:58:52 msaitoh Exp $");
__KERNEL_RCSID(0, "$NetBSD: cxgb_t3_hw.c,v 1.5 2021/08/02 12:56:24 andvar Exp $");
#ifdef CONFIG_DEFINED
@ -543,7 +543,7 @@ struct t3_vpd {
*
* Read a 32-bit word from a location in VPD EEPROM using the card's PCI
* VPD ROM capability. A zero is written to the flag bit when the
* addres is written to the control register. The hardware device will
* address is written to the control register. The hardware device will
* set the flag to 1 when 4 bytes have been read into the data register.
*/
int t3_seeprom_read(adapter_t *adapter, u32 addr, u32 *data)

View File

@ -1,4 +1,4 @@
/* $NetBSD: if_skreg.h,v 1.29 2020/05/08 16:43:17 jakllsch Exp $ */
/* $NetBSD: if_skreg.h,v 1.30 2021/08/02 12:56:24 andvar Exp $ */
/*-
* Copyright (c) 2003 The NetBSD Foundation, Inc.
@ -1916,7 +1916,7 @@ struct msk_status_desc {
/* SMI Data Register (SMIDR) */
#define YUKON_SMIDR 0x0084
/* PHY Addres Register (PAR) */
/* PHY Address Register (PAR) */
#define YUKON_PAR 0x0088
#define YU_PAR_MIB_CLR 0x0020 /* MIB Counters Clear Mode */

View File

@ -1,4 +1,4 @@
/* $NetBSD: ixgbe_common.c,v 1.32 2021/07/24 21:31:38 andvar Exp $ */
/* $NetBSD: ixgbe_common.c,v 1.33 2021/08/02 12:56:24 andvar Exp $ */
/******************************************************************************
SPDX-License-Identifier: BSD-3-Clause
@ -36,7 +36,7 @@
/*$FreeBSD: head/sys/dev/ixgbe/ixgbe_common.c 331224 2018-03-19 20:55:05Z erj $*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: ixgbe_common.c,v 1.32 2021/07/24 21:31:38 andvar Exp $");
__KERNEL_RCSID(0, "$NetBSD: ixgbe_common.c,v 1.33 2021/08/02 12:56:24 andvar Exp $");
#include "ixgbe_common.h"
#include "ixgbe_phy.h"
@ -5088,7 +5088,7 @@ bool ixgbe_bypass_valid_rd_generic(u32 in_reg, u32 out_reg)
}
/**
* ixgbe_bypass_set_generic - Set a bypass field in the FW CTRL Regiter.
* ixgbe_bypass_set_generic - Set a bypass field in the FW CTRL Register.
*
* @hw: pointer to hardware structure
* @cmd: The control word we are setting.
@ -5134,7 +5134,7 @@ s32 ixgbe_bypass_set_generic(struct ixgbe_hw *hw, u32 ctrl, u32 event,
}
/**
* ixgbe_bypass_rd_eep_generic - Read the bypass FW eeprom addres.
* ixgbe_bypass_rd_eep_generic - Read the bypass FW eeprom address.
*
* @hw: pointer to hardware structure
* @addr: The bypass eeprom address to read.

View File

@ -1,4 +1,4 @@
/* $NetBSD: alps.c,v 1.14 2020/02/10 16:12:58 ryoon Exp $ */
/* $NetBSD: alps.c,v 1.15 2021/08/02 12:56:24 andvar Exp $ */
/*-
* Copyright (c) 2017 Ryo ONODERA <ryo@tetera.org>
@ -30,7 +30,7 @@
#include "opt_pms.h"
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: alps.c,v 1.14 2020/02/10 16:12:58 ryoon Exp $");
__KERNEL_RCSID(0, "$NetBSD: alps.c,v 1.15 2021/08/02 12:56:24 andvar Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@ -414,7 +414,7 @@ pms_alps_set_address(pckbport_tag_t tag, pckbport_slot_t slot, uint16_t reg)
return res;
err:
aprint_error("Failed to set addess.\n");
aprint_error("Failed to set address.\n");
return res;
}

View File

@ -1,4 +1,4 @@
/* $NetBSD: rf_dagfuncs.c,v 1.33 2021/07/27 03:01:48 oster Exp $ */
/* $NetBSD: rf_dagfuncs.c,v 1.34 2021/08/02 12:56:24 andvar Exp $ */
/*
* Copyright (c) 1995 Carnegie-Mellon University.
* All rights reserved.
@ -48,7 +48,7 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: rf_dagfuncs.c,v 1.33 2021/07/27 03:01:48 oster Exp $");
__KERNEL_RCSID(0, "$NetBSD: rf_dagfuncs.c,v 1.34 2021/08/02 12:56:24 andvar Exp $");
#include <sys/param.h>
#include <sys/ioctl.h>
@ -121,7 +121,7 @@ rf_TerminateUndoFunc(RF_DagNode_t *node)
*
* parameters:
*
* 0 - physical disk addres of data
* 0 - physical disk address of data
* 1 - buffer for holding read data
* 2 - parity stripe ID
* 3 - flags

View File

@ -1,4 +1,4 @@
/* $NetBSD: usbdivar.h,v 1.128 2021/06/13 00:13:24 riastradh Exp $ */
/* $NetBSD: usbdivar.h,v 1.129 2021/08/02 12:56:24 andvar Exp $ */
/*
* Copyright (c) 1998, 2012 The NetBSD Foundation, Inc.
@ -191,7 +191,7 @@ struct usbd_bus {
struct usbd_device {
struct usbd_bus *ud_bus; /* our controller */
struct usbd_pipe *ud_pipe0; /* pipe 0 */
uint8_t ud_addr; /* device addess */
uint8_t ud_addr; /* device address */
uint8_t ud_config; /* current configuration # */
uint8_t ud_depth; /* distance from root hub */
uint8_t ud_speed; /* low/full/high speed */

View File

@ -1,4 +1,4 @@
/* $NetBSD: if_agr.c,v 1.51 2020/01/29 04:30:41 thorpej Exp $ */
/* $NetBSD: if_agr.c,v 1.52 2021/08/02 12:56:25 andvar Exp $ */
/*-
* Copyright (c)2005 YAMAMOTO Takashi,
@ -27,7 +27,7 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: if_agr.c,v 1.51 2020/01/29 04:30:41 thorpej Exp $");
__KERNEL_RCSID(0, "$NetBSD: if_agr.c,v 1.52 2021/08/02 12:56:25 andvar Exp $");
#ifdef _KERNEL_OPT
#include "opt_inet.h"
@ -846,7 +846,7 @@ agr_ioctl_filter(struct ifnet *ifp, u_long cmd, void *arg)
case SIOCSIFMETRIC: /* set IF metric */
case SIOCSIFMTU: /* set ifnet mtu */
case SIOCSIFNETMASK: /* set net addr mask */
case SIOCSIFPHYADDR: /* set gif addres */
case SIOCSIFPHYADDR: /* set gif address */
case SIOCSLIFPHYADDR: /* set gif addrs */
case SIOCSVH: /* set carp param */
error = EBUSY;

View File

@ -1,4 +1,4 @@
/* $NetBSD: at_control.c,v 1.40 2018/02/17 19:10:18 rjs Exp $ */
/* $NetBSD: at_control.c,v 1.41 2021/08/02 12:56:25 andvar Exp $ */
/*
* Copyright (c) 1990,1994 Regents of The University of Michigan.
@ -27,7 +27,7 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: at_control.c,v 1.40 2018/02/17 19:10:18 rjs Exp $");
__KERNEL_RCSID(0, "$NetBSD: at_control.c,v 1.41 2021/08/02 12:56:25 andvar Exp $");
#include "opt_atalk.h"
@ -115,7 +115,7 @@ at_control(u_long cmd, void *data, struct ifnet *ifp)
break;
}
/*
* If we a retrying to delete an addres but didn't find such,
* If we a retrying to delete an address but didn't find such,
* then return with an error
*/
if (cmd == SIOCDIFADDR && aa == 0)

View File

@ -1,4 +1,4 @@
/* $NetBSD: nd6_nbr.c,v 1.181 2020/09/11 15:03:33 roy Exp $ */
/* $NetBSD: nd6_nbr.c,v 1.182 2021/08/02 12:56:25 andvar Exp $ */
/* $KAME: nd6_nbr.c,v 1.61 2001/02/10 16:06:14 jinmei Exp $ */
/*
@ -31,7 +31,7 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: nd6_nbr.c,v 1.181 2020/09/11 15:03:33 roy Exp $");
__KERNEL_RCSID(0, "$NetBSD: nd6_nbr.c,v 1.182 2021/08/02 12:56:25 andvar Exp $");
#ifdef _KERNEL_OPT
#include "opt_inet.h"
@ -306,7 +306,7 @@ nd6_ns_input(struct mbuf *m, int off, int icmp6len)
* If source address is unspecified address, it is for
* duplicate address detection.
*
* If not, the packet is for addess resolution;
* If not, the packet is for address resolution;
* silently ignore it.
*/
if (IN6_IS_ADDR_UNSPECIFIED(&saddr6)) {

View File

@ -1,4 +1,4 @@
/* $NetBSD: sockio.h,v 1.39 2020/09/11 15:22:12 roy Exp $ */
/* $NetBSD: sockio.h,v 1.40 2021/08/02 12:56:25 andvar Exp $ */
/*-
* Copyright (c) 1982, 1986, 1990, 1993, 1994
@ -96,7 +96,7 @@
#define SIOCSIFGENERIC _IOW('i', 57, struct ifreq) /* generic IF set op */
#define SIOCGIFGENERIC _IOWR('i', 58, struct ifreq) /* generic IF get op */
#define SIOCSIFPHYADDR _IOW('i', 70, struct ifaliasreq) /* set gif addres */
#define SIOCSIFPHYADDR _IOW('i', 70, struct ifaliasreq) /* set gif address */
#define SIOCGIFPSRCADDR _IOWR('i', 71, struct ifreq) /* get gif psrc addr */
#define SIOCGIFPDSTADDR _IOWR('i', 72, struct ifreq) /* get gif pdst addr */
#define SIOCDIFPHYADDR _IOW('i', 73, struct ifreq) /* delete gif addrs */

View File

@ -274,7 +274,7 @@ o Control ELF sections using linker script.
Kernel MD linkage is used purely for MD purposes, that is, how kernels are
loaded by external loaders. It might be possible that one kernel relocatable
(netbsd.ro) is linked into multiple final kernel image (netbsd) for diferent
(netbsd.ro) is linked into multiple final kernel image (netbsd) for different
load addresses.
Modular MI linkage is to prepare a module to be loadable as modular(9). This

View File

@ -1,4 +1,4 @@
/* $NetBSD: common.h,v 1.9 2011/08/30 19:49:10 joerg Exp $ */
/* $NetBSD: common.h,v 1.10 2021/08/02 12:56:25 andvar Exp $ */
/*
* Copyright (c) 1993-95 Mats O Jansson. All rights reserved.
@ -23,7 +23,7 @@
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*
* $NetBSD: common.h,v 1.9 2011/08/30 19:49:10 joerg Exp $
* $NetBSD: common.h,v 1.10 2021/08/02 12:56:25 andvar Exp $
*
*/
@ -75,7 +75,7 @@ typedef enum {
struct dllist {
u_char status; /* Status byte */
struct if_info *ii; /* interface pointer */
u_char eaddr[6]; /* targets ethernet addres */
u_char eaddr[6]; /* targets ethernet address */
int ldfd; /* filedescriptor for loadfile */
u_short dl_bsz; /* Data Link Buffer Size */
int timeout; /* Timeout counter */

View File

@ -1,4 +1,4 @@
/* $NetBSD: print.c,v 1.8 2016/06/08 01:11:49 christos Exp $ */
/* $NetBSD: print.c,v 1.9 2021/08/02 12:56:25 andvar Exp $ */
/*
* Copyright (c) 1993-96 Mats O Jansson. All rights reserved.
@ -26,7 +26,7 @@
#include "port.h"
#ifndef lint
__RCSID("$NetBSD: print.c,v 1.8 2016/06/08 01:11:49 christos Exp $");
__RCSID("$NetBSD: print.c,v 1.9 2021/08/02 12:56:25 andvar Exp $");
#endif
#include <sys/types.h>
@ -350,7 +350,7 @@ mopPrintMopHeader(FILE *fd, const u_char *pkt, int trans)
break;
case MOP_K_CODE_PLT:
(void)fprintf(fd,
"Parameter load with transfer addres\n");
"Parameter load with transfer address\n");
break;
default:
(void)fprintf(fd, "(unknown)\n");