Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/hp700/hp700 Add two DPRINTFs
details: https://anonhg.NetBSD.org/src/rev/5ad315b5186b
branches: trunk
changeset: 754445:5ad315b5186b
user: skrll <skrll%NetBSD.org@localhost>
date: Fri Apr 30 15:39:02 2010 +0000
description:
Add two DPRINTFs
diffstat:
sys/arch/hp700/hp700/mainbus.c | 10 ++++++++--
1 files changed, 8 insertions(+), 2 deletions(-)
diffs (38 lines):
diff -r 54cb1d75397f -r 5ad315b5186b sys/arch/hp700/hp700/mainbus.c
--- a/sys/arch/hp700/hp700/mainbus.c Fri Apr 30 15:36:45 2010 +0000
+++ b/sys/arch/hp700/hp700/mainbus.c Fri Apr 30 15:39:02 2010 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: mainbus.c,v 1.67 2010/04/23 15:04:09 skrll Exp $ */
+/* $NetBSD: mainbus.c,v 1.68 2010/04/30 15:39:02 skrll Exp $ */
/*-
* Copyright (c) 2001, 2002 The NetBSD Foundation, Inc.
@@ -58,7 +58,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: mainbus.c,v 1.67 2010/04/23 15:04:09 skrll Exp $");
+__KERNEL_RCSID(0, "$NetBSD: mainbus.c,v 1.68 2010/04/30 15:39:02 skrll Exp $");
#include "locators.h"
#include "power.h"
@@ -1061,6 +1061,9 @@
int seg;
int error;
+ DPRINTF(("%s: size 0x%lx align 0x%lx bdry %0lx segs %p nsegs %d\n",
+ __func__, size, alignment, boundary, segs, nsegs));
+
/* Always round the size. */
size = round_page(size);
@@ -1081,6 +1084,9 @@
/* If we don't have the pages. */
if (error) {
+ DPRINTF(("%s: uvm_pglistalloc(%lx, %lx, %lx, 0, 0, %p, %d, %0x)"
+ " failed", __func__, size, low, high, mlist, nsegs,
+ (flags & BUS_DMA_NOWAIT) == 0));
free(mlist, M_DEVBUF);
return (error);
}
Home |
Main Index |
Thread Index |
Old Index