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; 1
}
1 Sets the time (in seconds) for starting the if_el driver’s watchdog( )
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