diff options
| author | andvar <andvar@NetBSD.org> | 2021-08-21 11:55:24 +0000 |
|---|---|---|
| committer | andvar <andvar@NetBSD.org> | 2021-08-21 11:55:24 +0000 |
| commit | b0a37f4e202d2ca22da5f3f4cb7ffc2f3672346d (patch) | |
| tree | b0dbabeeba11de6656ae1007b3d5be503c6d20d3 /sys/arch | |
| parent | 1ad29d45d9a4ca33dc62e582e33f54b5d7bdb6d6 (diff) | |
fix some more typos in comments/log messages, improve wording as well.
Diffstat (limited to 'sys/arch')
| -rw-r--r-- | sys/arch/acorn32/podulebus/esc.c | 24 | ||||
| -rw-r--r-- | sys/arch/acorn32/podulebus/escvar.h | 4 | ||||
| -rw-r--r-- | sys/arch/acorn32/podulebus/sfas.c | 24 | ||||
| -rw-r--r-- | sys/arch/acorn32/podulebus/sfasvar.h | 4 | ||||
| -rw-r--r-- | sys/arch/atari/pci/pci_machdep.c | 6 | ||||
| -rw-r--r-- | sys/arch/mac68k/dev/pm_direct.c | 8 | ||||
| -rw-r--r-- | sys/arch/sgimips/conf/GENERIC32_IP12 | 6 | ||||
| -rw-r--r-- | sys/arch/sgimips/conf/GENERIC32_IP2x | 6 | ||||
| -rw-r--r-- | sys/arch/sgimips/conf/GENERIC32_IP3x | 6 | ||||
| -rw-r--r-- | sys/arch/sparc64/sparc64/autoconf.c | 8 |
10 files changed, 48 insertions, 48 deletions
diff --git a/sys/arch/acorn32/podulebus/esc.c b/sys/arch/acorn32/podulebus/esc.c index d5f82133121..034e291bcdd 100644 --- a/sys/arch/acorn32/podulebus/esc.c +++ b/sys/arch/acorn32/podulebus/esc.c @@ -1,4 +1,4 @@ -/* $NetBSD: esc.c,v 1.33 2020/07/22 01:24:39 msaitoh Exp $ */ +/* $NetBSD: esc.c,v 1.34 2021/08/21 11:55:24 andvar Exp $ */ /* * Copyright (c) 1990 The Regents of the University of California. @@ -86,7 +86,7 @@ */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: esc.c,v 1.33 2020/07/22 01:24:39 msaitoh Exp $"); +__KERNEL_RCSID(0, "$NetBSD: esc.c,v 1.34 2021/08/21 11:55:24 andvar Exp $"); #include <sys/param.h> #include <sys/systm.h> @@ -209,7 +209,7 @@ escinitialize(struct esc_softc *dev) if (dev->sc_clock_freq <= 40) dev->sc_clock_conv_fact = 2+((dev->sc_clock_freq-10)/5); else - panic("escinitialize: Clock frequence too high"); + panic("escinitialize: Clock frequency too high"); /* Setup and save the basic configuration registers */ dev->sc_config1 = (dev->sc_host_id & ESC_CFG1_BUS_ID_MASK); @@ -330,7 +330,7 @@ esc_donextcmd(struct esc_softc *dev, struct esc_pending *pendp) * select the unit during splbio. We then cycle through the generated * interrupts until the interrupt routine signals that the unit has * acknowledged the reset. After that we have to wait a reset to select - * delay before anything else can happend. + * delay before anything else can happen. */ if (pendp->xs->xs_control & XS_CTL_RESET) { struct nexus *nexus; @@ -774,7 +774,7 @@ esc_arbitate_target(struct esc_softc *dev, int target) int s; /* - * This is realy simple. Raise interrupt level to splbio. Grab the nexus and + * This is really simple. Raise interrupt level to splbio. Grab the nexus and * leave. */ nexus = &dev->sc_nexus[target]; @@ -859,8 +859,8 @@ esc_setup_nexus(struct esc_softc *dev, struct nexus *nexus, struct esc_pending * } else if (sync && !(nexus->flags & ESC_NF_SYNC_TESTED)) { /* * If the scsi unit is not set to synch transfer and we want - * that, we have to negotiate. This should realy base the - * period on the clock frequence rather than just check if + * that, we have to negotiate. This should really base the + * period on the clock frequency rather than just check if * >25 MHz */ @@ -1248,7 +1248,7 @@ esc_midaction(struct esc_softc *dev, esc_regmap_p rp, struct nexus *nexus) nexus->status = -1; /* - * Preload the command complete message. Handeled in + * Preload the command complete message. Handled in * esc_postaction. */ dev->sc_msg_in[0] = msg; @@ -1369,7 +1369,7 @@ esc_postaction(struct esc_softc *dev, esc_regmap_p rp, struct nexus *nexus) case ESC_PHASE_MESSAGE_OUT: /* * Either the scsi unit wants us to send a message or we have - * asked for it by seting the ATN bit. + * asked for it by setting the ATN bit. */ nexus->state = ESC_NS_MSG_OUT; @@ -1523,7 +1523,7 @@ esc_postaction(struct esc_softc *dev, esc_regmap_p rp, struct nexus *nexus) /* * Hmmm, it seems that the scsi unit * initiated sync negotiation, so lets - * reply acording to scsi-2 standard. + * reply according to scsi-2 standard. */ if (!(nexus->flags& ESC_NF_SDTR_SENT)) { @@ -1550,7 +1550,7 @@ esc_postaction(struct esc_softc *dev, esc_regmap_p rp, struct nexus *nexus) case 0x02: /* EXTENDED IDENTIFY (SCSI-1) */ case 0x03: /* WIDE DATA TRANSFER REQUEST */ default: - /* Reject any unhandeled messages. */ + /* Reject any unhandled messages. */ dev->sc_msg_out[0] = 0x07; dev->sc_msg_out_len = 1; @@ -1561,7 +1561,7 @@ esc_postaction(struct esc_softc *dev, esc_regmap_p rp, struct nexus *nexus) break; default: - /* Reject any unhandeled messages. */ + /* Reject any unhandled messages. */ dev->sc_msg_out[0] = 0x07; dev->sc_msg_out_len = 1; diff --git a/sys/arch/acorn32/podulebus/escvar.h b/sys/arch/acorn32/podulebus/escvar.h index adf89ff87c7..e1f142827d6 100644 --- a/sys/arch/acorn32/podulebus/escvar.h +++ b/sys/arch/acorn32/podulebus/escvar.h @@ -1,4 +1,4 @@ -/* $NetBSD: escvar.h,v 1.9 2020/07/22 01:24:39 msaitoh Exp $ */ +/* $NetBSD: escvar.h,v 1.10 2021/08/21 11:55:24 andvar Exp $ */ /* * Copyright (c) 1995 Daniel Widenfalk @@ -129,7 +129,7 @@ struct nexus { #define ESC_NS_DISCONNECTED 9 /* We are disconnected */ #define ESC_NS_RESELECTED 10 /* We was reselected */ #define ESC_NS_DONE 11 /* Done. Prephsase to FINISHED */ -#define ESC_NS_FINISHED 12 /* Realy done. Call scsi_done */ +#define ESC_NS_FINISHED 12 /* Really done. Call scsi_done */ #define ESC_NS_RESET 13 /* We are resetting this unit */ /* SCSI nexus flags */ diff --git a/sys/arch/acorn32/podulebus/sfas.c b/sys/arch/acorn32/podulebus/sfas.c index 5a7b4430a9d..536ebf744ad 100644 --- a/sys/arch/acorn32/podulebus/sfas.c +++ b/sys/arch/acorn32/podulebus/sfas.c @@ -1,4 +1,4 @@ -/* $NetBSD: sfas.c,v 1.29 2020/07/22 01:24:39 msaitoh Exp $ */ +/* $NetBSD: sfas.c,v 1.30 2021/08/21 11:55:24 andvar Exp $ */ /* * Copyright (c) 1990 The Regents of the University of California. @@ -82,7 +82,7 @@ */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: sfas.c,v 1.29 2020/07/22 01:24:39 msaitoh Exp $"); +__KERNEL_RCSID(0, "$NetBSD: sfas.c,v 1.30 2021/08/21 11:55:24 andvar Exp $"); #include <sys/param.h> #include <sys/systm.h> @@ -202,7 +202,7 @@ sfasinitialize(struct sfas_softc *dev) if (dev->sc_clock_freq <= 40) dev->sc_clock_conv_fact = 2+((dev->sc_clock_freq-10)/5); else - panic("sfasinitialize: Clock frequence too high"); + panic("sfasinitialize: Clock frequency too high"); /* Setup and save the basic configuration registers */ dev->sc_config1 = (dev->sc_host_id & SFAS_CFG1_BUS_ID_MASK); @@ -326,7 +326,7 @@ sfas_donextcmd(struct sfas_softc *dev, struct sfas_pending *pendp) * select the unit during splbio. We then cycle through the generated * interrupts until the interrupt routine signals that the unit has * acknowledged the reset. After that we have to wait a reset to select - * delay before anything else can happend. + * delay before anything else can happen. */ if (pendp->xs->xs_control & XS_CTL_RESET) { struct nexus *nexus; @@ -695,7 +695,7 @@ sfas_arbitate_target(struct sfas_softc *dev, int target) int s; /* - * This is realy simple. Raise interrupt level to splbio. Grab the nexus and + * This is really simple. Raise interrupt level to splbio. Grab the nexus and * leave. */ nexus = &dev->sc_nexus[target]; @@ -780,8 +780,8 @@ sfas_setup_nexus(struct sfas_softc *dev, struct nexus *nexus, struct sfas_pendin } else if (sync && !(nexus->flags & SFAS_NF_SYNC_TESTED)) { /* * If the scsi unit is not set to synch transfer and we want - * that, we have to negotiate. This should realy base the - * period on the clock frequence rather than just check if + * that, we have to negotiate. This should really base the + * period on the clock frequency rather than just check if * >25 MHz */ @@ -1169,7 +1169,7 @@ sfas_midaction(struct sfas_softc *dev, sfas_regmap_p rp, struct nexus *nexus) nexus->status = -1; /* - * Preload the command complete message. Handeled in + * Preload the command complete message. Handled in * sfas_postaction. */ dev->sc_msg_in[0] = msg; @@ -1288,7 +1288,7 @@ sfas_postaction(struct sfas_softc *dev, sfas_regmap_p rp, struct nexus *nexus) case SFAS_PHASE_MESSAGE_OUT: /* * Either the scsi unit wants us to send a message or we have - * asked for it by seting the ATN bit. + * asked for it by setting the ATN bit. */ nexus->state = SFAS_NS_MSG_OUT; @@ -1442,7 +1442,7 @@ sfas_postaction(struct sfas_softc *dev, sfas_regmap_p rp, struct nexus *nexus) /* * Hmmm, it seems that the scsi unit * initiated sync negotiation, so lets - * reply acording to scsi-2 standard. + * reply according to scsi-2 standard. */ if (!(nexus->flags& SFAS_NF_SDTR_SENT)) { @@ -1469,7 +1469,7 @@ sfas_postaction(struct sfas_softc *dev, sfas_regmap_p rp, struct nexus *nexus) case 0x02: /* EXTENDED IDENTIFY (SCSI-1) */ case 0x03: /* WIDE DATA TRANSFER REQUEST */ default: - /* Reject any unhandeled messages. */ + /* Reject any unhandled messages. */ dev->sc_msg_out[0] = 0x07; dev->sc_msg_out_len = 1; @@ -1480,7 +1480,7 @@ sfas_postaction(struct sfas_softc *dev, sfas_regmap_p rp, struct nexus *nexus) break; default: - /* Reject any unhandeled messages. */ + /* Reject any unhandled messages. */ dev->sc_msg_out[0] = 0x07; dev->sc_msg_out_len = 1; diff --git a/sys/arch/acorn32/podulebus/sfasvar.h b/sys/arch/acorn32/podulebus/sfasvar.h index 35529dd90f5..18b530a8d6f 100644 --- a/sys/arch/acorn32/podulebus/sfasvar.h +++ b/sys/arch/acorn32/podulebus/sfasvar.h @@ -1,4 +1,4 @@ -/* $NetBSD: sfasvar.h,v 1.8 2020/07/22 01:24:39 msaitoh Exp $ */ +/* $NetBSD: sfasvar.h,v 1.9 2021/08/21 11:55:24 andvar Exp $ */ /* * Copyright (c) 1995 Daniel Widenfalk @@ -128,7 +128,7 @@ struct nexus { #define SFAS_NS_DISCONNECTED 9 /* We are disconnected */ #define SFAS_NS_RESELECTED 10 /* We was reselected */ #define SFAS_NS_DONE 11 /* Done. Prephsase to FINISHED */ -#define SFAS_NS_FINISHED 12 /* Realy done. Call scsi_done */ +#define SFAS_NS_FINISHED 12 /* Really done. Call scsi_done */ #define SFAS_NS_RESET 13 /* We are resetting this unit */ /* SCSI nexus flags */ diff --git a/sys/arch/atari/pci/pci_machdep.c b/sys/arch/atari/pci/pci_machdep.c index e4eec42ea05..7e23e49096b 100644 --- a/sys/arch/atari/pci/pci_machdep.c +++ b/sys/arch/atari/pci/pci_machdep.c @@ -1,4 +1,4 @@ -/* $NetBSD: pci_machdep.c,v 1.61 2021/08/07 16:18:46 thorpej Exp $ */ +/* $NetBSD: pci_machdep.c,v 1.62 2021/08/21 11:55:24 andvar Exp $ */ /* * Copyright (c) 1996 Leo Weppelman. All rights reserved. @@ -32,7 +32,7 @@ */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: pci_machdep.c,v 1.61 2021/08/07 16:18:46 thorpej Exp $"); +__KERNEL_RCSID(0, "$NetBSD: pci_machdep.c,v 1.62 2021/08/21 11:55:24 andvar Exp $"); #include "opt_mbtype.h" @@ -75,7 +75,7 @@ __KERNEL_RCSID(0, "$NetBSD: pci_machdep.c,v 1.61 2021/08/07 16:18:46 thorpej Exp I/O addresses up to 0xffff) */ /* - * PCI memory and IO should be aligned acording to this masks + * PCI memory and IO should be aligned according to these masks */ #define PCI_MACHDEP_IO_ALIGN_MASK 0xffffff00 #define PCI_MACHDEP_MEM_ALIGN_MASK 0xfffff000 diff --git a/sys/arch/mac68k/dev/pm_direct.c b/sys/arch/mac68k/dev/pm_direct.c index f46e23f4c81..21732d90921 100644 --- a/sys/arch/mac68k/dev/pm_direct.c +++ b/sys/arch/mac68k/dev/pm_direct.c @@ -1,4 +1,4 @@ -/* $NetBSD: pm_direct.c,v 1.29 2013/10/25 20:49:38 martin Exp $ */ +/* $NetBSD: pm_direct.c,v 1.30 2021/08/21 11:55:24 andvar Exp $ */ /* * Copyright (C) 1997 Takashi Hamada @@ -32,7 +32,7 @@ /* From: pm_direct.c 1.3 03/18/98 Takashi Hamada */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: pm_direct.c,v 1.29 2013/10/25 20:49:38 martin Exp $"); +__KERNEL_RCSID(0, "$NetBSD: pm_direct.c,v 1.30 2021/08/21 11:55:24 andvar Exp $"); #include "opt_adb.h" @@ -549,7 +549,7 @@ pm_intr_pm1(void *arg) PM_VIA_CLR_INTR(); /* clear VIA1 interrupt */ - /* ask PM what happend */ + /* ask PM what happened */ pmdata.command = 0x78; pmdata.num_data = 0; pmdata.data[0] = pmdata.data[1] = 0; @@ -809,7 +809,7 @@ pm_intr_pm2(void *arg) s = splhigh(); PM_VIA_CLR_INTR(); /* clear VIA1 interrupt */ - /* ask PM what happend */ + /* ask PM what happened */ pmdata.command = 0x78; pmdata.num_data = 0; pmdata.s_buf = &pmdata.data[2]; diff --git a/sys/arch/sgimips/conf/GENERIC32_IP12 b/sys/arch/sgimips/conf/GENERIC32_IP12 index 92dcf1409f2..ac2e225dcc1 100644 --- a/sys/arch/sgimips/conf/GENERIC32_IP12 +++ b/sys/arch/sgimips/conf/GENERIC32_IP12 @@ -1,4 +1,4 @@ -# $NetBSD: GENERIC32_IP12,v 1.40 2021/01/21 06:51:56 nia Exp $ +# $NetBSD: GENERIC32_IP12,v 1.41 2021/08/21 11:55:24 andvar Exp $ # # GENERIC32_IP12 machine description file # @@ -32,7 +32,7 @@ makeoptions TEXTADDR=0x80002000 # entry point options INCLUDE_CONFIG_FILE # embed config file in kernel binary -#ident "GENERIC32-IP2x-$Revision: 1.40 $" +#ident "GENERIC32-IP2x-$Revision: 1.41 $" maxusers 32 @@ -48,7 +48,7 @@ options BLINK # blinkenlitzen # Standard system options #options INSECURE # disable kernel security levels -#options NTP # NTP phase/frequence locked loop +#options NTP # NTP phase/frequency locked loop options KTRACE # system call tracing via ktrace(1) options SYSVMSG # System V message queues diff --git a/sys/arch/sgimips/conf/GENERIC32_IP2x b/sys/arch/sgimips/conf/GENERIC32_IP2x index fd266207015..cc45b53ba3b 100644 --- a/sys/arch/sgimips/conf/GENERIC32_IP2x +++ b/sys/arch/sgimips/conf/GENERIC32_IP2x @@ -1,4 +1,4 @@ -# $NetBSD: GENERIC32_IP2x,v 1.121 2020/09/27 13:48:54 roy Exp $ +# $NetBSD: GENERIC32_IP2x,v 1.122 2021/08/21 11:55:24 andvar Exp $ # # GENERIC32_IP2x machine description file # @@ -29,7 +29,7 @@ makeoptions TEXTADDR=0x88069000 # entry point options INCLUDE_CONFIG_FILE # embed config file in kernel binary -#ident "GENERIC32-IP2x-$Revision: 1.121 $" +#ident "GENERIC32-IP2x-$Revision: 1.122 $" maxusers 32 @@ -48,7 +48,7 @@ makeoptions WANT_ECOFF="yes" # Create an ECOFF kernel in addition # Standard system options #options INSECURE # disable kernel security levels -#options NTP # NTP phase/frequence locked loop +#options NTP # NTP phase/frequency locked loop options KTRACE # system call tracing via ktrace(1) options SYSVMSG # System V message queues diff --git a/sys/arch/sgimips/conf/GENERIC32_IP3x b/sys/arch/sgimips/conf/GENERIC32_IP3x index 543d4e2862d..bf471047121 100644 --- a/sys/arch/sgimips/conf/GENERIC32_IP3x +++ b/sys/arch/sgimips/conf/GENERIC32_IP3x @@ -1,4 +1,4 @@ -# $NetBSD: GENERIC32_IP3x,v 1.133 2020/09/27 13:48:54 roy Exp $ +# $NetBSD: GENERIC32_IP3x,v 1.134 2021/08/21 11:55:24 andvar Exp $ # # GENERIC32_IP3x machine description file # @@ -28,7 +28,7 @@ makeoptions TEXTADDR="0x80069000" # entry point options INCLUDE_CONFIG_FILE # embed config file in kernel binary -#ident "GENERIC32_IP3x-$Revision: 1.133 $" +#ident "GENERIC32_IP3x-$Revision: 1.134 $" maxusers 32 @@ -41,7 +41,7 @@ makeoptions CPUFLAGS="-march=mips3 -mtune=vr5000" # Standard system options #options INSECURE # disable kernel security levels -#options NTP # NTP phase/frequence locked loop +#options NTP # NTP phase/frequency locked loop options KTRACE # system call tracing via ktrace(1) options SYSVMSG # System V message queues diff --git a/sys/arch/sparc64/sparc64/autoconf.c b/sys/arch/sparc64/sparc64/autoconf.c index ba630a2277f..00eb19fe7a5 100644 --- a/sys/arch/sparc64/sparc64/autoconf.c +++ b/sys/arch/sparc64/sparc64/autoconf.c @@ -1,4 +1,4 @@ -/* $NetBSD: autoconf.c,v 1.234 2021/08/07 16:19:06 thorpej Exp $ */ +/* $NetBSD: autoconf.c,v 1.235 2021/08/21 11:55:25 andvar Exp $ */ /* * Copyright (c) 1996 @@ -48,7 +48,7 @@ */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: autoconf.c,v 1.234 2021/08/07 16:19:06 thorpej Exp $"); +__KERNEL_RCSID(0, "$NetBSD: autoconf.c,v 1.235 2021/08/21 11:55:25 andvar Exp $"); #include "opt_ddb.h" #include "opt_kgdb.h" @@ -289,7 +289,7 @@ bootstrap(void *o0, void *bootargs, void *bootsize, void *o3, void *ofw) extern void OF_sym2val32(void *); extern struct consdev consdev_prom; - /* Save OpenFrimware entry point */ + /* Save OpenFirmware entry point */ romp = ofw; romtba = get_romtba(); @@ -924,7 +924,7 @@ dev_path_drive_match(device_t dev, int ctrlnode, int target, /* * Note: "child" here is == ofbootpackage (s.a.), which * may be completely wrong for the device we are checking, - * what we realy do here is to match "target" and "lun". + * what we really do here is to match "target" and "lun". */ if (wwn) snprintf(buf, sizeof(buf), "%s@w%016" PRIx64 ",%d", |
