diff options
| author | andvar <andvar@NetBSD.org> | 2022-04-07 19:33:37 +0000 |
|---|---|---|
| committer | andvar <andvar@NetBSD.org> | 2022-04-07 19:33:37 +0000 |
| commit | 778f560056052e20dd2d2ef0679d8ff3697f63f2 (patch) | |
| tree | d5a0f1b4ccf9762e556f18e48607f2273edaabff /sys | |
| parent | 84bd4a6ef9a5029252546a8bad700318a89cc05b (diff) | |
fix various typos in comments.
Diffstat (limited to 'sys')
| -rw-r--r-- | sys/arch/amiga/dev/siop.c | 6 | ||||
| -rw-r--r-- | sys/arch/amiga/dev/siopvar.h | 6 | ||||
| -rw-r--r-- | sys/arch/atari/dev/ncr5380.c | 6 | ||||
| -rw-r--r-- | sys/arch/mac68k/dev/ncr5380.c | 6 | ||||
| -rw-r--r-- | sys/arch/shark/isa/clock.c | 6 | ||||
| -rw-r--r-- | sys/dev/hdaudio/hdaudio.c | 6 | ||||
| -rw-r--r-- | sys/dev/ic/aic79xx.c | 6 | ||||
| -rw-r--r-- | sys/dev/mscp/mscp_subr.c | 6 | ||||
| -rw-r--r-- | sys/dev/pci/if_bge.c | 6 | ||||
| -rw-r--r-- | sys/kern/kern_proc.c | 9 | ||||
| -rw-r--r-- | sys/netinet/sctp_indata.c | 6 | ||||
| -rw-r--r-- | sys/sys/audioio.h | 4 |
12 files changed, 37 insertions, 36 deletions
diff --git a/sys/arch/amiga/dev/siop.c b/sys/arch/amiga/dev/siop.c index bb8e4ea8ffc..e7726abbd97 100644 --- a/sys/arch/amiga/dev/siop.c +++ b/sys/arch/amiga/dev/siop.c @@ -1,4 +1,4 @@ -/* $NetBSD: siop.c,v 1.70 2019/11/10 21:16:22 chs Exp $ */ +/* $NetBSD: siop.c,v 1.71 2022/04/07 19:33:37 andvar Exp $ */ /* * Copyright (c) 1990 The Regents of the University of California. @@ -70,7 +70,7 @@ #include "opt_ddb.h" #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: siop.c,v 1.70 2019/11/10 21:16:22 chs Exp $"); +__KERNEL_RCSID(0, "$NetBSD: siop.c,v 1.71 2022/04/07 19:33:37 andvar Exp $"); #include <sys/param.h> #include <sys/systm.h> @@ -780,7 +780,7 @@ siop_start(struct siop_softc *sc, int target, int lun, u_char *cbuf, int clen, /* * Negotiate wide is the initial negotiation state; since the 53c710 * doesn't do wide transfers, just begin the synchronous transfer - * negotation here. + * negotiation here. */ if (sc->sc_sync[target].state == NEG_WIDE) { if (siop_inhibit_sync[target]) { diff --git a/sys/arch/amiga/dev/siopvar.h b/sys/arch/amiga/dev/siopvar.h index bfea7332a58..894738a6dbf 100644 --- a/sys/arch/amiga/dev/siopvar.h +++ b/sys/arch/amiga/dev/siopvar.h @@ -1,4 +1,4 @@ -/* $NetBSD: siopvar.h,v 1.28 2022/01/01 21:07:13 andvar Exp $ */ +/* $NetBSD: siopvar.h,v 1.29 2022/04/07 19:33:37 andvar Exp $ */ /* * Copyright (c) 1990 The Regents of the University of California. @@ -183,10 +183,10 @@ struct siop_softc { /* negotiation states */ #define NEG_WIDE 0 /* Negotiate wide transfers */ -#define NEG_WAITW 1 /* Waiting for wide negotation response */ +#define NEG_WAITW 1 /* Waiting for wide negotiation response */ #define NEG_SYNC 2 /* Negotiate synch transfers */ #define NEG_WAITS 3 /* Waiting for synch negoation response */ -#define NEG_DONE 4 /* Wide and/or sync negotation done */ +#define NEG_DONE 4 /* Wide and/or sync negotiation done */ #define MSG_CMD_COMPLETE 0x00 #define MSG_EXT_MESSAGE 0x01 diff --git a/sys/arch/atari/dev/ncr5380.c b/sys/arch/atari/dev/ncr5380.c index cf1232c09cf..42c982a1124 100644 --- a/sys/arch/atari/dev/ncr5380.c +++ b/sys/arch/atari/dev/ncr5380.c @@ -1,4 +1,4 @@ -/* $NetBSD: ncr5380.c,v 1.76 2021/08/07 16:18:46 thorpej Exp $ */ +/* $NetBSD: ncr5380.c,v 1.77 2022/04/07 19:33:37 andvar Exp $ */ /* * Copyright (c) 1995 Leo Weppelman. @@ -26,7 +26,7 @@ */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: ncr5380.c,v 1.76 2021/08/07 16:18:46 thorpej Exp $"); +__KERNEL_RCSID(0, "$NetBSD: ncr5380.c,v 1.77 2022/04/07 19:33:37 andvar Exp $"); /* * Bit mask of targets you want debugging to be shown @@ -1842,7 +1842,7 @@ scsi_dmaok(SC_REQ *reqp) } /* - * LWP: I think that this restriction is not strictly nessecary. + * LWP: I think that this restriction is not strictly necessary. */ if ((req_len & 0x1) || ((u_int)req_addr & 0x3)) return 0; diff --git a/sys/arch/mac68k/dev/ncr5380.c b/sys/arch/mac68k/dev/ncr5380.c index 9a54703a4ff..d1a355b31b9 100644 --- a/sys/arch/mac68k/dev/ncr5380.c +++ b/sys/arch/mac68k/dev/ncr5380.c @@ -1,4 +1,4 @@ -/* $NetBSD: ncr5380.c,v 1.70 2021/08/07 16:18:57 thorpej Exp $ */ +/* $NetBSD: ncr5380.c,v 1.71 2022/04/07 19:33:37 andvar Exp $ */ /* * Copyright (c) 1995 Leo Weppelman. @@ -26,7 +26,7 @@ */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: ncr5380.c,v 1.70 2021/08/07 16:18:57 thorpej Exp $"); +__KERNEL_RCSID(0, "$NetBSD: ncr5380.c,v 1.71 2022/04/07 19:33:37 andvar Exp $"); /* * Bit mask of targets you want debugging to be shown @@ -1785,7 +1785,7 @@ scsi_dmaok(SC_REQ *reqp) return (0); /* - * LWP: I think that this restriction is not strictly nessecary. + * LWP: I think that this restriction is not strictly necessary. */ if ((req_len & 0x1) || ((u_int)req_addr & 0x3)) return (0); diff --git a/sys/arch/shark/isa/clock.c b/sys/arch/shark/isa/clock.c index 8b6cd0442b1..88f4cd03b4e 100644 --- a/sys/arch/shark/isa/clock.c +++ b/sys/arch/shark/isa/clock.c @@ -1,4 +1,4 @@ -/* $NetBSD: clock.c,v 1.18 2018/09/03 16:29:27 riastradh Exp $ */ +/* $NetBSD: clock.c,v 1.19 2022/04/07 19:33:37 andvar Exp $ */ /* * Copyright 1997 @@ -154,7 +154,7 @@ WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: clock.c,v 1.18 2018/09/03 16:29:27 riastradh Exp $"); +__KERNEL_RCSID(0, "$NetBSD: clock.c,v 1.19 2022/04/07 19:33:37 andvar Exp $"); #include <sys/param.h> #include <sys/systm.h> @@ -399,7 +399,7 @@ gettick(void) /* modifications from i386 to shark isa version: - removed hardcoded "n -=" values that approximated the time to calculate delay ticks - - made the time to calculate delay ticks almost negligable. 4 multiplies + - made the time to calculate delay ticks almost negligible. 4 multiplies = maximum of 12 cycles = 75ns on a slow SA-110, plus a bunch of shifts; as opposed to 4 multiplies plus a bunch of divides. - removed i386 assembly language hack diff --git a/sys/dev/hdaudio/hdaudio.c b/sys/dev/hdaudio/hdaudio.c index 136dd73a464..4f5f88a8a83 100644 --- a/sys/dev/hdaudio/hdaudio.c +++ b/sys/dev/hdaudio/hdaudio.c @@ -1,4 +1,4 @@ -/* $NetBSD: hdaudio.c,v 1.17 2022/03/28 12:33:21 riastradh Exp $ */ +/* $NetBSD: hdaudio.c,v 1.18 2022/04/07 19:33:37 andvar Exp $ */ /* * Copyright (c) 2009 Precedence Technologies Ltd <support@precedence.co.uk> @@ -30,7 +30,7 @@ */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: hdaudio.c,v 1.17 2022/03/28 12:33:21 riastradh Exp $"); +__KERNEL_RCSID(0, "$NetBSD: hdaudio.c,v 1.18 2022/04/07 19:33:37 andvar Exp $"); #include <sys/types.h> #include <sys/param.h> @@ -1079,7 +1079,7 @@ hdaudio_stream_disestablish(struct hdaudio_stream *st) } /* - * Convert most of audio_params_t to stream fmt descriptor; noticably missing + * Convert most of audio_params_t to stream fmt descriptor; noticeably missing * is the # channels bits, as this is encoded differently in codec and * stream descriptors. * diff --git a/sys/dev/ic/aic79xx.c b/sys/dev/ic/aic79xx.c index 654e20b2ea3..f695daf5afb 100644 --- a/sys/dev/ic/aic79xx.c +++ b/sys/dev/ic/aic79xx.c @@ -1,4 +1,4 @@ -/* $NetBSD: aic79xx.c,v 1.64 2022/03/08 20:45:56 andvar Exp $ */ +/* $NetBSD: aic79xx.c,v 1.65 2022/04/07 19:33:37 andvar Exp $ */ /* * Core routines and tables shareable across OS platforms. @@ -49,7 +49,7 @@ */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: aic79xx.c,v 1.64 2022/03/08 20:45:56 andvar Exp $"); +__KERNEL_RCSID(0, "$NetBSD: aic79xx.c,v 1.65 2022/04/07 19:33:37 andvar Exp $"); #include <dev/ic/aic79xx_osm.h> #include <dev/ic/aic79xx_inline.h> @@ -2579,7 +2579,7 @@ ahd_clear_critical_section(struct ahd_softc *ahd) ahd_outb(ahd, SEQCTL0, ahd_inb(ahd, SEQCTL0) & ~STEP); ahd_outb(ahd, SIMODE1, simode1); /* - * SCSIINT seems to glitch occassionally when + * SCSIINT seems to glitch occasionally when * the interrupt masks are restored. Clear SCSIINT * one more time so that only persistent errors * are seen as a real interrupt. diff --git a/sys/dev/mscp/mscp_subr.c b/sys/dev/mscp/mscp_subr.c index 526f49ca3ff..70218c7d8df 100644 --- a/sys/dev/mscp/mscp_subr.c +++ b/sys/dev/mscp/mscp_subr.c @@ -1,4 +1,4 @@ -/* $NetBSD: mscp_subr.c,v 1.47 2017/06/01 02:45:10 chs Exp $ */ +/* $NetBSD: mscp_subr.c,v 1.48 2022/04/07 19:33:38 andvar Exp $ */ /* * Copyright (c) 1988 Regents of the University of California. * All rights reserved. @@ -75,7 +75,7 @@ */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: mscp_subr.c,v 1.47 2017/06/01 02:45:10 chs Exp $"); +__KERNEL_RCSID(0, "$NetBSD: mscp_subr.c,v 1.48 2022/04/07 19:33:38 andvar Exp $"); #include <sys/param.h> #include <sys/device.h> @@ -326,7 +326,7 @@ mscp_attach(device_t parent, device_t self, void *aux) /* * The drive is not spun up. Use it anyway. * - * N.B.: this seems to be a common occurrance + * N.B.: this seems to be a common occurrence * after a power failure. The first attempt * to bring it on line seems to spin it up * (and thus takes several minutes). Perhaps diff --git a/sys/dev/pci/if_bge.c b/sys/dev/pci/if_bge.c index dc2a0797ee0..78ebb6f3734 100644 --- a/sys/dev/pci/if_bge.c +++ b/sys/dev/pci/if_bge.c @@ -1,4 +1,4 @@ -/* $NetBSD: if_bge.c,v 1.351 2022/01/22 19:01:56 martin Exp $ */ +/* $NetBSD: if_bge.c,v 1.352 2022/04/07 19:33:38 andvar Exp $ */ /* * Copyright (c) 2001 Wind River Systems @@ -79,7 +79,7 @@ */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: if_bge.c,v 1.351 2022/01/22 19:01:56 martin Exp $"); +__KERNEL_RCSID(0, "$NetBSD: if_bge.c,v 1.352 2022/04/07 19:33:38 andvar Exp $"); #include <sys/param.h> #include <sys/systm.h> @@ -1257,7 +1257,7 @@ bge_set_thresh(struct ifnet *ifp, int lvl) /* For now, just save the new Rx-intr thresholds and record * that a threshold update is pending. Updating the hardware * registers here (even at splhigh()) is observed to - * occasionaly cause glitches where Rx-interrupts are not + * occasionally cause glitches where Rx-interrupts are not * honoured for up to 10 seconds. jonathan@NetBSD.org, 2003-04-05 */ s = splnet(); diff --git a/sys/kern/kern_proc.c b/sys/kern/kern_proc.c index 669d33c19f8..ee83cc87192 100644 --- a/sys/kern/kern_proc.c +++ b/sys/kern/kern_proc.c @@ -1,4 +1,4 @@ -/* $NetBSD: kern_proc.c,v 1.265 2022/03/13 17:21:29 riastradh Exp $ */ +/* $NetBSD: kern_proc.c,v 1.266 2022/04/07 19:33:38 andvar Exp $ */ /*- * Copyright (c) 1999, 2006, 2007, 2008, 2020 The NetBSD Foundation, Inc. @@ -62,7 +62,7 @@ */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: kern_proc.c,v 1.265 2022/03/13 17:21:29 riastradh Exp $"); +__KERNEL_RCSID(0, "$NetBSD: kern_proc.c,v 1.266 2022/04/07 19:33:38 andvar Exp $"); #ifdef _KERNEL_OPT #include "opt_kstack.h" @@ -2153,8 +2153,9 @@ sysctl_doeproc(SYSCTLFN_ARGS) /* * Hande all the operations in one switch on the cost of * algorithm complexity is on purpose. The win splitting this - * function into several similar copies makes maintenance burden - * burden, code grow and boost is neglible in practical systems. + * function into several similar copies makes maintenance + * burden, code grow and boost is negligible in practical + * systems. */ switch (op) { case KERN_PROC_PID: diff --git a/sys/netinet/sctp_indata.c b/sys/netinet/sctp_indata.c index 09b6345bb63..6f2ce5bf9a0 100644 --- a/sys/netinet/sctp_indata.c +++ b/sys/netinet/sctp_indata.c @@ -1,4 +1,4 @@ -/* $NetBSD: sctp_indata.c,v 1.8 2018/12/22 13:11:38 maxv Exp $ */ +/* $NetBSD: sctp_indata.c,v 1.9 2022/04/07 19:33:38 andvar Exp $ */ /* $KAME: sctp_indata.c,v 1.36 2005/03/06 16:04:17 itojun Exp $ */ /* @@ -31,7 +31,7 @@ */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: sctp_indata.c,v 1.8 2018/12/22 13:11:38 maxv Exp $"); +__KERNEL_RCSID(0, "$NetBSD: sctp_indata.c,v 1.9 2022/04/07 19:33:38 andvar Exp $"); #ifdef _KERNEL_OPT #include "opt_ipsec.h" @@ -4503,7 +4503,7 @@ sctp_handle_forward_tsn(struct sctp_tcb *stcb, if (cumack_set_flag) { /* * fwd-tsn went outside my gap array - not a - * common occurance. Do the same thing we + * common occurrence. Do the same thing we * do when a cookie-echo arrives. */ asoc->highest_tsn_inside_map = new_cum_tsn - 1; diff --git a/sys/sys/audioio.h b/sys/sys/audioio.h index b70dee3f5c5..f183023359f 100644 --- a/sys/sys/audioio.h +++ b/sys/sys/audioio.h @@ -1,4 +1,4 @@ -/* $NetBSD: audioio.h,v 1.39 2021/08/21 11:55:25 andvar Exp $ */ +/* $NetBSD: audioio.h,v 1.40 2022/04/07 19:33:38 andvar Exp $ */ /* * Copyright (c) 1991-1993 Regents of the University of California. @@ -62,7 +62,7 @@ struct audio_prinfo { u_int samples; /* number of samples */ u_int eof; /* End Of File (zero-size writes) counter */ u_char pause; /* non-zero if paused, zero to resume */ - u_char error; /* non-zero if underflow/overflow ocurred */ + u_char error; /* non-zero if underflow/overflow occurred */ u_char waiting; /* non-zero if another process hangs in open */ u_char balance; /* stereo channel balance */ u_char cspare[2]; |
