diff options
| author | andvar <andvar@NetBSD.org> | 2021-11-14 20:51:57 +0000 |
|---|---|---|
| committer | andvar <andvar@NetBSD.org> | 2021-11-14 20:51:57 +0000 |
| commit | d30ceca976640caba17871f92c1ce989ca52941e (patch) | |
| tree | 022433903c01d1883c5bbc0c35f067cd3cfd76a8 /sys/dev | |
| parent | a68fc6bb791d676e90c8e04aee6bcfded36d8fcd (diff) | |
fix few typos in comments and log message.
Diffstat (limited to 'sys/dev')
| -rw-r--r-- | sys/dev/ic/dwiic.c | 6 | ||||
| -rw-r--r-- | sys/dev/ppbus/ppbus_1284.c | 8 |
2 files changed, 7 insertions, 7 deletions
diff --git a/sys/dev/ic/dwiic.c b/sys/dev/ic/dwiic.c index 183d3e13fe6..b15d6d84940 100644 --- a/sys/dev/ic/dwiic.c +++ b/sys/dev/ic/dwiic.c @@ -1,4 +1,4 @@ -/* $NetBSD: dwiic.c,v 1.7 2019/12/23 15:28:08 thorpej Exp $ */ +/* $NetBSD: dwiic.c,v 1.8 2021/11/14 20:51:57 andvar Exp $ */ /* $OpenBSD: dwiic.c,v 1.4 2018/05/23 22:08:00 kettenis Exp $ */ @@ -49,7 +49,7 @@ */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: dwiic.c,v 1.7 2019/12/23 15:28:08 thorpej Exp $"); +__KERNEL_RCSID(0, "$NetBSD: dwiic.c,v 1.8 2021/11/14 20:51:57 andvar Exp $"); #include <sys/param.h> #include <sys/bus.h> @@ -445,7 +445,7 @@ dwiic_i2c_exec(void *cookie, i2c_op_t op, i2c_addr_t addr, const void *cmdbuf, if (x == 0 && cmdlen > 0 && I2C_OP_READ_P(op)) cmd |= DW_IC_DATA_CMD_RESTART; /* - * Generate STOP conditon on the last byte of the + * Generate STOP condition on the last byte of the * transfer. */ if (x == (len - 1) && I2C_OP_STOP_P(op)) diff --git a/sys/dev/ppbus/ppbus_1284.c b/sys/dev/ppbus/ppbus_1284.c index 6e33235e585..d3be175e8a1 100644 --- a/sys/dev/ppbus/ppbus_1284.c +++ b/sys/dev/ppbus/ppbus_1284.c @@ -1,4 +1,4 @@ -/* $NetBSD: ppbus_1284.c,v 1.13 2014/07/13 17:12:23 dholland Exp $ */ +/* $NetBSD: ppbus_1284.c,v 1.14 2021/11/14 20:51:57 andvar Exp $ */ /*- * Copyright (c) 1997 Nicolas Souchu @@ -32,7 +32,7 @@ /* General purpose routines for the IEEE1284-1994 Standard */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: ppbus_1284.c,v 1.13 2014/07/13 17:12:23 dholland Exp $"); +__KERNEL_RCSID(0, "$NetBSD: ppbus_1284.c,v 1.14 2021/11/14 20:51:57 andvar Exp $"); #include "opt_ppbus_1284.h" @@ -64,7 +64,7 @@ do_peripheral_wait(struct ppbus_softc * bus, char mask, char status) } -/* Unconditionaly reset the error field */ +/* Unconditionally reset the error field */ static int ppbus_1284_reset_error(struct ppbus_softc * bus, int state) { @@ -569,7 +569,7 @@ ppbus_1284_negotiate(device_t dev, int mode, int options) goto error; } - /* Event 7 - quering result consider nACK not to misunderstand + /* Event 7 - querying result consider nACK not to misunderstand * a remote computer terminate sequence */ if (options & PPBUS_EXTENSIBILITY_LINK) { /* XXX not fully supported yet */ |
