Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src s/caled/called/ in comments and man page, also few more fixes.



details:   https://anonhg.NetBSD.org/src/rev/35deeca0ba30
branches:  trunk
changeset: 366773:35deeca0ba30
user:      andvar <andvar%NetBSD.org@localhost>
date:      Mon Jun 13 17:26:34 2022 +0000

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

diffstat:

 share/man/man4/man4.hppa/gsckbc.4         |  4 ++--
 sys/arch/evbarm/mini2440/mini2440_start.S |  2 +-
 sys/arch/hppa/gsc/gsckbc.c                |  8 ++++----
 3 files changed, 7 insertions(+), 7 deletions(-)

diffs (66 lines):

diff -r 609d7461c011 -r 35deeca0ba30 share/man/man4/man4.hppa/gsckbc.4
--- a/share/man/man4/man4.hppa/gsckbc.4 Mon Jun 13 16:03:07 2022 +0000
+++ b/share/man/man4/man4.hppa/gsckbc.4 Mon Jun 13 17:26:34 2022 +0000
@@ -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 @@
 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,
diff -r 609d7461c011 -r 35deeca0ba30 sys/arch/evbarm/mini2440/mini2440_start.S
--- a/sys/arch/evbarm/mini2440/mini2440_start.S Mon Jun 13 16:03:07 2022 +0000
+++ b/sys/arch/evbarm/mini2440/mini2440_start.S Mon Jun 13 17:26:34 2022 +0000
@@ -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
diff -r 609d7461c011 -r 35deeca0ba30 sys/arch/hppa/gsc/gsckbc.c
--- a/sys/arch/hppa/gsc/gsckbc.c        Mon Jun 13 16:03:07 2022 +0000
+++ b/sys/arch/hppa/gsc/gsckbc.c        Mon Jun 13 17:26:34 2022 +0000
@@ -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 @@
        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 @@
         * 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.
         */



Home | Main Index | Thread Index | Old Index