summaryrefslogtreecommitdiff
path: root/tools/bus_space
diff options
context:
space:
mode:
authorMarcel Moolenaar <marcel@FreeBSD.org>2015-07-26 16:40:51 +0000
committerMarcel Moolenaar <marcel@FreeBSD.org>2015-07-26 16:40:51 +0000
commit9af0c69a1549cad030f1107c97da14809198bbf0 (patch)
tree0d81c2c535583657db2d796458a1924193a88ad7 /tools/bus_space
parentb2ce196ca1af146f5aa010a519d79705c72137bb (diff)
downloadsrc-test2-9af0c69a1549cad030f1107c97da14809198bbf0.tar.gz
src-test2-9af0c69a1549cad030f1107c97da14809198bbf0.zip
Remove debugging output. We should have tracing instead.
Notes
Notes: svn path=/head/; revision=285893
Diffstat (limited to 'tools/bus_space')
-rw-r--r--tools/bus_space/busdma.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/tools/bus_space/busdma.c b/tools/bus_space/busdma.c
index 44c7b68ca5b7..d50d5d23554c 100644
--- a/tools/bus_space/busdma.c
+++ b/tools/bus_space/busdma.c
@@ -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 len, u_int flags)
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);