2008-12-16 Joel Sherrill <joel.sherrill@oarcorp.com>

* libchip/network/i82586.c, libchip/network/smc91111config.h: Eliminate
	all public use of TOD conversion routines.
This commit is contained in:
Joel Sherrill
2008-12-16 21:58:18 +00:00
parent 69e10f3e95
commit b0f45d8fc1
3 changed files with 7 additions and 2 deletions

View File

@@ -1,3 +1,8 @@
2008-12-16 Joel Sherrill <joel.sherrill@oarcorp.com>
* libchip/network/i82586.c, libchip/network/smc91111config.h: Eliminate
all public use of TOD conversion routines.
2008-12-10 Ralf Corsépius <ralf.corsepius@rtems.org>
* aclocal/prog-cc.m4: Use -r instead of -Wl,-r to build *.rels.

View File

@@ -228,7 +228,7 @@ static void print_rbd (struct ie_softc *, int);
#define min(l,r) ((l) < (r) ? (l) : (r))
#define max(l,r) ((l) > (r) ? (l) : (r))
#define delay(p) rtems_task_wake_after (TOD_MICROSECONDS_TO_TICKS (p))
#define delay(p) rtems_task_wake_after (RTEMS_MICROSECONDS_TO_TICKS (p))
#define i82586_WAKE_EVENT RTEMS_EVENT_1
#define i82586_TX_EVENT RTEMS_EVENT_2

View File

@@ -114,7 +114,7 @@ typedef uint32_t CYG_WORD32;
#define CYG_ASSERT(c,p) do { if (!(c)) { while(1) { printf(p);} }; } while(0)
#define HAL_DELAY_US(p) rtems_task_wake_after (TOD_MICROSECONDS_TO_TICKS (p))
#define HAL_DELAY_US(p) rtems_task_wake_after (RTEMS_MICROSECONDS_TO_TICKS (p))
#endif /* _SMC_91111_CONFIG_H_ */