[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[tyndur-devel] [PATCH] e1000: Debugmeldungen ausschalten



* e1000: Eigentlich brauchen wir die Debugmeldungen im Moment nicht mehr

Signed-off-by: Kevin Wolf <kevin@xxxxxxxxxx>
---
 src/modules/cdi/e1000/device.c |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/src/modules/cdi/e1000/device.c b/src/modules/cdi/e1000/device.c
index 7026958..5534b3b 100644
--- a/src/modules/cdi/e1000/device.c
+++ b/src/modules/cdi/e1000/device.c
@@ -36,7 +36,7 @@
 #include "device.h"
 #include "e1000_io.h"
 
-#define DEBUG
+#undef DEBUG
 
 #define PHYS(netcard, field) \
     ((uintptr_t) netcard->phys + offsetof(struct e1000_device, field))
@@ -293,6 +293,8 @@ static void e1000_handle_interrupt(struct cdi_device* device)
     } else if (icr & ICR_TRANSMIT) {
         // Nichts zu tun
     } else {
+#ifdef DEBUG
         printf("e1000: Unerwarteter Interrupt.\n");
+#endif
     }
 }
-- 
1.5.6.5