Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src fix various typos in comments.
details: https://anonhg.NetBSD.org/src/rev/0a808b3bf426
branches: trunk
changeset: 368197:0a808b3bf426
user: andvar <andvar%NetBSD.org@localhost>
date: Mon Jun 27 22:41:28 2022 +0000
description:
fix various typos in comments.
diffstat:
games/phantasia/main.c | 4 ++--
sys/arch/arm/imx/if_enetreg.h | 4 ++--
sys/arch/sparc64/sparc64/locore.s | 20 ++++++++++----------
sys/dev/ic/aic7xxx.c | 10 +++++-----
sys/dev/microcode/aic7xxx/aic79xx.seq | 4 ++--
sys/dev/microcode/aic7xxx/aic7xxx.seq | 4 ++--
6 files changed, 23 insertions(+), 23 deletions(-)
diffs (196 lines):
diff -r 4061aed921d6 -r 0a808b3bf426 games/phantasia/main.c
--- a/games/phantasia/main.c Mon Jun 27 20:28:31 2022 +0000
+++ b/games/phantasia/main.c Mon Jun 27 22:41:28 2022 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: main.c,v 1.24 2019/02/03 03:19:25 mrg Exp $ */
+/* $NetBSD: main.c,v 1.25 2022/06/27 22:41:28 andvar Exp $ */
/*
* Phantasia 3.3.2 -- Interterminal fantasy game
@@ -964,7 +964,7 @@
static void
playinit(void)
{
- /* catch/ingnore signals */
+ /* catch/ignore signals */
#ifdef BSD41
sigignore(SIGQUIT);
diff -r 4061aed921d6 -r 0a808b3bf426 sys/arch/arm/imx/if_enetreg.h
--- a/sys/arch/arm/imx/if_enetreg.h Mon Jun 27 20:28:31 2022 +0000
+++ b/sys/arch/arm/imx/if_enetreg.h Mon Jun 27 22:41:28 2022 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: if_enetreg.h,v 1.4 2019/11/12 05:09:29 hkenken Exp $ */
+/* $NetBSD: if_enetreg.h,v 1.5 2022/06/27 22:41:28 andvar Exp $ */
/*-
* Copyright (c) 2014 Ryo Shimizu <ryo%nerv.org@localhost>
@@ -282,7 +282,7 @@
#define TXFLAGS2_EE __BIT(12) /* Excess colls Err */
#define TXFLAGS2_FE __BIT(11) /* Frame Error */
#define TXFLAGS2_LCE __BIT(10) /* Late collision Err */
-#define TXFLAGS2_OE __BIT(9) /* Overfow Error */
+#define TXFLAGS2_OE __BIT(9) /* Overflow Error */
#define TXFLAGS2_TSE __BIT(8) /* Timestamp Error */
uint32_t tx__reserved1;
uint32_t tx_flags3;
diff -r 4061aed921d6 -r 0a808b3bf426 sys/arch/sparc64/sparc64/locore.s
--- a/sys/arch/sparc64/sparc64/locore.s Mon Jun 27 20:28:31 2022 +0000
+++ b/sys/arch/sparc64/sparc64/locore.s Mon Jun 27 22:41:28 2022 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: locore.s,v 1.429 2022/05/22 11:27:34 andvar Exp $ */
+/* $NetBSD: locore.s,v 1.430 2022/06/27 22:41:28 andvar Exp $ */
/*
* Copyright (c) 2006-2010 Matthew R. Green
@@ -1207,7 +1207,7 @@
#if 0
/*
- * If the cleanwin trap handler detects an overfow we come here.
+ * If the cleanwin trap handler detects an overflow we come here.
* We need to fix up the window registers, switch to the interrupt
* stack, and then trap to the debugger.
*/
@@ -2013,7 +2013,7 @@
and %g4, CWP, %g5 ! %g4 = %cwp of trap
wrpr %g7, 0, %tt
bz,a,pt %icc, datafault ! We were in user mode -- normal fault
- wrpr %g5, %cwp ! Restore cwp from before fill trap -- regs should now be consisent
+ wrpr %g5, %cwp ! Restore cwp from before fill trap -- regs should now be consistent
/*
* We're in a pickle here. We were trying to return to user mode
@@ -2037,7 +2037,7 @@
stw %g7, [%g4]
#endif
#if 0 /* Need to switch over to new stuff to fix WDR bug */
- wrpr %g5, %cwp ! Restore cwp from before fill trap -- regs should now be consisent
+ wrpr %g5, %cwp ! Restore cwp from before fill trap -- regs should now be consistent
wrpr %g2, %g0, %tl ! Restore trap level -- we need to reuse it
set return_from_trap, %g4 ! XXX - need to set %g1 to tstate
set CTX_PRIMARY, %g7
@@ -4193,7 +4193,7 @@
/* see `lwp_trampoline' for the reason for this label */
return_from_syscall:
- wrpr %g0, PSTATE_KERN, %pstate ! Disable intterrupts
+ wrpr %g0, PSTATE_KERN, %pstate ! Disable interrupts
wrpr %g0, 0, %tl ! Return to tl==0
b return_from_trap
nop
@@ -4424,9 +4424,9 @@
mov 0x3d8, %g1 ! Dev Mondo Queue Tail
ldxa [%g1] ASI_QUEUE, %g4 ! fetch index value
cmp %g2, %g4 ! head = queue?
- bne,pt %xcc, 2f ! unsually not the case
- nop
- retry ! unlikely, ingnore interrupt
+ bne,pt %xcc, 2f ! unusually not the case
+ nop
+ retry ! unlikely, ignore interrupt
2:
set CPUINFO_VA, %g3 ! fetch cpuinfo pa
ldx [%g3 + CI_PADDR], %g3 ! fetch intstack pa
@@ -5211,7 +5211,7 @@
/*
* The restore instruction further down may cause the trap level
- * to exceede the maximum trap level on sun4v, so a manual fill
+ * to exceed the maximum trap level on sun4v, so a manual fill
* may be necessary.
*/
@@ -7755,7 +7755,7 @@
nop
/*
- * Debug stuff. Resore trap registers from buffer.
+ * Debug stuff. Restore trap registers from buffer.
*
* %o0 = %tl
* %o1 = *ts
diff -r 4061aed921d6 -r 0a808b3bf426 sys/dev/ic/aic7xxx.c
--- a/sys/dev/ic/aic7xxx.c Mon Jun 27 20:28:31 2022 +0000
+++ b/sys/dev/ic/aic7xxx.c Mon Jun 27 22:41:28 2022 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: aic7xxx.c,v 1.146 2022/05/23 19:52:35 andvar Exp $ */
+/* $NetBSD: aic7xxx.c,v 1.147 2022/06/27 22:41:29 andvar Exp $ */
/*
* Core routines and tables shareable across OS platforms.
@@ -39,7 +39,7 @@
* IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
* POSSIBILITY OF SUCH DAMAGES.
*
- * $Id: aic7xxx.c,v 1.146 2022/05/23 19:52:35 andvar Exp $
+ * $Id: aic7xxx.c,v 1.147 2022/06/27 22:41:29 andvar Exp $
*
* //depot/aic7xxx/aic7xxx/aic7xxx.c#112 $
*
@@ -50,7 +50,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: aic7xxx.c,v 1.146 2022/05/23 19:52:35 andvar Exp $");
+__KERNEL_RCSID(0, "$NetBSD: aic7xxx.c,v 1.147 2022/06/27 22:41:29 andvar Exp $");
#include <dev/ic/aic7xxx_osm.h>
#include <dev/ic/aic7xxx_inline.h>
@@ -3556,7 +3556,7 @@
}
/*
- * Process an ingnore wide residue message.
+ * Process an ignore wide residue message.
*/
static void
ahc_handle_ign_wide_residue(struct ahc_softc *ahc,
@@ -5942,7 +5942,7 @@
* we have run out of ATIO resources to drain that
* queue, we may not get them all out here. Further,
* the blocked transactions for the reset channel
- * should just be killed off, irrespecitve of whether
+ * should just be killed off, irrespective of whether
* we are blocked on ATIO resources. Write a routine
* to compact the tqinfifo appropriately.
*/
diff -r 4061aed921d6 -r 0a808b3bf426 sys/dev/microcode/aic7xxx/aic79xx.seq
--- a/sys/dev/microcode/aic7xxx/aic79xx.seq Mon Jun 27 20:28:31 2022 +0000
+++ b/sys/dev/microcode/aic7xxx/aic79xx.seq Mon Jun 27 22:41:28 2022 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: aic79xx.seq,v 1.16 2022/01/25 22:01:34 andvar Exp $ */
+/* $NetBSD: aic79xx.seq,v 1.17 2022/06/27 22:41:29 andvar Exp $ */
/*
* Adaptec U320 device driver firmware for Linux and FreeBSD.
@@ -1020,7 +1020,7 @@
complete_accepted:
/*
- * See if we attempted to deliver a message but the target ingnored us.
+ * See if we attempted to deliver a message but the target ignored us.
*/
test SCB_CONTROL, MK_MESSAGE jz complete_nomsg;
SET_SEQINTCODE(MKMSG_FAILED)
diff -r 4061aed921d6 -r 0a808b3bf426 sys/dev/microcode/aic7xxx/aic7xxx.seq
--- a/sys/dev/microcode/aic7xxx/aic7xxx.seq Mon Jun 27 20:28:31 2022 +0000
+++ b/sys/dev/microcode/aic7xxx/aic7xxx.seq Mon Jun 27 22:41:28 2022 +0000
@@ -40,7 +40,7 @@
* $FreeBSD: /repoman/r/ncvs/src/sys/dev/aic7xxx/aic7xxx.seq,v 1.123 2003/01/20 20:44:55 gibbs Exp $
*/
-VERSION = "$NetBSD: aic7xxx.seq,v 1.22 2022/01/25 22:01:34 andvar Exp $"
+VERSION = "$NetBSD: aic7xxx.seq,v 1.23 2022/06/27 22:41:29 andvar Exp $"
PATCH_ARG_LIST = "struct ahc_softc *ahc"
PREFIX = "ahc_"
@@ -1648,7 +1648,7 @@
complete_accepted:
/*
- * See if we attempted to deliver a message but the target ingnored us.
+ * See if we attempted to deliver a message but the target ignored us.
*/
test SCB_CONTROL, MK_MESSAGE jz . + 2;
mvi MKMSG_FAILED call set_seqint;
Home |
Main Index |
Thread Index |
Old Index