diff options
author | Sascha Hauer <s.hauer@pengutronix.de> | 2007-07-05 18:01:13 +0200 |
---|---|---|
committer | Sascha Hauer <sha@octopus.labnet.pengutronix.de> | 2007-07-05 18:01:13 +0200 |
commit | 162484b83c392eeef33de2eb8111fcbe7f1e1e14 (patch) | |
tree | d803c4357400b05ff89cb5e25920cd359d0baa94 /cpu/mpc8220/fec.c | |
parent | 13a0908f07be07b58df8f312acf92a58047383a6 (diff) | |
download | barebox-162484b83c392eeef33de2eb8111fcbe7f1e1e14.tar.gz barebox-162484b83c392eeef33de2eb8111fcbe7f1e1e14.tar.xz |
svn_rev_003
remove all #if 0 and #if 1
Diffstat (limited to 'cpu/mpc8220/fec.c')
-rw-r--r-- | cpu/mpc8220/fec.c | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/cpu/mpc8220/fec.c b/cpu/mpc8220/fec.c index 1201e794df..2ba87cd003 100644 --- a/cpu/mpc8220/fec.c +++ b/cpu/mpc8220/fec.c @@ -348,14 +348,12 @@ static int mpc8220_fec_init (struct eth_device *dev, bd_t * bis) */ fec->eth->xmit_fsm = 0x03000000; -#if 1 /*#if defined(CONFIG_MPC5200)*/ /* * Turn off COMM bus prefetch in the MGT5200 BestComm. It doesn't * work w/ the current receive task. */ dma->PtdCntrl |= 0x00000001; -#endif /* * Set priority of different initiators @@ -777,16 +775,6 @@ static int mpc8220_fec_recv (struct eth_device *dev) frame = (NBUF *) pRbd->dataPointer; frame_length = pRbd->dataLength - 4; -#if (0) - { - int i; - - printf ("recv data hdr:"); - for (i = 0; i < 14; i++) - printf ("%x ", *(frame->head + i)); - printf ("\n"); - } -#endif /* * Fill the buffer and pass it to upper layers */ |