freebsd-skq/sys/dev/idt
Andre Oppermann 3161f583ca Apply error and success logic consistently to the function netisr_queue() and
its users.

netisr_queue() now returns (0) on success and ERRNO on failure.  At the
moment ENXIO (netisr queue not functional) and ENOBUFS (netisr queue full)
are supported.

Previously it would return (1) on success but the return value of IF_HANDOFF()
was interpreted wrongly and (0) was actually returned on success.  Due to this
schednetisr() was never called to kick the scheduling of the isr.  However this
was masked by other normal packets coming through netisr_dispatch() causing the
dequeueing of waiting packets.

PR:		kern/70988
Found by:	MOROHOSHI Akihiko <moro@remus.dti.ne.jp>
MFC after:	3 days
2004-08-27 18:33:08 +00:00
..
idt_harp.c Apply error and success logic consistently to the function netisr_queue() and 2004-08-27 18:33:08 +00:00
idt_pci.c Convert callers to the new bus_alloc_resource_any(9) API. 2004-03-17 17:50:55 +00:00
idt.c
idtreg.h
idtvar.h