summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libcpu/powerpc/mpc83xx/network/tsec.c
diff options
context:
space:
mode:
authorThomas Doerfler <Thomas.Doerfler@embedded-brains.de>2008-05-27 10:34:55 +0000
committerThomas Doerfler <Thomas.Doerfler@embedded-brains.de>2008-05-27 10:34:55 +0000
commit41d7c0fe9a1156650fcfa3dac890cfcfd9e290df (patch)
treef0844a3d6888882b8172fac5be699c9fbca6a198 /c/src/lib/libcpu/powerpc/mpc83xx/network/tsec.c
parentAdded const qualifier to various pointers and data tables to (diff)
downloadrtems-41d7c0fe9a1156650fcfa3dac890cfcfd9e290df.tar.bz2
speed inprovements in mpc83xx tsec driver
Diffstat (limited to '')
-rw-r--r--c/src/lib/libcpu/powerpc/mpc83xx/network/tsec.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/c/src/lib/libcpu/powerpc/mpc83xx/network/tsec.c b/c/src/lib/libcpu/powerpc/mpc83xx/network/tsec.c
index 95fca9f81d..501b31e4ec 100644
--- a/c/src/lib/libcpu/powerpc/mpc83xx/network/tsec.c
+++ b/c/src/lib/libcpu/powerpc/mpc83xx/network/tsec.c
@@ -256,9 +256,13 @@ static void mpc83xx_tsec_hwinit
/*
* init receive interrupt coalescing register
*/
+#if 0
reg_ptr->rxic = (M83xx_TSEC_RXIC_ICEN
| M83xx_TSEC_RXIC_ICFCT(2)
| M83xx_TSEC_RXIC_ICTT(32));
+#else
+ reg_ptr->rxic = 0;
+#endif
/*
* init MACCFG1 register
*/
@@ -1546,7 +1550,7 @@ static void mpc83xx_tsec_stats
rtems_ifmedia2str(media,NULL,0);
printf ("\n");
}
-#if 1 /* print all PHY registers */
+#if 0 /* print all PHY registers */
{
int reg;
uint32_t reg_val;