mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2025-12-05 15:15:44 +00:00
2007-09-17 Joel Sherrill <joel.sherrill@OARcorp.com>
* libchip/network/smc91111.h: Eliminate DEBUG_puts.
This commit is contained in:
@@ -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).
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
#define _SMC91111_H_
|
||||
|
||||
#include <libchip/smc91111exp.h>
|
||||
|
||||
#include <rtems/bspIo.h>
|
||||
|
||||
#define LAN91CXX_TCR 0x00
|
||||
#define LAN91CXX_EPH_STATUS 0x01
|
||||
@@ -292,11 +292,10 @@ 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); \
|
||||
}} \
|
||||
if (lvl & DEBUG) { \
|
||||
printk(format,##args); \
|
||||
} \
|
||||
} \
|
||||
} while(0)
|
||||
|
||||
#define db64_printf(format, args...) dbc_printf(64,format,##args);
|
||||
|
||||
Reference in New Issue
Block a user