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/acorn32 | |
| parent | 1ad29d45d9a4ca33dc62e582e33f54b5d7bdb6d6 (diff) | |
fix some more typos in comments/log messages, improve wording as well.
Diffstat (limited to 'sys/arch/acorn32')
| -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 |
4 files changed, 28 insertions, 28 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 */ |
