From owner-svn-src-head@freebsd.org Sun Jul 26 16:40:52 2015 Return-Path: Delivered-To: svn-src-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 508E69AB49B; Sun, 26 Jul 2015 16:40:52 +0000 (UTC) (envelope-from marcel@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 3DA88D8D; Sun, 26 Jul 2015 16:40:52 +0000 (UTC) (envelope-from marcel@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.70]) by repo.freebsd.org (8.14.9/8.14.9) with ESMTP id t6QGeq4f032137; Sun, 26 Jul 2015 16:40:52 GMT (envelope-from marcel@FreeBSD.org) Received: (from marcel@localhost) by repo.freebsd.org (8.14.9/8.14.9/Submit) id t6QGeqcA032136; Sun, 26 Jul 2015 16:40:52 GMT (envelope-from marcel@FreeBSD.org) Message-Id: <201507261640.t6QGeqcA032136@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: marcel set sender to marcel@FreeBSD.org using -f From: Marcel Moolenaar Date: Sun, 26 Jul 2015 16:40:52 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r285893 - head/tools/bus_space X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 26 Jul 2015 16:40:52 -0000 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 #include #include -#include #include #include #include @@ -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);