From 37beea0d2d408cb66e35ccb3c772b46aaae82f97 Mon Sep 17 00:00:00 2001 From: andvar Date: Sun, 12 Jun 2022 16:22:37 +0000 Subject: [PATCH] fix few typos in comments. --- sys/arch/arm/sociox/if_scx.c | 10 +++++----- sys/arch/newsmips/dev/scsireg.h | 4 ++-- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/sys/arch/arm/sociox/if_scx.c b/sys/arch/arm/sociox/if_scx.c index b2d611ca9fa7..188b21ef616a 100644 --- a/sys/arch/arm/sociox/if_scx.c +++ b/sys/arch/arm/sociox/if_scx.c @@ -1,4 +1,4 @@ -/* $NetBSD: if_scx.c,v 1.36 2022/01/27 02:34:23 nisimura Exp $ */ +/* $NetBSD: if_scx.c,v 1.37 2022/06/12 16:22:37 andvar Exp $ */ /*- * Copyright (c) 2020 The NetBSD Foundation, Inc. @@ -51,7 +51,7 @@ #define NOT_MP_SAFE 0 #include -__KERNEL_RCSID(0, "$NetBSD: if_scx.c,v 1.36 2022/01/27 02:34:23 nisimura Exp $"); +__KERNEL_RCSID(0, "$NetBSD: if_scx.c,v 1.37 2022/06/12 16:22:37 andvar Exp $"); #include #include @@ -128,7 +128,7 @@ struct rdes { #define MODENRM (1U<<28) /* change mode to normal */ #define ENJUMBO (1U<<27) /* allow jumbo frame */ #define RPTCSUMERR (1U<<3) /* log Rx checksum error */ -#define RPTHDCOMP (1U<<2) /* log HD imcomplete condition */ +#define RPTHDCOMP (1U<<2) /* log HD incomplete condition */ #define RPTHDERR (1U<<1) /* log HD error */ #define DROPNOMATCH (1U<<0) /* drop no match frames */ #define xINTSR 0x200 /* aggregated interrupt status */ @@ -360,11 +360,11 @@ struct rdes { #define DMAI_UNF (1U<<5) /* Tx underflow detected */ #define DMAI_OVF (1U<<4) /* receive buffer overflow detected */ #define DMAI_TJT (1U<<3) /* longer than 2048 frame sent */ -#define DMAI_TU (1U<<2) /* Tx discriptor not available */ +#define DMAI_TU (1U<<2) /* Tx descriptor not available */ #define DMAI_TPS (1U<<1) /* transmission is stopped */ #define DMAI_TI (1U<<0) /* frame Tx completed by T0_IC */ #define GMACOMR 0x1018 /* DMA operation mode */ -#define OMR_RSF (1U<<25) /* 1: Rx store&forword, 0: immed. */ +#define OMR_RSF (1U<<25) /* 1: Rx store&forward, 0: immed. */ #define OMR_TSF (1U<<21) /* 1: Tx store&forward, 0: immed. */ #define OMR_TTC (14) /* 16:14 Tx threshold */ #define OMR_ST (1U<<13) /* run Tx DMA engine, 0 to stop */ diff --git a/sys/arch/newsmips/dev/scsireg.h b/sys/arch/newsmips/dev/scsireg.h index 882385ac0192..5017554f8eeb 100644 --- a/sys/arch/newsmips/dev/scsireg.h +++ b/sys/arch/newsmips/dev/scsireg.h @@ -1,4 +1,4 @@ -/* $NetBSD: scsireg.h,v 1.13 2022/01/05 16:01:54 andvar Exp $ */ +/* $NetBSD: scsireg.h,v 1.14 2022/06/12 16:22:37 andvar Exp $ */ /* * Copyright (c) 1992, 1993 @@ -266,7 +266,7 @@ struct sc_softc { #define SC_DMAC_RD 1 #define SC_DMAC_WR 2 - struct sc_chan_stat *wbq_actf; /* forword active pointer */ + struct sc_chan_stat *wbq_actf; /* forward active pointer */ struct sc_chan_stat *wbq_actl; /* last active pointer */ uint8_t *act_cmd_pointer;