Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/next68k/dev fix some errors in debug code, found by...
details: https://anonhg.NetBSD.org/src/rev/80e69d32043a
branches: trunk
changeset: 755432:80e69d32043a
user: mrg <mrg%NetBSD.org@localhost>
date: Sun Jun 06 02:51:46 2010 +0000
description:
fix some errors in debug code, found by henning petersen in PR#42529.
diffstat:
sys/arch/next68k/dev/nextdma.c | 10 +++++-----
1 files changed, 5 insertions(+), 5 deletions(-)
diffs (45 lines):
diff -r 4c97caa9909b -r 80e69d32043a sys/arch/next68k/dev/nextdma.c
--- a/sys/arch/next68k/dev/nextdma.c Sun Jun 06 01:13:12 2010 +0000
+++ b/sys/arch/next68k/dev/nextdma.c Sun Jun 06 02:51:46 2010 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: nextdma.c,v 1.46 2010/04/24 19:58:13 dbj Exp $ */
+/* $NetBSD: nextdma.c,v 1.47 2010/06/06 02:51:46 mrg Exp $ */
/*
* Copyright (c) 1998 Darrin B. Jewell
* All rights reserved.
@@ -25,7 +25,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: nextdma.c,v 1.46 2010/04/24 19:58:13 dbj Exp $");
+__KERNEL_RCSID(0, "$NetBSD: nextdma.c,v 1.47 2010/06/06 02:51:46 mrg Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -204,7 +204,7 @@
char sbuf[256];
snprintb(sbuf, sizeof(sbuf), NEXT_INTR_BITS,
- (NEXT_I_BIT(nsc->sc_chan->nd_intr));
+ NEXT_I_BIT(nsc->sc_chan->nd_intr));
printf("DMA init ipl (%ld) intr(0x%s)\n",
NEXT_I_IPL(nsc->sc_chan->nd_intr), sbuf);
}
@@ -488,7 +488,7 @@
char sbuf[256];
snprintb(sbuf, sizeof(sbuf), NEXT_INTR_BITS,
- (NEXT_I_BIT(nsc->sc_chan->nd_intr));
+ NEXT_I_BIT(nsc->sc_chan->nd_intr));
printf("DMA interrupt ipl (%ld) intr(0x%s)\n",
NEXT_I_IPL(nsc->sc_chan->nd_intr), sbuf);
}
@@ -901,7 +901,7 @@
printf("NDMAP: dd->dd_stop = 0x%08lx\n", dd_stop);
snprintb(sbuf, sizeof(sbuf), NEXT_INTR_BITS,
- (NEXT_I_BIT(nsc->sc_chan->nd_intr)));
+ NEXT_I_BIT(nsc->sc_chan->nd_intr));
printf("NDMAP: interrupt ipl (%ld) intr(0x%s)\n",
NEXT_I_IPL(nsc->sc_chan->nd_intr), sbuf);
}
Home |
Main Index |
Thread Index |
Old Index