fix various typos in comments.

This commit is contained in:
andvar 2022-06-27 22:41:28 +00:00
parent 517ecbe804
commit 0e5bc969e0
6 changed files with 22 additions and 22 deletions

View File

@ -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 @@ genchar(int type)
static void
playinit(void)
{
/* catch/ingnore signals */
/* catch/ignore signals */
#ifdef BSD41
sigignore(SIGQUIT);

View File

@ -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>
@ -282,7 +282,7 @@ struct enet_txdesc {
#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;

View File

@ -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 @@ _C_LABEL(trapbase_sun4v):
#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 @@ winfixfill:
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 @@ winfixfill:
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 @@ syscall_setup:
/* 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 @@ sun4v_dev_mondo:
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
bne,pt %xcc, 2f ! unusually not the case
nop
retry ! unlikely, ingnore interrupt
retry ! unlikely, ignore interrupt
2:
set CPUINFO_VA, %g3 ! fetch cpuinfo pa
ldx [%g3 + CI_PADDR], %g3 ! fetch intstack pa
@ -5211,7 +5211,7 @@ rft_user:
/*
* 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 @@ ENTRY(savetstate)
nop
/*
* Debug stuff. Resore trap registers from buffer.
* Debug stuff. Restore trap registers from buffer.
*
* %o0 = %tl
* %o1 = *ts

View File

@ -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 @@ ahc_handle_msg_reject(struct ahc_softc *ahc, struct ahc_devinfo *devinfo)
}
/*
* 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 @@ ahc_reset_channel(struct ahc_softc *ahc, char channel, int initiate_reset)
* 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.
*/

View File

@ -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 @@ mesgin_complete:
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)

View File

@ -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 @@ mesgin_complete:
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;