Updates the softc data structure with the amount of space that is
2
available in the transmit FIFO.
13.3.5 Queuing Other Transmits
The following code shows how the el_tint( ) routine clears the output
active flag to permit other transmits to be queued to the device:
ifp->if_flags &= ~IFF_OACTIVE;
}
13.4 Implementing the el_error Routine
The if_el driver's el_error( ) routine implements the interface adapter
error routine, as follows:
static void el_error(struct el_softc *sc,
{
int i;
WRITE_CMD(sc, CMD_WINDOW4);
i = READ_FDP(sc);
printf("el%d: Adapter Failure - %04X\n", ifp->if_unit, i);
el_reset_locked(sc, ifp, ifp->if_unit);
}
Reads the FIFO diagnostic port register.
1
Resets the adapter to clear the failure condition.
2
13–12 Implementing the Interrupt Section
struct ifnet *ifp)
1
2
Need help?
Do you have a question about the Tru64 UNIX and is the answer not in the manual?
Questions and answers