Module Name: src Committed By: andvar Date: Sat May 13 11:19:20 UTC 2023
Modified Files: src/lib/libperfuse: perfuse_if.h src/sys/arch/mips/sibyte/dev: sbjcnvar.h src/sys/dev/pci: if_vioif.c Log Message: fix typos in comments. To generate a diff of this commit: cvs rdiff -u -r1.24 -r1.25 src/lib/libperfuse/perfuse_if.h cvs rdiff -u -r1.8 -r1.9 src/sys/arch/mips/sibyte/dev/sbjcnvar.h cvs rdiff -u -r1.108 -r1.109 src/sys/dev/pci/if_vioif.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/lib/libperfuse/perfuse_if.h diff -u src/lib/libperfuse/perfuse_if.h:1.24 src/lib/libperfuse/perfuse_if.h:1.25 --- src/lib/libperfuse/perfuse_if.h:1.24 Sun Dec 12 09:00:07 2021 +++ src/lib/libperfuse/perfuse_if.h Sat May 13 11:19:19 2023 @@ -1,4 +1,4 @@ -/* $NetBSD: perfuse_if.h,v 1.24 2021/12/12 09:00:07 andvar Exp $ */ +/* $NetBSD: perfuse_if.h,v 1.25 2023/05/13 11:19:19 andvar Exp $ */ /*- * Copyright (c) 2010-2011 Emmanuel Dreyfus. All rights reserved. @@ -48,7 +48,7 @@ extern int perfuse_diagflags; #define PDF_FH 0x0010 /* File handles */ #define PDF_RECLAIM 0x0020 /* Reclaimed files */ #define PDF_READDIR 0x0040 /* readdir operations */ -#define PDF_REQUEUE 0x0080 /* reueued messages */ +#define PDF_REQUEUE 0x0080 /* requeued messages */ #define PDF_SYNC 0x0100 /* fsync and dirty flags */ #define PDF_MISC 0x0200 /* Miscellaneous messages */ #define PDF_SYSLOG 0x0400 /* use syslog */ Index: src/sys/arch/mips/sibyte/dev/sbjcnvar.h diff -u src/sys/arch/mips/sibyte/dev/sbjcnvar.h:1.8 src/sys/arch/mips/sibyte/dev/sbjcnvar.h:1.9 --- src/sys/arch/mips/sibyte/dev/sbjcnvar.h:1.8 Mon Jul 9 14:07:37 2018 +++ src/sys/arch/mips/sibyte/dev/sbjcnvar.h Sat May 13 11:19:19 2023 @@ -1,4 +1,4 @@ -/* $NetBSD: sbjcnvar.h,v 1.8 2018/07/09 14:07:37 christos Exp $ */ +/* $NetBSD: sbjcnvar.h,v 1.9 2023/05/13 11:19:19 andvar Exp $ */ /* * Copyright 2000, 2001 @@ -100,7 +100,7 @@ struct sbjcn_channel { struct callout ch_callout; /* callout for channel processing */ volatile char *ch_input_reg; /* kseg1 addr of input reg */ - volatile char *ch_output_reg; /* kseg1 addr of outpu reg */ + volatile char *ch_output_reg; /* kseg1 addr of output reg */ volatile char *ch_control_reg;/* kseg1 addr of control reg */ volatile int ch_waiting_input; /* */ Index: src/sys/dev/pci/if_vioif.c diff -u src/sys/dev/pci/if_vioif.c:1.108 src/sys/dev/pci/if_vioif.c:1.109 --- src/sys/dev/pci/if_vioif.c:1.108 Thu May 11 05:50:18 2023 +++ src/sys/dev/pci/if_vioif.c Sat May 13 11:19:19 2023 @@ -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_sof 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);