speed inprovements in mpc83xx tsec driver

This commit is contained in:
Thomas Doerfler
2008-05-27 10:34:55 +00:00
parent bf95ccb506
commit 41d7c0fe9a
3 changed files with 17 additions and 1 deletions

View File

@@ -1,3 +1,10 @@
<<<<<<< ChangeLog
2008-05-23 Thomas Doerfler <Thomas.Doerfler@embedded-brains.de>
* mpc83xx/network/tsec.c:
disabled debugging output, reduced rx interrupt coalescing
=======
2008-05-22 Till Straumann <strauman@slac.stanford.edu>
* ppc403/tty_drv/tty_drv.c, ppc403/console/console405.c:
@@ -8,6 +15,7 @@
* mpc83xx/include/mpc83xx.h: or is not a good name for any name in
C/C++. See iso646.h for the reason.
>>>>>>> 1.282
2008-05-15 Thomas Doerfler <Thomas.Doerfler@embedded-brains.de>
* mpc83xx/i2c/mpc83xx_i2cdrv.c:

View File

@@ -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;