summaryrefslogtreecommitdiff
path: root/sys/dev
diff options
context:
space:
mode:
authorandvar <andvar@NetBSD.org>2021-10-21 13:21:53 +0000
committerandvar <andvar@NetBSD.org>2021-10-21 13:21:53 +0000
commite4abc357594cfaf6271a791c725314ee5f6467c8 (patch)
treefc775cdcadcf089871cd219cd2b8f45bd2b2de28 /sys/dev
parent1c62d2781c93e0d949f960a7233951ece565793d (diff)
fix various typos, mainly in comments, but also in man pages and log messages.
Diffstat (limited to 'sys/dev')
-rw-r--r--sys/dev/hyperv/if_hvnreg.h4
-rw-r--r--sys/dev/ic/dm9000reg.h4
-rw-r--r--sys/dev/ic/ds1286reg.h4
-rw-r--r--sys/dev/ic/ds1687reg.h6
-rw-r--r--sys/dev/ic/isp.c6
-rw-r--r--sys/dev/ic/isp_library.c6
-rw-r--r--sys/dev/pci/if_sip.c6
7 files changed, 18 insertions, 18 deletions
diff --git a/sys/dev/hyperv/if_hvnreg.h b/sys/dev/hyperv/if_hvnreg.h
index f43cb1b7a7c..12f8e507a75 100644
--- a/sys/dev/hyperv/if_hvnreg.h
+++ b/sys/dev/hyperv/if_hvnreg.h
@@ -1,4 +1,4 @@
-/* $NetBSD: if_hvnreg.h,v 1.1 2019/02/15 08:54:01 nonaka Exp $ */
+/* $NetBSD: if_hvnreg.h,v 1.2 2021/10/21 13:21:54 andvar Exp $ */
/* $OpenBSD: if_hvnreg.h,v 1.3 2016/09/14 17:48:28 mikeb Exp $ */
/*-
@@ -96,7 +96,7 @@ struct hvn_nvs_init_resp {
uint32_t nvs_status; /* HVN_NVS_STATUS_ */
} __packed;
-/* No reponse */
+/* No response */
struct hvn_nvs_ndis_conf {
uint32_t nvs_type; /* HVN_NVS_TYPE_NDIS_CONF */
uint32_t nvs_mtu;
diff --git a/sys/dev/ic/dm9000reg.h b/sys/dev/ic/dm9000reg.h
index f7aa26a824e..67c09188ef2 100644
--- a/sys/dev/ic/dm9000reg.h
+++ b/sys/dev/ic/dm9000reg.h
@@ -1,4 +1,4 @@
-/* $NetBSD: dm9000reg.h,v 1.6 2020/10/08 21:00:25 nisimura Exp $ */
+/* $NetBSD: dm9000reg.h,v 1.7 2021/10/21 13:21:54 andvar Exp $ */
/*
* Copyright (c) 2009 Paul Fleischer
@@ -30,7 +30,7 @@
#define _DEV_IC_DM9000REG_H_
/*
- * Registers accesible on the DM9000, extracted from pp. 11-12 from
+ * Registers accessible on the DM9000, extracted from pp. 11-12 from
* the data sheet
*/
diff --git a/sys/dev/ic/ds1286reg.h b/sys/dev/ic/ds1286reg.h
index 310abc7f401..3a3e3fc1eb2 100644
--- a/sys/dev/ic/ds1286reg.h
+++ b/sys/dev/ic/ds1286reg.h
@@ -1,4 +1,4 @@
-/* $NetBSD: ds1286reg.h,v 1.8 2005/12/11 12:21:26 christos Exp $ */
+/* $NetBSD: ds1286reg.h,v 1.9 2021/10/21 13:21:54 andvar Exp $ */
/*
* Copyright (c) 2001 Rafal K. Boni
@@ -56,7 +56,7 @@
/*
* Definitions for the Dallas Semiconductor DS1286/DS1386 Real Time Clock.
*
- * Plucked right from the Dallas Semicomductor specs available at
+ * Plucked right from the Dallas Semiconductor specs available at
* http://pdfserv.maxim-ic.com/arpdf/DS1286.pdf and
* http://pdfserv.maxim-ic.com/arpdf/DS1386-DS1386P.pdf
*
diff --git a/sys/dev/ic/ds1687reg.h b/sys/dev/ic/ds1687reg.h
index cc863817e14..d9f9d58d5da 100644
--- a/sys/dev/ic/ds1687reg.h
+++ b/sys/dev/ic/ds1687reg.h
@@ -1,4 +1,4 @@
-/* $NetBSD: ds1687reg.h,v 1.11 2018/11/08 06:43:52 msaitoh Exp $ */
+/* $NetBSD: ds1687reg.h,v 1.12 2021/10/21 13:21:54 andvar Exp $ */
/*
* Copyright (c) 2003 The NetBSD Foundation, Inc.
@@ -63,7 +63,7 @@
* DS1287, which in turn is register-compatible with the MC146818 and/or
* MC146818A RTCs.
*
- * Plucked right from the Dallas Semicomductor specs available at:
+ * Plucked right from the Dallas Semiconductor specs available at:
* http://pdfserv.maxim-ic.com/arpdf/DS1685-DS1687.pdf
*
* The DS1686 contains 14 basic clock-related registers and 50 bytes of
@@ -104,7 +104,7 @@
* register for Y2k compatibility and memory address/data registers which
* allow indirect access to a larger extended user RAM address space. It
* is worth noting that the extended user RAM is distinct from the "basic"
- * 114 bytes of user RAM which are accesible in bank 0.
+ * 114 bytes of user RAM which are accessible in bank 0.
*/
/*
diff --git a/sys/dev/ic/isp.c b/sys/dev/ic/isp.c
index 31a34ac6b1e..e7631f394af 100644
--- a/sys/dev/ic/isp.c
+++ b/sys/dev/ic/isp.c
@@ -1,4 +1,4 @@
-/* $NetBSD: isp.c,v 1.130 2021/09/19 10:34:09 andvar Exp $ */
+/* $NetBSD: isp.c,v 1.131 2021/10/21 13:21:54 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.130 2021/09/19 10:34:09 andvar Exp $");
+__KERNEL_RCSID(0, "$NetBSD: isp.c,v 1.131 2021/10/21 13:21:54 andvar Exp $");
#include <dev/ic/isp_netbsd.h>
#endif
#ifdef __FreeBSD__
@@ -6232,7 +6232,7 @@ isp_parse_status(ispsoftc_t *isp, ispstatusreq_t *sp, XS_T *xs, long *rp)
* isn't an error, per se.
*
* Unfortunately, some QLogic f/w writers have, in
- * some cases, ommitted to *set* status to QFULL.
+ * some cases, omitted to *set* status to QFULL.
*
if (*XS_STSP(xs) != SCSI_GOOD && XS_NOERR(xs)) {
diff --git a/sys/dev/ic/isp_library.c b/sys/dev/ic/isp_library.c
index fa886810e12..3fe2a3cc9ad 100644
--- a/sys/dev/ic/isp_library.c
+++ b/sys/dev/ic/isp_library.c
@@ -1,4 +1,4 @@
-/* $NetBSD: isp_library.c,v 1.8 2019/01/10 09:12:47 martin Exp $ */
+/* $NetBSD: isp_library.c,v 1.9 2021/10/21 13:21:54 andvar Exp $ */
/*
* Copyright (c) 2006-2007 by Matthew Jacob
* All rights reserved.
@@ -30,7 +30,7 @@
*/
#ifdef __NetBSD__
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: isp_library.c,v 1.8 2019/01/10 09:12:47 martin Exp $");
+__KERNEL_RCSID(0, "$NetBSD: isp_library.c,v 1.9 2021/10/21 13:21:54 andvar Exp $");
#include <dev/ic/isp_netbsd.h>
#endif
#ifdef __FreeBSD__
@@ -2266,7 +2266,7 @@ isp_allocate_xs_tgt(ispsoftc_t *isp, void *xs, uint32_t *handlep)
hdp->handle |= (ISP_HANDLE_TARGET << ISP_HANDLE_USAGE_SHIFT);
/*
* Target handles for SCSI cards are only 16 bits, so
- * sequence number protection will be ommitted.
+ * sequence number protection will be omitted.
*/
if (IS_FC(isp)) {
hdp->handle |= (isp->isp_seqno++ << ISP_HANDLE_SEQ_SHIFT);
diff --git a/sys/dev/pci/if_sip.c b/sys/dev/pci/if_sip.c
index 946d6c7daaa..bc340603ffc 100644
--- a/sys/dev/pci/if_sip.c
+++ b/sys/dev/pci/if_sip.c
@@ -1,4 +1,4 @@
-/* $NetBSD: if_sip.c,v 1.182 2020/03/16 01:54:23 thorpej Exp $ */
+/* $NetBSD: if_sip.c,v 1.183 2021/10/21 13:21:54 andvar Exp $ */
/*-
* Copyright (c) 2001, 2002 The NetBSD Foundation, Inc.
@@ -73,7 +73,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: if_sip.c,v 1.182 2020/03/16 01:54:23 thorpej Exp $");
+__KERNEL_RCSID(0, "$NetBSD: if_sip.c,v 1.183 2021/10/21 13:21:54 andvar Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -888,7 +888,7 @@ sipcom_dp83820_attach(struct sip_softc *sc, struct pci_attach_args *pa)
} else {
using64 = "disabled in EEPROM";
}
- printf("%s: 64-bit slot detected, 64-bit tranfers %s\n",
+ printf("%s: 64-bit slot detected, 64-bit transfers %s\n",
device_xname(sc->sc_dev), using64);
}