Module Name:    src
Committed By:   andvar
Date:           Tue May 17 05:05:20 UTC 2022

Modified Files:
        src/sys/arch/powerpc/pci: pcib.c
        src/sys/dev/spi: spi.c
        src/sys/dev/usb: udl.c
        src/tests/dev/audio: audiotest.c

Log Message:
fix few typos in comments.


To generate a diff of this commit:
cvs rdiff -u -r1.10 -r1.11 src/sys/arch/powerpc/pci/pcib.c
cvs rdiff -u -r1.25 -r1.26 src/sys/dev/spi/spi.c
cvs rdiff -u -r1.27 -r1.28 src/sys/dev/usb/udl.c
cvs rdiff -u -r1.19 -r1.20 src/tests/dev/audio/audiotest.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/powerpc/pci/pcib.c
diff -u src/sys/arch/powerpc/pci/pcib.c:1.10 src/sys/arch/powerpc/pci/pcib.c:1.11
--- src/sys/arch/powerpc/pci/pcib.c:1.10	Sat Aug  7 16:19:03 2021
+++ src/sys/arch/powerpc/pci/pcib.c	Tue May 17 05:05:20 2022
@@ -1,4 +1,4 @@
-/*	$NetBSD: pcib.c,v 1.10 2021/08/07 16:19:03 thorpej Exp $	*/
+/*	$NetBSD: pcib.c,v 1.11 2022/05/17 05:05:20 andvar Exp $	*/
 
 /*-
  * Copyright (c) 1996, 1998 The NetBSD Foundation, Inc.
@@ -30,7 +30,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: pcib.c,v 1.10 2021/08/07 16:19:03 thorpej Exp $");
+__KERNEL_RCSID(0, "$NetBSD: pcib.c,v 1.11 2022/05/17 05:05:20 andvar Exp $");
 
 #include "isa.h"
 #include "isadma.h"
@@ -151,7 +151,7 @@ pcibattach(device_t parent, device_t sel
 	 * us that the interrupt is MPIC 0, which is the bridge intr for
 	 * the 8259.
 	 * Additionally, sometimes the PCI Interrupt Routing Control Register
-	 * is improperly initialized, causing all sorts of wierd interrupt
+	 * is improperly initialized, causing all sorts of weird interrupt
 	 * issues on the machine.  The manual says it should default to
 	 * 0000h (index 45-44h) however it would appear that PPCBUG is
 	 * setting it up differently.  Reset it to 0000h.

Index: src/sys/dev/spi/spi.c
diff -u src/sys/dev/spi/spi.c:1.25 src/sys/dev/spi/spi.c:1.26
--- src/sys/dev/spi/spi.c:1.25	Sun May  8 06:38:58 2022
+++ src/sys/dev/spi/spi.c	Tue May 17 05:05:20 2022
@@ -1,4 +1,4 @@
-/* $NetBSD: spi.c,v 1.25 2022/05/08 06:38:58 skrll Exp $ */
+/* $NetBSD: spi.c,v 1.26 2022/05/17 05:05:20 andvar Exp $ */
 
 /*-
  * Copyright (c) 2006 Urbana-Champaign Independent Media Center.
@@ -42,7 +42,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: spi.c,v 1.25 2022/05/08 06:38:58 skrll Exp $");
+__KERNEL_RCSID(0, "$NetBSD: spi.c,v 1.26 2022/05/17 05:05:20 andvar Exp $");
 
 #include "locators.h"
 
@@ -615,7 +615,7 @@ spi_done(struct spi_transfer *st, int er
  *
  * spi_send_recv - sends data to the bus, and then receives.  Note that this is
  * done synchronously, i.e. send a command and get the response.  This is
- * not full duplex.  If you wnat full duplex, you can't use these convenience
+ * not full duplex.  If you want full duplex, you can't use these convenience
  * wrappers.
  */
 int

Index: src/sys/dev/usb/udl.c
diff -u src/sys/dev/usb/udl.c:1.27 src/sys/dev/usb/udl.c:1.28
--- src/sys/dev/usb/udl.c:1.27	Sat Aug  7 16:19:17 2021
+++ src/sys/dev/usb/udl.c	Tue May 17 05:05:20 2022
@@ -1,4 +1,4 @@
-/*	$NetBSD: udl.c,v 1.27 2021/08/07 16:19:17 thorpej Exp $	*/
+/*	$NetBSD: udl.c,v 1.28 2022/05/17 05:05:20 andvar Exp $	*/
 
 /*-
  * Copyright (c) 2009 FUKAUMI Naoki.
@@ -53,7 +53,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: udl.c,v 1.27 2021/08/07 16:19:17 thorpej Exp $");
+__KERNEL_RCSID(0, "$NetBSD: udl.c,v 1.28 2022/05/17 05:05:20 andvar Exp $");
 
 #ifdef _KERNEL_OPT
 #include "opt_usb.h"
@@ -1020,7 +1020,7 @@ udl_putchar(void *cookie, int row, int c
 
 	if (uc == ' ') {
 		/*
-		 * Writting a block for the space character instead rendering
+		 * Writing a block for the space character instead rendering
 		 * it from font bits is more slim.
 		 */
 		udl_fill_rect(sc, rgb16[0], x, y, width, height);

Index: src/tests/dev/audio/audiotest.c
diff -u src/tests/dev/audio/audiotest.c:1.19 src/tests/dev/audio/audiotest.c:1.20
--- src/tests/dev/audio/audiotest.c:1.19	Sat Apr 23 07:47:42 2022
+++ src/tests/dev/audio/audiotest.c	Tue May 17 05:05:20 2022
@@ -1,4 +1,4 @@
-/*	$NetBSD: audiotest.c,v 1.19 2022/04/23 07:47:42 isaki Exp $	*/
+/*	$NetBSD: audiotest.c,v 1.20 2022/05/17 05:05:20 andvar Exp $	*/
 
 /*
  * Copyright (C) 2019 Tetsuya Isaki. All rights reserved.
@@ -26,7 +26,7 @@
  */
 
 #include <sys/cdefs.h>
-__RCSID("$NetBSD: audiotest.c,v 1.19 2022/04/23 07:47:42 isaki Exp $");
+__RCSID("$NetBSD: audiotest.c,v 1.20 2022/05/17 05:05:20 andvar Exp $");
 
 #include <errno.h>
 #include <fcntl.h>
@@ -3121,7 +3121,7 @@ DEF(poll_out_hiwat)
 
 /*
  * Unpause from buffer full, POLLOUT should raise.
- * XXX poll(2) on NetBSD7 is really incomplete and wierd.  I don't test it.
+ * XXX poll(2) on NetBSD7 is really incomplete and weird.  I don't test it.
  */
 DEF(poll_out_unpause)
 {

Reply via email to