Module Name: src Committed By: andvar Date: Wed Feb 9 22:30:27 UTC 2022
Modified Files: src/sys/arch/macppc/dev: pm_direct.c src/sys/arch/mvme68k/dev: sbic.c src/sys/compat/ultrix: ultrix_ioctl.c src/sys/dev/ic: wd33c93.c Log Message: fix various typos in comments. To generate a diff of this commit: cvs rdiff -u -r1.37 -r1.38 src/sys/arch/macppc/dev/pm_direct.c cvs rdiff -u -r1.35 -r1.36 src/sys/arch/mvme68k/dev/sbic.c cvs rdiff -u -r1.39 -r1.40 src/sys/compat/ultrix/ultrix_ioctl.c cvs rdiff -u -r1.31 -r1.32 src/sys/dev/ic/wd33c93.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/macppc/dev/pm_direct.c diff -u src/sys/arch/macppc/dev/pm_direct.c:1.37 src/sys/arch/macppc/dev/pm_direct.c:1.38 --- src/sys/arch/macppc/dev/pm_direct.c:1.37 Wed Mar 18 10:22:32 2009 +++ src/sys/arch/macppc/dev/pm_direct.c Wed Feb 9 22:30:26 2022 @@ -1,4 +1,4 @@ -/* $NetBSD: pm_direct.c,v 1.37 2009/03/18 10:22:32 cegger Exp $ */ +/* $NetBSD: pm_direct.c,v 1.38 2022/02/09 22:30:26 andvar Exp $ */ /* * Copyright (C) 1997 Takashi Hamada @@ -38,7 +38,7 @@ */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: pm_direct.c,v 1.37 2009/03/18 10:22:32 cegger Exp $"); +__KERNEL_RCSID(0, "$NetBSD: pm_direct.c,v 1.38 2022/02/09 22:30:26 andvar Exp $"); #ifdef DEBUG #ifndef ADB_DEBUG @@ -575,7 +575,7 @@ pm_intr(void *arg) s = splhigh(); PM_VIA_CLR_INTR(); /* clear VIA1 interrupt */ - /* ask PM what happend */ + /* ask PM what happened */ pmdata.command = PMU_INT_ACK; pmdata.num_data = 0; pmdata.s_buf = &pmdata.data[2]; Index: src/sys/arch/mvme68k/dev/sbic.c diff -u src/sys/arch/mvme68k/dev/sbic.c:1.35 src/sys/arch/mvme68k/dev/sbic.c:1.36 --- src/sys/arch/mvme68k/dev/sbic.c:1.35 Thu Mar 8 03:12:02 2018 +++ src/sys/arch/mvme68k/dev/sbic.c Wed Feb 9 22:30:26 2022 @@ -1,4 +1,4 @@ -/* $NetBSD: sbic.c,v 1.35 2018/03/08 03:12:02 mrg Exp $ */ +/* $NetBSD: sbic.c,v 1.36 2022/02/09 22:30:26 andvar Exp $ */ /* * Copyright (c) 1990 The Regents of the University of California. @@ -86,7 +86,7 @@ */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: sbic.c,v 1.35 2018/03/08 03:12:02 mrg Exp $"); +__KERNEL_RCSID(0, "$NetBSD: sbic.c,v 1.36 2022/02/09 22:30:26 andvar Exp $"); #include "opt_ddb.h" @@ -1061,7 +1061,7 @@ sbicselectbus(struct sbic_softc *dev) * We only really need to do anything when the target goes to MSG out * If the device ignored ATN, it's probably old and brain-dead, * but we'll try to support it anyhow. - * If it doesn't support message out, it definately doesn't + * If it doesn't support message out, it definitely doesn't * support synchronous transfers, so no point in even asking... */ if (csr == (SBIC_CSR_MIS_2 | MESG_OUT_PHASE)) { @@ -2368,7 +2368,7 @@ sbicnextstate(struct sbic_softc *dev, u_ } /* - * If we didn't get an interrupt, somethink's up + * If we didn't get an interrupt, something's up */ if ((asr & SBIC_ASR_INT) == 0) { printf("%s: Reselect without identify?" Index: src/sys/compat/ultrix/ultrix_ioctl.c diff -u src/sys/compat/ultrix/ultrix_ioctl.c:1.39 src/sys/compat/ultrix/ultrix_ioctl.c:1.40 --- src/sys/compat/ultrix/ultrix_ioctl.c:1.39 Tue Sep 7 11:43:05 2021 +++ src/sys/compat/ultrix/ultrix_ioctl.c Wed Feb 9 22:30:27 2022 @@ -1,4 +1,4 @@ -/* $NetBSD: ultrix_ioctl.c,v 1.39 2021/09/07 11:43:05 riastradh Exp $ */ +/* $NetBSD: ultrix_ioctl.c,v 1.40 2022/02/09 22:30:27 andvar Exp $ */ /* from : NetBSD: sunos_ioctl.c,v 1.21 1995/10/07 06:27:31 mycroft Exp */ /* @@ -28,7 +28,7 @@ */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: ultrix_ioctl.c,v 1.39 2021/09/07 11:43:05 riastradh Exp $"); +__KERNEL_RCSID(0, "$NetBSD: ultrix_ioctl.c,v 1.40 2022/02/09 22:30:27 andvar Exp $"); #if defined(_KERNEL_OPT) #include "opt_compat_ultrix.h" @@ -135,7 +135,7 @@ static void stio2stios(struct emul_termi * * I don't know what optimizer you used, but seeing divu's and * bfextu's in the m68k assembly output did not encourage me... - * as well, gcc on the sparc definately generates much better + * as well, gcc on the sparc definitely generates much better * code with ?:. */ Index: src/sys/dev/ic/wd33c93.c diff -u src/sys/dev/ic/wd33c93.c:1.31 src/sys/dev/ic/wd33c93.c:1.32 --- src/sys/dev/ic/wd33c93.c:1.31 Sat Aug 21 11:55:25 2021 +++ src/sys/dev/ic/wd33c93.c Wed Feb 9 22:30:27 2022 @@ -1,4 +1,4 @@ -/* $NetBSD: wd33c93.c,v 1.31 2021/08/21 11:55:25 andvar Exp $ */ +/* $NetBSD: wd33c93.c,v 1.32 2022/02/09 22:30:27 andvar Exp $ */ /* * Copyright (c) 1990 The Regents of the University of California. @@ -79,7 +79,7 @@ */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: wd33c93.c,v 1.31 2021/08/21 11:55:25 andvar Exp $"); +__KERNEL_RCSID(0, "$NetBSD: wd33c93.c,v 1.32 2022/02/09 22:30:27 andvar Exp $"); #include "opt_ddb.h" @@ -1084,12 +1084,12 @@ wd33c93_selectbus(struct wd33c93_softc * * We only really need to do anything when the target goes to MSG out * If the device ignored ATN, it's probably old and brain-dead, * but we'll try to support it anyhow. - * If it doesn't support message out, it definately doesn't + * If it doesn't support message out, it definitely doesn't * support synchronous transfers, so no point in even asking... */ if (csr == (SBIC_CSR_MIS_2 | MESG_OUT_PHASE)) { if (ti->flags & T_NEGOTIATE) { - /* Inititae a SDTR message */ + /* Initiate a SDTR message */ SBIC_DEBUG(SYNC, ("Sending SDTR to target %d\n", id)); if (ti->flags & T_WANTSYNC) { ti->period = sc->sc_minsyncperiod; @@ -2093,7 +2093,7 @@ wd33c93_nextstate(struct wd33c93_softc * DELAY(10); } - /* If we didn't get an interrupt, somethink's up */ + /* If we didn't get an interrupt, something's up */ if ((asr & SBIC_ASR_INT) == 0) { printf("%s: Reselect without identify? asr %x\n", device_xname(sc->sc_dev), asr);