remove separate debug printout macros

This commit is contained in:
Markus Fröschle
2016-10-04 20:44:59 +00:00
parent c904b7e208
commit fb7df8024c
8 changed files with 24 additions and 33 deletions

View File

@@ -48,20 +48,13 @@
#include "bas_string.h" /* for memset() */
#include "pci.h"
#include "interrupts.h"
#include "debug.h"
#undef OHCI_USE_NPS /* force NoPowerSwitching mode */
#undef OHCI_VERBOSE_DEBUG /* not always helpful */
#undef OHCI_FILL_TRACE
#define DEBUG_OHCI
#ifdef DEBUG_OHCI
#define dbg(format, arg...) do { xprintf("DEBUG: %s(): " format, __FUNCTION__, ##arg); } while (0)
#else
#define dbg(format, arg...) do { ; } while (0)
#endif /* DEBUG_OHCI */
#define err(format, arg...) do { xprintf("DEBUG: %s(): " format, __FUNCTION__, ##arg); } while (0)
#include "usb.h"
#include "ohci.h"
#include "util.h" /* for endian conversions */