summaryrefslogtreecommitdiffstats
path: root/sys/dev/atkbdc/psm.c
diff options
context:
space:
mode:
authorpfg <pfg@FreeBSD.org>2016-05-03 03:41:25 +0000
committerpfg <pfg@FreeBSD.org>2016-05-03 03:41:25 +0000
commiteed4bd22add2269ccde27996035581801316c610 (patch)
treefe36ef227324b313676d43aef9a4d97c9a09675a /sys/dev/atkbdc/psm.c
parent759c5e424131bdbb2db154a8f626569c324004d2 (diff)
downloadFreeBSD-src-eed4bd22add2269ccde27996035581801316c610.zip
FreeBSD-src-eed4bd22add2269ccde27996035581801316c610.tar.gz
sys/dev: minor spelling fixes.
Most affect comments, very few have user-visible effects.
Diffstat (limited to 'sys/dev/atkbdc/psm.c')
-rw-r--r--sys/dev/atkbdc/psm.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/dev/atkbdc/psm.c b/sys/dev/atkbdc/psm.c
index b5c4856..56a5c62 100644
--- a/sys/dev/atkbdc/psm.c
+++ b/sys/dev/atkbdc/psm.c
@@ -1807,7 +1807,7 @@ psmread(struct cdev *dev, struct uio *uio, int flag)
if ((sc->state & PSM_VALID) == 0)
return (EIO);
- /* block until mouse activity occured */
+ /* block until mouse activity occurred */
s = spltty();
while (sc->queue.count <= 0) {
if (dev != sc->bdev) {
@@ -3008,7 +3008,7 @@ proc_synaptics(struct psm_softc *sc, packetbuf_t *pb, mousestatus_t *ms,
if (synaction->queue_len < synaction->window_min)
goto SYNAPTICS_END;
- /* Is a scrolling action occuring? */
+ /* Is a scrolling action occurring? */
if (!synaction->in_taphold && !synaction->in_vscroll) {
/*
* A scrolling action must not conflict with a tap
@@ -3518,7 +3518,7 @@ psmsoftintr(void *arg)
case MOUSE_MODEL_NETSCROLL:
/*
- * three addtional bytes encode buttons and
+ * three additional bytes encode buttons and
* wheel events
*/
ms.button |= (pb->ipacket[3] & MOUSE_PS2_BUTTON3DOWN) ?
OpenPOWER on IntegriCloud