From 8b07a1103dc7dcadc80c4a9681cfa7d225e8e224 Mon Sep 17 00:00:00 2001 From: wdenk Date: Sat, 10 Jul 2004 21:45:47 +0000 Subject: * Patch by Fred Klatt, 25 Jun 2004: Add support for WindRiver's SBC8560 board * Patch by Nicolas Lacressonniere, 24 Jun 2004 Small Bugs fixes for "at91rm9200dk" board: - Timing modifications for SPI DataFlash access - Fix NAND flash detection bug * Patch by Nicolas Lacressonniere, 24 Jun 2004: Add Support for Flash AT49BV6416 for AT91RM9200DK board --- cpu/mpc85xx/tsec.c | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-) (limited to 'cpu/mpc85xx') diff --git a/cpu/mpc85xx/tsec.c b/cpu/mpc85xx/tsec.c index 0d858ed977b..3255db8d8f8 100644 --- a/cpu/mpc85xx/tsec.c +++ b/cpu/mpc85xx/tsec.c @@ -25,13 +25,6 @@ #define TX_BUF_CNT 2 -#undef TSEC_DEBUG -#ifdef TSEC_DEBUG -#define DBGPRINT(x,y) printf(x,y) -#else -#define DBGPRINT(x,y) -#endif - static uint rxIdx; /* index of the current RX buffer */ static uint txIdx; /* index of the current TX buffer */ @@ -564,7 +557,7 @@ static int tsec_send(struct eth_device* dev, volatile void *packet, int length) /* Find an empty buffer descriptor */ for(i=0; rtx.txbd[txIdx].status & TXBD_READY; i++) { if (i >= TOUT_LOOP) { - DBGPRINT("%s: tsec: tx buffers full\n", dev->name); + debug ("%s: tsec: tx buffers full\n", dev->name); return result; } } @@ -579,7 +572,7 @@ static int tsec_send(struct eth_device* dev, volatile void *packet, int length) /* Wait for buffer to be transmitted */ for(i=0; rtx.txbd[txIdx].status & TXBD_READY; i++) { if (i >= TOUT_LOOP) { - DBGPRINT("%s: tsec: tx error\n", dev->name); + debug ("%s: tsec: tx error\n", dev->name); return result; } } -- cgit v1.2.3