diff options
| author | andvar <andvar@NetBSD.org> | 2023-05-13 11:19:19 +0000 |
|---|---|---|
| committer | andvar <andvar@NetBSD.org> | 2023-05-13 11:19:19 +0000 |
| commit | 261b927a30ca45ecbaa5b4fe00f0590f3e025324 (patch) | |
| tree | 7390b6428bf82ff79ab047b65731c6ca4b4c6b31 /sys/dev | |
| parent | e84feab8ffcbd760f1dc01a763c7377054893fbe (diff) | |
fix typos in comments.
Diffstat (limited to 'sys/dev')
| -rw-r--r-- | sys/dev/pci/if_vioif.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/dev/pci/if_vioif.c b/sys/dev/pci/if_vioif.c index 84effabe973..5f6ea67b3ab 100644 --- a/sys/dev/pci/if_vioif.c +++ b/sys/dev/pci/if_vioif.c @@ -1,4 +1,4 @@ -/* $NetBSD: if_vioif.c,v 1.108 2023/05/11 05:50:18 yamaguchi Exp $ */ +/* $NetBSD: if_vioif.c,v 1.109 2023/05/13 11:19:19 andvar Exp $ */ /* * Copyright (c) 2020 The NetBSD Foundation, Inc. @@ -27,7 +27,7 @@ */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: if_vioif.c,v 1.108 2023/05/11 05:50:18 yamaguchi Exp $"); +__KERNEL_RCSID(0, "$NetBSD: if_vioif.c,v 1.109 2023/05/13 11:19:19 andvar Exp $"); #ifdef _KERNEL_OPT #include "opt_net_mpsafe.h" @@ -205,7 +205,7 @@ struct virtio_net_ctrl_mq { /* * Locking notes: - * + a field in vioif_netueue is protected by netq_lock (a spin mutex) + * + a field in vioif_netqueue is protected by netq_lock (a spin mutex) * - more than one lock cannot be held at onece * + a field in vioif_tx_context and vioif_rx_context is also protected * by netq_lock. @@ -2391,7 +2391,7 @@ vioif_ctrl_send_command(struct vioif_softc *sc, uint8_t class, uint8_t cmd, while (ctrlq->ctrlq_inuse != DONE) cv_wait(&ctrlq->ctrlq_wait, &ctrlq->ctrlq_wait_lock); mutex_exit(&ctrlq->ctrlq_wait_lock); - /* already dequeueued */ + /* already dequeued */ bus_dmamap_sync(virtio_dmat(vsc), ctrlq->ctrlq_cmd_dmamap, 0, sizeof(struct virtio_net_ctrl_cmd), BUS_DMASYNC_POSTWRITE); |
