forked from Imagelibrary/rtems
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>
|
2007-09-16 Ralf Corsépius <ralf.corsepius@rtems.org>
|
||||||
|
|
||||||
* configure.ac: Remove AC_PROG_AWK (Unused).
|
* configure.ac: Remove AC_PROG_AWK (Unused).
|
||||||
|
|||||||
@@ -6,7 +6,7 @@
|
|||||||
#define _SMC91111_H_
|
#define _SMC91111_H_
|
||||||
|
|
||||||
#include <libchip/smc91111exp.h>
|
#include <libchip/smc91111exp.h>
|
||||||
|
#include <rtems/bspIo.h>
|
||||||
|
|
||||||
#define LAN91CXX_TCR 0x00
|
#define LAN91CXX_TCR 0x00
|
||||||
#define LAN91CXX_EPH_STATUS 0x01
|
#define LAN91CXX_EPH_STATUS 0x01
|
||||||
@@ -292,11 +292,10 @@ static int debugflag_out = 0;
|
|||||||
|
|
||||||
#define dbc_printf(lvl,format, args...) do { \
|
#define dbc_printf(lvl,format, args...) do { \
|
||||||
if (!debugflag_out) { \
|
if (!debugflag_out) { \
|
||||||
if (lvl & DEBUG) { \
|
if (lvl & DEBUG) { \
|
||||||
char buf[1024]; \
|
printk(format,##args); \
|
||||||
sprintf(buf,format,##args); \
|
} \
|
||||||
DEBUG_puts(buf); \
|
} \
|
||||||
}} \
|
|
||||||
} while(0)
|
} while(0)
|
||||||
|
|
||||||
#define db64_printf(format, args...) dbc_printf(64,format,##args);
|
#define db64_printf(format, args...) dbc_printf(64,format,##args);
|
||||||
|
|||||||
Reference in New Issue
Block a user