Module Name: src
Committed By: andvar
Date: Mon Sep 6 20:55:08 UTC 2021
Modified Files:
src/sys/arch/hp300/dev: dma.c
src/sys/dev/pci: if_tl.c
src/sys/kern: subr_physmap.c
Log Message:
fix typos in word "segment" and two additional typos in if_tl.c.
To generate a diff of this commit:
cvs rdiff -u -r1.43 -r1.44 src/sys/arch/hp300/dev/dma.c
cvs rdiff -u -r1.122 -r1.123 src/sys/dev/pci/if_tl.c
cvs rdiff -u -r1.4 -r1.5 src/sys/kern/subr_physmap.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/hp300/dev/dma.c
diff -u src/sys/arch/hp300/dev/dma.c:1.43 src/sys/arch/hp300/dev/dma.c:1.44
--- src/sys/arch/hp300/dev/dma.c:1.43 Sun Jun 6 04:50:06 2010
+++ src/sys/arch/hp300/dev/dma.c Mon Sep 6 20:55:08 2021
@@ -1,4 +1,4 @@
-/* $NetBSD: dma.c,v 1.43 2010/06/06 04:50:06 mrg Exp $ */
+/* $NetBSD: dma.c,v 1.44 2021/09/06 20:55:08 andvar Exp $ */
/*-
* Copyright (c) 1996, 1997 The NetBSD Foundation, Inc.
@@ -67,7 +67,7 @@
#include "opt_m68k_arch.h"
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: dma.c,v 1.43 2010/06/06 04:50:06 mrg Exp $");
+__KERNEL_RCSID(0, "$NetBSD: dma.c,v 1.44 2021/09/06 20:55:08 andvar Exp $");
#include <machine/hp300spu.h> /* XXX param.h includes cpu.h */
@@ -609,7 +609,7 @@ dmaintr(void *arg)
printf("dma channel %d: intr when armed\n", i);
#endif
/*
- * Load the next segemnt, or finish up if we're done.
+ * Load the next segment, or finish up if we're done.
*/
dc->dm_cur++;
if (dc->dm_cur <= dc->dm_last) {
Index: src/sys/dev/pci/if_tl.c
diff -u src/sys/dev/pci/if_tl.c:1.122 src/sys/dev/pci/if_tl.c:1.123
--- src/sys/dev/pci/if_tl.c:1.122 Tue Jul 7 06:27:37 2020
+++ src/sys/dev/pci/if_tl.c Mon Sep 6 20:55:08 2021
@@ -1,4 +1,4 @@
-/* $NetBSD: if_tl.c,v 1.122 2020/07/07 06:27:37 msaitoh Exp $ */
+/* $NetBSD: if_tl.c,v 1.123 2021/09/06 20:55:08 andvar Exp $ */
/*
* Copyright (c) 1997 Manuel Bouyer. All rights reserved.
@@ -31,7 +31,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: if_tl.c,v 1.122 2020/07/07 06:27:37 msaitoh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: if_tl.c,v 1.123 2021/09/06 20:55:08 andvar Exp $");
#undef TLDEBUG
#define TL_PRIV_STATS
@@ -1281,7 +1281,7 @@ tbdinit:
if (error == 0)
bus_dmamap_unload(sc->tl_dmatag, Tx->m_dmamap);
if (again) {
- /* already copyed, can't do much more */
+ /* already copied, can't do much more */
m_freem(mb_head);
goto bad;
}
@@ -1327,7 +1327,7 @@ tbdinit:
if (size < ETHER_MIN_TX) {
#ifdef DIAGNOSTIC
if (segment >= TL_NSEG) {
- panic("%s: to much segmets (%d)", __func__, segment);
+ panic("%s: too much segments (%d)", __func__, segment);
}
#endif
/*
Index: src/sys/kern/subr_physmap.c
diff -u src/sys/kern/subr_physmap.c:1.4 src/sys/kern/subr_physmap.c:1.5
--- src/sys/kern/subr_physmap.c:1.4 Sun Sep 6 15:27:22 2020
+++ src/sys/kern/subr_physmap.c Mon Sep 6 20:55:08 2021
@@ -1,4 +1,4 @@
-/* $NetBSD: subr_physmap.c,v 1.4 2020/09/06 15:27:22 riastradh Exp $ */
+/* $NetBSD: subr_physmap.c,v 1.5 2021/09/06 20:55:08 andvar Exp $ */
/*-
* Copyright (c) 2013 The NetBSD Foundation, Inc.
@@ -30,7 +30,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(1, "$NetBSD: subr_physmap.c,v 1.4 2020/09/06 15:27:22 riastradh Exp $");
+__KERNEL_RCSID(1, "$NetBSD: subr_physmap.c,v 1.5 2021/09/06 20:55:08 andvar Exp $");
#include <sys/param.h>
#include <sys/physmap.h>
@@ -206,7 +206,7 @@ physmap_create_pagelist(struct vm_page *
if (curaddr != lastaddr) {
/*
* If the addresses are not the same, we need to use
- * a new segemnt. Set its address and update lastaddr.
+ * a new segment. Set its address and update lastaddr.
*/
ps++;
ps->ps_addr = curaddr;