Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 26 Jul 2015 16:40:52 +0000 (UTC)
From:      Marcel Moolenaar <marcel@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r285893 - head/tools/bus_space
Message-ID:  <201507261640.t6QGeqcA032136@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: marcel
Date: Sun Jul 26 16:40:51 2015
New Revision: 285893
URL: https://svnweb.freebsd.org/changeset/base/285893

Log:
  Remove debugging output. We should have tracing instead.

Modified:
  head/tools/bus_space/busdma.c

Modified: head/tools/bus_space/busdma.c
==============================================================================
--- head/tools/bus_space/busdma.c	Sun Jul 26 16:39:37 2015	(r285892)
+++ head/tools/bus_space/busdma.c	Sun Jul 26 16:40:51 2015	(r285893)
@@ -33,7 +33,6 @@ __FBSDID("$FreeBSD$");
 #include <errno.h>
 #include <fcntl.h>
 #include <limits.h>
-#include <stdio.h>
 #include <stdlib.h>
 #include <string.h>
 #include <unistd.h>
@@ -348,10 +347,6 @@ bd_md_load(int mdid, void *buf, u_long l
 	if (ioctl(md->fd, PROTO_IOC_BUSDMA, &ioc) == -1)
 		return (errno);
 
-	printf("XXX: %s: phys(%d, %#lx), bus(%d, %#lx)\n", __func__,
-	    ioc.u.md.phys_nsegs, ioc.u.md.phys_addr,
-	    ioc.u.md.bus_nsegs, ioc.u.md.bus_addr);
-
 	error = bd_md_add_seg(md, BUSDMA_MD_VIRT, ioc.u.md.virt_addr, len);
 	error = bd_md_add_seg(md, BUSDMA_MD_PHYS, ioc.u.md.phys_addr, len);
 	error = bd_md_add_seg(md, BUSDMA_MD_BUS, ioc.u.md.bus_addr, len);
@@ -412,10 +407,6 @@ bd_mem_alloc(int tid, u_int flags)
 	tag->refcnt++;
 	md->key = ioc.result;
 
-	printf("XXX: %s: phys(%d, %#lx), bus(%d, %#lx)\n", __func__,
-	    ioc.u.md.phys_nsegs, ioc.u.md.phys_addr,
-	    ioc.u.md.bus_nsegs, ioc.u.md.bus_addr);
-
 	/* XXX we need to support multiple segments */
 	assert(ioc.u.md.phys_nsegs == 1);
 	assert(ioc.u.md.bus_nsegs == 1);



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201507261640.t6QGeqcA032136>