Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/mips/mips Fix variable name for BUS_DMA_DEBUG.



details:   https://anonhg.NetBSD.org/src/rev/580118d74ba8
branches:  trunk
changeset: 936032:580118d74ba8
user:      simonb <simonb%NetBSD.org@localhost>
date:      Thu Jul 16 13:32:05 2020 +0000

description:
Fix variable name for BUS_DMA_DEBUG.

diffstat:

 sys/arch/mips/mips/bus_dma.c |  8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diffs (31 lines):

diff -r e6462a2f472c -r 580118d74ba8 sys/arch/mips/mips/bus_dma.c
--- a/sys/arch/mips/mips/bus_dma.c      Thu Jul 16 11:49:37 2020 +0000
+++ b/sys/arch/mips/mips/bus_dma.c      Thu Jul 16 13:32:05 2020 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: bus_dma.c,v 1.41 2020/06/14 14:02:39 tsutsui Exp $     */
+/*     $NetBSD: bus_dma.c,v 1.42 2020/07/16 13:32:05 simonb Exp $      */
 
 /*-
  * Copyright (c) 1997, 1998, 2001, 2020 The NetBSD Foundation, Inc.
@@ -32,7 +32,7 @@
 
 #include <sys/cdefs.h>                 /* RCS ID & Copyright macro defns */
 
-__KERNEL_RCSID(0, "$NetBSD: bus_dma.c,v 1.41 2020/06/14 14:02:39 tsutsui Exp $");
+__KERNEL_RCSID(0, "$NetBSD: bus_dma.c,v 1.42 2020/07/16 13:32:05 simonb Exp $");
 
 #define _MIPS_BUS_DMA_PRIVATE
 
@@ -859,10 +859,10 @@
                minlen = ulmin(len, seg->ds_len - offset);
 
 #ifdef BUS_DMA_DEBUG
-               printf("bus_dmamap_sync(op=%d: flushing segment %p "
+               printf("bus_dmamap_sync(ops=%d: flushing segment %p "
                    "(0x%"PRIxREGISTER"+%"PRIxBUSADDR
                    ", 0x%"PRIxREGISTER"+0x%"PRIxBUSADDR
-                   ") (olen = %"PRIxBUSADDR")...", op, seg,
+                   ") (olen = %"PRIxBUSADDR")...", ops, seg,
                    vaddr - offset, offset,
                    vaddr - offset, offset + minlen - 1, len);
 #endif



Home | Main Index | Thread Index | Old Index