CVS commit: src/tests/lib/librumphijack
Module Name:src Committed By: gson Date: Thu Nov 11 07:38:21 UTC 2021 Modified Files: src/tests/lib/librumphijack: t_tcpip.sh Log Message: The nfs_autoload test case has now been broken for more than four years. Mark it as an expected failure with a reference to PR kern/54184. To generate a diff of this commit: cvs rdiff -u -r1.20 -r1.21 src/tests/lib/librumphijack/t_tcpip.sh Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/tests/lib/librumphijack/t_tcpip.sh diff -u src/tests/lib/librumphijack/t_tcpip.sh:1.20 src/tests/lib/librumphijack/t_tcpip.sh:1.21 --- src/tests/lib/librumphijack/t_tcpip.sh:1.20 Fri Sep 10 21:21:35 2021 +++ src/tests/lib/librumphijack/t_tcpip.sh Thu Nov 11 07:38:21 2021 @@ -1,4 +1,4 @@ -# $NetBSD: t_tcpip.sh,v 1.20 2021/09/10 21:21:35 christos Exp $ +# $NetBSD: t_tcpip.sh,v 1.21 2021/11/11 07:38:21 gson Exp $ # # Copyright (c) 2011 The NetBSD Foundation, Inc. # All rights reserved. @@ -254,6 +254,7 @@ nfs_autoload_head() nfs_autoload_body() { [ `uname -m` = "i386" ] || atf_skip "test currently valid only on i386" + atf_expect_fail "PR lib/54184" test_nfs -lrumpvfs -lrumpdev -lrumpnet -lrumpnet_net \ -lrumpnet_netinet -lrumpnet_local -lrumpnet_shmif \ -lrumpdev_disk -d key=/dk,hostpath=ffs.img,size=host
CVS commit: src/tests/lib/librumphijack
Module Name:src Committed By: gson Date: Thu Nov 11 07:38:21 UTC 2021 Modified Files: src/tests/lib/librumphijack: t_tcpip.sh Log Message: The nfs_autoload test case has now been broken for more than four years. Mark it as an expected failure with a reference to PR kern/54184. To generate a diff of this commit: cvs rdiff -u -r1.20 -r1.21 src/tests/lib/librumphijack/t_tcpip.sh Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/arch/arm/arm
Module Name:src Committed By: skrll Date: Thu Nov 11 07:26:41 UTC 2021 Modified Files: src/sys/arch/arm/arm: cpufunc_asm.S Log Message: Trailing whitespace To generate a diff of this commit: cvs rdiff -u -r1.16 -r1.17 src/sys/arch/arm/arm/cpufunc_asm.S 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/arm/arm/cpufunc_asm.S diff -u src/sys/arch/arm/arm/cpufunc_asm.S:1.16 src/sys/arch/arm/arm/cpufunc_asm.S:1.17 --- src/sys/arch/arm/arm/cpufunc_asm.S:1.16 Sun Aug 18 06:28:18 2013 +++ src/sys/arch/arm/arm/cpufunc_asm.S Thu Nov 11 07:26:41 2021 @@ -1,4 +1,4 @@ -/* $NetBSD: cpufunc_asm.S,v 1.16 2013/08/18 06:28:18 matt Exp $ */ +/* $NetBSD: cpufunc_asm.S,v 1.17 2021/11/11 07:26:41 skrll Exp $ */ /* * Copyright (c) 1997,1998 Mark Brinicombe. @@ -34,13 +34,13 @@ * * RiscBSD kernel project * - * cpufunc.S + * cpufunc.S * * Assembly functions for CPU / MMU / TLB specific operations * * Created : 30/01/97 */ - + #include #include @@ -91,13 +91,13 @@ END(cpufunc_faultaddress) * Generic functions to write the internal coprocessor registers * * - * Currently these registers are + * Currently these registers are * c1 - CPU Control * c3 - Domain Access Control * * All other registers are CPU architecture specific */ - + #if 0 /* See below. */ ENTRY(cpufunc_control) mcr p15, 0, r0, c1, c0, 0 @@ -113,12 +113,12 @@ END(cpufunc_domains) * Generic functions to read/modify/write the internal coprocessor registers * * - * Currently these registers are + * Currently these registers are * c1 - CPU Control * * All other registers are CPU architecture specific */ - + ENTRY(cpufunc_control) mrc p15, 0, r3, c1, c0, 0 /* Read the control register */ bics r2, r3, r0 /* Clear bits */
CVS commit: src/sys/arch/arm/arm
Module Name:src Committed By: skrll Date: Thu Nov 11 07:26:41 UTC 2021 Modified Files: src/sys/arch/arm/arm: cpufunc_asm.S Log Message: Trailing whitespace To generate a diff of this commit: cvs rdiff -u -r1.16 -r1.17 src/sys/arch/arm/arm/cpufunc_asm.S Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/dev/pci
Module Name:src Committed By: ryo Date: Thu Nov 11 06:56:56 UTC 2021 Modified Files: src/sys/dev/pci: if_aq.c Log Message: Fixed a panic problem at attach with aq(4) F/W version 1. - Don't use cprng(9) when attaching, since it's not available yet. - Wait up to 10 seconds because delay is not enough. - Even if the delay is not enough, it will fail attach without panic. - Checked on the actual card D107 (F/W version 1.5.58) To generate a diff of this commit: cvs rdiff -u -r1.29 -r1.30 src/sys/dev/pci/if_aq.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/dev/pci/if_aq.c diff -u src/sys/dev/pci/if_aq.c:1.29 src/sys/dev/pci/if_aq.c:1.30 --- src/sys/dev/pci/if_aq.c:1.29 Mon Oct 11 15:08:17 2021 +++ src/sys/dev/pci/if_aq.c Thu Nov 11 06:56:56 2021 @@ -1,4 +1,4 @@ -/* $NetBSD: if_aq.c,v 1.29 2021/10/11 15:08:17 msaitoh Exp $ */ +/* $NetBSD: if_aq.c,v 1.30 2021/11/11 06:56:56 ryo Exp $ */ /** * aQuantia Corporation Network Driver @@ -62,7 +62,7 @@ */ #include -__KERNEL_RCSID(0, "$NetBSD: if_aq.c,v 1.29 2021/10/11 15:08:17 msaitoh Exp $"); +__KERNEL_RCSID(0, "$NetBSD: if_aq.c,v 1.30 2021/11/11 06:56:56 ryo Exp $"); #ifdef _KERNEL_OPT #include "opt_if_aq.h" @@ -2068,22 +2068,22 @@ aq_hw_init_ucp(struct aq_softc *sc) int timo; if (FW_VERSION_MAJOR(sc) == 1) { - if (AQ_READ_REG(sc, FW1X_MPI_INIT2_REG) == 0) { - uint32_t data; - cprng_fast(, sizeof(data)); - data &= 0xfefefefe; - data |= 0x02020202; - AQ_WRITE_REG(sc, FW1X_MPI_INIT2_REG, data); - } + if (AQ_READ_REG(sc, FW1X_MPI_INIT2_REG) == 0) + AQ_WRITE_REG(sc, FW1X_MPI_INIT2_REG, 0xfefefefe); AQ_WRITE_REG(sc, FW1X_MPI_INIT1_REG, 0); } - for (timo = 100; timo > 0; timo--) { + /* Wait a maximum of 10sec. It usually takes about 5sec. */ + for (timo = 1; timo > 0; timo--) { sc->sc_mbox_addr = AQ_READ_REG(sc, FW_MPI_MBOX_ADDR_REG); if (sc->sc_mbox_addr != 0) break; delay(1000); } + if (sc->sc_mbox_addr == 0) { + aprint_error_dev(sc->sc_dev, "cannot get mbox addr\n"); + return ETIMEDOUT; + } #define AQ_FW_MIN_VERSION 0x01050006 #define AQ_FW_MIN_VERSION_STR "1.5.6"
CVS commit: src/sys/dev/pci
Module Name:src Committed By: ryo Date: Thu Nov 11 06:56:56 UTC 2021 Modified Files: src/sys/dev/pci: if_aq.c Log Message: Fixed a panic problem at attach with aq(4) F/W version 1. - Don't use cprng(9) when attaching, since it's not available yet. - Wait up to 10 seconds because delay is not enough. - Even if the delay is not enough, it will fail attach without panic. - Checked on the actual card D107 (F/W version 1.5.58) To generate a diff of this commit: cvs rdiff -u -r1.29 -r1.30 src/sys/dev/pci/if_aq.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/net/lagg
Module Name:src Committed By: yamaguchi Date: Thu Nov 11 01:10:09 UTC 2021 Modified Files: src/sys/net/lagg: if_lagg.c Log Message: lagg: Use promiscuous mode instead of if_init() to avoid panic when the interface has no if_init() To generate a diff of this commit: cvs rdiff -u -r1.20 -r1.21 src/sys/net/lagg/if_lagg.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/net/lagg/if_lagg.c diff -u src/sys/net/lagg/if_lagg.c:1.20 src/sys/net/lagg/if_lagg.c:1.21 --- src/sys/net/lagg/if_lagg.c:1.20 Mon Nov 8 06:29:16 2021 +++ src/sys/net/lagg/if_lagg.c Thu Nov 11 01:10:09 2021 @@ -1,4 +1,4 @@ -/* $NetBSD: if_lagg.c,v 1.20 2021/11/08 06:29:16 yamaguchi Exp $ */ +/* $NetBSD: if_lagg.c,v 1.21 2021/11/11 01:10:09 yamaguchi Exp $ */ /* * Copyright (c) 2005, 2006 Reyk Floeter @@ -20,7 +20,7 @@ */ #include -__KERNEL_RCSID(0, "$NetBSD: if_lagg.c,v 1.20 2021/11/08 06:29:16 yamaguchi Exp $"); +__KERNEL_RCSID(0, "$NetBSD: if_lagg.c,v 1.21 2021/11/11 01:10:09 yamaguchi Exp $"); #ifdef _KERNEL_OPT #include "opt_inet.h" @@ -2091,15 +2091,21 @@ lagg_port_setsadl(struct lagg_port *lp, lagg_chg_sadl(ifp_port, lladdr, ETHER_ADDR_LEN); - if (!ISSET(ifp_port->if_flags, IFF_RUNNING)) { - break; - } + if (ifp_port->if_init != NULL) { + error = 0; + if (ISSET(ifp_port->if_flags, IFF_RUNNING)) +error = ifp_port->if_init(ifp_port); - error = ifp_port->if_init(ifp_port); - if (error != 0) { - lagg_log(lp->lp_softc, LOG_WARNING, - "%s failed to if_init() on %d\n", - ifp_port->if_xname, error); + if (error != 0) { +lagg_log(lp->lp_softc, LOG_WARNING, +"%s failed to if_init() on %d\n", +ifp_port->if_xname, error); + } + } else { + if (lp->lp_promisc == false) { +ifpromisc_locked(ifp_port, 1); +lp->lp_promisc = true; + } } break; default: @@ -2131,15 +2137,21 @@ lagg_port_unsetsadl(struct lagg_port *lp lagg_chg_sadl(ifp_port, lp->lp_lladdr, ETHER_ADDR_LEN); - if (!ISSET(ifp_port->if_flags, IFF_RUNNING)) { - break; - } + if (ifp_port->if_init != NULL) { + error = 0; + if (ISSET(ifp_port->if_flags, IFF_RUNNING)) +error = ifp_port->if_init(ifp_port); - error = ifp_port->if_init(ifp_port); - if (error != 0) { - lagg_log(lp->lp_softc, LOG_WARNING, - "%s failed to if_init() on %d\n", - ifp_port->if_xname, error); + if (error != 0) { +lagg_log(lp->lp_softc, LOG_WARNING, +"%s failed to if_init() on %d\n", +ifp_port->if_xname, error); + } + } else { + if (lp->lp_promisc == true) { +ifpromisc_locked(ifp_port, 0); +lp->lp_promisc = false; + } } break;
CVS commit: src/sys/net/lagg
Module Name:src Committed By: yamaguchi Date: Thu Nov 11 01:10:09 UTC 2021 Modified Files: src/sys/net/lagg: if_lagg.c Log Message: lagg: Use promiscuous mode instead of if_init() to avoid panic when the interface has no if_init() To generate a diff of this commit: cvs rdiff -u -r1.20 -r1.21 src/sys/net/lagg/if_lagg.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Re: CVS commit: src/bin/echo
On Thu, Nov 11, 2021 at 05:03:41 +0700, Robert Elz wrote: > Date:Wed, 10 Nov 2021 22:17:05 +0300 > From:Valery Ushakov > Message-ID: > > | > in the sense that simply falling out of main() is exit(0)? > | > | Surprisingly - yes. > > That's appalling, but perhaps not surprising. > > It breaks code which believed what was promised, and did return n > (n != 0) instead of exit(n). The main can still return an int explicitly. If the return type of the main function is a type compatible with int, a return from the initial call to the main function is equivalent to calling the exit function with the value returned by the main function as its argument; It's specifically the sloppy int main() {} without explicit return that gets a dispensation. -uwe
Re: CVS commit: src/bin/echo
Date:Wed, 10 Nov 2021 22:17:05 +0300 From:Valery Ushakov Message-ID: | > in the sense that simply falling out of main() is exit(0)? | | Surprisingly - yes. That's appalling, but perhaps not surprising. It breaks code which believed what was promised, and did return n (n != 0) instead of exit(n). If the standards people wanted to make that change, they should have done it properly, and made it be void main() instead of int main(). That would have meant changing the universe, but at least it would have provided an opportunity to examine code that might have been broken by this change. That also perhaps indicates why things weren't breaking (why no warning was being issued from gcc/clang about the code that was in echo). New versions of the compiler probably have been taught that main is special, and it isn't necessary to return a value, even though it is a function which is supposed to return one.Sad indeed. The compile I did with -Wall that produced the error was with a slightly older compiler version than is used in HEAD. kre
Re: CVS commit: src/bin/echo
On Wed, Nov 10, 2021 at 17:35:45 +, Robert Elz wrote: > And second, does C99 really promise: > Remove unnecessary call to exit(0); returning from main is equivalent > since C99. > in the sense that simply falling out of main() is exit(0)? Surprisingly - yes. Derek M. Jones in his "The New C Standard. An Economic and Cultural Commentary." notes about the relevant passage in the standard text: 5.1.2.2.3 Program termination [...] reaching the } that terminates the main function returns a value of 0. Commentary The standard finally having to bow to sloppy existing practices. I'd say the previous change to take advantage of this was profoudly misguided. -uwe
CVS commit: src/bin/sh
Module Name:src Committed By: kre Date: Wed Nov 10 18:25:52 UTC 2021 Modified Files: src/bin/sh: builtins.def Log Message: Ensure that all of the POSIX standard utilities are correctly identified with the -u flag (that is, I hope I identified all the ones that were missing it). This change is a no-op (NFC) as the -u flag does nothing. Still, just in case we find a use for it one day, and just as a matter of general principle, we should get this correct. To generate a diff of this commit: cvs rdiff -u -r1.26 -r1.27 src/bin/sh/builtins.def Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/bin/sh/builtins.def diff -u src/bin/sh/builtins.def:1.26 src/bin/sh/builtins.def:1.27 --- src/bin/sh/builtins.def:1.26 Thu Feb 14 11:15:24 2019 +++ src/bin/sh/builtins.def Wed Nov 10 18:25:52 2021 @@ -1,5 +1,5 @@ #!/bin/sh - -# $NetBSD: builtins.def,v 1.26 2019/02/14 11:15:24 kre Exp $ +# $NetBSD: builtins.def,v 1.27 2021/11/10 18:25:52 kre Exp $ # # Copyright (c) 1991, 1993 # The Regents of the University of California. All rights reserved. @@ -50,7 +50,7 @@ bgcmd -j -u bg breakcmd -s break -s continue cdcmd -u cd chdir dotcmd -s . -echocmd echo +echocmd -u echo evalcmd -s eval execcmd -s exec exitcmd -s exit @@ -62,12 +62,12 @@ inputrc inputrc fgcmd -j -u fg fgcmd_percent -j -u % getoptscmd -u getopts -hashcmd hash +hashcmd -u hash jobidcmd jobid jobscmd -u jobs localcmd local #ifndef TINY -printfcmd printf +printfcmd -u printf #endif pwdcmd -u pwd readcmd -u read @@ -82,20 +82,19 @@ specialvarcmd specialvar timescmd -s times trapcmd -s trap truecmd -s : -u true -typecmd type +typecmd -u type umaskcmd -u umask unaliascmd -u unalias unsetcmd -s unset waitcmd -u wait aliascmd -u alias -ulimitcmd ulimit -testcmd test [ +ulimitcmd -u ulimit +testcmd -u test -u [ killcmd -u kill # mandated by posix for 'kill %job' wordexpcmd wordexp #newgrp -u newgrp # optional command in posix +#exprcmd -u expr # not currently built in, but could be #ifdef DEBUG debugcmd debug #endif - -#exprcmd expr
CVS commit: src/bin/sh
Module Name:src Committed By: kre Date: Wed Nov 10 18:25:52 UTC 2021 Modified Files: src/bin/sh: builtins.def Log Message: Ensure that all of the POSIX standard utilities are correctly identified with the -u flag (that is, I hope I identified all the ones that were missing it). This change is a no-op (NFC) as the -u flag does nothing. Still, just in case we find a use for it one day, and just as a matter of general principle, we should get this correct. To generate a diff of this commit: cvs rdiff -u -r1.26 -r1.27 src/bin/sh/builtins.def Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/arch/arm/sunxi
Module Name:src Committed By: jakllsch Date: Wed Nov 10 17:38:11 UTC 2021 Modified Files: src/sys/arch/arm/sunxi: sun50i_h6_gpio.c sun50i_h6_r_ccu.c sun50i_h6_r_ccu.h Log Message: add clock and reset for APB2 RSB on Allwinner H6 To generate a diff of this commit: cvs rdiff -u -r1.3 -r1.4 src/sys/arch/arm/sunxi/sun50i_h6_gpio.c cvs rdiff -u -r1.2 -r1.3 src/sys/arch/arm/sunxi/sun50i_h6_r_ccu.c cvs rdiff -u -r1.1 -r1.2 src/sys/arch/arm/sunxi/sun50i_h6_r_ccu.h 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/arm/sunxi/sun50i_h6_gpio.c diff -u src/sys/arch/arm/sunxi/sun50i_h6_gpio.c:1.3 src/sys/arch/arm/sunxi/sun50i_h6_gpio.c:1.4 --- src/sys/arch/arm/sunxi/sun50i_h6_gpio.c:1.3 Mon Nov 8 17:58:27 2021 +++ src/sys/arch/arm/sunxi/sun50i_h6_gpio.c Wed Nov 10 17:38:11 2021 @@ -1,4 +1,4 @@ -/* $NetBSD: sun50i_h6_gpio.c,v 1.3 2021/11/08 17:58:27 jakllsch Exp $ */ +/* $NetBSD: sun50i_h6_gpio.c,v 1.4 2021/11/10 17:38:11 jakllsch Exp $ */ /*- * Copyright (c) 2016 Jared McNeill @@ -27,7 +27,7 @@ */ #include -__KERNEL_RCSID(0, "$NetBSD: sun50i_h6_gpio.c,v 1.3 2021/11/08 17:58:27 jakllsch Exp $"); +__KERNEL_RCSID(0, "$NetBSD: sun50i_h6_gpio.c,v 1.4 2021/11/10 17:38:11 jakllsch Exp $"); #include #include @@ -121,8 +121,8 @@ static const struct sunxi_gpio_pins h6_p }; static const struct sunxi_gpio_pins h6_r_pins[] = { - { "PL0", 0, 0, { "gpio_in", "gpio_out", NULL, "s_i2c", NULL, NULL, "irq" }, 6, 0 }, - { "PL1", 0, 1, { "gpio_in", "gpio_out", NULL, "s_i2c", NULL, NULL, "irq" }, 6, 1 }, + { "PL0", 0, 0, { "gpio_in", "gpio_out", "s_rsb", "s_i2c", NULL, NULL, "irq" }, 6, 0 }, + { "PL1", 0, 1, { "gpio_in", "gpio_out", "s_rsb", "s_i2c", NULL, NULL, "irq" }, 6, 1 }, { "PL2", 0, 2, { "gpio_in", "gpio_out", "s_uart", NULL, NULL, NULL, "irq" }, 6, 2 }, { "PL3", 0, 3, { "gpio_in", "gpio_out", "s_uart", NULL, NULL, NULL, "irq" }, 6, 3 }, { "PL4", 0, 4, { "gpio_in", "gpio_out", "s_jtag", NULL, NULL, NULL, "irq" }, 6, 4 }, Index: src/sys/arch/arm/sunxi/sun50i_h6_r_ccu.c diff -u src/sys/arch/arm/sunxi/sun50i_h6_r_ccu.c:1.2 src/sys/arch/arm/sunxi/sun50i_h6_r_ccu.c:1.3 --- src/sys/arch/arm/sunxi/sun50i_h6_r_ccu.c:1.2 Wed Jan 27 03:10:20 2021 +++ src/sys/arch/arm/sunxi/sun50i_h6_r_ccu.c Wed Nov 10 17:38:11 2021 @@ -1,4 +1,4 @@ -/* $NetBSD: sun50i_h6_r_ccu.c,v 1.2 2021/01/27 03:10:20 thorpej Exp $ */ +/* $NetBSD: sun50i_h6_r_ccu.c,v 1.3 2021/11/10 17:38:11 jakllsch Exp $ */ /*- * Copyright (c) 2018 Jared McNeill @@ -28,7 +28,7 @@ #include -__KERNEL_RCSID(1, "$NetBSD: sun50i_h6_r_ccu.c,v 1.2 2021/01/27 03:10:20 thorpej Exp $"); +__KERNEL_RCSID(1, "$NetBSD: sun50i_h6_r_ccu.c,v 1.3 2021/11/10 17:38:11 jakllsch Exp $"); #include #include @@ -63,6 +63,7 @@ static struct sunxi_ccu_reset sun50i_h6_ SUNXI_CCU_RESET(H6_R_RST_APB1_PWM, 0x13c, 16), SUNXI_CCU_RESET(H6_R_RST_APB2_UART, 0x18c, 16), SUNXI_CCU_RESET(H6_R_RST_APB2_I2C, 0x19c, 16), + SUNXI_CCU_RESET(H6_R_RST_APB2_RSB, 0x1bc, 16), SUNXI_CCU_RESET(H6_R_RST_APB1_IR, 0x1cc, 16), SUNXI_CCU_RESET(H6_R_RST_APB1_W1, 0x1ec, 16), }; @@ -102,6 +103,7 @@ static struct sunxi_ccu_clk sun50i_h6_r_ SUNXI_CCU_GATE(H6_R_CLK_APB1_PWM, "apb1-pwm", "apb1", 0x13c, 0), SUNXI_CCU_GATE(H6_R_CLK_APB2_UART, "apb2-uart", "apb2", 0x18c, 0), SUNXI_CCU_GATE(H6_R_CLK_APB2_I2C, "apb2-i2c", "apb2", 0x19c, 0), + SUNXI_CCU_GATE(H6_R_CLK_APB2_RSB, "apb2-rsb", "apb2", 0x1bc, 0), SUNXI_CCU_GATE(H6_R_CLK_APB1_IR, "apb1-ir", "apb1", 0x1cc, 0), SUNXI_CCU_GATE(H6_R_CLK_APB1_W1, "apb1-w1", "apb1", 0x1ec, 0), Index: src/sys/arch/arm/sunxi/sun50i_h6_r_ccu.h diff -u src/sys/arch/arm/sunxi/sun50i_h6_r_ccu.h:1.1 src/sys/arch/arm/sunxi/sun50i_h6_r_ccu.h:1.2 --- src/sys/arch/arm/sunxi/sun50i_h6_r_ccu.h:1.1 Wed May 2 11:02:21 2018 +++ src/sys/arch/arm/sunxi/sun50i_h6_r_ccu.h Wed Nov 10 17:38:11 2021 @@ -1,4 +1,4 @@ -/* $NetBSD: sun50i_h6_r_ccu.h,v 1.1 2018/05/02 11:02:21 jmcneill Exp $ */ +/* $NetBSD: sun50i_h6_r_ccu.h,v 1.2 2021/11/10 17:38:11 jakllsch Exp $ */ /*- * Copyright (c) 2018 Jared McNeill @@ -36,6 +36,7 @@ #define H6_R_RST_APB2_I2C 4 #define H6_R_RST_APB1_IR 5 #define H6_R_RST_APB1_W1 6 +#define H6_R_RST_APB2_RSB 7 #define H6_R_CLK_AR100 0 #define H6_R_CLK_AHB 1 @@ -50,5 +51,6 @@ #define H6_R_CLK_APB1_W1 10 #define H6_R_CLK_IR 11 #define H6_R_CLK_W1 12 +#define H6_R_CLK_APB2_RSB 13 #endif /* !_SUN50I_H6_R_CCU_H */
CVS commit: src/sys/arch/arm/sunxi
Module Name:src Committed By: jakllsch Date: Wed Nov 10 17:38:11 UTC 2021 Modified Files: src/sys/arch/arm/sunxi: sun50i_h6_gpio.c sun50i_h6_r_ccu.c sun50i_h6_r_ccu.h Log Message: add clock and reset for APB2 RSB on Allwinner H6 To generate a diff of this commit: cvs rdiff -u -r1.3 -r1.4 src/sys/arch/arm/sunxi/sun50i_h6_gpio.c cvs rdiff -u -r1.2 -r1.3 src/sys/arch/arm/sunxi/sun50i_h6_r_ccu.c cvs rdiff -u -r1.1 -r1.2 src/sys/arch/arm/sunxi/sun50i_h6_r_ccu.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/bin/echo
Module Name:src Committed By: kre Date: Wed Nov 10 17:35:45 UTC 2021 Modified Files: src/bin/echo: echo.c Log Message: With -Wall compiling this was giving: echo.c: In function 'main': echo.c:74:1: warning: control reaches end of non-void function This raises 2 issues. First, why with WARNS set to 6, which should include just about everything, was this not causing problems with everyday builds? Surely falling off the end of a non-void function without returning a specific value is one of the more basic errors that should be fixed. (Whatever the name of the function). Is there a missing -Wxxx option? And second, does C99 really promise: Remove unnecessary call to exit(0); returning from main is equivalent since C99. in the sense that simply falling out of main() is exit(0)? Or is it simply saying that the return value of main() is the exit status (which has been true for much longer than since c99)? To generate a diff of this commit: cvs rdiff -u -r1.21 -r1.22 src/bin/echo/echo.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/bin/echo/echo.c diff -u src/bin/echo/echo.c:1.21 src/bin/echo/echo.c:1.22 --- src/bin/echo/echo.c:1.21 Sun Oct 10 19:07:19 2021 +++ src/bin/echo/echo.c Wed Nov 10 17:35:45 2021 @@ -1,4 +1,4 @@ -/* $NetBSD: echo.c,v 1.21 2021/10/10 19:07:19 rillig Exp $ */ +/* $NetBSD: echo.c,v 1.22 2021/11/10 17:35:45 kre Exp $ */ /* * Copyright (c) 1989, 1993 @@ -37,7 +37,7 @@ __COPYRIGHT( #if 0 static char sccsid[] = "@(#)echo.c 8.1 (Berkeley) 5/31/93"; #else -__RCSID("$NetBSD: echo.c,v 1.21 2021/10/10 19:07:19 rillig Exp $"); +__RCSID("$NetBSD: echo.c,v 1.22 2021/11/10 17:35:45 kre Exp $"); #endif #include @@ -71,4 +71,5 @@ main(int argc, char *argv[]) fflush(stdout); if (ferror(stdout)) err(1, "write error"); + return 0; }
CVS commit: src/bin/echo
Module Name:src Committed By: kre Date: Wed Nov 10 17:35:45 UTC 2021 Modified Files: src/bin/echo: echo.c Log Message: With -Wall compiling this was giving: echo.c: In function 'main': echo.c:74:1: warning: control reaches end of non-void function This raises 2 issues. First, why with WARNS set to 6, which should include just about everything, was this not causing problems with everyday builds? Surely falling off the end of a non-void function without returning a specific value is one of the more basic errors that should be fixed. (Whatever the name of the function). Is there a missing -Wxxx option? And second, does C99 really promise: Remove unnecessary call to exit(0); returning from main is equivalent since C99. in the sense that simply falling out of main() is exit(0)? Or is it simply saying that the return value of main() is the exit status (which has been true for much longer than since c99)? To generate a diff of this commit: cvs rdiff -u -r1.21 -r1.22 src/bin/echo/echo.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/arch/arm/sociox
Module Name:src Committed By: msaitoh Date: Wed Nov 10 17:23:46 UTC 2021 Modified Files: src/sys/arch/arm/sociox: sni_emmc.c Log Message: s/intialize/initialize/ To generate a diff of this commit: cvs rdiff -u -r1.8 -r1.9 src/sys/arch/arm/sociox/sni_emmc.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/arm/sociox/sni_emmc.c diff -u src/sys/arch/arm/sociox/sni_emmc.c:1.8 src/sys/arch/arm/sociox/sni_emmc.c:1.9 --- src/sys/arch/arm/sociox/sni_emmc.c:1.8 Wed Jan 27 03:10:19 2021 +++ src/sys/arch/arm/sociox/sni_emmc.c Wed Nov 10 17:23:46 2021 @@ -1,4 +1,4 @@ -/* $NetBSD: sni_emmc.c,v 1.8 2021/01/27 03:10:19 thorpej Exp $ */ +/* $NetBSD: sni_emmc.c,v 1.9 2021/11/10 17:23:46 msaitoh Exp $ */ /*- * Copyright (c) 2020 The NetBSD Foundation, Inc. @@ -34,7 +34,7 @@ */ #include -__KERNEL_RCSID(0, "$NetBSD: sni_emmc.c,v 1.8 2021/01/27 03:10:19 thorpej Exp $"); +__KERNEL_RCSID(0, "$NetBSD: sni_emmc.c,v 1.9 2021/11/10 17:23:46 msaitoh Exp $"); #include #include @@ -228,7 +228,7 @@ sniemmc_attach_i(device_t self) #endif error = 0; if (error) { - aprint_error_dev(self, "couldn't intialize host, error=%d\n",error); + aprint_error_dev(self, "couldn't initialize host, error=%d\n",error); goto fail; } return;
CVS commit: src/sys/arch/arm/sociox
Module Name:src Committed By: msaitoh Date: Wed Nov 10 17:23:46 UTC 2021 Modified Files: src/sys/arch/arm/sociox: sni_emmc.c Log Message: s/intialize/initialize/ To generate a diff of this commit: cvs rdiff -u -r1.8 -r1.9 src/sys/arch/arm/sociox/sni_emmc.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src
Module Name:src Committed By: msaitoh Date: Wed Nov 10 17:19:30 UTC 2021 Modified Files: src/sbin/dkscan_bsdlabel: dkscan_bsdlabel.8 src/sys/arch/mips/atheros/dev: ohci_arbus.c src/sys/arch/mips/cavium/dev: octeon_xhci.c src/sys/arch/mips/rmi: rmixl_ohci.c src/sys/arch/newsmips/apbus: if_snvar.h src/sys/arch/sgimips/dev: crimereg.h src/sys/dev/ic: ahcisata_core.c dm9000.c i82596.c mpt.h nvmeio.h siisata.c src/sys/dev/marvell: gtethreg.h gtidmacreg.h gtreg.h src/sys/dev/mvme: if_ie_mvme.c src/sys/dev/pci/cxgb: cxgb_t3_hw.c src/sys/dev/pcmcia: if_malo_pcmcia.c src/tests/ipf: h_common.sh Log Message: s/endianess/endianness/ To generate a diff of this commit: cvs rdiff -u -r1.2 -r1.3 src/sbin/dkscan_bsdlabel/dkscan_bsdlabel.8 cvs rdiff -u -r1.5 -r1.6 src/sys/arch/mips/atheros/dev/ohci_arbus.c cvs rdiff -u -r1.6 -r1.7 src/sys/arch/mips/cavium/dev/octeon_xhci.c cvs rdiff -u -r1.7 -r1.8 src/sys/arch/mips/rmi/rmixl_ohci.c cvs rdiff -u -r1.14 -r1.15 src/sys/arch/newsmips/apbus/if_snvar.h cvs rdiff -u -r1.10 -r1.11 src/sys/arch/sgimips/dev/crimereg.h cvs rdiff -u -r1.103 -r1.104 src/sys/dev/ic/ahcisata_core.c cvs rdiff -u -r1.30 -r1.31 src/sys/dev/ic/dm9000.c cvs rdiff -u -r1.44 -r1.45 src/sys/dev/ic/i82596.c cvs rdiff -u -r1.8 -r1.9 src/sys/dev/ic/mpt.h cvs rdiff -u -r1.3 -r1.4 src/sys/dev/ic/nvmeio.h cvs rdiff -u -r1.49 -r1.50 src/sys/dev/ic/siisata.c cvs rdiff -u -r1.5 -r1.6 src/sys/dev/marvell/gtethreg.h cvs rdiff -u -r1.4 -r1.5 src/sys/dev/marvell/gtidmacreg.h cvs rdiff -u -r1.6 -r1.7 src/sys/dev/marvell/gtreg.h cvs rdiff -u -r1.20 -r1.21 src/sys/dev/mvme/if_ie_mvme.c cvs rdiff -u -r1.5 -r1.6 src/sys/dev/pci/cxgb/cxgb_t3_hw.c cvs rdiff -u -r1.26 -r1.27 src/sys/dev/pcmcia/if_malo_pcmcia.c cvs rdiff -u -r1.8 -r1.9 src/tests/ipf/h_common.sh Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/sbin/dkscan_bsdlabel/dkscan_bsdlabel.8 diff -u src/sbin/dkscan_bsdlabel/dkscan_bsdlabel.8:1.2 src/sbin/dkscan_bsdlabel/dkscan_bsdlabel.8:1.3 --- src/sbin/dkscan_bsdlabel/dkscan_bsdlabel.8:1.2 Wed Apr 30 13:10:52 2008 +++ src/sbin/dkscan_bsdlabel/dkscan_bsdlabel.8 Wed Nov 10 17:19:29 2021 @@ -1,4 +1,4 @@ -.\" $NetBSD: dkscan_bsdlabel.8,v 1.2 2008/04/30 13:10:52 martin Exp $ +.\" $NetBSD: dkscan_bsdlabel.8,v 1.3 2021/11/10 17:19:29 msaitoh Exp $ .\" .\" Copyright (c) 2007 The NetBSD Foundation, Inc. .\" All rights reserved. @@ -41,7 +41,7 @@ .Nm scans a disk for a BSD disklabel, which does not need to be the label variant used on the architecture currently running, or even -the same endianess. +the same endianness. .Pp The following options are supported: .Bl -tag -width device -compact Index: src/sys/arch/mips/atheros/dev/ohci_arbus.c diff -u src/sys/arch/mips/atheros/dev/ohci_arbus.c:1.5 src/sys/arch/mips/atheros/dev/ohci_arbus.c:1.6 --- src/sys/arch/mips/atheros/dev/ohci_arbus.c:1.5 Sat Aug 7 16:18:59 2021 +++ src/sys/arch/mips/atheros/dev/ohci_arbus.c Wed Nov 10 17:19:29 2021 @@ -1,4 +1,4 @@ -/* $NetBSD: ohci_arbus.c,v 1.5 2021/08/07 16:18:59 thorpej Exp $ */ +/* $NetBSD: ohci_arbus.c,v 1.6 2021/11/10 17:19:29 msaitoh Exp $ */ /*- * Copyright (c) 1998, 1999, 2000, 2002, 2003 The NetBSD Foundation, Inc. @@ -32,7 +32,7 @@ #include "locators.h" #include -__KERNEL_RCSID(0, "$NetBSD: ohci_arbus.c,v 1.5 2021/08/07 16:18:59 thorpej Exp $"); +__KERNEL_RCSID(0, "$NetBSD: ohci_arbus.c,v 1.6 2021/11/10 17:19:29 msaitoh Exp $"); #include #include @@ -107,7 +107,7 @@ ohci_arbus_attach(device_t parent, devic if (ih == NULL) panic("%s: couldn't establish interrupt", device_xname(self)); - /* we don't handle endianess in bus space */ + /* we don't handle endianness in bus space */ sc->sc_endian = OHCI_LITTLE_ENDIAN; int err = ohci_init(sc); Index: src/sys/arch/mips/cavium/dev/octeon_xhci.c diff -u src/sys/arch/mips/cavium/dev/octeon_xhci.c:1.6 src/sys/arch/mips/cavium/dev/octeon_xhci.c:1.7 --- src/sys/arch/mips/cavium/dev/octeon_xhci.c:1.6 Sat Aug 7 16:18:59 2021 +++ src/sys/arch/mips/cavium/dev/octeon_xhci.c Wed Nov 10 17:19:29 2021 @@ -1,4 +1,4 @@ -/* $NetBSD: octeon_xhci.c,v 1.6 2021/08/07 16:18:59 thorpej Exp $ */ +/* $NetBSD: octeon_xhci.c,v 1.7 2021/11/10 17:19:29 msaitoh Exp $ */ /* $OpenBSD: octxhci.c,v 1.4 2019/09/29 04:32:23 visa Exp $ */ /* @@ -327,7 +327,7 @@ octxhci_uctl_init(struct octxhci_softc * XCTL_WR_8(sc, XCTL_CTL, val); (void)XCTL_RD_8(sc, XCTL_CTL); - /* Fix endianess. */ + /* Fix endianness. */ val = XCTL_RD_8(sc, XCTL_SHIM_CFG); val &= ~XCTL_SHIM_CFG_CSR_BYTE_SWAP; val &= ~XCTL_SHIM_CFG_DMA_BYTE_SWAP; Index: src/sys/arch/mips/rmi/rmixl_ohci.c diff -u src/sys/arch/mips/rmi/rmixl_ohci.c:1.7 src/sys/arch/mips/rmi/rmixl_ohci.c:1.8 --- src/sys/arch/mips/rmi/rmixl_ohci.c:1.7 Sat Aug 7 16:18:59 2021 +++ src/sys/arch/mips/rmi/rmixl_ohci.c Wed Nov 10
CVS commit: src
Module Name:src Committed By: msaitoh Date: Wed Nov 10 17:19:30 UTC 2021 Modified Files: src/sbin/dkscan_bsdlabel: dkscan_bsdlabel.8 src/sys/arch/mips/atheros/dev: ohci_arbus.c src/sys/arch/mips/cavium/dev: octeon_xhci.c src/sys/arch/mips/rmi: rmixl_ohci.c src/sys/arch/newsmips/apbus: if_snvar.h src/sys/arch/sgimips/dev: crimereg.h src/sys/dev/ic: ahcisata_core.c dm9000.c i82596.c mpt.h nvmeio.h siisata.c src/sys/dev/marvell: gtethreg.h gtidmacreg.h gtreg.h src/sys/dev/mvme: if_ie_mvme.c src/sys/dev/pci/cxgb: cxgb_t3_hw.c src/sys/dev/pcmcia: if_malo_pcmcia.c src/tests/ipf: h_common.sh Log Message: s/endianess/endianness/ To generate a diff of this commit: cvs rdiff -u -r1.2 -r1.3 src/sbin/dkscan_bsdlabel/dkscan_bsdlabel.8 cvs rdiff -u -r1.5 -r1.6 src/sys/arch/mips/atheros/dev/ohci_arbus.c cvs rdiff -u -r1.6 -r1.7 src/sys/arch/mips/cavium/dev/octeon_xhci.c cvs rdiff -u -r1.7 -r1.8 src/sys/arch/mips/rmi/rmixl_ohci.c cvs rdiff -u -r1.14 -r1.15 src/sys/arch/newsmips/apbus/if_snvar.h cvs rdiff -u -r1.10 -r1.11 src/sys/arch/sgimips/dev/crimereg.h cvs rdiff -u -r1.103 -r1.104 src/sys/dev/ic/ahcisata_core.c cvs rdiff -u -r1.30 -r1.31 src/sys/dev/ic/dm9000.c cvs rdiff -u -r1.44 -r1.45 src/sys/dev/ic/i82596.c cvs rdiff -u -r1.8 -r1.9 src/sys/dev/ic/mpt.h cvs rdiff -u -r1.3 -r1.4 src/sys/dev/ic/nvmeio.h cvs rdiff -u -r1.49 -r1.50 src/sys/dev/ic/siisata.c cvs rdiff -u -r1.5 -r1.6 src/sys/dev/marvell/gtethreg.h cvs rdiff -u -r1.4 -r1.5 src/sys/dev/marvell/gtidmacreg.h cvs rdiff -u -r1.6 -r1.7 src/sys/dev/marvell/gtreg.h cvs rdiff -u -r1.20 -r1.21 src/sys/dev/mvme/if_ie_mvme.c cvs rdiff -u -r1.5 -r1.6 src/sys/dev/pci/cxgb/cxgb_t3_hw.c cvs rdiff -u -r1.26 -r1.27 src/sys/dev/pcmcia/if_malo_pcmcia.c cvs rdiff -u -r1.8 -r1.9 src/tests/ipf/h_common.sh Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/dev/wscons
Module Name:src Committed By: msaitoh Date: Wed Nov 10 16:57:39 UTC 2021 Modified Files: src/sys/dev/wscons: wsmux.c Log Message: s/configuraiton/configuration/ in comment. To generate a diff of this commit: cvs rdiff -u -r1.64 -r1.65 src/sys/dev/wscons/wsmux.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/dev/wscons/wsmux.c diff -u src/sys/dev/wscons/wsmux.c:1.64 src/sys/dev/wscons/wsmux.c:1.65 --- src/sys/dev/wscons/wsmux.c:1.64 Sun Nov 10 21:16:38 2019 +++ src/sys/dev/wscons/wsmux.c Wed Nov 10 16:57:39 2021 @@ -1,4 +1,4 @@ -/* $NetBSD: wsmux.c,v 1.64 2019/11/10 21:16:38 chs Exp $ */ +/* $NetBSD: wsmux.c,v 1.65 2021/11/10 16:57:39 msaitoh Exp $ */ /* * Copyright (c) 1998, 2005 The NetBSD Foundation, Inc. @@ -37,7 +37,7 @@ */ #include -__KERNEL_RCSID(0, "$NetBSD: wsmux.c,v 1.64 2019/11/10 21:16:38 chs Exp $"); +__KERNEL_RCSID(0, "$NetBSD: wsmux.c,v 1.65 2021/11/10 16:57:39 msaitoh Exp $"); #ifdef _KERNEL_OPT #include "opt_compat_netbsd.h" @@ -650,7 +650,7 @@ wsmux_create(const char *name, int unit) { struct wsmux_softc *sc; - /* XXX This is wrong -- should use autoconfiguraiton framework */ + /* XXX This is wrong -- should use autoconfiguration framework */ DPRINTF(("wsmux_create: allocating\n")); sc = malloc(sizeof *sc, M_DEVBUF, M_WAITOK|M_ZERO);
CVS commit: src/sys/dev/wscons
Module Name:src Committed By: msaitoh Date: Wed Nov 10 16:57:39 UTC 2021 Modified Files: src/sys/dev/wscons: wsmux.c Log Message: s/configuraiton/configuration/ in comment. To generate a diff of this commit: cvs rdiff -u -r1.64 -r1.65 src/sys/dev/wscons/wsmux.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/netipsec
Module Name:src Committed By: msaitoh Date: Wed Nov 10 16:55:20 UTC 2021 Modified Files: src/sys/netipsec: keydb.h Log Message: s/assocciation/association/ in comment. To generate a diff of this commit: cvs rdiff -u -r1.23 -r1.24 src/sys/netipsec/keydb.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/sys/netipsec/keydb.h diff -u src/sys/netipsec/keydb.h:1.23 src/sys/netipsec/keydb.h:1.24 --- src/sys/netipsec/keydb.h:1.23 Thu Apr 19 08:27:38 2018 +++ src/sys/netipsec/keydb.h Wed Nov 10 16:55:20 2021 @@ -1,4 +1,4 @@ -/* $NetBSD: keydb.h,v 1.23 2018/04/19 08:27:38 maxv Exp $ */ +/* $NetBSD: keydb.h,v 1.24 2021/11/10 16:55:20 msaitoh Exp $ */ /* $FreeBSD: keydb.h,v 1.1.4.1 2003/01/24 05:11:36 sam Exp $ */ /* $KAME: keydb.h,v 1.14 2000/08/02 17:58:26 sakane Exp $ */ @@ -55,7 +55,7 @@ union sockaddr_union { }; #endif /* _SOCKADDR_UNION_DEFINED */ -/* Security Assocciation Index */ +/* Security Association Index */ /* NOTE: Ensure to be same address family */ struct secasindex { union sockaddr_union src; /* source address for SA */
CVS commit: src/sys/netipsec
Module Name:src Committed By: msaitoh Date: Wed Nov 10 16:55:20 UTC 2021 Modified Files: src/sys/netipsec: keydb.h Log Message: s/assocciation/association/ in comment. To generate a diff of this commit: cvs rdiff -u -r1.23 -r1.24 src/sys/netipsec/keydb.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys
Module Name:src Committed By: msaitoh Date: Wed Nov 10 16:53:28 UTC 2021 Modified Files: src/sys/arch/alpha/alpha: interrupt.c src/sys/dev/sdmmc: sdhc.c Log Message: s/suport/support/ in comment. To generate a diff of this commit: cvs rdiff -u -r1.99 -r1.100 src/sys/arch/alpha/alpha/interrupt.c cvs rdiff -u -r1.111 -r1.112 src/sys/dev/sdmmc/sdhc.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/alpha/alpha/interrupt.c diff -u src/sys/arch/alpha/alpha/interrupt.c:1.99 src/sys/arch/alpha/alpha/interrupt.c:1.100 --- src/sys/arch/alpha/alpha/interrupt.c:1.99 Fri Jul 16 19:02:22 2021 +++ src/sys/arch/alpha/alpha/interrupt.c Wed Nov 10 16:53:28 2021 @@ -1,4 +1,4 @@ -/* $NetBSD: interrupt.c,v 1.99 2021/07/16 19:02:22 thorpej Exp $ */ +/* $NetBSD: interrupt.c,v 1.100 2021/11/10 16:53:28 msaitoh Exp $ */ /*- * Copyright (c) 2000, 2001 The NetBSD Foundation, Inc. @@ -65,7 +65,7 @@ #include /* RCS ID & Copyright macro defns */ -__KERNEL_RCSID(0, "$NetBSD: interrupt.c,v 1.99 2021/07/16 19:02:22 thorpej Exp $"); +__KERNEL_RCSID(0, "$NetBSD: interrupt.c,v 1.100 2021/11/10 16:53:28 msaitoh Exp $"); #include #include @@ -216,7 +216,7 @@ interrupt(unsigned long a0, unsigned lon * for the clock interrupt, we add 0x10. Why? Because * while we only call out a single device interrupt * level, technically the architecture specification - * suports two, meaning we could have intrdepth > 1 + * supports two, meaning we could have intrdepth > 1 * just for device interrupts. * * Adding 0x10 here means that cpu_intr_p() can check Index: src/sys/dev/sdmmc/sdhc.c diff -u src/sys/dev/sdmmc/sdhc.c:1.111 src/sys/dev/sdmmc/sdhc.c:1.112 --- src/sys/dev/sdmmc/sdhc.c:1.111 Sat Aug 7 16:19:16 2021 +++ src/sys/dev/sdmmc/sdhc.c Wed Nov 10 16:53:28 2021 @@ -1,4 +1,4 @@ -/* $NetBSD: sdhc.c,v 1.111 2021/08/07 16:19:16 thorpej Exp $ */ +/* $NetBSD: sdhc.c,v 1.112 2021/11/10 16:53:28 msaitoh Exp $ */ /* $OpenBSD: sdhc.c,v 1.25 2009/01/13 19:44:20 grange Exp $ */ /* @@ -23,7 +23,7 @@ */ #include -__KERNEL_RCSID(0, "$NetBSD: sdhc.c,v 1.111 2021/08/07 16:19:16 thorpej Exp $"); +__KERNEL_RCSID(0, "$NetBSD: sdhc.c,v 1.112 2021/11/10 16:53:28 msaitoh Exp $"); #ifdef _KERNEL_OPT #include "opt_sdmmc.h" @@ -405,7 +405,7 @@ sdhc_host_found(struct sdhc_softc *sc, b /* * Use DMA if the host system and the controller support it. - * Suports integrated or external DMA egine, with or without + * Supports integrated or external DMA egine, with or without * SDHC_DMA_ENABLE in the command. */ if (ISSET(sc->sc_flags, SDHC_FLAG_FORCE_DMA) ||
CVS commit: src/sys
Module Name:src Committed By: msaitoh Date: Wed Nov 10 16:53:28 UTC 2021 Modified Files: src/sys/arch/alpha/alpha: interrupt.c src/sys/dev/sdmmc: sdhc.c Log Message: s/suport/support/ in comment. To generate a diff of this commit: cvs rdiff -u -r1.99 -r1.100 src/sys/arch/alpha/alpha/interrupt.c cvs rdiff -u -r1.111 -r1.112 src/sys/dev/sdmmc/sdhc.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys
Module Name:src Committed By: msaitoh Date: Wed Nov 10 16:47:41 UTC 2021 Modified Files: src/sys/arch/m68k/060sp/dist: fpsp.s src/sys/dev/pci: if_dge.c Log Message: s/threshhold/threshold/ in comment. To generate a diff of this commit: cvs rdiff -u -r1.5 -r1.6 src/sys/arch/m68k/060sp/dist/fpsp.s cvs rdiff -u -r1.60 -r1.61 src/sys/dev/pci/if_dge.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/m68k/060sp/dist/fpsp.s diff -u src/sys/arch/m68k/060sp/dist/fpsp.s:1.5 src/sys/arch/m68k/060sp/dist/fpsp.s:1.6 --- src/sys/arch/m68k/060sp/dist/fpsp.s:1.5 Sun Dec 11 12:17:52 2005 +++ src/sys/arch/m68k/060sp/dist/fpsp.s Wed Nov 10 16:47:41 2021 @@ -1,5 +1,5 @@ # -# $NetBSD: fpsp.s,v 1.5 2005/12/11 12:17:52 christos Exp $ +# $NetBSD: fpsp.s,v 1.6 2021/11/10 16:47:41 msaitoh Exp $ # # @@ -21752,7 +21752,7 @@ denorm_set_stky: rts # # -# dnrm_lp(): normalize exponent/mantissa to specified threshhold # +# dnrm_lp(): normalize exponent/mantissa to specified threshold # # # # INPUT:# # %a0 : points to the operand to be denormalized # Index: src/sys/dev/pci/if_dge.c diff -u src/sys/dev/pci/if_dge.c:1.60 src/sys/dev/pci/if_dge.c:1.61 --- src/sys/dev/pci/if_dge.c:1.60 Mon Aug 9 21:08:06 2021 +++ src/sys/dev/pci/if_dge.c Wed Nov 10 16:47:41 2021 @@ -1,4 +1,4 @@ -/* $NetBSD: if_dge.c,v 1.60 2021/08/09 21:08:06 andvar Exp $ */ +/* $NetBSD: if_dge.c,v 1.61 2021/11/10 16:47:41 msaitoh Exp $ */ /* * Copyright (c) 2004, SUNET, Swedish University Computer Network. @@ -80,7 +80,7 @@ */ #include -__KERNEL_RCSID(0, "$NetBSD: if_dge.c,v 1.60 2021/08/09 21:08:06 andvar Exp $"); +__KERNEL_RCSID(0, "$NetBSD: if_dge.c,v 1.61 2021/11/10 16:47:41 msaitoh Exp $"); @@ -177,7 +177,7 @@ int dge_debug = 0; #define DGE_RXSPACE 10 #define DGE_PREVRX(x) (((x) - DGE_RXSPACE) & DGE_NRXDESC_MASK) /* - * Receive descriptor fetch threshholds. These are values recommended + * Receive descriptor fetch thresholds. These are values recommended * by Intel, do not touch them unless you know what you are doing. */ #define RXDCTL_PTHRESH_VAL 128
CVS commit: src/sys
Module Name:src Committed By: msaitoh Date: Wed Nov 10 16:47:41 UTC 2021 Modified Files: src/sys/arch/m68k/060sp/dist: fpsp.s src/sys/dev/pci: if_dge.c Log Message: s/threshhold/threshold/ in comment. To generate a diff of this commit: cvs rdiff -u -r1.5 -r1.6 src/sys/arch/m68k/060sp/dist/fpsp.s cvs rdiff -u -r1.60 -r1.61 src/sys/dev/pci/if_dge.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/arch/acorn32/podulebus
Module Name:src Committed By: msaitoh Date: Wed Nov 10 16:44:42 UTC 2021 Modified Files: src/sys/arch/acorn32/podulebus: if_ie.c Log Message: s/structre/structure/ in comment. To generate a diff of this commit: cvs rdiff -u -r1.50 -r1.51 src/sys/arch/acorn32/podulebus/if_ie.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/acorn32/podulebus/if_ie.c diff -u src/sys/arch/acorn32/podulebus/if_ie.c:1.50 src/sys/arch/acorn32/podulebus/if_ie.c:1.51 --- src/sys/arch/acorn32/podulebus/if_ie.c:1.50 Sun Sep 19 10:34:07 2021 +++ src/sys/arch/acorn32/podulebus/if_ie.c Wed Nov 10 16:44:42 2021 @@ -1,4 +1,4 @@ -/* $NetBSD: if_ie.c,v 1.50 2021/09/19 10:34:07 andvar Exp $ */ +/* $NetBSD: if_ie.c,v 1.51 2021/11/10 16:44:42 msaitoh Exp $ */ /* * Copyright (c) 1995 Melvin Tang-Richardson. @@ -53,7 +53,7 @@ */ #include -__KERNEL_RCSID(0, "$NetBSD: if_ie.c,v 1.50 2021/09/19 10:34:07 andvar Exp $"); +__KERNEL_RCSID(0, "$NetBSD: if_ie.c,v 1.51 2021/11/10 16:44:42 msaitoh Exp $"); #define IGNORE_ETHER1_IDROM_CHECKSUM @@ -115,7 +115,7 @@ __KERNEL_RCSID(0, "$NetBSD: if_ie.c,v 1. #define xoffsetof(type, member) (offsetof(type, member) << 1) -/* Some data structres local to this file */ +/* Some data structures local to this file */ struct ie_softc { device_t sc_dev;
CVS commit: src/sys/arch/acorn32/podulebus
Module Name:src Committed By: msaitoh Date: Wed Nov 10 16:44:42 UTC 2021 Modified Files: src/sys/arch/acorn32/podulebus: if_ie.c Log Message: s/structre/structure/ in comment. To generate a diff of this commit: cvs rdiff -u -r1.50 -r1.51 src/sys/arch/acorn32/podulebus/if_ie.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/usr.bin/mail
Module Name:src Committed By: msaitoh Date: Wed Nov 10 16:42:47 UTC 2021 Modified Files: src/usr.bin/mail: complete.c Log Message: s/struture/structure/ in comment. To generate a diff of this commit: cvs rdiff -u -r1.23 -r1.24 src/usr.bin/mail/complete.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/usr.bin/mail/complete.c diff -u src/usr.bin/mail/complete.c:1.23 src/usr.bin/mail/complete.c:1.24 --- src/usr.bin/mail/complete.c:1.23 Mon Dec 16 22:55:45 2019 +++ src/usr.bin/mail/complete.c Wed Nov 10 16:42:47 2021 @@ -1,4 +1,4 @@ -/* $NetBSD: complete.c,v 1.23 2019/12/16 22:55:45 christos Exp $ */ +/* $NetBSD: complete.c,v 1.24 2021/11/10 16:42:47 msaitoh Exp $ */ /*- * Copyright (c) 1997-2000,2005,2006 The NetBSD Foundation, Inc. @@ -37,7 +37,7 @@ #include #ifndef lint -__RCSID("$NetBSD: complete.c,v 1.23 2019/12/16 22:55:45 christos Exp $"); +__RCSID("$NetBSD: complete.c,v 1.24 2021/11/10 16:42:47 msaitoh Exp $"); #endif /* not lint */ /* @@ -1078,7 +1078,7 @@ mime_enc_complete(EditLine *el, int ch) * Our public interface to el_gets(): * * init_editline() - *Initializes of all editline and completion data strutures. + *Initializes of all editline and completion data structures. * * my_gets() *Displays prompt, calls el_gets() and deals with history.
CVS commit: src/usr.bin/mail
Module Name:src Committed By: msaitoh Date: Wed Nov 10 16:42:47 UTC 2021 Modified Files: src/usr.bin/mail: complete.c Log Message: s/struture/structure/ in comment. To generate a diff of this commit: cvs rdiff -u -r1.23 -r1.24 src/usr.bin/mail/complete.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/arch/x68k/x68k
Module Name:src Committed By: msaitoh Date: Wed Nov 10 16:40:55 UTC 2021 Modified Files: src/sys/arch/x68k/x68k: kgdb_stub.c Log Message: s/procesing/processing/ in comment. To generate a diff of this commit: cvs rdiff -u -r1.18 -r1.19 src/sys/arch/x68k/x68k/kgdb_stub.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/x68k/x68k/kgdb_stub.c diff -u src/sys/arch/x68k/x68k/kgdb_stub.c:1.18 src/sys/arch/x68k/x68k/kgdb_stub.c:1.19 --- src/sys/arch/x68k/x68k/kgdb_stub.c:1.18 Fri Nov 27 03:23:15 2009 +++ src/sys/arch/x68k/x68k/kgdb_stub.c Wed Nov 10 16:40:55 2021 @@ -1,4 +1,4 @@ -/* $NetBSD: kgdb_stub.c,v 1.18 2009/11/27 03:23:15 rmind Exp $ */ +/* $NetBSD: kgdb_stub.c,v 1.19 2021/11/10 16:40:55 msaitoh Exp $ */ /* * Copyright (c) 1990, 1993 @@ -45,13 +45,13 @@ */ #include -__KERNEL_RCSID(0, "$NetBSD: kgdb_stub.c,v 1.18 2009/11/27 03:23:15 rmind Exp $"); +__KERNEL_RCSID(0, "$NetBSD: kgdb_stub.c,v 1.19 2021/11/10 16:40:55 msaitoh Exp $"); #include "opt_kgdb.h" #ifdef KGDB #ifndef lint -static char rcsid[] = "$NetBSD: kgdb_stub.c,v 1.18 2009/11/27 03:23:15 rmind Exp $"; +static char rcsid[] = "$NetBSD: kgdb_stub.c,v 1.19 2021/11/10 16:40:55 msaitoh Exp $"; #endif #include @@ -314,7 +314,7 @@ static u_char inbuffer[SL_RPCSIZE+1]; static u_char outbuffer[SL_RPCSIZE]; /* - * This function does all command procesing for interfacing to + * This function does all command processing for interfacing to * a remote gdb. */ int
CVS commit: src/sys/arch/x68k/x68k
Module Name:src Committed By: msaitoh Date: Wed Nov 10 16:40:55 UTC 2021 Modified Files: src/sys/arch/x68k/x68k: kgdb_stub.c Log Message: s/procesing/processing/ in comment. To generate a diff of this commit: cvs rdiff -u -r1.18 -r1.19 src/sys/arch/x68k/x68k/kgdb_stub.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/arch/arm/xscale
Module Name:src Committed By: msaitoh Date: Wed Nov 10 16:22:44 UTC 2021 Modified Files: src/sys/arch/arm/xscale: pxa2x0reg.h Log Message: s/Asychronous/Asynchronous/ in comment. To generate a diff of this commit: cvs rdiff -u -r1.23 -r1.24 src/sys/arch/arm/xscale/pxa2x0reg.h 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/arm/xscale/pxa2x0reg.h diff -u src/sys/arch/arm/xscale/pxa2x0reg.h:1.23 src/sys/arch/arm/xscale/pxa2x0reg.h:1.24 --- src/sys/arch/arm/xscale/pxa2x0reg.h:1.23 Thu Jun 23 11:26:22 2011 +++ src/sys/arch/arm/xscale/pxa2x0reg.h Wed Nov 10 16:22:44 2021 @@ -1,4 +1,4 @@ -/* $NetBSD: pxa2x0reg.h,v 1.23 2011/06/23 11:26:22 kiyohara Exp $ */ +/* $NetBSD: pxa2x0reg.h,v 1.24 2021/11/10 16:22:44 msaitoh Exp $ */ /* * Copyright (c) 2002 Genetec Corporation. All rights reserved. @@ -485,9 +485,9 @@ struct pxa2x0_dma_desc { #define MDREFR_K1FREE (1<<24) /* SDCLK1 free run */ #define MDREFR_K2FREE (1<<25) /* SDCLK2 free run */ -#define MEMCTL_MSC0 0x08 /* Asychronous Statis memory Control CS[01] */ -#define MEMCTL_MSC1 0x0c /* Asychronous Statis memory Control CS[23] */ -#define MEMCTL_MSC2 0x10 /* Asychronous Statis memory Control CS[45] */ +#define MEMCTL_MSC0 0x08 /* Asynchronous Statis memory Control CS[01] */ +#define MEMCTL_MSC1 0x0c /* Asynchronous Statis memory Control CS[23] */ +#define MEMCTL_MSC2 0x10 /* Asynchronous Statis memory Control CS[45] */ #define MSC_RBUFF_SHIFT 15 /* return data buffer */ #define MSC_RBUFF (1<
CVS commit: src/sys/arch/arm/xscale
Module Name:src Committed By: msaitoh Date: Wed Nov 10 16:22:44 UTC 2021 Modified Files: src/sys/arch/arm/xscale: pxa2x0reg.h Log Message: s/Asychronous/Asynchronous/ in comment. To generate a diff of this commit: cvs rdiff -u -r1.23 -r1.24 src/sys/arch/arm/xscale/pxa2x0reg.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src
Module Name:src Committed By: msaitoh Date: Wed Nov 10 16:19:49 UTC 2021 Modified Files: src/sys/sys: exec.h src/usr.sbin/mmcformat: uscsi_subr.c Log Message: s/funtion/function/ in comment. To generate a diff of this commit: cvs rdiff -u -r1.159 -r1.160 src/sys/sys/exec.h cvs rdiff -u -r1.2 -r1.3 src/usr.sbin/mmcformat/uscsi_subr.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/sys/exec.h diff -u src/sys/sys/exec.h:1.159 src/sys/sys/exec.h:1.160 --- src/sys/sys/exec.h:1.159 Thu Jan 23 10:05:44 2020 +++ src/sys/sys/exec.h Wed Nov 10 16:19:48 2021 @@ -1,4 +1,4 @@ -/* $NetBSD: exec.h,v 1.159 2020/01/23 10:05:44 ad Exp $ */ +/* $NetBSD: exec.h,v 1.160 2021/11/10 16:19:48 msaitoh Exp $ */ /*- * Copyright (c) 1992, 1993 @@ -248,7 +248,7 @@ struct exec_vmcmd { }; /* - * funtions used either by execve() or the various CPU-dependent execve() + * functions used either by execve() or the various CPU-dependent execve() * hooks. */ vaddr_t exec_vm_minaddr (vaddr_t); Index: src/usr.sbin/mmcformat/uscsi_subr.c diff -u src/usr.sbin/mmcformat/uscsi_subr.c:1.2 src/usr.sbin/mmcformat/uscsi_subr.c:1.3 --- src/usr.sbin/mmcformat/uscsi_subr.c:1.2 Tue May 28 08:59:36 2019 +++ src/usr.sbin/mmcformat/uscsi_subr.c Wed Nov 10 16:19:49 2021 @@ -1,4 +1,4 @@ -/* $NetBSD: uscsi_subr.c,v 1.2 2019/05/28 08:59:36 msaitoh Exp $ */ +/* $NetBSD: uscsi_subr.c,v 1.3 2021/11/10 16:19:49 msaitoh Exp $ */ /*- * Copyright (c) 1998 The NetBSD Foundation, Inc. @@ -518,7 +518,7 @@ uscsi_check_for_scsi(struct uscsi_dev *d /* - * Generic SCSI funtions also used by the sense printing functionality. + * Generic SCSI functions also used by the sense printing functionality. * FreeBSD support has it allready asked for by the CAM. */
CVS commit: src
Module Name:src Committed By: msaitoh Date: Wed Nov 10 16:19:49 UTC 2021 Modified Files: src/sys/sys: exec.h src/usr.sbin/mmcformat: uscsi_subr.c Log Message: s/funtion/function/ in comment. To generate a diff of this commit: cvs rdiff -u -r1.159 -r1.160 src/sys/sys/exec.h cvs rdiff -u -r1.2 -r1.3 src/usr.sbin/mmcformat/uscsi_subr.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/dev
Module Name:src Committed By: msaitoh Date: Wed Nov 10 16:17:34 UTC 2021 Modified Files: src/sys/dev/ic: rtw.c smc83c170var.h src/sys/dev/pci: if_ti.c src/sys/dev/scsipi: scsi_disk.h Log Message: s/desciptor/descriptor/ in comment. To generate a diff of this commit: cvs rdiff -u -r1.136 -r1.137 src/sys/dev/ic/rtw.c cvs rdiff -u -r1.14 -r1.15 src/sys/dev/ic/smc83c170var.h cvs rdiff -u -r1.121 -r1.122 src/sys/dev/pci/if_ti.c cvs rdiff -u -r1.33 -r1.34 src/sys/dev/scsipi/scsi_disk.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/sys/dev/ic/rtw.c diff -u src/sys/dev/ic/rtw.c:1.136 src/sys/dev/ic/rtw.c:1.137 --- src/sys/dev/ic/rtw.c:1.136 Wed Jun 16 00:21:18 2021 +++ src/sys/dev/ic/rtw.c Wed Nov 10 16:17:34 2021 @@ -1,4 +1,4 @@ -/* $NetBSD: rtw.c,v 1.136 2021/06/16 00:21:18 riastradh Exp $ */ +/* $NetBSD: rtw.c,v 1.137 2021/11/10 16:17:34 msaitoh Exp $ */ /*- * Copyright (c) 2004, 2005, 2006, 2007 David Young. All rights * reserved. @@ -32,7 +32,7 @@ */ #include -__KERNEL_RCSID(0, "$NetBSD: rtw.c,v 1.136 2021/06/16 00:21:18 riastradh Exp $"); +__KERNEL_RCSID(0, "$NetBSD: rtw.c,v 1.137 2021/11/10 16:17:34 msaitoh Exp $"); #include @@ -1172,7 +1172,7 @@ rtw_txdesc_blk_init_all(struct rtw_txdes * descriptor in a single beacon interval, since that will * enable multiple-BSS support. Since the NIC does not * clear the OWN bit, there is no natural place for it to - * stop processing BEACON desciptors. Maybe it will *not* + * stop processing BEACON descriptors. Maybe it will *not* * stop processing them! I do not want to chance the NIC * looping around and around a saturated beacon ring, so * I will leave one descriptor unOWNed at all times. Index: src/sys/dev/ic/smc83c170var.h diff -u src/sys/dev/ic/smc83c170var.h:1.14 src/sys/dev/ic/smc83c170var.h:1.15 --- src/sys/dev/ic/smc83c170var.h:1.14 Thu Sep 3 14:13:16 2009 +++ src/sys/dev/ic/smc83c170var.h Wed Nov 10 16:17:34 2021 @@ -1,4 +1,4 @@ -/* $NetBSD: smc83c170var.h,v 1.14 2009/09/03 14:13:16 tsutsui Exp $ */ +/* $NetBSD: smc83c170var.h,v 1.15 2021/11/10 16:17:34 msaitoh Exp $ */ /*- * Copyright (c) 1998, 1999 The NetBSD Foundation, Inc. @@ -82,7 +82,7 @@ struct epic_control_data { #define EPIC_CDFLOFF(x) EPIC_CDOFF(ecd_txfrags[(x)]) /* - * Software state for transmit and receive desciptors. + * Software state for transmit and receive descriptors. */ struct epic_descsoft { struct mbuf *ds_mbuf; /* head of mbuf chain */ Index: src/sys/dev/pci/if_ti.c diff -u src/sys/dev/pci/if_ti.c:1.121 src/sys/dev/pci/if_ti.c:1.122 --- src/sys/dev/pci/if_ti.c:1.121 Sat Jun 5 14:28:28 2021 +++ src/sys/dev/pci/if_ti.c Wed Nov 10 16:17:34 2021 @@ -1,4 +1,4 @@ -/* $NetBSD: if_ti.c,v 1.121 2021/06/05 14:28:28 thorpej Exp $ */ +/* $NetBSD: if_ti.c,v 1.122 2021/11/10 16:17:34 msaitoh Exp $ */ /* * Copyright (c) 1997, 1998, 1999 @@ -55,7 +55,7 @@ * * The Tigon 2 contains 2 R4000 CPUs and requires a newer firmware * revision, which supports new features such as extended commands, - * extended jumbo receive ring desciptors and a mini receive ring. + * extended jumbo receive ring descriptors and a mini receive ring. * * Alteon Networks is to be commended for releasing such a vast amount * of development material for the Tigon NIC without requiring an NDA @@ -81,7 +81,7 @@ */ #include -__KERNEL_RCSID(0, "$NetBSD: if_ti.c,v 1.121 2021/06/05 14:28:28 thorpej Exp $"); +__KERNEL_RCSID(0, "$NetBSD: if_ti.c,v 1.122 2021/11/10 16:17:34 msaitoh Exp $"); #include "opt_inet.h" Index: src/sys/dev/scsipi/scsi_disk.h diff -u src/sys/dev/scsipi/scsi_disk.h:1.33 src/sys/dev/scsipi/scsi_disk.h:1.34 --- src/sys/dev/scsipi/scsi_disk.h:1.33 Fri Dec 27 09:41:51 2019 +++ src/sys/dev/scsipi/scsi_disk.h Wed Nov 10 16:17:34 2021 @@ -1,4 +1,4 @@ -/* $NetBSD: scsi_disk.h,v 1.33 2019/12/27 09:41:51 msaitoh Exp $ */ +/* $NetBSD: scsi_disk.h,v 1.34 2021/11/10 16:17:34 msaitoh Exp $ */ /* * SCSI-specific interface description @@ -111,7 +111,7 @@ struct scsi_initialization_pattern_descr }; /* - * Defect desciptors. These are used as the defect lists in the FORMAT UNIT + * Defect descriptors. These are used as the defect lists in the FORMAT UNIT * and READ DEFECT DATA commands, and as the translate page of the * SEND DIAGNOSTIC and RECEIVE DIAGNOSTIC RESULTS commands. */
CVS commit: src/sys/dev
Module Name:src Committed By: msaitoh Date: Wed Nov 10 16:17:34 UTC 2021 Modified Files: src/sys/dev/ic: rtw.c smc83c170var.h src/sys/dev/pci: if_ti.c src/sys/dev/scsipi: scsi_disk.h Log Message: s/desciptor/descriptor/ in comment. To generate a diff of this commit: cvs rdiff -u -r1.136 -r1.137 src/sys/dev/ic/rtw.c cvs rdiff -u -r1.14 -r1.15 src/sys/dev/ic/smc83c170var.h cvs rdiff -u -r1.121 -r1.122 src/sys/dev/pci/if_ti.c cvs rdiff -u -r1.33 -r1.34 src/sys/dev/scsipi/scsi_disk.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/dev/ieee1394
Module Name:src Committed By: msaitoh Date: Wed Nov 10 16:08:17 UTC 2021 Modified Files: src/sys/dev/ieee1394: fwdev.c Log Message: s/avaliable/available/ To generate a diff of this commit: cvs rdiff -u -r1.32 -r1.33 src/sys/dev/ieee1394/fwdev.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/dev/ieee1394/fwdev.c diff -u src/sys/dev/ieee1394/fwdev.c:1.32 src/sys/dev/ieee1394/fwdev.c:1.33 --- src/sys/dev/ieee1394/fwdev.c:1.32 Sun Jun 25 12:39:27 2017 +++ src/sys/dev/ieee1394/fwdev.c Wed Nov 10 16:08:17 2021 @@ -1,4 +1,4 @@ -/* $NetBSD: fwdev.c,v 1.32 2017/06/25 12:39:27 maxv Exp $ */ +/* $NetBSD: fwdev.c,v 1.33 2021/11/10 16:08:17 msaitoh Exp $ */ /*- * Copyright (c) 2003 Hidetoshi Shimokawa * Copyright (c) 1998-2002 Katsushi Kobayashi and Hidetoshi Shimokawa @@ -37,7 +37,7 @@ */ #include -__KERNEL_RCSID(0, "$NetBSD: fwdev.c,v 1.32 2017/06/25 12:39:27 maxv Exp $"); +__KERNEL_RCSID(0, "$NetBSD: fwdev.c,v 1.33 2021/11/10 16:08:17 msaitoh Exp $"); #include #include @@ -264,7 +264,7 @@ readloop: } } if (ir->stproc == NULL) { - /* no data avaliable */ + /* no data available */ if (slept == 0) { slept = 1; ir->flag |= FWXFERQ_WAKEUP;
CVS commit: src/sys/dev/ieee1394
Module Name:src Committed By: msaitoh Date: Wed Nov 10 16:08:17 UTC 2021 Modified Files: src/sys/dev/ieee1394: fwdev.c Log Message: s/avaliable/available/ To generate a diff of this commit: cvs rdiff -u -r1.32 -r1.33 src/sys/dev/ieee1394/fwdev.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/arch/powerpc/powerpc
Module Name:src Committed By: msaitoh Date: Wed Nov 10 16:02:49 UTC 2021 Modified Files: src/sys/arch/powerpc/powerpc: db_interface.c Log Message: s/Reseting/Resetting/ To generate a diff of this commit: cvs rdiff -u -r1.57 -r1.58 src/sys/arch/powerpc/powerpc/db_interface.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/powerpc/powerpc/db_interface.c diff -u src/sys/arch/powerpc/powerpc/db_interface.c:1.57 src/sys/arch/powerpc/powerpc/db_interface.c:1.58 --- src/sys/arch/powerpc/powerpc/db_interface.c:1.57 Sat Jul 24 21:31:34 2021 +++ src/sys/arch/powerpc/powerpc/db_interface.c Wed Nov 10 16:02:48 2021 @@ -1,8 +1,8 @@ -/* $NetBSD: db_interface.c,v 1.57 2021/07/24 21:31:34 andvar Exp $ */ +/* $NetBSD: db_interface.c,v 1.58 2021/11/10 16:02:48 msaitoh Exp $ */ /* $OpenBSD: db_interface.c,v 1.2 1996/12/28 06:21:50 rahnds Exp $ */ #include -__KERNEL_RCSID(0, "$NetBSD: db_interface.c,v 1.57 2021/07/24 21:31:34 andvar Exp $"); +__KERNEL_RCSID(0, "$NetBSD: db_interface.c,v 1.58 2021/11/10 16:02:48 msaitoh Exp $"); #define USERACC @@ -814,7 +814,7 @@ static void db_ppcbooke_reset(db_expr_t addr, bool have_addr, db_expr_t count, const char *modif) { - printf("Reseting...\n"); + printf("Resetting...\n"); (*cpu_md_ops.md_cpu_reset)(); }
CVS commit: src/sys/arch/powerpc/powerpc
Module Name:src Committed By: msaitoh Date: Wed Nov 10 16:02:49 UTC 2021 Modified Files: src/sys/arch/powerpc/powerpc: db_interface.c Log Message: s/Reseting/Resetting/ To generate a diff of this commit: cvs rdiff -u -r1.57 -r1.58 src/sys/arch/powerpc/powerpc/db_interface.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sbin/nvmectl
Module Name:src Committed By: msaitoh Date: Wed Nov 10 16:02:14 UTC 2021 Modified Files: src/sbin/nvmectl: bignum.c Log Message: s/offseting/offsetting/ in comment. To generate a diff of this commit: cvs rdiff -u -r1.3 -r1.4 src/sbin/nvmectl/bignum.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/sbin/nvmectl/bignum.c diff -u src/sbin/nvmectl/bignum.c:1.3 src/sbin/nvmectl/bignum.c:1.4 --- src/sbin/nvmectl/bignum.c:1.3 Fri Oct 4 09:16:38 2019 +++ src/sbin/nvmectl/bignum.c Wed Nov 10 16:02:14 2021 @@ -1,4 +1,4 @@ -/* $NetBSD: bignum.c,v 1.3 2019/10/04 09:16:38 mrg Exp $ */ +/* $NetBSD: bignum.c,v 1.4 2021/11/10 16:02:14 msaitoh Exp $ */ /*- * Copyright (c) 2012 Alistair Crooks @@ -3642,7 +3642,7 @@ fast_mp_montgomery_reduce(mp_int * x, mp /* a = a + mu * m * b**i * * This is computed in place and on the fly. The multiplication - * by b**i is handled by offseting which columns the results + * by b**i is handled by offsetting which columns the results * are added to. * * Note the comba method normally doesn't handle carries in the
CVS commit: src/sbin/nvmectl
Module Name:src Committed By: msaitoh Date: Wed Nov 10 16:02:14 UTC 2021 Modified Files: src/sbin/nvmectl: bignum.c Log Message: s/offseting/offsetting/ in comment. To generate a diff of this commit: cvs rdiff -u -r1.3 -r1.4 src/sbin/nvmectl/bignum.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/arch
Module Name:src Committed By: msaitoh Date: Wed Nov 10 15:59:08 UTC 2021 Modified Files: src/sys/arch/amd64/amd64: locore.S src/sys/arch/i386/i386: locore.S Log Message: s/annouce/announce/ in comment. To generate a diff of this commit: cvs rdiff -u -r1.211 -r1.212 src/sys/arch/amd64/amd64/locore.S cvs rdiff -u -r1.186 -r1.187 src/sys/arch/i386/i386/locore.S 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/amd64/amd64/locore.S diff -u src/sys/arch/amd64/amd64/locore.S:1.211 src/sys/arch/amd64/amd64/locore.S:1.212 --- src/sys/arch/amd64/amd64/locore.S:1.211 Fri Aug 13 20:26:07 2021 +++ src/sys/arch/amd64/amd64/locore.S Wed Nov 10 15:59:07 2021 @@ -1,4 +1,4 @@ -/* $NetBSD: locore.S,v 1.211 2021/08/13 20:26:07 andvar Exp $ */ +/* $NetBSD: locore.S,v 1.212 2021/11/10 15:59:07 msaitoh Exp $ */ /* * Copyright-o-rama! @@ -1059,7 +1059,7 @@ ENTRY(start_xen32) movl %ebx,(%ebp) movl $KERNBASE_HI,4(%ebp) - /* annouce ourself */ + /* announce ourself */ movl $VM_GUEST_XENPVH, RELOC(vm_guest) jmp .Lbiosbasemem_finished END(start_xen32) Index: src/sys/arch/i386/i386/locore.S diff -u src/sys/arch/i386/i386/locore.S:1.186 src/sys/arch/i386/i386/locore.S:1.187 --- src/sys/arch/i386/i386/locore.S:1.186 Fri Aug 13 20:26:07 2021 +++ src/sys/arch/i386/i386/locore.S Wed Nov 10 15:59:08 2021 @@ -1,4 +1,4 @@ -/* $NetBSD: locore.S,v 1.186 2021/08/13 20:26:07 andvar Exp $ */ +/* $NetBSD: locore.S,v 1.187 2021/11/10 15:59:08 msaitoh Exp $ */ /* * Copyright-o-rama! @@ -128,7 +128,7 @@ */ #include -__KERNEL_RCSID(0, "$NetBSD: locore.S,v 1.186 2021/08/13 20:26:07 andvar Exp $"); +__KERNEL_RCSID(0, "$NetBSD: locore.S,v 1.187 2021/11/10 15:59:08 msaitoh Exp $"); #include "opt_copy_symtab.h" #include "opt_ddb.h" @@ -1212,7 +1212,7 @@ ENTRY(start_xenpvh) addl $KERNBASE,%ebx movl $RELOC(eblob),%ebp movl %ebx,(%ebp) - /* annouce ourself */ + /* announce ourself */ movl $VM_GUEST_XENPVH, RELOC(vm_guest) jmp .Lstart_common END(start_xenpvh)
CVS commit: src/sys/arch
Module Name:src Committed By: msaitoh Date: Wed Nov 10 15:59:08 UTC 2021 Modified Files: src/sys/arch/amd64/amd64: locore.S src/sys/arch/i386/i386: locore.S Log Message: s/annouce/announce/ in comment. To generate a diff of this commit: cvs rdiff -u -r1.211 -r1.212 src/sys/arch/amd64/amd64/locore.S cvs rdiff -u -r1.186 -r1.187 src/sys/arch/i386/i386/locore.S Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/bin/sh
Module Name:src Committed By: kre Date: Wed Nov 10 15:58:39 UTC 2021 Modified Files: src/bin/sh: output.h Log Message: Add a couple of macro definitions for dealing with shell I/O errors. (Macros akin to stdio's ferror() and clearerr()). NFC: the macros are defined, but not yet used anywhere. Uses coming soonish. To generate a diff of this commit: cvs rdiff -u -r1.27 -r1.28 src/bin/sh/output.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/bin/sh/output.h diff -u src/bin/sh/output.h:1.27 src/bin/sh/output.h:1.28 --- src/bin/sh/output.h:1.27 Tue Nov 21 03:42:39 2017 +++ src/bin/sh/output.h Wed Nov 10 15:58:38 2021 @@ -1,4 +1,4 @@ -/* $NetBSD: output.h,v 1.27 2017/11/21 03:42:39 kre Exp $ */ +/* $NetBSD: output.h,v 1.28 2021/11/10 15:58:38 kre Exp $ */ /*- * Copyright (c) 1991, 1993 @@ -105,5 +105,8 @@ void xtrace_pop(void); #define out2c(c) outc(c, out2) #define outxc(c) outc(c, outx) +#define clr_err(file) ((file)->flags &= ~OUTPUT_ERR) +#define io_err(file) ((file)->flags & OUTPUT_ERR) + #define OUTPUT_INCL #endif
CVS commit: src/bin/sh
Module Name:src Committed By: kre Date: Wed Nov 10 15:58:39 UTC 2021 Modified Files: src/bin/sh: output.h Log Message: Add a couple of macro definitions for dealing with shell I/O errors. (Macros akin to stdio's ferror() and clearerr()). NFC: the macros are defined, but not yet used anywhere. Uses coming soonish. To generate a diff of this commit: cvs rdiff -u -r1.27 -r1.28 src/bin/sh/output.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/fs/nfs/client
Module Name:src Committed By: msaitoh Date: Wed Nov 10 15:56:39 UTC 2021 Modified Files: src/sys/fs/nfs/client: nfs_clcomsubs.c Log Message: s/derefernce/dereference/ in comment. To generate a diff of this commit: cvs rdiff -u -r1.2 -r1.3 src/sys/fs/nfs/client/nfs_clcomsubs.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/fs/nfs/client/nfs_clcomsubs.c diff -u src/sys/fs/nfs/client/nfs_clcomsubs.c:1.2 src/sys/fs/nfs/client/nfs_clcomsubs.c:1.3 --- src/sys/fs/nfs/client/nfs_clcomsubs.c:1.2 Fri Nov 18 22:58:08 2016 +++ src/sys/fs/nfs/client/nfs_clcomsubs.c Wed Nov 10 15:56:39 2021 @@ -1,4 +1,4 @@ -/* $NetBSD: nfs_clcomsubs.c,v 1.2 2016/11/18 22:58:08 pgoyette Exp $ */ +/* $NetBSD: nfs_clcomsubs.c,v 1.3 2021/11/10 15:56:39 msaitoh Exp $ */ /*- * Copyright (c) 1989, 1993 * The Regents of the University of California. All rights reserved. @@ -34,7 +34,7 @@ #include /* __FBSDID("FreeBSD: head/sys/fs/nfsclient/nfs_clcomsubs.c 304026 2016-08-12 22:44:59Z rmacklem "); */ -__RCSID("$NetBSD: nfs_clcomsubs.c,v 1.2 2016/11/18 22:58:08 pgoyette Exp $"); +__RCSID("$NetBSD: nfs_clcomsubs.c,v 1.3 2021/11/10 15:56:39 msaitoh Exp $"); /* * These functions support the macros and help fiddle mbuf chains for @@ -569,7 +569,7 @@ nfscl_lockunlock(struct nfsv4lock *lckp) } /* - * Called to derefernce a lock on a stateid (delegation or open owner). + * Called to dereference a lock on a stateid (delegation or open owner). */ APPLESTATIC void nfscl_lockderef(struct nfsv4lock *lckp)
CVS commit: src/sys/fs/nfs/client
Module Name:src Committed By: msaitoh Date: Wed Nov 10 15:56:39 UTC 2021 Modified Files: src/sys/fs/nfs/client: nfs_clcomsubs.c Log Message: s/derefernce/dereference/ in comment. To generate a diff of this commit: cvs rdiff -u -r1.2 -r1.3 src/sys/fs/nfs/client/nfs_clcomsubs.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/dev/marvell
Module Name:src Committed By: msaitoh Date: Wed Nov 10 15:55:35 UTC 2021 Modified Files: src/sys/dev/marvell: if_mvxpereg.h Log Message: s/Erorr/Error/ in comment. To generate a diff of this commit: cvs rdiff -u -r1.6 -r1.7 src/sys/dev/marvell/if_mvxpereg.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/sys/dev/marvell/if_mvxpereg.h diff -u src/sys/dev/marvell/if_mvxpereg.h:1.6 src/sys/dev/marvell/if_mvxpereg.h:1.7 --- src/sys/dev/marvell/if_mvxpereg.h:1.6 Tue Aug 17 22:00:31 2021 +++ src/sys/dev/marvell/if_mvxpereg.h Wed Nov 10 15:55:35 2021 @@ -1,4 +1,4 @@ -/* $NetBSD: if_mvxpereg.h,v 1.6 2021/08/17 22:00:31 andvar Exp $ */ +/* $NetBSD: if_mvxpereg.h,v 1.7 2021/11/10 15:55:35 msaitoh Exp $ */ /* * Copyright (c) 2015 Internet Initiative Japan Inc. * All rights reserved. @@ -225,8 +225,8 @@ /* SGMII PHY Registers */ #define MVXPE_PPLLC 0x2e04 /* Power and PLL Control */ #define MVXPE_TESTC0 0x2e54 /* PHY Test Control 0 */ -#define MVXPE_TESTPRBSEC0 0x2e7c /* PHY Test PRBS Erorr Counter 0 */ -#define MVXPE_TESTPRBSEC1 0x2e80 /* PHY Test PRBS Erorr Counter 1 */ +#define MVXPE_TESTPRBSEC0 0x2e7c /* PHY Test PRBS Error Counter 0 */ +#define MVXPE_TESTPRBSEC1 0x2e80 /* PHY Test PRBS Error Counter 1 */ #define MVXPE_TESTOOB0 0x2e84 /* PHY Test OOB 0 */ #define MVXPE_DLE 0x2e8c /* Digital Loopback Enable */ #define MVXPE_RCS 0x2f18 /* Reference Clock Select */
CVS commit: src/sys/dev/marvell
Module Name:src Committed By: msaitoh Date: Wed Nov 10 15:55:35 UTC 2021 Modified Files: src/sys/dev/marvell: if_mvxpereg.h Log Message: s/Erorr/Error/ in comment. To generate a diff of this commit: cvs rdiff -u -r1.6 -r1.7 src/sys/dev/marvell/if_mvxpereg.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/usr.sbin/bootp/bootpd
Module Name:src Committed By: msaitoh Date: Wed Nov 10 15:49:42 UTC 2021 Modified Files: src/usr.sbin/bootp/bootpd: Makefile.UNIX Log Message: s/streror/strerror/ in comment. To generate a diff of this commit: cvs rdiff -u -r1.3 -r1.4 src/usr.sbin/bootp/bootpd/Makefile.UNIX Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/usr.sbin/bootp/bootpd/Makefile.UNIX diff -u src/usr.sbin/bootp/bootpd/Makefile.UNIX:1.3 src/usr.sbin/bootp/bootpd/Makefile.UNIX:1.4 --- src/usr.sbin/bootp/bootpd/Makefile.UNIX:1.3 Fri Jan 9 08:09:01 1998 +++ src/usr.sbin/bootp/bootpd/Makefile.UNIX Wed Nov 10 15:49:42 2021 @@ -1,4 +1,4 @@ -# $NetBSD: Makefile.UNIX,v 1.3 1998/01/09 08:09:01 perry Exp $ +# $NetBSD: Makefile.UNIX,v 1.4 2021/11/10 15:49:42 msaitoh Exp $ # # # Makefile for the BOOTP programs: @@ -23,7 +23,7 @@ OPTDEFS= -DSYSLOG -DVEND_CMU -DDEBUG # SYSDEFS= -DSVR4 # SYSLIBS= -lsocket -lnsl -# Uncomment this if your system does not provide streror(3) +# Uncomment this if your system does not provide strerror(3) # STRERROR=strerror.o # FILE DEFinitions:
CVS commit: src/usr.sbin/bootp/bootpd
Module Name:src Committed By: msaitoh Date: Wed Nov 10 15:49:42 UTC 2021 Modified Files: src/usr.sbin/bootp/bootpd: Makefile.UNIX Log Message: s/streror/strerror/ in comment. To generate a diff of this commit: cvs rdiff -u -r1.3 -r1.4 src/usr.sbin/bootp/bootpd/Makefile.UNIX Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/share/doc/papers/diskperf
Module Name:src Committed By: msaitoh Date: Wed Nov 10 15:41:41 UTC 2021 Modified Files: src/share/doc/papers/diskperf: methodology.ms Log Message: s/ba/be/ To generate a diff of this commit: cvs rdiff -u -r1.3 -r1.4 src/share/doc/papers/diskperf/methodology.ms Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/share/doc/papers/diskperf/methodology.ms diff -u src/share/doc/papers/diskperf/methodology.ms:1.3 src/share/doc/papers/diskperf/methodology.ms:1.4 --- src/share/doc/papers/diskperf/methodology.ms:1.3 Thu Aug 7 10:30:41 2003 +++ src/share/doc/papers/diskperf/methodology.ms Wed Nov 10 15:41:41 2021 @@ -1,4 +1,4 @@ -.\" $NetBSD: methodology.ms,v 1.3 2003/08/07 10:30:41 agc Exp $ +.\" $NetBSD: methodology.ms,v 1.4 2021/11/10 15:41:41 msaitoh Exp $ .\" .\" Copyright (c) 1983 The Regents of the University of California. .\" All rights reserved. @@ -97,7 +97,7 @@ The apparently straight-forward activity on disk can produce a complex mixture of disk traffic. File I/O is supported by a file management system that buffers disk traffic through an internal cache, -which allows writes to ba handled asynchronously. +which allows writes to be handled asynchronously. Reads must be done synchronously, however this restriction is moderated by the use of read-ahead. Small changes in the performance of the disk controller
CVS commit: src/share/doc/papers/diskperf
Module Name:src Committed By: msaitoh Date: Wed Nov 10 15:41:41 UTC 2021 Modified Files: src/share/doc/papers/diskperf: methodology.ms Log Message: s/ba/be/ To generate a diff of this commit: cvs rdiff -u -r1.3 -r1.4 src/share/doc/papers/diskperf/methodology.ms Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys
Module Name:src Committed By: msaitoh Date: Wed Nov 10 15:39:03 UTC 2021 Modified Files: src/sys/arch/mips/mips: mips_mcclock.c src/sys/dev/i2c: i2cmux.c Log Message: s/acutal/actual/ in comment. To generate a diff of this commit: cvs rdiff -u -r1.19 -r1.20 src/sys/arch/mips/mips/mips_mcclock.c cvs rdiff -u -r1.6 -r1.7 src/sys/dev/i2c/i2cmux.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys
Module Name:src Committed By: msaitoh Date: Wed Nov 10 15:39:03 UTC 2021 Modified Files: src/sys/arch/mips/mips: mips_mcclock.c src/sys/dev/i2c: i2cmux.c Log Message: s/acutal/actual/ in comment. To generate a diff of this commit: cvs rdiff -u -r1.19 -r1.20 src/sys/arch/mips/mips/mips_mcclock.c cvs rdiff -u -r1.6 -r1.7 src/sys/dev/i2c/i2cmux.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/mips/mips/mips_mcclock.c diff -u src/sys/arch/mips/mips/mips_mcclock.c:1.19 src/sys/arch/mips/mips/mips_mcclock.c:1.20 --- src/sys/arch/mips/mips/mips_mcclock.c:1.19 Sun Feb 20 07:45:48 2011 +++ src/sys/arch/mips/mips/mips_mcclock.c Wed Nov 10 15:39:03 2021 @@ -1,4 +1,4 @@ -/* $NetBSD: mips_mcclock.c,v 1.19 2011/02/20 07:45:48 matt Exp $ */ +/* $NetBSD: mips_mcclock.c,v 1.20 2021/11/10 15:39:03 msaitoh Exp $ */ /* * Copyright (c) 1997 Jonathan Stone (hereinafter referred to as the author) @@ -34,7 +34,7 @@ #include /* RCS ID & Copyright macro defns */ -__KERNEL_RCSID(0, "$NetBSD: mips_mcclock.c,v 1.19 2011/02/20 07:45:48 matt Exp $"); +__KERNEL_RCSID(0, "$NetBSD: mips_mcclock.c,v 1.20 2021/11/10 15:39:03 msaitoh Exp $"); #include #include @@ -68,7 +68,7 @@ mc_cpuspeed(vaddr_t mcclock_addr, int cp /* - * Estimate CPU cycle speed by counting cycles (acutally executions of a + * Estimate CPU cycle speed by counting cycles (actually executions of a * one-line loop) between two adjacent ticks of an mc146818 clock. * Return loop iteration count so hand-calibrated MD code can * estimate clock speed from cycles. Index: src/sys/dev/i2c/i2cmux.c diff -u src/sys/dev/i2c/i2cmux.c:1.6 src/sys/dev/i2c/i2cmux.c:1.7 --- src/sys/dev/i2c/i2cmux.c:1.6 Sat Aug 7 16:19:11 2021 +++ src/sys/dev/i2c/i2cmux.c Wed Nov 10 15:39:03 2021 @@ -1,4 +1,4 @@ -/* $NetBSD: i2cmux.c,v 1.6 2021/08/07 16:19:11 thorpej Exp $ */ +/* $NetBSD: i2cmux.c,v 1.7 2021/11/10 15:39:03 msaitoh Exp $ */ /*- * Copyright (c) 2020 The NetBSD Foundation, Inc. @@ -34,7 +34,7 @@ #endif #include -__KERNEL_RCSID(0, "$NetBSD: i2cmux.c,v 1.6 2021/08/07 16:19:11 thorpej Exp $"); +__KERNEL_RCSID(0, "$NetBSD: i2cmux.c,v 1.7 2021/11/10 15:39:03 msaitoh Exp $"); #include #include @@ -134,7 +134,7 @@ iicmux_count_children(struct iicmux_soft } if (strcmp(name, "i2c-mux") == 0) { /* - * The node we encountered is the acutal parent + * The node we encountered is the actual parent * of the i2c bus children. Stash its phandle * and restart the enumeration. */
CVS commit: src/sys/dev/pci
Module Name:src Committed By: msaitoh Date: Wed Nov 10 15:36:44 UTC 2021 Modified Files: src/sys/dev/pci: if_iwmreg.h Log Message: s/unoticable/unnoticeable/ in comment. To generate a diff of this commit: cvs rdiff -u -r1.9 -r1.10 src/sys/dev/pci/if_iwmreg.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/dev/pci
Module Name:src Committed By: msaitoh Date: Wed Nov 10 15:36:44 UTC 2021 Modified Files: src/sys/dev/pci: if_iwmreg.h Log Message: s/unoticable/unnoticeable/ in comment. To generate a diff of this commit: cvs rdiff -u -r1.9 -r1.10 src/sys/dev/pci/if_iwmreg.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/sys/dev/pci/if_iwmreg.h diff -u src/sys/dev/pci/if_iwmreg.h:1.9 src/sys/dev/pci/if_iwmreg.h:1.10 --- src/sys/dev/pci/if_iwmreg.h:1.9 Tue Aug 17 22:00:31 2021 +++ src/sys/dev/pci/if_iwmreg.h Wed Nov 10 15:36:43 2021 @@ -1,4 +1,4 @@ -/* $NetBSD: if_iwmreg.h,v 1.9 2021/08/17 22:00:31 andvar Exp $ */ +/* $NetBSD: if_iwmreg.h,v 1.10 2021/11/10 15:36:43 msaitoh Exp $ */ /* OpenBSD: if_iwmreg.h,v 1.19 2016/09/20 11:46:09 stsp Exp */ /*- @@ -2590,7 +2590,7 @@ enum { * notification the status is always success. There is no start/end fragment * notification for monolithic events. * - * @IWM_TE_V2_DEFAULT_POLICY: independent, social, present, unoticable + * @IWM_TE_V2_DEFAULT_POLICY: independent, social, present, unnoticeable * @IWM_TE_V2_NOTIF_HOST_EVENT_START: request/receive notification on event start * @IWM_TE_V2_NOTIF_HOST_EVENT_END:request/receive notification on event end * @IWM_TE_V2_NOTIF_INTERNAL_EVENT_START: internal FW use
CVS commit: src/sys
Module Name:src Committed By: msaitoh Date: Wed Nov 10 15:33:26 UTC 2021 Modified Files: src/sys/arch/acorn32/stand/boot32: boot32.c src/sys/compat/common: Makefile.sysio Log Message: s/compatability/compatibility/ in comment. To generate a diff of this commit: cvs rdiff -u -r1.47 -r1.48 src/sys/arch/acorn32/stand/boot32/boot32.c cvs rdiff -u -r1.14 -r1.15 src/sys/compat/common/Makefile.sysio 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/acorn32/stand/boot32/boot32.c diff -u src/sys/arch/acorn32/stand/boot32/boot32.c:1.47 src/sys/arch/acorn32/stand/boot32/boot32.c:1.48 --- src/sys/arch/acorn32/stand/boot32/boot32.c:1.47 Fri Dec 27 09:22:19 2019 +++ src/sys/arch/acorn32/stand/boot32/boot32.c Wed Nov 10 15:33:26 2021 @@ -1,4 +1,4 @@ -/* $NetBSD: boot32.c,v 1.47 2019/12/27 09:22:19 msaitoh Exp $ */ +/* $NetBSD: boot32.c,v 1.48 2021/11/10 15:33:26 msaitoh Exp $ */ /*- * Copyright (c) 2002 Reinoud Zandijk @@ -312,7 +312,7 @@ get_memory_configuration(void) /* passed a boundary ... note this block */ /* * splitting in different vars is for - * compatability reasons + * compatibility reasons */ switch (current_page_type) { case -1: Index: src/sys/compat/common/Makefile.sysio diff -u src/sys/compat/common/Makefile.sysio:1.14 src/sys/compat/common/Makefile.sysio:1.15 --- src/sys/compat/common/Makefile.sysio:1.14 Mon Aug 9 20:49:09 2021 +++ src/sys/compat/common/Makefile.sysio Wed Nov 10 15:33:26 2021 @@ -1,4 +1,4 @@ -# $NetBSD: Makefile.sysio,v 1.14 2021/08/09 20:49:09 andvar Exp $ +# $NetBSD: Makefile.sysio,v 1.15 2021/11/10 15:33:26 msaitoh Exp $ # Sources for syscall and ioctl compatibility across the versions. @@ -58,11 +58,11 @@ SRCS+= ocryptodev.c compat_crypto_50.c SRCS+= rf_compat50.c SRCS+= rf_compat80.c -# Puffs compatability code for NetBSD 5.0 +# Puffs compatibility code for NetBSD 5.0 .PATH: ${S}/fs/puffs SRCS+= puffs_compat.c -# wsevent compatability code for NetBSD 5.0 +# wsevent compatibility code for NetBSD 5.0 .PATH: ${S}/dev/wscons SRCS+= wsevent_50.c
CVS commit: src/sys
Module Name:src Committed By: msaitoh Date: Wed Nov 10 15:33:26 UTC 2021 Modified Files: src/sys/arch/acorn32/stand/boot32: boot32.c src/sys/compat/common: Makefile.sysio Log Message: s/compatability/compatibility/ in comment. To generate a diff of this commit: cvs rdiff -u -r1.47 -r1.48 src/sys/arch/acorn32/stand/boot32/boot32.c cvs rdiff -u -r1.14 -r1.15 src/sys/compat/common/Makefile.sysio Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/bin/sh
Module Name:src Committed By: kre Date: Wed Nov 10 15:26:34 UTC 2021 Modified Files: src/bin/sh: error.c eval.c expand.c redir.c trap.c Log Message: DEBUG mode changes only. NFC (NC) for any normally compiled shell. Mostly adding DEBUG mode tracing (when appropriate verbose tracing is enabled generally) whenever a shell (including sushell) process exits, so shells that the tracing should indicate why ehslls that vanish did that. Note for future investigators: if the relevant tracing is enabled, and a (sub-)shell still simply seems to have vanished without trace, the likely cause is that it was killed by a signal - and of those, the most common that occurs is SIGPIPE. To generate a diff of this commit: cvs rdiff -u -r1.43 -r1.44 src/bin/sh/error.c cvs rdiff -u -r1.182 -r1.183 src/bin/sh/eval.c cvs rdiff -u -r1.139 -r1.140 src/bin/sh/expand.c cvs rdiff -u -r1.69 -r1.70 src/bin/sh/redir.c cvs rdiff -u -r1.55 -r1.56 src/bin/sh/trap.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/bin/sh/error.c diff -u src/bin/sh/error.c:1.43 src/bin/sh/error.c:1.44 --- src/bin/sh/error.c:1.43 Mon Feb 4 11:16:41 2019 +++ src/bin/sh/error.c Wed Nov 10 15:26:34 2021 @@ -1,4 +1,4 @@ -/* $NetBSD: error.c,v 1.43 2019/02/04 11:16:41 kre Exp $ */ +/* $NetBSD: error.c,v 1.44 2021/11/10 15:26:34 kre Exp $ */ /*- * Copyright (c) 1991, 1993 @@ -37,7 +37,7 @@ #if 0 static char sccsid[] = "@(#)error.c 8.2 (Berkeley) 5/4/95"; #else -__RCSID("$NetBSD: error.c,v 1.43 2019/02/04 11:16:41 kre Exp $"); +__RCSID("$NetBSD: error.c,v 1.44 2021/11/10 15:26:34 kre Exp $"); #endif #endif /* not lint */ @@ -221,6 +221,7 @@ exerror(int cond, const char *msg, ...) void sh_exit(int rval) { + VTRACE(DBG_ERRS|DBG_PROCS|DBG_CMDS, ("sh_exit(%d)\n", rval)); exerrno = rval & 255; exraise(EXEXEC); } Index: src/bin/sh/eval.c diff -u src/bin/sh/eval.c:1.182 src/bin/sh/eval.c:1.183 --- src/bin/sh/eval.c:1.182 Sun Apr 4 13:24:07 2021 +++ src/bin/sh/eval.c Wed Nov 10 15:26:34 2021 @@ -1,4 +1,4 @@ -/* $NetBSD: eval.c,v 1.182 2021/04/04 13:24:07 kre Exp $ */ +/* $NetBSD: eval.c,v 1.183 2021/11/10 15:26:34 kre Exp $ */ /*- * Copyright (c) 1993 @@ -37,7 +37,7 @@ #if 0 static char sccsid[] = "@(#)eval.c 8.9 (Berkeley) 6/8/95"; #else -__RCSID("$NetBSD: eval.c,v 1.182 2021/04/04 13:24:07 kre Exp $"); +__RCSID("$NetBSD: eval.c,v 1.183 2021/11/10 15:26:34 kre Exp $"); #endif #endif /* not lint */ @@ -1131,6 +1131,12 @@ evalcommand(union node *cmd, int flgs, s */ SHELL_FORKED(); if (setjmp(jmploc.loc)) { + VTRACE(DBG_EVAL|DBG_ERRS| + DBG_PROCS|DBG_CMDS|DBG_TRAP, + ("vfork child exit exception:%d " + "exitstatus:%d exerrno:%d\n", + exception, exitstatus, exerrno)); + if (exception == EXSHELLPROC) { /* * We can't progress with the Index: src/bin/sh/expand.c diff -u src/bin/sh/expand.c:1.139 src/bin/sh/expand.c:1.140 --- src/bin/sh/expand.c:1.139 Fri Sep 10 22:11:03 2021 +++ src/bin/sh/expand.c Wed Nov 10 15:26:34 2021 @@ -1,4 +1,4 @@ -/* $NetBSD: expand.c,v 1.139 2021/09/10 22:11:03 rillig Exp $ */ +/* $NetBSD: expand.c,v 1.140 2021/11/10 15:26:34 kre Exp $ */ /*- * Copyright (c) 1991, 1993 @@ -37,7 +37,7 @@ #if 0 static char sccsid[] = "@(#)expand.c 8.5 (Berkeley) 5/15/95"; #else -__RCSID("$NetBSD: expand.c,v 1.139 2021/09/10 22:11:03 rillig Exp $"); +__RCSID("$NetBSD: expand.c,v 1.140 2021/11/10 15:26:34 kre Exp $"); #endif #endif /* not lint */ @@ -148,6 +148,7 @@ expandhere(union node *arg, int fd) { int len; + VTRACE(DBG_EXPAND|DBG_REDIR, ("expandhere() fd=%d\n", fd)); herefd = fd; expandarg(arg, NULL, 0); len = rmescapes(stackblock()); @@ -193,8 +194,9 @@ expandarg(union node *arg, struct arglis argstr(arg->narg.text, flag); if (arglist == NULL) { STACKSTRNUL(expdest); - CTRACE(DBG_EXPAND, ("expandarg: no arglist, done (%d) \"%s\"\n", - expdest - stackblock(), stackblock())); + CTRACE(DBG_EXPAND, + ("expandarg: no arglist, done[%d] (len %d) \"%s\"\n", + back_exitstatus, expdest - stackblock(), stackblock())); return; /* here document expanded */ } STPUTC('\0', expdest); @@ -698,7 +700,8 @@ expbackq(union node *cmd, int quoted, in back_exitstatus = waitforjob(in.jp); if (quoted == 0) recordregion(startloc, dest - stackblock(), 0); - CTRACE(DBG_EXPAND, ("evalbackq: size=%d: \"%.*s\"\n", + CTRACE(DBG_EXPAND, ("evalbackq: [%d] size=%d: \"%.*s\"\n", + back_exitstatus, (int)((dest - stackblock()) - startloc), (int)((dest - stackblock()) - startloc), stackblock() + startloc)); Index: src/bin/sh/redir.c diff -u src/bin/sh/redir.c:1.69 src/bin/sh/redir.c:1.70 --- src/bin/sh/redir.c:1.69 Wed Sep 15 20:21:47 2021 +++ src/bin/sh/redir.c Wed Nov 10 15:26:34 2021 @@ -1,4 +1,4 @@ -/* $NetBSD: redir.c,v 1.69 2021/09/15 20:21:47 kre Exp $ */ +/* $NetBSD: redir.c,v 1.70 2021/11/10 15:26:34
CVS commit: src/bin/sh
Module Name:src Committed By: kre Date: Wed Nov 10 15:26:34 UTC 2021 Modified Files: src/bin/sh: error.c eval.c expand.c redir.c trap.c Log Message: DEBUG mode changes only. NFC (NC) for any normally compiled shell. Mostly adding DEBUG mode tracing (when appropriate verbose tracing is enabled generally) whenever a shell (including sushell) process exits, so shells that the tracing should indicate why ehslls that vanish did that. Note for future investigators: if the relevant tracing is enabled, and a (sub-)shell still simply seems to have vanished without trace, the likely cause is that it was killed by a signal - and of those, the most common that occurs is SIGPIPE. To generate a diff of this commit: cvs rdiff -u -r1.43 -r1.44 src/bin/sh/error.c cvs rdiff -u -r1.182 -r1.183 src/bin/sh/eval.c cvs rdiff -u -r1.139 -r1.140 src/bin/sh/expand.c cvs rdiff -u -r1.69 -r1.70 src/bin/sh/redir.c cvs rdiff -u -r1.55 -r1.56 src/bin/sh/trap.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/dev/ic
Module Name:src Committed By: msaitoh Date: Wed Nov 10 15:21:43 UTC 2021 Modified Files: src/sys/dev/ic: dpt.c Log Message: s/certian/certain/ in comment. To generate a diff of this commit: cvs rdiff -u -r1.77 -r1.78 src/sys/dev/ic/dpt.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/dev/ic/dpt.c diff -u src/sys/dev/ic/dpt.c:1.77 src/sys/dev/ic/dpt.c:1.78 --- src/sys/dev/ic/dpt.c:1.77 Sat Aug 7 16:19:12 2021 +++ src/sys/dev/ic/dpt.c Wed Nov 10 15:21:43 2021 @@ -1,4 +1,4 @@ -/* $NetBSD: dpt.c,v 1.77 2021/08/07 16:19:12 thorpej Exp $ */ +/* $NetBSD: dpt.c,v 1.78 2021/11/10 15:21:43 msaitoh Exp $ */ /*- * Copyright (c) 1997, 1998, 1999, 2000, 2001 The NetBSD Foundation, Inc. @@ -71,7 +71,7 @@ */ #include -__KERNEL_RCSID(0, "$NetBSD: dpt.c,v 1.77 2021/08/07 16:19:12 thorpej Exp $"); +__KERNEL_RCSID(0, "$NetBSD: dpt.c,v 1.78 2021/11/10 15:21:43 msaitoh Exp $"); #include #include @@ -540,7 +540,7 @@ dpt_readcfg(struct dpt_softc *sc) /* * Issue the read-config command and wait for the data to appear. * - * Apparently certian firmware revisions won't DMA later on if we + * Apparently certain firmware revisions won't DMA later on if we * request the config data using PIO, but it makes it a lot easier * as no DMA setup is required. */
CVS commit: src/sys/dev/ic
Module Name:src Committed By: msaitoh Date: Wed Nov 10 15:21:43 UTC 2021 Modified Files: src/sys/dev/ic: dpt.c Log Message: s/certian/certain/ in comment. To generate a diff of this commit: cvs rdiff -u -r1.77 -r1.78 src/sys/dev/ic/dpt.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/dev/pci
Module Name:src Committed By: msaitoh Date: Wed Nov 10 14:36:28 UTC 2021 Modified Files: src/sys/dev/pci: sdhc_pci.c Log Message: Support 64bit BAR. To generate a diff of this commit: cvs rdiff -u -r1.17 -r1.18 src/sys/dev/pci/sdhc_pci.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/dev/pci/sdhc_pci.c diff -u src/sys/dev/pci/sdhc_pci.c:1.17 src/sys/dev/pci/sdhc_pci.c:1.18 --- src/sys/dev/pci/sdhc_pci.c:1.17 Wed Jan 1 23:28:31 2020 +++ src/sys/dev/pci/sdhc_pci.c Wed Nov 10 14:36:28 2021 @@ -1,4 +1,4 @@ -/* $NetBSD: sdhc_pci.c,v 1.17 2020/01/01 23:28:31 mlelstv Exp $ */ +/* $NetBSD: sdhc_pci.c,v 1.18 2021/11/10 14:36:28 msaitoh Exp $ */ /* $OpenBSD: sdhc_pci.c,v 1.7 2007/10/30 18:13:45 chl Exp $ */ /* @@ -18,7 +18,7 @@ */ #include -__KERNEL_RCSID(0, "$NetBSD: sdhc_pci.c,v 1.17 2020/01/01 23:28:31 mlelstv Exp $"); +__KERNEL_RCSID(0, "$NetBSD: sdhc_pci.c,v 1.18 2021/11/10 14:36:28 msaitoh Exp $"); #ifdef _KERNEL_OPT #include "opt_sdmmc.h" @@ -252,6 +252,7 @@ sdhc_pci_attach(device_t parent, device_ bus_space_handle_t ioh; bus_size_t size; uint32_t flags; + int width; char intrbuf[PCI_INTRSTR_LEN]; sc->sc.sc_dev = self; @@ -313,13 +314,23 @@ sdhc_pci_attach(device_t parent, device_ if ((PCI_INTERFACE(pa->pa_class) == SDHC_PCI_INTERFACE_DMA)) SET(sc->sc.sc_flags, SDHC_FLAG_USE_DMA); - /* XXX: handle 64-bit BARs */ cnt = 0; for (reg = SDHC_PCI_BAR_START + SDHC_PCI_FIRST_BAR(slotinfo) * sizeof(uint32_t); reg < SDHC_PCI_BAR_END && nslots > 0; - reg += sizeof(uint32_t), nslots--) { - if (pci_mapreg_map(pa, reg, PCI_MAPREG_TYPE_MEM, 0, + reg += width, nslots--) { + pcireg_t type; + + type = pci_mapreg_type(pa->pa_pc, pa->pa_tag, reg); + if (type == PCI_MAPREG_TYPE_IO) + break; + else if (PCI_MAPREG_MEM_TYPE(type) + == PCI_MAPREG_MEM_TYPE_64BIT) + width = 8; + else + width = 4; + + if (pci_mapreg_map(pa, reg, type, 0, , , NULL, )) { continue; }
CVS commit: src/sys/dev/pci
Module Name:src Committed By: msaitoh Date: Wed Nov 10 14:36:28 UTC 2021 Modified Files: src/sys/dev/pci: sdhc_pci.c Log Message: Support 64bit BAR. To generate a diff of this commit: cvs rdiff -u -r1.17 -r1.18 src/sys/dev/pci/sdhc_pci.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.