2011-01-24 Joel Sherrill <joel.sherrill@oarcorp.com>

* network/if_sim.c: Do not use printf() except for printing statistics.
This commit is contained in:
Joel Sherrill
2011-01-24 15:42:19 +00:00
parent 9b5fe74300
commit 33c779a029
2 changed files with 7 additions and 3 deletions
+4
View File
@@ -1,3 +1,7 @@
2011-01-24 Joel Sherrill <joel.sherrill@oarcorp.com>
* network/if_sim.c: Do not use printf() except for printing statistics.
2011-01-24 Joel Sherrill <joel.sherrill@oarcorp.com>
* console/consupp.S, irq/irq.h, irq/irq_init.c: Add CVS Id string.
@@ -328,7 +328,7 @@ rtems_event_set evs;
evs &= ((1<<IFSIM_SLOTS)-1);
#ifdef IRQ_DEBUG
printf("Task got evs %u\n", evs);
printk("Task got evs %u\n", evs);
#endif
for ( sc = theIfSims; evs; evs>>=1, sc++ ) {
@@ -367,13 +367,13 @@ rtems_event_set evs;
{
int i;
for ( i=0; i<len + crc_len; ) {
printf("%02X ",((char*)eh)[i]);
printk("%02X ",((char*)eh)[i]);
if ( 0 == (++i & 0xf) )
fputc('\n',stdout);
}
if ( i & 0xf )
fputc('\n', stdout);
printf("*****\n");
printk("*****\n");
}
#endif