From owner-svn-src-all@FreeBSD.ORG  Fri Oct 18 21:42:48 2013
Return-Path: <owner-svn-src-all@FreeBSD.ORG>
Delivered-To: svn-src-all@freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115])
 (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits))
 (No client certificate requested)
 by hub.freebsd.org (Postfix) with ESMTP id 633FB416;
 Fri, 18 Oct 2013 21:42:48 +0000 (UTC)
 (envelope-from grehan@FreeBSD.org)
Received: from svn.freebsd.org (svn.freebsd.org
 [IPv6:2001:1900:2254:2068::e6a:0])
 (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
 (No client certificate requested)
 by mx1.freebsd.org (Postfix) with ESMTPS id 50D10202A;
 Fri, 18 Oct 2013 21:42:48 +0000 (UTC)
Received: from svn.freebsd.org ([127.0.1.70])
 by svn.freebsd.org (8.14.7/8.14.7) with ESMTP id r9ILgm4X032688;
 Fri, 18 Oct 2013 21:42:48 GMT (envelope-from grehan@svn.freebsd.org)
Received: (from grehan@localhost)
 by svn.freebsd.org (8.14.7/8.14.5/Submit) id r9ILgmTP032687;
 Fri, 18 Oct 2013 21:42:48 GMT (envelope-from grehan@svn.freebsd.org)
Message-Id: <201310182142.r9ILgmTP032687@svn.freebsd.org>
From: Peter Grehan <grehan@FreeBSD.org>
Date: Fri, 18 Oct 2013 21:42:48 +0000 (UTC)
To: src-committers@freebsd.org, svn-src-all@freebsd.org,
 svn-src-stable@freebsd.org, svn-src-stable-10@freebsd.org
Subject: svn commit: r256754 - stable/10/usr.sbin/bhyve
X-SVN-Group: stable-10
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
X-BeenThere: svn-src-all@freebsd.org
X-Mailman-Version: 2.1.14
Precedence: list
List-Id: "SVN commit messages for the entire src tree \(except for &quot;
 user&quot; and &quot; projects&quot; \)" <svn-src-all.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/options/svn-src-all>,
 <mailto:svn-src-all-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/svn-src-all>
List-Post: <mailto:svn-src-all@freebsd.org>
List-Help: <mailto:svn-src-all-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/svn-src-all>,
 <mailto:svn-src-all-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Fri, 18 Oct 2013 21:42:48 -0000

Author: grehan
Date: Fri Oct 18 21:42:47 2013
New Revision: 256754
URL: http://svnweb.freebsd.org/changeset/base/256754

Log:
  MFC r256709:
  
    Eliminate unconditional debug printfs.
  
    Linux writes to these nominally read-only registers,
    so avoid having bhyve write warning messages to stdout
    when the reg writes can be safely ignored. Change the
    WPRINTF to DPRINTF which is conditional.
  
  Approved by:	re (gjb)

Modified:
  stable/10/usr.sbin/bhyve/pci_ahci.c
Directory Properties:
  stable/10/usr.sbin/bhyve/   (props changed)

Modified: stable/10/usr.sbin/bhyve/pci_ahci.c
==============================================================================
--- stable/10/usr.sbin/bhyve/pci_ahci.c	Fri Oct 18 20:52:42 2013	(r256753)
+++ stable/10/usr.sbin/bhyve/pci_ahci.c	Fri Oct 18 21:42:47 2013	(r256754)
@@ -1543,7 +1543,7 @@ pci_ahci_host_write(struct pci_ahci_soft
 	case AHCI_PI:
 	case AHCI_VS:
 	case AHCI_CAP2:
-		WPRINTF("pci_ahci_host: read only registers 0x%"PRIx64"\n", offset);
+		DPRINTF("pci_ahci_host: read only registers 0x%"PRIx64"\n", offset);
 		break;
 	case AHCI_GHC:
 		if (value & AHCI_GHC_HR)