Module Name:    src
Committed By:   andvar
Date:           Sat Jun 18 22:11:01 UTC 2022

Modified Files:
        src/sys/arch/evbarm/gumstix: gxiic.c
        src/sys/arch/hpcarm/dev: nbpiic.c
        src/sys/arch/i386/eisa: eisa_machdep.c
        src/sys/arch/mips/alchemy/dev: ausmbus_psc.c
        src/sys/arch/prep/eisa: eisa_machdep.c
        src/sys/arch/x86/include: pmap.h
        src/sys/dev/pci: virtio.c
        src/sys/kern: init_main.c

Log Message:
fix typos in word "functions" in comments, mainly s/fuctions/functions/.


To generate a diff of this commit:
cvs rdiff -u -r1.11 -r1.12 src/sys/arch/evbarm/gumstix/gxiic.c
cvs rdiff -u -r1.5 -r1.6 src/sys/arch/hpcarm/dev/nbpiic.c
cvs rdiff -u -r1.40 -r1.41 src/sys/arch/i386/eisa/eisa_machdep.c
cvs rdiff -u -r1.15 -r1.16 src/sys/arch/mips/alchemy/dev/ausmbus_psc.c
cvs rdiff -u -r1.5 -r1.6 src/sys/arch/prep/eisa/eisa_machdep.c
cvs rdiff -u -r1.127 -r1.128 src/sys/arch/x86/include/pmap.h
cvs rdiff -u -r1.54 -r1.55 src/sys/dev/pci/virtio.c
cvs rdiff -u -r1.538 -r1.539 src/sys/kern/init_main.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/evbarm/gumstix/gxiic.c
diff -u src/sys/arch/evbarm/gumstix/gxiic.c:1.11 src/sys/arch/evbarm/gumstix/gxiic.c:1.12
--- src/sys/arch/evbarm/gumstix/gxiic.c:1.11	Sat Aug  7 16:18:49 2021
+++ src/sys/arch/evbarm/gumstix/gxiic.c	Sat Jun 18 22:11:00 2022
@@ -1,4 +1,4 @@
-/*	$NetBSD: gxiic.c,v 1.11 2021/08/07 16:18:49 thorpej Exp $ */
+/*	$NetBSD: gxiic.c,v 1.12 2022/06/18 22:11:00 andvar Exp $ */
 /*
  * Copyright (c) 2007 KIYOHARA Takashi
  * All rights reserved.
@@ -25,7 +25,7 @@
  * POSSIBILITY OF SUCH DAMAGE.
  */
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: gxiic.c,v 1.11 2021/08/07 16:18:49 thorpej Exp $");
+__KERNEL_RCSID(0, "$NetBSD: gxiic.c,v 1.12 2022/06/18 22:11:00 andvar Exp $");
 
 #include <sys/param.h>
 #include <sys/device.h>
@@ -50,7 +50,7 @@ struct gxiic_softc {
 static int gxiicmatch(device_t, cfdata_t, void *);
 static void gxiicattach(device_t, device_t, void *);
 
-/* fuctions for i2c_controller */
+/* functions for i2c_controller */
 static int gxiic_acquire_bus(void *, int);
 static void gxiic_release_bus(void *, int);
 static int gxiic_exec(void *cookie, i2c_op_t, i2c_addr_t, const void *, size_t,

Index: src/sys/arch/hpcarm/dev/nbpiic.c
diff -u src/sys/arch/hpcarm/dev/nbpiic.c:1.5 src/sys/arch/hpcarm/dev/nbpiic.c:1.6
--- src/sys/arch/hpcarm/dev/nbpiic.c:1.5	Sat Aug  7 16:18:53 2021
+++ src/sys/arch/hpcarm/dev/nbpiic.c	Sat Jun 18 22:11:00 2022
@@ -1,4 +1,4 @@
-/*	$NetBSD: nbpiic.c,v 1.5 2021/08/07 16:18:53 thorpej Exp $ */
+/*	$NetBSD: nbpiic.c,v 1.6 2022/06/18 22:11:00 andvar Exp $ */
 /*
  * Copyright (c) 2011 KIYOHARA Takashi
  * All rights reserved.
@@ -25,7 +25,7 @@
  * POSSIBILITY OF SUCH DAMAGE.
  */
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: nbpiic.c,v 1.5 2021/08/07 16:18:53 thorpej Exp $");
+__KERNEL_RCSID(0, "$NetBSD: nbpiic.c,v 1.6 2022/06/18 22:11:00 andvar Exp $");
 
 #include <sys/param.h>
 #include <sys/device.h>
@@ -63,7 +63,7 @@ static void pxaiic_attach(device_t, devi
 static int nbpiic_intr(void *);
 int nbpiic_poll(void *, int, char *);
 
-/* fuctions for i2c_controller */
+/* functions for i2c_controller */
 static int nbpiic_exec(void *cookie, i2c_op_t, i2c_addr_t, const void *, size_t,
     void *, size_t, int);
 

Index: src/sys/arch/i386/eisa/eisa_machdep.c
diff -u src/sys/arch/i386/eisa/eisa_machdep.c:1.40 src/sys/arch/i386/eisa/eisa_machdep.c:1.41
--- src/sys/arch/i386/eisa/eisa_machdep.c:1.40	Mon Apr 27 08:30:10 2015
+++ src/sys/arch/i386/eisa/eisa_machdep.c	Sat Jun 18 22:11:00 2022
@@ -1,4 +1,4 @@
-/*	$NetBSD: eisa_machdep.c,v 1.40 2015/04/27 08:30:10 knakahara Exp $	*/
+/*	$NetBSD: eisa_machdep.c,v 1.41 2022/06/18 22:11:00 andvar Exp $	*/
 
 /*-
  * Copyright (c) 1997, 1998 The NetBSD Foundation, Inc.
@@ -65,7 +65,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: eisa_machdep.c,v 1.40 2015/04/27 08:30:10 knakahara Exp $");
+__KERNEL_RCSID(0, "$NetBSD: eisa_machdep.c,v 1.41 2022/06/18 22:11:00 andvar Exp $");
 
 #include "ioapic.h"
 
@@ -90,7 +90,7 @@ __KERNEL_RCSID(0, "$NetBSD: eisa_machdep
 
 /*
  * EISA doesn't have any special needs; just use the generic versions
- * of these funcions.
+ * of these functions.
  *
  * XXX really doesn't use bounce buffers? --dyoung
  */

Index: src/sys/arch/mips/alchemy/dev/ausmbus_psc.c
diff -u src/sys/arch/mips/alchemy/dev/ausmbus_psc.c:1.15 src/sys/arch/mips/alchemy/dev/ausmbus_psc.c:1.16
--- src/sys/arch/mips/alchemy/dev/ausmbus_psc.c:1.15	Sat Aug  7 16:18:58 2021
+++ src/sys/arch/mips/alchemy/dev/ausmbus_psc.c	Sat Jun 18 22:11:00 2022
@@ -1,4 +1,4 @@
-/* $NetBSD: ausmbus_psc.c,v 1.15 2021/08/07 16:18:58 thorpej Exp $ */
+/* $NetBSD: ausmbus_psc.c,v 1.16 2022/06/18 22:11:00 andvar Exp $ */
 
 /*-
  * Copyright (c) 2006 Shigeyuki Fukushima.
@@ -33,7 +33,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: ausmbus_psc.c,v 1.15 2021/08/07 16:18:58 thorpej Exp $");
+__KERNEL_RCSID(0, "$NetBSD: ausmbus_psc.c,v 1.16 2022/06/18 22:11:00 andvar Exp $");
 
 #include "locators.h"
 
@@ -77,7 +77,7 @@ static void	ausmbus_attach(device_t, dev
 CFATTACH_DECL_NEW(ausmbus, sizeof(struct ausmbus_softc),
 	ausmbus_match, ausmbus_attach, NULL, NULL);
 
-/* fuctions for i2c_controller */
+/* functions for i2c_controller */
 static int	ausmbus_acquire_bus(void *, int);
 static void	ausmbus_release_bus(void *, int);
 static int	ausmbus_exec(void *cookie, i2c_op_t op, i2c_addr_t addr,

Index: src/sys/arch/prep/eisa/eisa_machdep.c
diff -u src/sys/arch/prep/eisa/eisa_machdep.c:1.5 src/sys/arch/prep/eisa/eisa_machdep.c:1.6
--- src/sys/arch/prep/eisa/eisa_machdep.c:1.5	Sat Mar 29 19:28:29 2014
+++ src/sys/arch/prep/eisa/eisa_machdep.c	Sat Jun 18 22:11:00 2022
@@ -1,4 +1,4 @@
-/*	$NetBSD: eisa_machdep.c,v 1.5 2014/03/29 19:28:29 christos Exp $	*/
+/*	$NetBSD: eisa_machdep.c,v 1.6 2022/06/18 22:11:00 andvar Exp $	*/
 
 /*-
  * Copyright (c) 1997, 1998 The NetBSD Foundation, Inc.
@@ -65,7 +65,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: eisa_machdep.c,v 1.5 2014/03/29 19:28:29 christos Exp $");
+__KERNEL_RCSID(0, "$NetBSD: eisa_machdep.c,v 1.6 2022/06/18 22:11:00 andvar Exp $");
 
 #include <sys/types.h>
 #include <sys/param.h>
@@ -86,7 +86,7 @@ __KERNEL_RCSID(0, "$NetBSD: eisa_machdep
 
 /*
  * EISA doesn't have any special needs; just use the generic versions
- * of these funcions.
+ * of these functions.
  */
 struct powerpc_bus_dma_tag eisa_bus_dma_tag = {
 	0,			/* _bounce_thresh */

Index: src/sys/arch/x86/include/pmap.h
diff -u src/sys/arch/x86/include/pmap.h:1.127 src/sys/arch/x86/include/pmap.h:1.128
--- src/sys/arch/x86/include/pmap.h:1.127	Fri Apr 30 13:54:26 2021
+++ src/sys/arch/x86/include/pmap.h	Sat Jun 18 22:11:01 2022
@@ -1,4 +1,4 @@
-/*	$NetBSD: pmap.h,v 1.127 2021/04/30 13:54:26 christos Exp $	*/
+/*	$NetBSD: pmap.h,v 1.128 2022/06/18 22:11:01 andvar Exp $	*/
 
 /*
  * Copyright (c) 1997 Charles D. Cranor and Washington University.
@@ -542,7 +542,7 @@ void	pmap_cpu_init_late(struct cpu_info 
 /* Selects the index of a PTE in (A)PTE_BASE */
 #define XPTE_SHIFT	(L1_SHIFT - ilog2(sizeof(pt_entry_t)))
 
-/* PTE access inline fuctions */
+/* PTE access inline functions */
 
 /*
  * Get the machine address of the pointed pte

Index: src/sys/dev/pci/virtio.c
diff -u src/sys/dev/pci/virtio.c:1.54 src/sys/dev/pci/virtio.c:1.55
--- src/sys/dev/pci/virtio.c:1.54	Sun Apr 24 11:51:09 2022
+++ src/sys/dev/pci/virtio.c	Sat Jun 18 22:11:01 2022
@@ -1,4 +1,4 @@
-/*	$NetBSD: virtio.c,v 1.54 2022/04/24 11:51:09 uwe Exp $	*/
+/*	$NetBSD: virtio.c,v 1.55 2022/06/18 22:11:01 andvar Exp $	*/
 
 /*
  * Copyright (c) 2020 The NetBSD Foundation, Inc.
@@ -28,7 +28,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: virtio.c,v 1.54 2022/04/24 11:51:09 uwe Exp $");
+__KERNEL_RCSID(0, "$NetBSD: virtio.c,v 1.55 2022/06/18 22:11:01 andvar Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -251,7 +251,7 @@ virtio_read_device_config_8(struct virti
 /*
  * In the older virtio spec, device config registers are host endian. On newer
  * they are little endian. Some newer devices however explicitly specify their
- * register to always be little endian. These fuctions cater for these.
+ * register to always be little endian. These functions cater for these.
  */
 uint16_t
 virtio_read_device_config_le_2(struct virtio_softc *sc, int index) {
@@ -356,7 +356,7 @@ virtio_write_device_config_8(struct virt
 /*
  * In the older virtio spec, device config registers are host endian. On newer
  * they are little endian. Some newer devices however explicitly specify their
- * register to always be little endian. These fuctions cater for these.
+ * register to always be little endian. These functions cater for these.
  */
 void
 virtio_write_device_config_le_2(struct virtio_softc *sc, int index, uint16_t value)

Index: src/sys/kern/init_main.c
diff -u src/sys/kern/init_main.c:1.538 src/sys/kern/init_main.c:1.539
--- src/sys/kern/init_main.c:1.538	Sat Mar 19 13:51:35 2022
+++ src/sys/kern/init_main.c	Sat Jun 18 22:11:01 2022
@@ -1,4 +1,4 @@
-/*	$NetBSD: init_main.c,v 1.538 2022/03/19 13:51:35 hannken Exp $	*/
+/*	$NetBSD: init_main.c,v 1.539 2022/06/18 22:11:01 andvar Exp $	*/
 
 /*-
  * Copyright (c) 2008, 2009, 2019 The NetBSD Foundation, Inc.
@@ -97,7 +97,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: init_main.c,v 1.538 2022/03/19 13:51:35 hannken Exp $");
+__KERNEL_RCSID(0, "$NetBSD: init_main.c,v 1.539 2022/06/18 22:11:01 andvar Exp $");
 
 #include "opt_cnmagic.h"
 #include "opt_ddb.h"
@@ -762,7 +762,7 @@ configure(void)
 	/*
 	 * XXX
 	 * callout_setfunc() requires mutex(9) so it can't be in config_init()
-	 * on amiga and atari which use config_init() and autoconf(9) fucntions
+	 * on amiga and atari which use config_init() and autoconf(9) functions
 	 * to initialize console devices.
 	 */
 	config_twiddle_init();

Reply via email to