Patchwork [2/2] Change #define DEBUG to #define E1000_DEBUG in hw/e1000.c

login
register
mail settings
Submitter Jes Sorensen
Date June 14, 2010, 3:05 p.m.
Message ID <1276527917-24703-3-git-send-email-Jes.Sorensen@redhat.com>
Download mbox | patch
Permalink /patch/55546/
State New
Headers show

Comments

Jes Sorensen - June 14, 2010, 3:05 p.m.
From: Jes Sorensen <Jes.Sorensen@redhat.com>

Change #define DEBUG to #define E1000_DEBUG in hw/e1000.c to make
it possible to build QEMU with -DDEBUG

Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
---
 hw/e1000.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

Patch

diff --git a/hw/e1000.c b/hw/e1000.c
index 96d045d..0da65f9 100644
--- a/hw/e1000.c
+++ b/hw/e1000.c
@@ -33,9 +33,9 @@ 
 
 #include "e1000_hw.h"
 
-#define DEBUG
+#define E1000_DEBUG
 
-#ifdef DEBUG
+#ifdef E1000_DEBUG
 enum {
     DEBUG_GENERAL,	DEBUG_IO,	DEBUG_MMIO,	DEBUG_INTERRUPT,
     DEBUG_RX,		DEBUG_TX,	DEBUG_MDIC,	DEBUG_EEPROM,