Module Name: src
Committed By: andvar
Date: Sat May 21 19:07:23 UTC 2022
Modified Files:
src/sys/arch/arm/omap: omap_edma.c
src/sys/arch/arm/ti: ti_edma.c
src/sys/dev/ic: scmdreg.h
Log Message:
s/artifical/artificial/ in comments.
To generate a diff of this commit:
cvs rdiff -u -r1.5 -r1.6 src/sys/arch/arm/omap/omap_edma.c
cvs rdiff -u -r1.4 -r1.5 src/sys/arch/arm/ti/ti_edma.c
cvs rdiff -u -r1.1 -r1.2 src/sys/dev/ic/scmdreg.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/omap/omap_edma.c
diff -u src/sys/arch/arm/omap/omap_edma.c:1.5 src/sys/arch/arm/omap/omap_edma.c:1.6
--- src/sys/arch/arm/omap/omap_edma.c:1.5 Thu Sep 16 22:19:10 2021
+++ src/sys/arch/arm/omap/omap_edma.c Sat May 21 19:07:23 2022
@@ -1,4 +1,4 @@
-/* $NetBSD: omap_edma.c,v 1.5 2021/09/16 22:19:10 andvar Exp $ */
+/* $NetBSD: omap_edma.c,v 1.6 2022/05/21 19:07:23 andvar Exp $ */
/*-
* Copyright (c) 2014 Jared D. McNeill <[email protected]>
@@ -26,7 +26,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: omap_edma.c,v 1.5 2021/09/16 22:19:10 andvar Exp $");
+__KERNEL_RCSID(0, "$NetBSD: omap_edma.c,v 1.6 2022/05/21 19:07:23 andvar Exp $");
#include "opt_omap.h"
@@ -383,7 +383,7 @@ edma_channel_free(struct edma_channel *c
}
/*
- * Allocate a PaRAM entry. The driver artifically restricts the number
+ * Allocate a PaRAM entry. The driver artificially restricts the number
* of PaRAM entries available for each channel to MAX_PARAM_PER_CHANNEL.
* If the number of entries for the channel has been exceeded, or there
* are no entries available, 0xffff is returned.
Index: src/sys/arch/arm/ti/ti_edma.c
diff -u src/sys/arch/arm/ti/ti_edma.c:1.4 src/sys/arch/arm/ti/ti_edma.c:1.5
--- src/sys/arch/arm/ti/ti_edma.c:1.4 Thu Sep 16 22:19:10 2021
+++ src/sys/arch/arm/ti/ti_edma.c Sat May 21 19:07:23 2022
@@ -1,4 +1,4 @@
-/* $NetBSD: ti_edma.c,v 1.4 2021/09/16 22:19:10 andvar Exp $ */
+/* $NetBSD: ti_edma.c,v 1.5 2022/05/21 19:07:23 andvar Exp $ */
/*-
* Copyright (c) 2014 Jared D. McNeill <[email protected]>
@@ -26,7 +26,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: ti_edma.c,v 1.4 2021/09/16 22:19:10 andvar Exp $");
+__KERNEL_RCSID(0, "$NetBSD: ti_edma.c,v 1.5 2022/05/21 19:07:23 andvar Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -353,7 +353,7 @@ edma_channel_free(struct edma_channel *c
}
/*
- * Allocate a PaRAM entry. The driver artifically restricts the number
+ * Allocate a PaRAM entry. The driver artificially restricts the number
* of PaRAM entries available for each channel to MAX_PARAM_PER_CHANNEL.
* If the number of entries for the channel has been exceeded, or there
* are no entries available, 0xffff is returned.
Index: src/sys/dev/ic/scmdreg.h
diff -u src/sys/dev/ic/scmdreg.h:1.1 src/sys/dev/ic/scmdreg.h:1.2
--- src/sys/dev/ic/scmdreg.h:1.1 Tue Dec 7 17:39:54 2021
+++ src/sys/dev/ic/scmdreg.h Sat May 21 19:07:23 2022
@@ -1,4 +1,4 @@
-/* $NetBSD: scmdreg.h,v 1.1 2021/12/07 17:39:54 brad Exp $ */
+/* $NetBSD: scmdreg.h,v 1.2 2022/05/21 19:07:23 andvar Exp $ */
/*
* Copyright (c) 2021 Brad Spencer <[email protected]>
@@ -224,7 +224,7 @@
#define SCMD_REG_SIZE 0x7F /* Size of the register space including the holes */
#define SCMD_REMOTE_ADDR_LOW 0x50 /* The first remote I2C addreess */
#define SCMD_REMOTE_ADDR_HIGH 0x5F /* The last remote I2C address */
-#define SCMD_HOLE_VALUE 0x55 /* Artifical value on read for a hole register */
+#define SCMD_HOLE_VALUE 0x55 /* Artificial value on read for a hole register */
#define SCMD_IS_HOLE(r) \
((r >= SCMD_REG_HOLE_1_LOW && r <= SCMD_REG_HOLE_1_HIGH) || \
(r >= SCMD_REG_HOLE_2_LOW && r <= SCMD_REG_HOLE_2_HIGH))