summaryrefslogtreecommitdiff
path: root/sys/dev
diff options
context:
space:
mode:
authorandvar <andvar@NetBSD.org>2021-09-19 10:34:06 +0000
committerandvar <andvar@NetBSD.org>2021-09-19 10:34:06 +0000
commite9572cd91e8c2b32fdfafa9291efdcdb94426b3f (patch)
tree12ccc2339ef05ee2a461bd3183c744d1b598da4d /sys/dev
parent754ed1f1f352714538fbfe50e8aa3f8380b33e31 (diff)
fix various typos in comments, messages and documentation.
Diffstat (limited to 'sys/dev')
-rw-r--r--sys/dev/ic/isp.c6
-rw-r--r--sys/dev/microcode/aic7xxx/aic79xx.seq4
-rw-r--r--sys/dev/microcode/aic7xxx/aicasm_gram.y4
-rw-r--r--sys/dev/pci/ixgbe/ixgbe.h4
-rw-r--r--sys/dev/scsipi/if_se.c6
5 files changed, 12 insertions, 12 deletions
diff --git a/sys/dev/ic/isp.c b/sys/dev/ic/isp.c
index 740d428bdf8..31a34ac6b1e 100644
--- a/sys/dev/ic/isp.c
+++ b/sys/dev/ic/isp.c
@@ -1,4 +1,4 @@
-/* $NetBSD: isp.c,v 1.129 2021/09/11 20:28:06 andvar Exp $ */
+/* $NetBSD: isp.c,v 1.130 2021/09/19 10:34:09 andvar Exp $ */
/*
* Machine and OS Independent (well, as best as possible)
* code for the Qlogic ISP SCSI adapters.
@@ -43,7 +43,7 @@
*/
#ifdef __NetBSD__
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: isp.c,v 1.129 2021/09/11 20:28:06 andvar Exp $");
+__KERNEL_RCSID(0, "$NetBSD: isp.c,v 1.130 2021/09/19 10:34:09 andvar Exp $");
#include <dev/ic/isp_netbsd.h>
#endif
#ifdef __FreeBSD__
@@ -2149,7 +2149,7 @@ isp_plogx(ispsoftc_t *isp, int chan, uint16_t handle, uint32_t portid, int flags
goto out;
} else if (plp->plogx_status != PLOGX_STATUS_IOCBERR) {
isp_prt(isp, ISP_LOGWARN,
- "status 0x%x on port login IOCB chanel %d",
+ "status 0x%x on port login IOCB channel %d",
plp->plogx_status, chan);
rval = -1;
goto out;
diff --git a/sys/dev/microcode/aic7xxx/aic79xx.seq b/sys/dev/microcode/aic7xxx/aic79xx.seq
index c37b19972a3..67478aa1812 100644
--- a/sys/dev/microcode/aic7xxx/aic79xx.seq
+++ b/sys/dev/microcode/aic7xxx/aic79xx.seq
@@ -1,4 +1,4 @@
-/* $NetBSD: aic79xx.seq,v 1.14 2021/09/16 21:29:41 andvar Exp $ */
+/* $NetBSD: aic79xx.seq,v 1.15 2021/09/19 10:34:09 andvar Exp $ */
/*
* Adaptec U320 device driver firmware for Linux and FreeBSD.
@@ -1926,7 +1926,7 @@ pkt_status_check_nonpackreq:
/*
* The unexpected nonpkt phase handler assumes that any
* data channel use will have a FIFO reference count. It
- * turns out that the status handler doesn't need a refernce
+ * turns out that the status handler doesn't need a reference
* count since the status received flag, and thus completion
* processing, cannot be set until the handler is finished.
* We increment the count here to make the nonpkt handler
diff --git a/sys/dev/microcode/aic7xxx/aicasm_gram.y b/sys/dev/microcode/aic7xxx/aicasm_gram.y
index b1ac57d169b..3e2cf0fe1d3 100644
--- a/sys/dev/microcode/aic7xxx/aicasm_gram.y
+++ b/sys/dev/microcode/aic7xxx/aicasm_gram.y
@@ -1,5 +1,5 @@
%{
-/* $NetBSD: aicasm_gram.y,v 1.7 2020/06/27 16:48:01 jdolecek Exp $ */
+/* $NetBSD: aicasm_gram.y,v 1.8 2021/09/19 10:34:09 andvar Exp $ */
/*
* Parser for the Aic7xxx SCSI Host adapter sequencer assembler.
@@ -1757,7 +1757,7 @@ format_3_instr(int opcode, symbol_ref_t *src,
instr = seq_alloc();
f3_instr = &instr->format.format3;
if (address->symbol == NULL) {
- /* 'dot' referrence. Use the current instruction pointer */
+ /* 'dot' reference. Use the current instruction pointer */
addr = instruction_ptr + address->offset;
} else if (address->symbol->type == UNINITIALIZED) {
/* forward reference */
diff --git a/sys/dev/pci/ixgbe/ixgbe.h b/sys/dev/pci/ixgbe/ixgbe.h
index d8bebe076fe..bbb5d51dc42 100644
--- a/sys/dev/pci/ixgbe/ixgbe.h
+++ b/sys/dev/pci/ixgbe/ixgbe.h
@@ -1,4 +1,4 @@
-/* $NetBSD: ixgbe.h,v 1.81 2021/09/16 09:55:28 msaitoh Exp $ */
+/* $NetBSD: ixgbe.h,v 1.82 2021/09/19 10:34:09 andvar Exp $ */
/******************************************************************************
SPDX-License-Identifier: BSD-3-Clause
@@ -197,7 +197,7 @@
* 33 should be large enough even for 64K TSO
* (32 * 2K mbuf cluster and 1 x mbuf header).
*
- * Rerefence: 82599-X550 dataseet 7.2.1.1 "Transmit Storage in System Memory".
+ * Reference: 82599-X550 dataseet 7.2.1.1 "Transmit Storage in System Memory".
*/
#define IXGBE_82599_SCATTER_MAX (40 - IXGBE_TX_WTHRESH - 2)
#define IXGBE_SCATTER_DEFAULT 33
diff --git a/sys/dev/scsipi/if_se.c b/sys/dev/scsipi/if_se.c
index beb21a83fad..e4d265d065a 100644
--- a/sys/dev/scsipi/if_se.c
+++ b/sys/dev/scsipi/if_se.c
@@ -1,4 +1,4 @@
-/* $NetBSD: if_se.c,v 1.113 2021/06/16 00:21:19 riastradh Exp $ */
+/* $NetBSD: if_se.c,v 1.114 2021/09/19 10:34:09 andvar Exp $ */
/*
* Copyright (c) 1997 Ian W. Dall <ian.dall@dsto.defence.gov.au>
@@ -37,7 +37,7 @@
*
* Acknowledgement: Thanks are due to Philip L. Budne <budd@cs.bu.edu>
* who reverse engineered the EA41x. In developing this code,
- * Phil's userland daemon "etherd", was refered to extensively in lieu
+ * Phil's userland daemon "etherd", was referred to extensively in lieu
* of accurate documentation for the device.
*
* This is a weird device! It doesn't conform to the scsi spec in much
@@ -59,7 +59,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: if_se.c,v 1.113 2021/06/16 00:21:19 riastradh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: if_se.c,v 1.114 2021/09/19 10:34:09 andvar Exp $");
#ifdef _KERNEL_OPT
#include "opt_inet.h"