Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/sparc/dev s/establised/established/ in struct varia...



details:   https://anonhg.NetBSD.org/src/rev/8b766013ee17
branches:  trunk
changeset: 1026653:8b766013ee17
user:      andvar <andvar%NetBSD.org@localhost>
date:      Sat Dec 04 13:34:35 2021 +0000

description:
s/establised/established/ in struct variable name. Also fixed typos in comments.

diffstat:

 sys/arch/sparc/dev/pckbc_js.c |  14 +++++++-------
 1 files changed, 7 insertions(+), 7 deletions(-)

diffs (63 lines):

diff -r d0cd307089ef -r 8b766013ee17 sys/arch/sparc/dev/pckbc_js.c
--- a/sys/arch/sparc/dev/pckbc_js.c     Sat Dec 04 13:23:03 2021 +0000
+++ b/sys/arch/sparc/dev/pckbc_js.c     Sat Dec 04 13:34:35 2021 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: pckbc_js.c,v 1.20 2020/11/22 03:55:33 thorpej Exp $ */
+/*     $NetBSD: pckbc_js.c,v 1.21 2021/12/04 13:34:35 andvar Exp $ */
 
 /*
  * Copyright (c) 2002 Valeriy E. Ushakov
@@ -28,7 +28,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: pckbc_js.c,v 1.20 2020/11/22 03:55:33 thorpej Exp $");
+__KERNEL_RCSID(0, "$NetBSD: pckbc_js.c,v 1.21 2021/12/04 13:34:35 andvar Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -52,7 +52,7 @@
 
        /* kbd and mouse share interrupt in both mr.coffee and krups */
        uint32_t jsc_intr;
-       int jsc_establised;
+       int jsc_established;
        void *jsc_int_cookie;
 };
 
@@ -165,7 +165,7 @@
 
        jsc->jsc_pckbc.intr_establish = pckbc_js_intr_establish;
        jsc->jsc_intr = intr;
-       jsc->jsc_establised = 0;
+       jsc->jsc_established = 0;
 
        if (isconsole) {
                int status;
@@ -238,7 +238,7 @@
        struct pckbc_js_softc *jsc = (struct pckbc_js_softc *)sc;
        void *res;
 
-       if (jsc->jsc_establised) {
+       if (jsc->jsc_established) {
 #ifdef DEBUG
                aprint_verbose_dev(sc->sc_dv,
                    "%s slot shares interrupt (already established)\n",
@@ -248,7 +248,7 @@
        }
 
        /*
-        * We can not choose the devic class interruptlevel freely,
+        * We can not choose the device class interrupt level freely,
         * so we debounce via a softinterrupt.
         */
        jsc->jsc_int_cookie = softint_establish(SOFTINT_SERIAL,
@@ -266,7 +266,7 @@
                    "unable to establish %s slot interrupt\n",
                    pckbc_slot_names[slot]);
        else
-               jsc->jsc_establised = 1;
+               jsc->jsc_established = 1;
 }
 
 static int



Home | Main Index | Thread Index | Old Index