Module Name: src Committed By: andvar Date: Wed May 18 13:56:32 UTC 2022
Modified Files: src/sys/arch/amiga/amiga: busfuncs.c src/sys/arch/i386/include: segments.h src/sys/arch/m68k/include: asm_single.h src/sys/arch/next68k/next68k: nextrom.h src/sys/arch/powerpc/powerpc: trap_subr.S src/sys/dev/tc: stic.c src/usr.sbin/btpand: btpand.c Log Message: fix typos in word "access" and it derivatives, mainly in comments. To generate a diff of this commit: cvs rdiff -u -r1.12 -r1.13 src/sys/arch/amiga/amiga/busfuncs.c cvs rdiff -u -r1.69 -r1.70 src/sys/arch/i386/include/segments.h cvs rdiff -u -r1.9 -r1.10 src/sys/arch/m68k/include/asm_single.h cvs rdiff -u -r1.11 -r1.12 src/sys/arch/next68k/next68k/nextrom.h cvs rdiff -u -r1.85 -r1.86 src/sys/arch/powerpc/powerpc/trap_subr.S cvs rdiff -u -r1.57 -r1.58 src/sys/dev/tc/stic.c cvs rdiff -u -r1.7 -r1.8 src/usr.sbin/btpand/btpand.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/amiga/amiga/busfuncs.c diff -u src/sys/arch/amiga/amiga/busfuncs.c:1.12 src/sys/arch/amiga/amiga/busfuncs.c:1.13 --- src/sys/arch/amiga/amiga/busfuncs.c:1.12 Tue Jul 19 15:55:26 2011 +++ src/sys/arch/amiga/amiga/busfuncs.c Wed May 18 13:56:31 2022 @@ -1,4 +1,4 @@ -/* $NetBSD: busfuncs.c,v 1.12 2011/07/19 15:55:26 dyoung Exp $ */ +/* $NetBSD: busfuncs.c,v 1.13 2022/05/18 13:56:31 andvar Exp $ */ /*- * Copyright (c) 1998 The NetBSD Foundation, Inc. @@ -30,7 +30,7 @@ */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: busfuncs.c,v 1.12 2011/07/19 15:55:26 dyoung Exp $"); +__KERNEL_RCSID(0, "$NetBSD: busfuncs.c,v 1.13 2022/05/18 13:56:31 andvar Exp $"); /* * Amiga bus access methods for data widths > 1 @@ -208,7 +208,7 @@ amiga_contiguous_copy_region_2(bus_space /* * Interleaved methods. - * These use single-byte acceses. In case of stride = 0, the contiguous + * These use single-byte accesses. In case of stride = 0, the contiguous * methods are preferred, as they only create word accesses. */ Index: src/sys/arch/i386/include/segments.h diff -u src/sys/arch/i386/include/segments.h:1.69 src/sys/arch/i386/include/segments.h:1.70 --- src/sys/arch/i386/include/segments.h:1.69 Tue Jul 14 00:45:53 2020 +++ src/sys/arch/i386/include/segments.h Wed May 18 13:56:32 2022 @@ -1,4 +1,4 @@ -/* $NetBSD: segments.h,v 1.69 2020/07/14 00:45:53 yamaguchi Exp $ */ +/* $NetBSD: segments.h,v 1.70 2022/05/18 13:56:32 andvar Exp $ */ /*- * Copyright (c) 1990 The Regents of the University of California. @@ -247,7 +247,7 @@ struct idt_vec* idt_vec_ref(struct idt_v #define SDT_MEMROD 20 /* memory read only expand dwn limit */ #define SDT_MEMRODA 21 /* memory read only expand dwn limit accessed */ #define SDT_MEMRWD 22 /* memory read write expand dwn limit */ -#define SDT_MEMRWDA 23 /* memory read write expand dwn limit acessed */ +#define SDT_MEMRWDA 23 /* memory read write expand dwn limit accessed */ #define SDT_MEME 24 /* memory execute only */ #define SDT_MEMEA 25 /* memory execute only accessed */ #define SDT_MEMER 26 /* memory execute read */ Index: src/sys/arch/m68k/include/asm_single.h diff -u src/sys/arch/m68k/include/asm_single.h:1.9 src/sys/arch/m68k/include/asm_single.h:1.10 --- src/sys/arch/m68k/include/asm_single.h:1.9 Tue Oct 20 19:10:12 2009 +++ src/sys/arch/m68k/include/asm_single.h Wed May 18 13:56:32 2022 @@ -1,4 +1,4 @@ -/* $NetBSD: asm_single.h,v 1.9 2009/10/20 19:10:12 snj Exp $ */ +/* $NetBSD: asm_single.h,v 1.10 2022/05/18 13:56:32 andvar Exp $ */ /* * Copyright (c) 1996 Leo Weppelman. @@ -30,7 +30,7 @@ /* * Provide bit manipulation macro's that resolve to a single instruction. * These can be considered atomic on single processor architectures when - * no page faults can occur when acessing <var>. + * no page faults can occur when accessing <var>. * There primary use is to avoid race conditions when manipulating device * registers. */ Index: src/sys/arch/next68k/next68k/nextrom.h diff -u src/sys/arch/next68k/next68k/nextrom.h:1.11 src/sys/arch/next68k/next68k/nextrom.h:1.12 --- src/sys/arch/next68k/next68k/nextrom.h:1.11 Sun Dec 18 04:29:32 2011 +++ src/sys/arch/next68k/next68k/nextrom.h Wed May 18 13:56:32 2022 @@ -1,4 +1,4 @@ -/* $NetBSD: nextrom.h,v 1.11 2011/12/18 04:29:32 tsutsui Exp $ */ +/* $NetBSD: nextrom.h,v 1.12 2022/05/18 13:56:32 andvar Exp $ */ /* * Copyright (c) 1998 Darrin B. Jewell * All rights reserved. @@ -135,7 +135,7 @@ #define NADDR 8 struct mon_global { - char mg_simm[N_SIMM]; /* MUST BE FIRST (accesed early by locore) */ + char mg_simm[N_SIMM]; /* MUST BE FIRST (accessed early by locore) */ char mg_flags; /* MUST BE SECOND */ #define MGF_LOGINWINDOW 0x80 #define MGF_UART_SETUP 0x40 Index: src/sys/arch/powerpc/powerpc/trap_subr.S diff -u src/sys/arch/powerpc/powerpc/trap_subr.S:1.85 src/sys/arch/powerpc/powerpc/trap_subr.S:1.86 --- src/sys/arch/powerpc/powerpc/trap_subr.S:1.85 Wed Feb 24 16:42:38 2021 +++ src/sys/arch/powerpc/powerpc/trap_subr.S Wed May 18 13:56:32 2022 @@ -1,4 +1,4 @@ -/* $NetBSD: trap_subr.S,v 1.85 2021/02/24 16:42:38 thorpej Exp $ */ +/* $NetBSD: trap_subr.S,v 1.86 2022/05/18 13:56:32 andvar Exp $ */ /* * Copyright (C) 1995, 1996 Wolfgang Solfrank. @@ -767,7 +767,7 @@ _C_LABEL(ddbsize) = .-_C_LABEL(ddblow) streg %r30,(savearea+CPUSAVE_SRR1)(%r31); /* save SRR1 */ \ mfmsr %r30; \ ori %r30,%r30,(PSL_DR|PSL_IR); /* turn on relocation */ \ - mtmsr %r30; /* stack can be accesed now */ \ + mtmsr %r30; /* stack can be accessed now */ \ isync; \ mfsprg1 %r31; /* get saved SP */ \ stregu %r31,-FRAMELEN(%r1); /* save it in the callframe */ \ @@ -1079,7 +1079,7 @@ _C_LABEL(sctrapexit): streg %r30,(savearea+CPUSAVE_SRR1)(%r31); /* save SRR1 */ \ mfmsr %r30; \ ori %r30,%r30,(PSL_DR|PSL_IR); /* turn on relocation */ \ - mtmsr %r30; /* stack can be accesed now */ \ + mtmsr %r30; /* stack can be accessed now */ \ isync; \ mfsprg1 %r31; /* get saved SP */ \ stregu %r31,-FRAMELEN(%r1); /* save it in the callframe */ \ Index: src/sys/dev/tc/stic.c diff -u src/sys/dev/tc/stic.c:1.57 src/sys/dev/tc/stic.c:1.58 --- src/sys/dev/tc/stic.c:1.57 Tue Aug 17 22:00:32 2021 +++ src/sys/dev/tc/stic.c Wed May 18 13:56:32 2022 @@ -1,4 +1,4 @@ -/* $NetBSD: stic.c,v 1.57 2021/08/17 22:00:32 andvar Exp $ */ +/* $NetBSD: stic.c,v 1.58 2022/05/18 13:56:32 andvar Exp $ */ /*- * Copyright (c) 1999, 2000, 2001 The NetBSD Foundation, Inc. @@ -36,7 +36,7 @@ */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: stic.c,v 1.57 2021/08/17 22:00:32 andvar Exp $"); +__KERNEL_RCSID(0, "$NetBSD: stic.c,v 1.58 2022/05/18 13:56:32 andvar Exp $"); #include <sys/param.h> #include <sys/systm.h> @@ -363,7 +363,7 @@ stic_reset(struct stic_info *si) DELAY(2000); /* wait 2ms for STIC to respond. */ sr->sr_sticsr = 0x00000000; /* Hit the STIC's csr again... */ tc_wmb(); - sr->sr_buscsr = 0xffffffff; /* and bash its bus-acess csr. */ + sr->sr_buscsr = 0xffffffff; /* and bash its bus-access csr. */ tc_wmb(); tc_syncbus(); /* Blam! */ DELAY(20000); /* wait until the stic recovers... */ Index: src/usr.sbin/btpand/btpand.c diff -u src/usr.sbin/btpand/btpand.c:1.7 src/usr.sbin/btpand/btpand.c:1.8 --- src/usr.sbin/btpand/btpand.c:1.7 Sat Jun 21 17:50:01 2014 +++ src/usr.sbin/btpand/btpand.c Wed May 18 13:56:32 2022 @@ -1,4 +1,4 @@ -/* $NetBSD: btpand.c,v 1.7 2014/06/21 17:50:01 christos Exp $ */ +/* $NetBSD: btpand.c,v 1.8 2022/05/18 13:56:32 andvar Exp $ */ /*- * Copyright (c) 2008-2009 Iain Hibbert @@ -27,7 +27,7 @@ #include <sys/cdefs.h> __COPYRIGHT("@(#) Copyright (c) 2008-2009 Iain Hibbert. All rights reserved."); -__RCSID("$NetBSD: btpand.c,v 1.7 2014/06/21 17:50:01 christos Exp $"); +__RCSID("$NetBSD: btpand.c,v 1.8 2022/05/18 13:56:32 andvar Exp $"); #include <sys/wait.h> @@ -69,7 +69,7 @@ static const struct { "Personal Ad-hoc User Service" }, { "NAP", SDP_SERVICE_CLASS_NAP, - "Network Acess Point", + "Network Access Point", "Personal Ad-hoc Network Service" }, { "GN", SDP_SERVICE_CLASS_GN,