Module Name:    src
Committed By:   andvar
Date:           Tue Jan 25 22:01:35 UTC 2022

Modified Files:
        src/sys/arch/evbarm/smdk2xx0: smdk2410_kbd.c
        src/sys/arch/m68k/fpsp: x_unfl.sa
        src/sys/dev/ieee1394: fwohci.c
        src/sys/dev/microcode/aic7xxx: aic79xx.reg aic79xx.seq aic7xxx.reg
            aic7xxx.seq
        src/sys/dev/pci: auixp.c autri.c
        src/sys/fs/udf: udf_subr.c

Log Message:
fix various typos in comments.


To generate a diff of this commit:
cvs rdiff -u -r1.10 -r1.11 src/sys/arch/evbarm/smdk2xx0/smdk2410_kbd.c
cvs rdiff -u -r1.4 -r1.5 src/sys/arch/m68k/fpsp/x_unfl.sa
cvs rdiff -u -r1.149 -r1.150 src/sys/dev/ieee1394/fwohci.c
cvs rdiff -u -r1.14 -r1.15 src/sys/dev/microcode/aic7xxx/aic79xx.reg
cvs rdiff -u -r1.15 -r1.16 src/sys/dev/microcode/aic7xxx/aic79xx.seq
cvs rdiff -u -r1.5 -r1.6 src/sys/dev/microcode/aic7xxx/aic7xxx.reg
cvs rdiff -u -r1.21 -r1.22 src/sys/dev/microcode/aic7xxx/aic7xxx.seq
cvs rdiff -u -r1.52 -r1.53 src/sys/dev/pci/auixp.c
cvs rdiff -u -r1.59 -r1.60 src/sys/dev/pci/autri.c
cvs rdiff -u -r1.164 -r1.165 src/sys/fs/udf/udf_subr.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/arch/evbarm/smdk2xx0/smdk2410_kbd.c
diff -u src/sys/arch/evbarm/smdk2xx0/smdk2410_kbd.c:1.10 src/sys/arch/evbarm/smdk2xx0/smdk2410_kbd.c:1.11
--- src/sys/arch/evbarm/smdk2xx0/smdk2410_kbd.c:1.10	Sat Aug  7 16:18:50 2021
+++ src/sys/arch/evbarm/smdk2xx0/smdk2410_kbd.c	Tue Jan 25 22:01:34 2022
@@ -1,4 +1,4 @@
-/* $NetBSD: smdk2410_kbd.c,v 1.10 2021/08/07 16:18:50 thorpej Exp $ */
+/* $NetBSD: smdk2410_kbd.c,v 1.11 2022/01/25 22:01:34 andvar Exp $ */
 
 /*
  * Copyright (c) 2004  Genetec Corporation.  All rights reserved.
@@ -40,7 +40,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: smdk2410_kbd.c,v 1.10 2021/08/07 16:18:50 thorpej Exp $");
+__KERNEL_RCSID(0, "$NetBSD: smdk2410_kbd.c,v 1.11 2022/01/25 22:01:34 andvar Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -72,7 +72,7 @@ __KERNEL_RCSID(0, "$NetBSD: smdk2410_kbd
  */
 
 /*
- * Commands/responce 
+ * Commands/response 
  */
 #define	KCDR_INITIALIZE	0xa0	/* Initialize request */
 #define	KCDR_INITCOMP	0xa1	/* Initialize complete */

Index: src/sys/arch/m68k/fpsp/x_unfl.sa
diff -u src/sys/arch/m68k/fpsp/x_unfl.sa:1.4 src/sys/arch/m68k/fpsp/x_unfl.sa:1.5
--- src/sys/arch/m68k/fpsp/x_unfl.sa:1.4	Sun Sep 16 16:34:32 2001
+++ src/sys/arch/m68k/fpsp/x_unfl.sa	Tue Jan 25 22:01:34 2022
@@ -1,4 +1,4 @@
-*	$NetBSD: x_unfl.sa,v 1.4 2001/09/16 16:34:32 wiz Exp $
+*	$NetBSD: x_unfl.sa,v 1.5 2022/01/25 22:01:34 andvar Exp $
 
 *	MOTOROLA MICROPROCESSOR & MEMORY TECHNOLOGY GROUP
 *	M68000 Hi-Performance Microprocessor Division
@@ -41,7 +41,7 @@
 * by taking the intermediate result (which is always normalized) and 
 * shifting the mantissa right while incrementing the exponent until 
 * it is equal to the denormalized exponent for the destination 
-* format.  After denormalizatoin, the result is rounded to the 
+* format.  After denormalization, the result is rounded to the 
 * destination format.
 *		
 * Trap enabled results

Index: src/sys/dev/ieee1394/fwohci.c
diff -u src/sys/dev/ieee1394/fwohci.c:1.149 src/sys/dev/ieee1394/fwohci.c:1.150
--- src/sys/dev/ieee1394/fwohci.c:1.149	Sun Dec  5 08:17:21 2021
+++ src/sys/dev/ieee1394/fwohci.c	Tue Jan 25 22:01:34 2022
@@ -1,4 +1,4 @@
-/*	$NetBSD: fwohci.c,v 1.149 2021/12/05 08:17:21 msaitoh Exp $	*/
+/*	$NetBSD: fwohci.c,v 1.150 2022/01/25 22:01:34 andvar Exp $	*/
 
 /*-
  * Copyright (c) 2003 Hidetoshi Shimokawa
@@ -37,7 +37,7 @@
  *
  */
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: fwohci.c,v 1.149 2021/12/05 08:17:21 msaitoh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: fwohci.c,v 1.150 2022/01/25 22:01:34 andvar Exp $");
 
 #include <sys/param.h>
 #include <sys/atomic.h>
@@ -1419,7 +1419,7 @@ txloop:
 	    OHCI_OUTPUT_MORE | OHCI_KEY_ST2 | hdr_len);
  	FWOHCI_DMA_WRITE(db->db.desc.addr, 0);
  	FWOHCI_DMA_WRITE(db->db.desc.res, 0);
-/* Specify bound timer of asy. responce */
+/* Specify bound timer of asy. response */
 	if (dbch->off != OHCI_ATSOFF)
  		FWOHCI_DMA_WRITE(db->db.desc.res,
 		     (OREAD(sc, OHCI_CYCLETIMER) >> 12) + (1 << 13));

Index: src/sys/dev/microcode/aic7xxx/aic79xx.reg
diff -u src/sys/dev/microcode/aic7xxx/aic79xx.reg:1.14 src/sys/dev/microcode/aic7xxx/aic79xx.reg:1.15
--- src/sys/dev/microcode/aic7xxx/aic79xx.reg:1.14	Tue May 28 08:59:34 2019
+++ src/sys/dev/microcode/aic7xxx/aic79xx.reg	Tue Jan 25 22:01:34 2022
@@ -1,4 +1,4 @@
-/*	$NetBSD: aic79xx.reg,v 1.14 2019/05/28 08:59:34 msaitoh Exp $	*/
+/*	$NetBSD: aic79xx.reg,v 1.15 2022/01/25 22:01:34 andvar Exp $	*/
 
 /*
  * Aic79xx register and scratch ram definitions.
@@ -2433,7 +2433,7 @@ register IOPDNCTL {
 }
 
 /*
- * Shaddow Host Address.
+ * Shadow Host Address.
  */
 register SHADDR {
 	address			0x060

Index: src/sys/dev/microcode/aic7xxx/aic79xx.seq
diff -u src/sys/dev/microcode/aic7xxx/aic79xx.seq:1.15 src/sys/dev/microcode/aic7xxx/aic79xx.seq:1.16
--- src/sys/dev/microcode/aic7xxx/aic79xx.seq:1.15	Sun Sep 19 10:34:09 2021
+++ src/sys/dev/microcode/aic7xxx/aic79xx.seq	Tue Jan 25 22:01:34 2022
@@ -1,4 +1,4 @@
-/*	$NetBSD: aic79xx.seq,v 1.15 2021/09/19 10:34:09 andvar Exp $	*/
+/*	$NetBSD: aic79xx.seq,v 1.16 2022/01/25 22:01:34 andvar Exp $	*/
 
 /*
  * Adaptec U320 device driver firmware for Linux and FreeBSD.
@@ -130,7 +130,7 @@ gsfifo_complete_normally:
 
 	/*
 	 * Since this status did not consume a FIFO, we have to
-	 * be a bit more dilligent in how we check for FIFOs pertaining
+	 * be a bit more diligent in how we check for FIFOs pertaining
 	 * to this transaction.  There are two states that a FIFO still
 	 * transferring data may be in.
 	 *
@@ -362,7 +362,7 @@ END_CRITICAL;
  * Either post or fetch an SCB from host memory.  The caller
  * is responsible for polling for transfer completion.
  *
- * Prerequisits: Mode == M_CCHAN
+ * Prerequisites: Mode == M_CCHAN
  *		 SINDEX contains CCSCBCTL flags
  *		 SCBHADDR set to Host SCB address
  *		 SCBPTR set to SCB src location on "push" operations
@@ -549,7 +549,7 @@ BEGIN_CRITICAL;
 		test	LQOSTAT1, LQOBUSFREE jnz idle_loop;
 
 		/*
-		 * On a phase change oustside of packet boundaries,
+		 * On a phase change outside of packet boundaries,
 		 * LASTSCB points to the currently active SCB context
 		 * on the bus.
 		 */
@@ -754,7 +754,7 @@ p_status_okay:
 
 /*
  * Message out phase.  If MSG_OUT is MSG_IDENTIFYFLAG, build a full
- * indentify message sequence and send it to the target.  The host may
+ * identify message sequence and send it to the target.  The host may
  * override this behavior by setting the MK_MESSAGE bit in the SCB
  * control byte.  This will cause us to interrupt the host and allow
  * it to handle the message phase completely on its own.  If the bit
@@ -764,9 +764,9 @@ p_status_okay:
  *
  * If MSG_OUT is == HOST_MSG, also interrupt the host and take a message.
  * This is done to allow the host to send messages outside of an identify
- * sequence while protecting the seqencer from testing the MK_MESSAGE bit
+ * sequence while protecting the sequencer from testing the MK_MESSAGE bit
  * on an SCB that might not be for the current nexus. (For example, a
- * BDR message in responce to a bad reselection would leave us pointed to
+ * BDR message in response to a bad reselection would leave us pointed to
  * an SCB that doesn't have anything to do with the current target).
  *
  * Otherwise, treat MSG_OUT as a 1 byte message to send (abort, abort tag,
@@ -1080,7 +1080,7 @@ upload_scb:
  * Is it a disconnect message?  Set a flag in the SCB to remind us
  * and await the bus going free.  If this is an untagged transaction
  * store the SCB id for it in our untagged target table for lookup on
- * a reselction.
+ * a reselection.
  */
 mesgin_disconnect:
 	/*
@@ -1304,7 +1304,7 @@ idle_sg_avail:
 	test	DFSTATUS, PRELOAD_AVAIL jz return;
 	/*
 	 * On the A, preloading a segment before HDMAENACK
-	 * comes true can clobber the shaddow address of the
+	 * comes true can clobber the shadow address of the
 	 * first segment in the S/G FIFO.  Wait until it is
 	 * safe to proceed.
 	 */
@@ -1661,7 +1661,7 @@ main_isr:
 /*
  * There are two types of save pointers interrupts:
  * The first is a snapshot save pointers where the current FIFO is not
- * active and contains a snapshot of the current poniter information.
+ * active and contains a snapshot of the current pointer information.
  * This happens between packets in a stream for a single L_Q.  Since we
  * are not performing a pointer save, we can safely clear the channel
  * so it can be used for other transactions.  On RTI capable controllers,
@@ -1757,10 +1757,10 @@ pkt_handle_xfer:
 	 * Defer handling of this NONPACKREQ until we
 	 * can be sure it pertains to this FIFO.  SAVEPTRS
 	 * will not be asserted if the NONPACKREQ is for us,
-	 * so we must simulate it if shaddow is valid.  If
-	 * shaddow is not valid, keep running this FIFO until we
+	 * so we must simulate it if shadow is valid.  If
+	 * shadow is not valid, keep running this FIFO until we
 	 * have satisfied the transfer by loading segments and
-	 * waiting for either shaddow valid or last_seg_done.
+	 * waiting for either shadow valid or last_seg_done.
 	 */
 	test	MDFFSTAT, SHVALID jnz pkt_saveptrs;
 pkt_service_fifo:
@@ -1894,7 +1894,7 @@ BEGIN_CRITICAL;
 END_CRITICAL;
 pkt_status_check_overrun:
 	/*
-	 * Status PKT overruns are uncerimoniously recovered with a
+	 * Status PKT overruns are unceremoniously recovered with a
 	 * bus reset.  If we've overrun, let the host know so that
 	 * recovery can be performed.
 	 *

Index: src/sys/dev/microcode/aic7xxx/aic7xxx.reg
diff -u src/sys/dev/microcode/aic7xxx/aic7xxx.reg:1.5 src/sys/dev/microcode/aic7xxx/aic7xxx.reg:1.6
--- src/sys/dev/microcode/aic7xxx/aic7xxx.reg:1.5	Sat Aug  7 19:41:14 2021
+++ src/sys/dev/microcode/aic7xxx/aic7xxx.reg	Tue Jan 25 22:01:34 2022
@@ -39,7 +39,7 @@
  *
  * $FreeBSD: /repoman/r/ncvs/src/sys/dev/aic7xxx/aic7xxx.reg,v 1.43 2003/01/20 20:44:55 gibbs Exp $
  */
-VERSION = "$NetBSD: aic7xxx.reg,v 1.5 2021/08/07 19:41:14 andvar Exp $"
+VERSION = "$NetBSD: aic7xxx.reg,v 1.6 2022/01/25 22:01:34 andvar Exp $"
 
 /*
  * This file is processed by the aic7xxx_asm utility for use in assembling
@@ -329,7 +329,7 @@ register SSTAT2 {
 	address			0x00d
 	access_mode RO
 	field	OVERRUN		0x80
-	field	SHVALID		0x40	/* Shaddow Layer non-zero */
+	field	SHVALID		0x40	/* Shadow Layer non-zero */
 	field	EXP_ACTIVE	0x10	/* SCSI Expander Active */
 	field	CRCVALERR	0x08	/* CRC doesn't match (U3 only) */
 	field	CRCENDERR	0x04	/* No terminal CRC packet (U3 only) */
@@ -949,7 +949,7 @@ register SCBCNT {
 
 /*
  * Queue In FIFO (p. 3-60)
- * Input queue for queued SCBs (commands that the seqencer has yet to start)
+ * Input queue for queued SCBs (commands that the sequencer has yet to start)
  */
 register QINFIFO {
 	address			0x09b

Index: src/sys/dev/microcode/aic7xxx/aic7xxx.seq
diff -u src/sys/dev/microcode/aic7xxx/aic7xxx.seq:1.21 src/sys/dev/microcode/aic7xxx/aic7xxx.seq:1.22
--- src/sys/dev/microcode/aic7xxx/aic7xxx.seq:1.21	Fri Sep  3 22:33:17 2021
+++ src/sys/dev/microcode/aic7xxx/aic7xxx.seq	Tue Jan 25 22:01:34 2022
@@ -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.21 2021/09/03 22:33:17 andvar Exp $"
+VERSION = "$NetBSD: aic7xxx.seq,v 1.22 2022/01/25 22:01:34 andvar Exp $"
 PATCH_ARG_LIST = "struct ahc_softc *ahc"
 PREFIX = "ahc_"
 
@@ -1476,7 +1476,7 @@ p_status_okay:
 
 /*
  * Message out phase.  If MSG_OUT is MSG_IDENTIFYFLAG, build a full
- * indentify message sequence and send it to the target.  The host may
+ * identify message sequence and send it to the target.  The host may
  * override this behavior by setting the MK_MESSAGE bit in the SCB
  * control byte.  This will cause us to interrupt the host and allow
  * it to handle the message phase completely on its own.  If the bit
@@ -1486,9 +1486,9 @@ p_status_okay:
  *
  * If MSG_OUT is == HOST_MSG, also interrupt the host and take a message.
  * This is done to allow the host to send messages outside of an identify
- * sequence while protecting the seqencer from testing the MK_MESSAGE bit
+ * sequence while protecting the sequencer from testing the MK_MESSAGE bit
  * on an SCB that might not be for the current nexus. (For example, a
- * BDR message in responce to a bad reselection would leave us pointed to
+ * BDR message in response to a bad reselection would leave us pointed to
  * an SCB that doesn't have anything to do with the current target).
  *
  * Otherwise, treat MSG_OUT as a 1 byte message to send (abort, abort tag,
@@ -1696,7 +1696,7 @@ if ((ahc->flags & AHC_INITIATORROLE) != 
  * Is it a disconnect message?  Set a flag in the SCB to remind us
  * and await the bus going free.  If this is an untagged transaction
  * store the SCB id for it in our untagged target table for lookup on
- * a reselction.
+ * a reselection.
  */
 mesgin_disconnect:
 	/*

Index: src/sys/dev/pci/auixp.c
diff -u src/sys/dev/pci/auixp.c:1.52 src/sys/dev/pci/auixp.c:1.53
--- src/sys/dev/pci/auixp.c:1.52	Sat Aug 21 09:59:46 2021
+++ src/sys/dev/pci/auixp.c	Tue Jan 25 22:01:35 2022
@@ -1,4 +1,4 @@
-/* $NetBSD: auixp.c,v 1.52 2021/08/21 09:59:46 andvar Exp $ */
+/* $NetBSD: auixp.c,v 1.53 2022/01/25 22:01:35 andvar Exp $ */
 
 /*
  * Copyright (c) 2004, 2005 Reinoud Zandijk <rein...@netbsd.org>
@@ -43,7 +43,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: auixp.c,v 1.52 2021/08/21 09:59:46 andvar Exp $");
+__KERNEL_RCSID(0, "$NetBSD: auixp.c,v 1.53 2022/01/25 22:01:35 andvar Exp $");
 
 #include <sys/types.h>
 #include <sys/errno.h>
@@ -716,7 +716,7 @@ auixp_update_busbusy(struct auixp_softc 
  * audio is refilled by calling the intr() function when space is available
  * again.
  */
-/* XXX allmost literaly a copy of trigger-input; could be factorised XXX */
+/* XXX almost literally a copy of trigger-input; could be factorised XXX */
 static int
 auixp_trigger_output(void *hdl, void *start, void *end, int blksize,
     void (*intr)(void *), void *intrarg, const audio_params_t *param)
@@ -791,7 +791,7 @@ auixp_halt_output(void *hdl)
 }
 
 
-/* XXX allmost literaly a copy of trigger-output; could be factorised XXX */
+/* XXX almost literally a copy of trigger-output; could be factorised XXX */
 static int
 auixp_trigger_input(void *hdl, void *start, void *end, int blksize,
     void (*intr)(void *), void *intrarg, const audio_params_t *param)
@@ -870,8 +870,8 @@ auixp_halt_input(void *hdl)
  * IXP audio interrupt handler
  *
  * note that we return the number of bits handled; the return value is not
- * documentated but i saw it implemented in other drivers. Prolly returning a
- * value > 0 means "i've dealt with it"
+ * documented but I saw it implemented in other drivers. Prolly returning a
+ * value > 0 means "I've dealt with it"
  *
  */
 static int

Index: src/sys/dev/pci/autri.c
diff -u src/sys/dev/pci/autri.c:1.59 src/sys/dev/pci/autri.c:1.60
--- src/sys/dev/pci/autri.c:1.59	Sat Feb 29 05:51:11 2020
+++ src/sys/dev/pci/autri.c	Tue Jan 25 22:01:35 2022
@@ -1,4 +1,4 @@
-/*	$NetBSD: autri.c,v 1.59 2020/02/29 05:51:11 isaki Exp $	*/
+/*	$NetBSD: autri.c,v 1.60 2022/01/25 22:01:35 andvar Exp $	*/
 
 /*
  * Copyright (c) 2001 SOMEYA Yoshihiko and KUROSAWA Takahiro.
@@ -35,7 +35,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: autri.c,v 1.59 2020/02/29 05:51:11 isaki Exp $");
+__KERNEL_RCSID(0, "$NetBSD: autri.c,v 1.60 2022/01/25 22:01:35 andvar Exp $");
 
 #include "midi.h"
 
@@ -287,7 +287,7 @@ autri_read_codec(void *sc_, uint8_t inde
 	/* send Read Command to AC'97 */
 	TWRITE4(sc, addr, (index & 0x7f) | cmd);
 
-	/* wait for 'Returned data is avalable' */
+	/* wait for 'Returned data is available' */
 	for (count=0; count<0xffff; count++) {
 		status = TREAD4(sc, addr);
 		if ((status & busy) == 0)

Index: src/sys/fs/udf/udf_subr.c
diff -u src/sys/fs/udf/udf_subr.c:1.164 src/sys/fs/udf/udf_subr.c:1.165
--- src/sys/fs/udf/udf_subr.c:1.164	Mon Jan 24 09:42:14 2022
+++ src/sys/fs/udf/udf_subr.c	Tue Jan 25 22:01:35 2022
@@ -1,4 +1,4 @@
-/* $NetBSD: udf_subr.c,v 1.164 2022/01/24 09:42:14 andvar Exp $ */
+/* $NetBSD: udf_subr.c,v 1.165 2022/01/25 22:01:35 andvar Exp $ */
 
 /*
  * Copyright (c) 2006, 2008 Reinoud Zandijk
@@ -29,7 +29,7 @@
 
 #include <sys/cdefs.h>
 #ifndef lint
-__KERNEL_RCSID(0, "$NetBSD: udf_subr.c,v 1.164 2022/01/24 09:42:14 andvar Exp $");
+__KERNEL_RCSID(0, "$NetBSD: udf_subr.c,v 1.165 2022/01/25 22:01:35 andvar Exp $");
 #endif /* not lint */
 
 
@@ -3827,7 +3827,7 @@ udf_close_logvol(struct udf_mount *ump, 
 #if notyet
 		/*
 		 * TODO calculate the available space and if the disc is
-		 * allmost full, write out till end-256-1 with banks, write
+		 * almost full, write out till end-256-1 with banks, write
 		 * AVDP and fill up with VATs, then close session and close
 		 * disc.
 		 */

Reply via email to