summaryrefslogtreecommitdiff
path: root/sys/dev
diff options
context:
space:
mode:
authorandvar <andvar@NetBSD.org>2021-09-11 20:28:03 +0000
committerandvar <andvar@NetBSD.org>2021-09-11 20:28:03 +0000
commit93477c577b983d9a63c65095511cb8d7192b4f85 (patch)
treeff7d3b9a138ab4690bc54726b12e471e1cefbfbc /sys/dev
parentdab7bb9f54dd40b1ea6bf58d3ae8593294eff85b (diff)
Add missing double p and d for stopped and overriden accordingly.
Fix few more typos along the way, mainly in copy-pasted comments.
Diffstat (limited to 'sys/dev')
-rw-r--r--sys/dev/ic/dm9000.c4
-rw-r--r--sys/dev/ic/dwc_gmac.c6
-rw-r--r--sys/dev/ic/isp.c6
-rw-r--r--sys/dev/ic/ispvar.h4
-rw-r--r--sys/dev/mm.h4
-rw-r--r--sys/dev/tc/zs_ioasic.c6
6 files changed, 15 insertions, 15 deletions
diff --git a/sys/dev/ic/dm9000.c b/sys/dev/ic/dm9000.c
index c7ee1a15b06..d8c1b7fe219 100644
--- a/sys/dev/ic/dm9000.c
+++ b/sys/dev/ic/dm9000.c
@@ -1,4 +1,4 @@
-/* $NetBSD: dm9000.c,v 1.29 2020/06/27 13:34:20 jmcneill Exp $ */
+/* $NetBSD: dm9000.c,v 1.30 2021/09/11 20:28:06 andvar Exp $ */
/*
* Copyright (c) 2009 Paul Fleischer
@@ -219,7 +219,7 @@ dme_attach(struct dme_softc *sc, const uint8_t *notusedanymore)
ea = (dict) ? prop_dictionary_get(dict, "mac-address") : NULL;
if (ea != NULL) {
/*
- * If the MAC address is overriden by a device property,
+ * If the MAC address is overridden by a device property,
* use that.
*/
KASSERT(prop_object_type(ea) == PROP_TYPE_DATA);
diff --git a/sys/dev/ic/dwc_gmac.c b/sys/dev/ic/dwc_gmac.c
index 1d2a7fa50a0..e16b5971735 100644
--- a/sys/dev/ic/dwc_gmac.c
+++ b/sys/dev/ic/dwc_gmac.c
@@ -1,4 +1,4 @@
-/* $NetBSD: dwc_gmac.c,v 1.74 2021/06/16 00:21:18 riastradh Exp $ */
+/* $NetBSD: dwc_gmac.c,v 1.75 2021/09/11 20:28:06 andvar Exp $ */
/*-
* Copyright (c) 2013, 2014 The NetBSD Foundation, Inc.
@@ -41,7 +41,7 @@
#include <sys/cdefs.h>
-__KERNEL_RCSID(1, "$NetBSD: dwc_gmac.c,v 1.74 2021/06/16 00:21:18 riastradh Exp $");
+__KERNEL_RCSID(1, "$NetBSD: dwc_gmac.c,v 1.75 2021/09/11 20:28:06 andvar Exp $");
/* #define DWC_GMAC_DEBUG 1 */
@@ -196,7 +196,7 @@ dwc_gmac_attach(struct dwc_gmac_softc *sc, int phy_id, uint32_t mii_clk)
prop_data_t ea = dict ? prop_dictionary_get(dict, "mac-address") : NULL;
if (ea != NULL) {
/*
- * If the MAC address is overriden by a device property,
+ * If the MAC address is overridden by a device property,
* use that.
*/
KASSERT(prop_object_type(ea) == PROP_TYPE_DATA);
diff --git a/sys/dev/ic/isp.c b/sys/dev/ic/isp.c
index 74581ac3c88..740d428bdf8 100644
--- a/sys/dev/ic/isp.c
+++ b/sys/dev/ic/isp.c
@@ -1,4 +1,4 @@
-/* $NetBSD: isp.c,v 1.128 2021/09/06 21:56:04 andvar Exp $ */
+/* $NetBSD: isp.c,v 1.129 2021/09/11 20:28:06 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.128 2021/09/06 21:56:04 andvar Exp $");
+__KERNEL_RCSID(0, "$NetBSD: isp.c,v 1.129 2021/09/11 20:28:06 andvar Exp $");
#include <dev/ic/isp_netbsd.h>
#endif
#ifdef __FreeBSD__
@@ -1143,7 +1143,7 @@ isp_reset(ispsoftc_t *isp, int do_load_defaults)
/*
* We get some default values established. As a side
- * effect, NVRAM is read here (unless overriden by
+ * effect, NVRAM is read here (unless overridden by
* a configuration flag).
*/
if (do_load_defaults) {
diff --git a/sys/dev/ic/ispvar.h b/sys/dev/ic/ispvar.h
index 25e19b7c038..efc35f7e6e5 100644
--- a/sys/dev/ic/ispvar.h
+++ b/sys/dev/ic/ispvar.h
@@ -1,4 +1,4 @@
-/* $NetBSD: ispvar.h,v 1.73 2014/10/18 08:33:27 snj Exp $ */
+/* $NetBSD: ispvar.h,v 1.74 2021/09/11 20:28:06 andvar Exp $ */
/*
* Copyright (C) 1999 National Aeronautics & Space Administration
* All rights reserved.
@@ -1117,7 +1117,7 @@ void isp_async(ispsoftc_t *, ispasync_t, ...);
* DEFAULT_PORTWWN(ispsoftc_t *, chan) Default FC Port WWN to use
*
* These defines are hooks to allow the setting of node and
- * port WWNs when NVRAM cannot be read or is to be overriden.
+ * port WWNs when NVRAM cannot be read or is to be overridden.
*
* ACTIVE_NODEWWN(ispsoftc_t *, chan) FC Node WWN to use
* ACTIVE_PORTWWN(ispsoftc_t *, chan) FC Port WWN to use
diff --git a/sys/dev/mm.h b/sys/dev/mm.h
index f4f2503fe01..275f5c2339a 100644
--- a/sys/dev/mm.h
+++ b/sys/dev/mm.h
@@ -1,4 +1,4 @@
-/* $NetBSD: mm.h,v 1.3 2016/07/11 16:13:28 matt Exp $ */
+/* $NetBSD: mm.h,v 1.4 2021/09/11 20:28:06 andvar Exp $ */
/*-
* Copyright (c) 2008 Joerg Sonnenberger <joerg@NetBSD.org>.
@@ -64,7 +64,7 @@ paddr_t mm_md_mmap(dev_t, off_t, int);
/*
* Optional access check for the virtual address. The third argument tells
- * mm that the check was done and uvm_kernacc is overriden.
+ * mm that the check was done and uvm_kernacc is overridden.
*
* machine/types.h must define __HAVE_MM_MD_KERNACC to use this.
*/
diff --git a/sys/dev/tc/zs_ioasic.c b/sys/dev/tc/zs_ioasic.c
index 9f24de4a5bf..94578aed676 100644
--- a/sys/dev/tc/zs_ioasic.c
+++ b/sys/dev/tc/zs_ioasic.c
@@ -1,4 +1,4 @@
-/* $NetBSD: zs_ioasic.c,v 1.43 2021/08/07 16:19:16 thorpej Exp $ */
+/* $NetBSD: zs_ioasic.c,v 1.44 2021/09/11 20:28:06 andvar Exp $ */
/*-
* Copyright (c) 1996, 1998 The NetBSD Foundation, Inc.
@@ -41,7 +41,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: zs_ioasic.c,v 1.43 2021/08/07 16:19:16 thorpej Exp $");
+__KERNEL_RCSID(0, "$NetBSD: zs_ioasic.c,v 1.44 2021/09/11 20:28:06 andvar Exp $");
#include "opt_ddb.h"
#include "opt_kgdb.h"
@@ -487,7 +487,7 @@ zs_set_modes(struct zs_chanstate *cs, int cflag)
/*
* Output hardware flow control on the chip is horrendous:
* if carrier detect drops, the receiver is disabled, and if
- * CTS drops, the transmitter is stoped IN MID CHARACTER!
+ * CTS drops, the transmitter is stopped IN MID CHARACTER!
* Therefore, NEVER set the HFC bit, and instead use the
* status interrupt to detect CTS changes.
*/