Indicating When To Start The Watchdog Routine - Compaq Tru64 UNIX Installation Manual

Writing network device drivers
Table of Contents

Advertisement

9.2.6 Indicating When to Start the Watchdog Routine

The following code shows how the el_start_locked( ) routine indicates
the time for starting the driver's watchdog interface. Although this task is
optional, we recommend that all network drivers perform this task.
ifp->if_timer = 3;
}
Sets the time (in seconds) for starting the if_el driver's watchdog( )
1
routine, called el_watch( ). After the transmit complete interrupt is
received, the interrupt service routine sets if_timer back to zero,
thereby disabling the watchdog timer.
9–8 Implementing the Start Section
1

Advertisement

Table of Contents
loading

Table of Contents