2007-09-17 Joel Sherrill <joel.sherrill@OARcorp.com>

* libchip/network/smc91111.h: Eliminate DEBUG_puts.
This commit is contained in:
Joel Sherrill
2007-09-17 14:10:57 +00:00
parent 50f93fbbcb
commit b00e693a19
2 changed files with 9 additions and 6 deletions

View File

@@ -1,3 +1,7 @@
2007-09-17 Joel Sherrill <joel.sherrill@OARcorp.com>
* libchip/network/smc91111.h: Eliminate DEBUG_puts.
2007-09-16 Ralf Corsépius <ralf.corsepius@rtems.org>
* configure.ac: Remove AC_PROG_AWK (Unused).

View File

@@ -6,7 +6,7 @@
#define _SMC91111_H_
#include <libchip/smc91111exp.h>
#include <rtems/bspIo.h>
#define LAN91CXX_TCR 0x00
#define LAN91CXX_EPH_STATUS 0x01
@@ -293,10 +293,9 @@ static int debugflag_out = 0;
#define dbc_printf(lvl,format, args...) do { \
if (!debugflag_out) { \
if (lvl & DEBUG) { \
char buf[1024]; \
sprintf(buf,format,##args); \
DEBUG_puts(buf); \
}} \
printk(format,##args); \
} \
} \
} while(0)
#define db64_printf(format, args...) dbc_printf(64,format,##args);