From 393145cfbfd38d9112939b088b52a1219f407368 Mon Sep 17 00:00:00 2001 From: msaitoh Date: Sat, 24 Jun 2023 05:27:13 +0000 Subject: Fix typo in comment. --- sys/arch/amd64/amd64/locore.S | 4 ++-- sys/arch/amiga/dev/if_esreg.h | 4 ++-- sys/arch/atari/dev/fd.c | 6 +++--- sys/arch/i386/stand/efiboot/bootx64/startprog64.S | 4 ++-- sys/arch/m68k/060sp/dist/fpsp.s | 4 ++-- sys/arch/mips/mips/locore.S | 6 +++--- sys/arch/newsmips/dev/scsi_1185.c | 6 +++--- sys/arch/powerpc/ibm4xx/dev/pcicreg.h | 6 +++--- sys/arch/powerpc/powerpc/ofwreal.S | 4 ++-- sys/arch/sgimips/sgimips/arcemu.h | 4 ++-- sys/arch/sun3/include/mon.h | 4 ++-- sys/arch/sun68k/include/mon.h | 4 ++-- sys/dev/gpio/gpiopps.c | 6 +++--- sys/dev/ic/lancereg.h | 4 ++-- sys/dev/pci/if_iwmreg.h | 4 ++-- sys/netinet/sctp_structs.h | 4 ++-- 16 files changed, 37 insertions(+), 37 deletions(-) (limited to 'sys') diff --git a/sys/arch/amd64/amd64/locore.S b/sys/arch/amd64/amd64/locore.S index 74f0eff406a..0d0c457a915 100644 --- a/sys/arch/amd64/amd64/locore.S +++ b/sys/arch/amd64/amd64/locore.S @@ -1,4 +1,4 @@ -/* $NetBSD: locore.S,v 1.221 2023/05/14 09:05:39 riastradh Exp $ */ +/* $NetBSD: locore.S,v 1.222 2023/06/24 05:31:04 msaitoh Exp $ */ /* * Copyright-o-rama! @@ -1771,7 +1771,7 @@ LABEL(nomds_leave_end) #ifdef SELFRELOC /* - * selfreloc(loadddr edi) + * selfreloc(loadaddr edi) * This is adapted from sys/arch/i386/i386/locore.S */ .code32 diff --git a/sys/arch/amiga/dev/if_esreg.h b/sys/arch/amiga/dev/if_esreg.h index 637729f3db5..ba392708b49 100644 --- a/sys/arch/amiga/dev/if_esreg.h +++ b/sys/arch/amiga/dev/if_esreg.h @@ -1,4 +1,4 @@ -/* $NetBSD: if_esreg.h,v 1.9 2023/02/19 21:35:07 andvar Exp $ */ +/* $NetBSD: if_esreg.h,v 1.10 2023/06/24 05:31:04 msaitoh Exp $ */ /* * Copyright (c) 1995 Michael L. Hitch @@ -148,7 +148,7 @@ union smcregs { #define IST_TX 0x02 /* TX complete */ #define IST_RX 0x01 /* RX complete */ -/* Interrupt Acknowlege Register */ +/* Interrupt Acknowledge Register */ #define ACK_RX_OVRN IST_RX_OVRN #define ACK_TX_EMPTY IST_TX_EMPTY #define ACK_TX IST_TX diff --git a/sys/arch/atari/dev/fd.c b/sys/arch/atari/dev/fd.c index 90b4717f580..226387af74d 100644 --- a/sys/arch/atari/dev/fd.c +++ b/sys/arch/atari/dev/fd.c @@ -1,4 +1,4 @@ -/* $NetBSD: fd.c,v 1.95 2023/01/06 10:28:28 tsutsui Exp $ */ +/* $NetBSD: fd.c,v 1.96 2023/06/24 05:31:04 msaitoh Exp $ */ /* * Copyright (c) 1995 Leo Weppelman. @@ -44,7 +44,7 @@ */ #include -__KERNEL_RCSID(0, "$NetBSD: fd.c,v 1.95 2023/01/06 10:28:28 tsutsui Exp $"); +__KERNEL_RCSID(0, "$NetBSD: fd.c,v 1.96 2023/06/24 05:31:04 msaitoh Exp $"); #include #include @@ -618,7 +618,7 @@ fdstrategy(struct buf *bp) bp->b_error = EINVAL; goto done; } - /* Trucate it */ + /* Truncate it */ if (bp->b_flags & B_RAW) bp->b_bcount = sz << DEV_BSHIFT; else diff --git a/sys/arch/i386/stand/efiboot/bootx64/startprog64.S b/sys/arch/i386/stand/efiboot/bootx64/startprog64.S index 9a1236fd5ca..3b872409334 100644 --- a/sys/arch/i386/stand/efiboot/bootx64/startprog64.S +++ b/sys/arch/i386/stand/efiboot/bootx64/startprog64.S @@ -1,4 +1,4 @@ -/* $NetBSD: startprog64.S,v 1.4 2023/04/20 00:42:24 manu Exp $ */ +/* $NetBSD: startprog64.S,v 1.5 2023/06/24 05:31:04 msaitoh Exp $ */ /* NetBSD: startprog.S,v 1.3 2003/02/01 14:48:18 dsl Exp */ /* starts program in protected mode / flat space @@ -78,7 +78,7 @@ _C_LABEL(startprog64_size): .p2align 4,,15 /* - * startprog64(loadddr,entry,stack,kern_load,kern_start,kern_size) + * startprog64(loaddr,entry,stack,kern_load,kern_start,kern_size) */ ENTRY(startprog64_start) start: diff --git a/sys/arch/m68k/060sp/dist/fpsp.s b/sys/arch/m68k/060sp/dist/fpsp.s index 79edf76f3f1..6fcad1d80f2 100644 --- a/sys/arch/m68k/060sp/dist/fpsp.s +++ b/sys/arch/m68k/060sp/dist/fpsp.s @@ -1,5 +1,5 @@ # -# $NetBSD: fpsp.s,v 1.6 2021/11/10 16:47:41 msaitoh Exp $ +# $NetBSD: fpsp.s,v 1.7 2023/06/24 05:31:04 msaitoh Exp $ # #~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -8394,7 +8394,7 @@ LP1CONT1: fmul.x LOGOF2(%pc),%fp1 # GET K*LOG2 WHILE FP0 IS NOT READY fmov.x %fp0,%fp2 fmul.x %fp2,%fp2 # FP2 IS V=U*U - fmov.x %fp1,KLOG2(%a6) # PUT K*LOG2 IN MEMEORY, FREE FP1 + fmov.x %fp1,KLOG2(%a6) # PUT K*LOG2 IN MEMORY, FREE FP1 #--LOG(1+U) IS APPROXIMATED BY #--U + V*(A1+U*(A2+U*(A3+U*(A4+U*(A5+U*A6))))) WHICH IS diff --git a/sys/arch/mips/mips/locore.S b/sys/arch/mips/mips/locore.S index f49af6e8172..6481e9be752 100644 --- a/sys/arch/mips/mips/locore.S +++ b/sys/arch/mips/mips/locore.S @@ -1,4 +1,4 @@ -/* $NetBSD: locore.S,v 1.230 2023/03/01 08:18:03 riastradh Exp $ */ +/* $NetBSD: locore.S,v 1.231 2023/06/24 05:31:04 msaitoh Exp $ */ /* * Copyright (c) 1992, 1993 @@ -63,7 +63,7 @@ #include #include -RCSID("$NetBSD: locore.S,v 1.230 2023/03/01 08:18:03 riastradh Exp $") +RCSID("$NetBSD: locore.S,v 1.231 2023/06/24 05:31:04 msaitoh Exp $") #include "assym.h" @@ -668,7 +668,7 @@ END(mips_cp0_status_write) * mips_fpu_trap -- * * Handle a floating point interrupt (r3k) or trap (r4k). - * the handlers are indentical, only the reporting mechanisms differ. + * the handlers are identical, only the reporting mechanisms differ. * * mips_fpu_intr(vaddr_t pc, struct trapframe *tf) * diff --git a/sys/arch/newsmips/dev/scsi_1185.c b/sys/arch/newsmips/dev/scsi_1185.c index f06d495d945..0d27f6df80f 100644 --- a/sys/arch/newsmips/dev/scsi_1185.c +++ b/sys/arch/newsmips/dev/scsi_1185.c @@ -1,4 +1,4 @@ -/* $NetBSD: scsi_1185.c,v 1.23 2016/07/21 19:49:58 christos Exp $ */ +/* $NetBSD: scsi_1185.c,v 1.24 2023/06/24 05:31:04 msaitoh Exp $ */ /* * Copyright (c) 1992, 1993 @@ -53,7 +53,7 @@ */ #include -__KERNEL_RCSID(0, "$NetBSD: scsi_1185.c,v 1.23 2016/07/21 19:49:58 christos Exp $"); +__KERNEL_RCSID(0, "$NetBSD: scsi_1185.c,v 1.24 2023/06/24 05:31:04 msaitoh Exp $"); #define __INTR_PRIVATE #include @@ -1646,7 +1646,7 @@ print_scsi_stat(struct sc_softc *sc) } /* - * return 0 if it was done. Or retun TRUE if it is busy. + * return 0 if it was done. Or return TRUE if it is busy. */ int sc_busy(struct sc_softc *sc, int chan) diff --git a/sys/arch/powerpc/ibm4xx/dev/pcicreg.h b/sys/arch/powerpc/ibm4xx/dev/pcicreg.h index 288fb0fbeb4..a79944149ef 100644 --- a/sys/arch/powerpc/ibm4xx/dev/pcicreg.h +++ b/sys/arch/powerpc/ibm4xx/dev/pcicreg.h @@ -1,4 +1,4 @@ -/* $NetBSD: pcicreg.h,v 1.1 2002/08/13 04:57:49 simonb Exp $ */ +/* $NetBSD: pcicreg.h,v 1.2 2023/06/24 05:31:05 msaitoh Exp $ */ /* * Copyright 2001 Wasabi Systems, Inc. @@ -38,7 +38,7 @@ #ifndef _IBM4XX_PCICREG_H_ #define _IBM4XX_PCICREG_H_ -/* PCI Configuaration Registers */ +/* PCI Configuration Registers */ #define PCIC_CFGADDR 0x00 #define PCIC_CFGDATA 0x04 @@ -85,7 +85,7 @@ #define PCIC_PMSCRR 0x64 -/* PCI Bridge Local Configuation Registers (0xef400000 0xef40003f - 64 bytes) */ +/* PCI Bridge Local Configuration Registers (0xef400000 0xef40003f - 64 bytes) */ #define PCIL_PMM0LA 0x00 /* PCI Master Map 0: Local Address */ #define PCIL_PMM0MA 0x04 /* Mask/Attribute */ #define PCIL_PMM0PCILA 0x08 /* PCI Low Address */ diff --git a/sys/arch/powerpc/powerpc/ofwreal.S b/sys/arch/powerpc/powerpc/ofwreal.S index 275a4f8c1fd..c32918f3954 100644 --- a/sys/arch/powerpc/powerpc/ofwreal.S +++ b/sys/arch/powerpc/powerpc/ofwreal.S @@ -1,4 +1,4 @@ -/* $NetBSD: ofwreal.S,v 1.16 2021/08/20 20:25:27 andvar Exp $ */ +/* $NetBSD: ofwreal.S,v 1.17 2023/06/24 05:31:05 msaitoh Exp $ */ /* * Copyright (C) 1996 Wolfgang Solfrank. @@ -247,7 +247,7 @@ copy: blr /* - * Restore everyting related to the mmu from the saveare pointed to by r3. + * Restore everything related to the mmu from the saveare pointed to by r3. */ restoremmu: mfmsr %r12 diff --git a/sys/arch/sgimips/sgimips/arcemu.h b/sys/arch/sgimips/sgimips/arcemu.h index 0d5800720ed..4225509d41d 100644 --- a/sys/arch/sgimips/sgimips/arcemu.h +++ b/sys/arch/sgimips/sgimips/arcemu.h @@ -1,4 +1,4 @@ -/* $NetBSD: arcemu.h,v 1.13 2016/07/07 06:55:38 msaitoh Exp $ */ +/* $NetBSD: arcemu.h,v 1.14 2023/06/24 05:31:05 msaitoh Exp $ */ /* * Copyright (c) 2004 Steve Rumble @@ -74,7 +74,7 @@ static struct arcbios_component arcemu_component_tree[] = { { -1, -1, -1, -1, -1, -1, -1, -1, -1, 0 } }; -/* Unimplmented Vector */ +/* Unimplemented Vector */ #define ARCEMU_UNIMPL ((int32_t)(intptr_t)arcemu_unimpl) static void arcemu_unimpl(void); diff --git a/sys/arch/sun3/include/mon.h b/sys/arch/sun3/include/mon.h index 848c38a7ab6..e4173d8eac5 100644 --- a/sys/arch/sun3/include/mon.h +++ b/sys/arch/sun3/include/mon.h @@ -1,4 +1,4 @@ -/* $NetBSD: mon.h,v 1.29 2008/04/28 20:23:38 martin Exp $ */ +/* $NetBSD: mon.h,v 1.30 2023/06/24 05:31:05 msaitoh Exp $ */ /*- * Copyright (c) 1996 The NetBSD Foundation, Inc. @@ -35,7 +35,7 @@ * * In particular, this file came out of the Walnut Creek cdrom collection * which contained no warnings about any possible copyright infringement. - * It was also indentical to a file in the sprite kernel tar file found on + * It was also identical to a file in the sprite kernel tar file found on * allspice.berkeley.edu. * It also written in the annoying sprite coding style. I've made * efforts not to heavily edit their file, just ifdef parts out. -- glass diff --git a/sys/arch/sun68k/include/mon.h b/sys/arch/sun68k/include/mon.h index de5dc3d7b3a..53e96dea713 100644 --- a/sys/arch/sun68k/include/mon.h +++ b/sys/arch/sun68k/include/mon.h @@ -1,4 +1,4 @@ -/* $NetBSD: mon.h,v 1.5 2008/04/28 20:23:38 martin Exp $ */ +/* $NetBSD: mon.h,v 1.6 2023/06/24 05:31:05 msaitoh Exp $ */ /*- * Copyright (c) 1996 The NetBSD Foundation, Inc. @@ -35,7 +35,7 @@ * * In particular, this file came out of the Walnut Creek cdrom collection * which contained no warnings about any possible copyright infringement. - * It was also indentical to a file in the sprite kernel tar file found on + * It was also identical to a file in the sprite kernel tar file found on * allspice.berkeley.edu. * It also written in the annoying sprite coding style. I've made * efforts not to heavily edit their file, just ifdef parts out. -- glass diff --git a/sys/dev/gpio/gpiopps.c b/sys/dev/gpio/gpiopps.c index 5fa7a0a9250..6cd75680630 100644 --- a/sys/dev/gpio/gpiopps.c +++ b/sys/dev/gpio/gpiopps.c @@ -1,4 +1,4 @@ -/* $NetBSD: gpiopps.c,v 1.4 2022/03/31 19:30:16 pgoyette Exp $ */ +/* $NetBSD: gpiopps.c,v 1.5 2023/06/24 05:34:59 msaitoh Exp $ */ /* * Copyright (c) 2016 Brad Spencer @@ -26,7 +26,7 @@ */ #include -__KERNEL_RCSID(0, "$NetBSD: gpiopps.c,v 1.4 2022/03/31 19:30:16 pgoyette Exp $"); +__KERNEL_RCSID(0, "$NetBSD: gpiopps.c,v 1.5 2023/06/24 05:34:59 msaitoh Exp $"); /* * GPIO interface to the pps subsystem for ntp support. @@ -132,7 +132,7 @@ gpiopps_attach(device_t parent, device_t self, void *aux) sc->sc_gpio = ga->ga_gpio; sc->sc_map.pm_map = sc->_map; - /* Determine our pin configuation. */ + /* Determine our pin configuration. */ npins = gpio_npins(mask); if (npins == 0) { npins = 1; diff --git a/sys/dev/ic/lancereg.h b/sys/dev/ic/lancereg.h index 3b9d7bd86ac..78970716a27 100644 --- a/sys/dev/ic/lancereg.h +++ b/sys/dev/ic/lancereg.h @@ -1,4 +1,4 @@ -/* $NetBSD: lancereg.h,v 1.15 2022/05/22 11:27:35 andvar Exp $ */ +/* $NetBSD: lancereg.h,v 1.16 2023/06/24 05:35:00 msaitoh Exp $ */ /*- * Copyright (c) 1998, 2000 The NetBSD Foundation, Inc. @@ -170,7 +170,7 @@ #define LE_CSR36 0x0024 /* Next Next Rx Desc addr lower */ #define LE_CSR37 0x0025 /* Next Next Rx Desc addr upper */ #define LE_CSR38 0x0026 /* Next Next Tx Desc addr lower */ -#define LE_CSR39 0x0027 /* Next Next Tx Desc adddr upper */ +#define LE_CSR39 0x0027 /* Next Next Tx Desc addr upper */ #define LE_CSR40 0x0028 /* Current Rx Byte Count */ #define LE_CSR41 0x0029 /* Current Rx Status */ #define LE_CSR42 0x002a /* Current Tx Byte Count */ diff --git a/sys/dev/pci/if_iwmreg.h b/sys/dev/pci/if_iwmreg.h index 8321633460c..1a4aba48feb 100644 --- a/sys/dev/pci/if_iwmreg.h +++ b/sys/dev/pci/if_iwmreg.h @@ -1,4 +1,4 @@ -/* $NetBSD: if_iwmreg.h,v 1.12 2021/12/05 04:37:12 msaitoh Exp $ */ +/* $NetBSD: if_iwmreg.h,v 1.13 2023/06/24 05:35:00 msaitoh Exp $ */ /* OpenBSD: if_iwmreg.h,v 1.19 2016/09/20 11:46:09 stsp Exp */ /*- @@ -5372,7 +5372,7 @@ enum iwm_scan_offload_channel_flags { * @type: bitmap - see enum iwm_scan_offload_channel_flags. * 0: passive (0) or active (1) scan. * 1-20: directed scan to i'th ssid. - * 22: channel width configuation - 1 for narrow. + * 22: channel width configuration - 1 for narrow. * 24: full scan. * 25: partial scan. * @channel_number: channel number 1-13 etc. diff --git a/sys/netinet/sctp_structs.h b/sys/netinet/sctp_structs.h index e326c5914b6..813ee0fac84 100644 --- a/sys/netinet/sctp_structs.h +++ b/sys/netinet/sctp_structs.h @@ -1,5 +1,5 @@ /* $KAME: sctp_structs.h,v 1.13 2005/03/06 16:04:18 itojun Exp $ */ -/* $NetBSD: sctp_structs.h,v 1.2 2016/04/25 21:21:02 rjs Exp $ */ +/* $NetBSD: sctp_structs.h,v 1.3 2023/06/24 05:35:00 msaitoh Exp $ */ #ifndef __SCTP_STRUCTS_H__ #define __SCTP_STRUCTS_H__ @@ -390,7 +390,7 @@ struct sctp_association { * The tag to be used. if assoc is * re-initited by remote end, and * I have unlocked this will be - * regenrated to a new random value. + * regenerated to a new random value. */ u_int32_t peer_vtag; /* The peers last tag */ -- cgit