Module Name: src Committed By: skrll Date: Mon Oct 21 07:10:44 UTC 2024
Modified Files: src/sys/arch/riscv/riscv: bus_dma.c Log Message: Sync a comment with the arm version. XXX need to fix the copy pasta To generate a diff of this commit: cvs rdiff -u -r1.7 -r1.8 src/sys/arch/riscv/riscv/bus_dma.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/sys/arch/riscv/riscv/bus_dma.c diff -u src/sys/arch/riscv/riscv/bus_dma.c:1.7 src/sys/arch/riscv/riscv/bus_dma.c:1.8 --- src/sys/arch/riscv/riscv/bus_dma.c:1.7 Sun Oct 20 15:37:37 2024 +++ src/sys/arch/riscv/riscv/bus_dma.c Mon Oct 21 07:10:43 2024 @@ -1,4 +1,4 @@ -/* $NetBSD: bus_dma.c,v 1.7 2024/10/20 15:37:37 skrll Exp $ */ +/* $NetBSD: bus_dma.c,v 1.8 2024/10/21 07:10:43 skrll Exp $ */ /*- * Copyright (c) 1996, 1997, 1998, 2020 The NetBSD Foundation, Inc. @@ -34,7 +34,7 @@ #define _RISCV_NEED_BUS_DMA_BOUNCE #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: bus_dma.c,v 1.7 2024/10/20 15:37:37 skrll Exp $"); +__KERNEL_RCSID(0, "$NetBSD: bus_dma.c,v 1.8 2024/10/21 07:10:43 skrll Exp $"); #include <sys/param.h> @@ -1089,8 +1089,7 @@ _bus_dmamap_sync(bus_dma_tag_t t, bus_dm len, offset, map->dm_mapsize); /* - * For a virtually-indexed write-back cache, we need - * to do the following things: + * For a write-back cache, we need to do the following things: * * PREREAD -- Invalidate the D-cache. We do this * here in case a write-back is required by the back-end.