summaryrefslogtreecommitdiff
path: root/sys/dev/microcode
diff options
context:
space:
mode:
authorandvar <andvar@NetBSD.org>2022-01-25 22:01:34 +0000
committerandvar <andvar@NetBSD.org>2022-01-25 22:01:34 +0000
commit0f9421e00b8764b6b76297f7dfc85aa55aec40ed (patch)
tree02a22bba233ff0c1f67ceec97deb46f2691cc33b /sys/dev/microcode
parentde3d0d0aba2c7ab3b4b8a27aa41b5fbc729c6e31 (diff)
fix various typos in comments.
Diffstat (limited to 'sys/dev/microcode')
-rw-r--r--sys/dev/microcode/aic7xxx/aic79xx.reg4
-rw-r--r--sys/dev/microcode/aic7xxx/aic79xx.seq28
-rw-r--r--sys/dev/microcode/aic7xxx/aic7xxx.reg6
-rw-r--r--sys/dev/microcode/aic7xxx/aic7xxx.seq10
4 files changed, 24 insertions, 24 deletions
diff --git a/sys/dev/microcode/aic7xxx/aic79xx.reg b/sys/dev/microcode/aic7xxx/aic79xx.reg
index 612cdb9b4c2..908d93979b6 100644
--- a/sys/dev/microcode/aic7xxx/aic79xx.reg
+++ b/sys/dev/microcode/aic7xxx/aic79xx.reg
@@ -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
diff --git a/sys/dev/microcode/aic7xxx/aic79xx.seq b/sys/dev/microcode/aic7xxx/aic79xx.seq
index 67478aa1812..2f2d4ce723d 100644
--- a/sys/dev/microcode/aic7xxx/aic79xx.seq
+++ b/sys/dev/microcode/aic7xxx/aic79xx.seq
@@ -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.
*
diff --git a/sys/dev/microcode/aic7xxx/aic7xxx.reg b/sys/dev/microcode/aic7xxx/aic7xxx.reg
index b2f9e244f8e..8f252075840 100644
--- a/sys/dev/microcode/aic7xxx/aic7xxx.reg
+++ b/sys/dev/microcode/aic7xxx/aic7xxx.reg
@@ -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
diff --git a/sys/dev/microcode/aic7xxx/aic7xxx.seq b/sys/dev/microcode/aic7xxx/aic7xxx.seq
index 580976e777a..c51748c41fc 100644
--- a/sys/dev/microcode/aic7xxx/aic7xxx.seq
+++ b/sys/dev/microcode/aic7xxx/aic7xxx.seq
@@ -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) != 0) {
* 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:
/*