Replacing timer_t by netbsd's timer_t
* Renamed struct timer to struct minix_timer * Renamed timer_t to minix_timer_t * Ensured all the code uses the minix_timer_t typedef * Removed ifdef around _BSD_TIMER_T * Removed include/timers.h and merged it into include/minix/timers.h * Resolved prototype conflict by renaming kernel's (re)set_timer to (re)set_kernel_timer. Change-Id: I56f0f30dfed96e1a0575d92492294cf9a06468a5
This commit is contained in:
@@ -15,7 +15,7 @@
|
||||
#include <minix/syslib.h>
|
||||
#include <minix/type.h>
|
||||
#include <minix/sysutil.h>
|
||||
#include <timers.h>
|
||||
#include <minix/timers.h>
|
||||
#include <machine/pci.h>
|
||||
#include <minix/ds.h>
|
||||
#include <minix/endpoint.h>
|
||||
@@ -149,7 +149,7 @@ static void or_getstat_s(message * mp);
|
||||
static void print_linkstatus(t_or * orp, u16_t status);
|
||||
static int or_get_recvd_packet(t_or *orp, u16_t rxfid, u8_t *databuf);
|
||||
static void or_reset(void);
|
||||
static void or_watchdog_f(timer_t *tp);
|
||||
static void or_watchdog_f(minix_timer_t *tp);
|
||||
static void setup_wepkey(t_or *orp, char *wepkey0);
|
||||
static void do_hard_int(void);
|
||||
static void check_int_events(void);
|
||||
@@ -1092,7 +1092,7 @@ next:
|
||||
* Will be called regularly to see whether the driver has crashed. If that *
|
||||
* condition is detected, reset the driver and card *
|
||||
*****************************************************************************/
|
||||
static void or_watchdog_f(timer_t *tp)
|
||||
static void or_watchdog_f(minix_timer_t *tp)
|
||||
{
|
||||
t_or *orp;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user