Message ID | 02c080ca6648009fad741b62e503f89b5cc8181a.1351473902.git.peter.crosthwaite@xilinx.com |
---|---|
State | New |
Headers | show
Return-Path: <qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org> X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from lists.gnu.org (lists.gnu.org [208.118.235.17]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (Client did not present a certificate) by ozlabs.org (Postfix) with ESMTPS id E71B92C00AC for <incoming@patchwork.ozlabs.org>; Mon, 29 Oct 2012 13:13:03 +1100 (EST) Received: from localhost ([::1]:37750 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from <qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org>) id 1TSeqc-0000Za-0v for incoming@patchwork.ozlabs.org; Sun, 28 Oct 2012 22:13:02 -0400 Received: from eggs.gnu.org ([208.118.235.92]:53173) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from <peter.crosthwaite@petalogix.com>) id 1TSeGL-0002vd-4X for qemu-devel@nongnu.org; Sun, 28 Oct 2012 21:35:33 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from <peter.crosthwaite@petalogix.com>) id 1TSeGK-0003s7-3p for qemu-devel@nongnu.org; Sun, 28 Oct 2012 21:35:33 -0400 Received: from mail-pb0-f45.google.com ([209.85.160.45]:49064) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from <peter.crosthwaite@petalogix.com>) id 1TSeGJ-0003LF-UM for qemu-devel@nongnu.org; Sun, 28 Oct 2012 21:35:32 -0400 Received: by mail-pb0-f45.google.com with SMTP id rp2so3694633pbb.4 for <qemu-devel@nongnu.org>; Sun, 28 Oct 2012 18:35:31 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=sender:from:to:cc:subject:date:message-id:x-mailer:in-reply-to :references:in-reply-to:references:x-gm-message-state; bh=kEx3KBuSmuZaPeIbFruOmS0gKMcWi6fLqunbemWLEv8=; b=BYiyqx2DN/FZJopPWcBRoYLVrECUyB9zajbQR6lAHPKG8Wbf1RYs3PwjjYyzKUbraN ihZ8WgOs5vzdinixIOwL/VSEBW3HMN1hafnUSOcBYcnF+JuV+5L9hQTCI3FkGNY4+s1a 3wk1XntjGMAld1gq7YfRPBDZ7+jiGdIRTI5wtAJONf4k0t+by0XJTH9uqU0IL20lti7h abeII7BpnHU8+gbgBMANEXthPxmYU8DdpFjaam341YYwmabLYJ+K3kGmGmczOLa4l5by Dh604pf12N1bMs83WMtavx6ZweoDEBp/yni1BOKAZ6m/rAE3KbV+JYSVqzAi5QDv20Vw x7vQ== Received: by 10.66.79.168 with SMTP id k8mr79116957pax.12.1351474531447; Sun, 28 Oct 2012 18:35:31 -0700 (PDT) Received: from localhost ([124.148.20.9]) by mx.google.com with ESMTPS id i4sm5019095pav.20.2012.10.28.18.35.28 (version=TLSv1/SSLv3 cipher=OTHER); Sun, 28 Oct 2012 18:35:30 -0700 (PDT) From: Peter Crosthwaite <peter.crosthwaite@xilinx.com> To: qemu-devel@nongnu.org Date: Mon, 29 Oct 2012 11:34:39 +1000 Message-Id: <02c080ca6648009fad741b62e503f89b5cc8181a.1351473902.git.peter.crosthwaite@xilinx.com> X-Mailer: git-send-email 1.7.0.4 In-Reply-To: <cover.1351473902.git.peter.crosthwaite@xilinx.com> References: <cover.1351473902.git.peter.crosthwaite@xilinx.com> In-Reply-To: <cover.1351473902.git.peter.crosthwaite@xilinx.com> References: <cover.1351473902.git.peter.crosthwaite@xilinx.com> X-Gm-Message-State: ALoCoQlt9vz2xzyRCYwpDOavC/463uupgbuJJZsjBsSsMyrzV47qKASxiqKQJzRQKUrZ0eZMb+Ib X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 209.85.160.45 Cc: vineshp@xilinx.com, peter.maydell@linaro.org, Peter Crosthwaite <peter.crosthwaite@xilinx.com>, john.williams@xilinx.com, kraxel@redhat.com, edgar.iglesias@gmail.com, afaerber@suse.de Subject: [Qemu-devel] [PATCH v3 8/8] usb/ehci: Guard definition of EHCI_DEBUG X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: <qemu-devel.nongnu.org> List-Unsubscribe: <https://lists.nongnu.org/mailman/options/qemu-devel>, <mailto:qemu-devel-request@nongnu.org?subject=unsubscribe> List-Archive: <http://lists.nongnu.org/archive/html/qemu-devel> List-Post: <mailto:qemu-devel@nongnu.org> List-Help: <mailto:qemu-devel-request@nongnu.org?subject=help> List-Subscribe: <https://lists.nongnu.org/mailman/listinfo/qemu-devel>, <mailto:qemu-devel-request@nongnu.org?subject=subscribe> Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Sender: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org |
diff --git a/hw/usb/hcd-ehci.c b/hw/usb/hcd-ehci.c index 7948146..8bd3a9f 100644 --- a/hw/usb/hcd-ehci.c +++ b/hw/usb/hcd-ehci.c @@ -38,7 +38,9 @@ #include "hw/sysbus.h" #include "exec-memory.h" +#ifndef EHCI_DEBUG #define EHCI_DEBUG 0 +#endif #if EHCI_DEBUG #define DPRINTF printf
Guard against re-definition of EHCI_DEBUG. Allows for turning on of debug info from configure (using --qemu-extra-cflags="-DEHCI_DEBUG=1") rather than source code hacking. Signed-off-by: Peter Crosthwaite <peter.crosthwaite@xilinx.com> --- hw/usb/hcd-ehci.c | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-)