Module Name:    src
Committed By:   andvar
Date:           Mon Jun 13 17:26:34 UTC 2022

Modified Files:
        src/share/man/man4/man4.hppa: gsckbc.4
        src/sys/arch/evbarm/mini2440: mini2440_start.S
        src/sys/arch/hppa/gsc: gsckbc.c

Log Message:
s/caled/called/ in comments and man page, also few more fixes.


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/share/man/man4/man4.hppa/gsckbc.4
cvs rdiff -u -r1.1 -r1.2 src/sys/arch/evbarm/mini2440/mini2440_start.S
cvs rdiff -u -r1.2 -r1.3 src/sys/arch/hppa/gsc/gsckbc.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/share/man/man4/man4.hppa/gsckbc.4
diff -u src/share/man/man4/man4.hppa/gsckbc.4:1.2 src/share/man/man4/man4.hppa/gsckbc.4:1.3
--- src/share/man/man4/man4.hppa/gsckbc.4:1.2	Fri Feb 17 22:24:46 2017
+++ src/share/man/man4/man4.hppa/gsckbc.4	Mon Jun 13 17:26:34 2022
@@ -1,4 +1,4 @@
-.\"	$NetBSD: gsckbc.4,v 1.2 2017/02/17 22:24:46 christos Exp $
+.\"	$NetBSD: gsckbc.4,v 1.3 2022/06/13 17:26:34 andvar Exp $
 .\"
 .\" Copyright (c) 2002 Jochen Kunz.
 .\" All rights reserved.
@@ -70,7 +70,7 @@ Actually the two PS/2 ports are a single
 The firmware lists them as individual devices in the firmware device tree.
 This illusion is kept to map the firmware device tree as close as possible
 to the kernel device tree.
-The first device is caled master, gets the interrupt and the other is the
+The first device is called master, gets the interrupt and the other is the
 slave.
 Assumption: Master attaches first, gets the interrupt and has lower HPA.
 So it is important that the master device, usually the keyboard port,

Index: src/sys/arch/evbarm/mini2440/mini2440_start.S
diff -u src/sys/arch/evbarm/mini2440/mini2440_start.S:1.1 src/sys/arch/evbarm/mini2440/mini2440_start.S:1.2
--- src/sys/arch/evbarm/mini2440/mini2440_start.S:1.1	Mon Jan 30 03:28:34 2012
+++ src/sys/arch/evbarm/mini2440/mini2440_start.S	Mon Jun 13 17:26:34 2022
@@ -76,7 +76,7 @@
 
 	.global	_C_LABEL(mini2440_start)
 _C_LABEL(mini2440_start):
-	/* r0 (argument 0) remains unchanged until initarm is caled() */
+	/* r0 (argument 0) remains unchanged until initarm() is called */
 	
 	/* Jump to kernel code in TRUE VA */
 	adr	r1, Lstart

Index: src/sys/arch/hppa/gsc/gsckbc.c
diff -u src/sys/arch/hppa/gsc/gsckbc.c:1.2 src/sys/arch/hppa/gsc/gsckbc.c:1.3
--- src/sys/arch/hppa/gsc/gsckbc.c:1.2	Mon May 23 21:46:12 2022
+++ src/sys/arch/hppa/gsc/gsckbc.c	Mon Jun 13 17:26:34 2022
@@ -1,4 +1,4 @@
-/* $NetBSD: gsckbc.c,v 1.2 2022/05/23 21:46:12 andvar Exp $ */
+/* $NetBSD: gsckbc.c,v 1.3 2022/06/13 17:26:34 andvar Exp $ */
 /*
  * Copyright (c) 2004 Jochen Kunz.
  * All rights reserved.
@@ -33,7 +33,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: gsckbc.c,v 1.2 2022/05/23 21:46:12 andvar Exp $");
+__KERNEL_RCSID(0, "$NetBSD: gsckbc.c,v 1.3 2022/06/13 17:26:34 andvar Exp $");
 
 /* autoconfig and device stuff */
 #include <sys/param.h>
@@ -246,7 +246,7 @@ gsckbc_attach(device_t parent, device_t 
 	int i;
 
 	/*
-	 * On hppa bus_space_map(9) mapes whole pages. (surprise, surprise)
+	 * On hppa bus_space_map(9) maps whole pages. (surprise, surprise)
 	 * The registers are within the same page so we can do only a single
 	 * mapping for both devices. Also both devices use the same IRQ.
 	 * Actually you can think of the two PS/2 ports to be a single
@@ -254,7 +254,7 @@ gsckbc_attach(device_t parent, device_t 
 	 * firmware device tree so we keep this illusion to map the firmware
 	 * device tree as close as possible to the kernel device tree.
 	 * So we do one mapping and IRQ for both devices. The first device
-	 * is caled "master", gets the IRQ and the other is the "slave".
+	 * is called "master", gets the IRQ and the other is the "slave".
 	 *
 	 * Assumption: Master attaches first, gets the IRQ and has lower HPA.
 	 */

Reply via email to