2007-03-13 Joel Sherrill <joel@OARcorp.com>

* libchip/network/sonic.c: Rename Dump_Buffer to rtems_print_buffer.
This commit is contained in:
Joel Sherrill
2007-03-13 11:26:54 +00:00
parent 26b8262825
commit d6236b41c3
2 changed files with 7 additions and 3 deletions

View File

@@ -1,3 +1,7 @@
2007-03-13 Joel Sherrill <joel@OARcorp.com>
* libchip/network/sonic.c: Rename Dump_Buffer to rtems_print_buffer.
2007-03-12 Joel Sherrill <joel@OARcorp.com>
* libchip/network/cs8900.c, libchip/network/cs8900.h,

View File

@@ -642,7 +642,7 @@ SONIC_STATIC void sonic_sendpacket (struct ifnet *ifp, struct mbuf *m)
fp, fp->frag_msw, fp->frag_lsw, fp->frag_size, m->m_len, packetSize );
#endif
#if (SONIC_DEBUG & SONIC_DEBUG_DUMP_TX_MBUFS)
Dump_Buffer(
rtems_print_buffer(
p,
(fp->frag_size > MAXIMUM_FRAME_SIZE) ? MAXIMUM_FRAME_SIZE : fp->frag_size
);
@@ -995,8 +995,8 @@ SONIC_STATIC void sonic_rxDaemon (void *arg)
#endif
#if (SONIC_DEBUG & SONIC_DEBUG_DUMP_RX_MBUFS)
Dump_Buffer( (void *) eh, sizeof(struct ether_header) );
Dump_Buffer( (void *) m, 96 /* m->m_len*/ );
rtems_print_buffer( (void *) eh, sizeof(struct ether_header) );
rtems_print_buffer( (void *) m, 96 /* m->m_len*/ );
#endif
/* printf( "ether_input %p\n", m ); */