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);
_______________________________________________
svn-src-head@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to