2009-08-10 Joel Sherrill <joel.sherrill@oarcorp.com>

* libchip/network/elnk.c: Convert calls to legacy routine
	rtems_clock_get( RTEMS_CLOCK_GET_xxx, ..) to rtems_clock_get_xxx().
This commit is contained in:
Joel Sherrill
2009-08-10 16:53:30 +00:00
parent 33e7fc3e8a
commit 439aade0f8
2 changed files with 6 additions and 2 deletions

View File

@@ -1,3 +1,8 @@
2009-08-10 Joel Sherrill <joel.sherrill@oarcorp.com>
* libchip/network/elnk.c: Convert calls to legacy routine
rtems_clock_get( RTEMS_CLOCK_GET_xxx, ..) to rtems_clock_get_xxx().
2009-08-03 Roger Dahlkvist <ruppe@kth.se>
* libchip/shmdr/shm_driver.h: nios2 was not accounted for.

View File

@@ -3291,8 +3291,7 @@ rtems_elnk_driver_attach (struct rtems_bsdnet_ifconfig *config, int attach)
/* update stats 1 times/second if things aren't incrementing fast
* enough to trigger stats interrupts
*/
rtems_clock_get( RTEMS_CLOCK_GET_TICKS_PER_SECOND, &sc->stats_update_ticks );
sc->stats_update_ticks = rtems_clock_get_ticks_per_second();
/*
** Get this unit's rx/tx event