s/artifical/artificial/ in comments.

This commit is contained in:
andvar 2022-05-21 19:07:23 +00:00
parent 91e5439d10
commit 0c28a8917b
3 changed files with 8 additions and 8 deletions

View File

@ -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 <jmcneill@invisible.ca>
@ -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 *ch)
}
/*
* 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.

View File

@ -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 <jmcneill@invisible.ca>
@ -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 *ch)
}
/*
* 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.

View File

@ -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 <brad@anduin.eldar.org>
@ -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))