1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-20 11:11:24 +00:00
freebsd/sys/dev/hfa
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
..
fore_aali.h
fore_buffer.c
fore_command.c
fore_globals.c
fore_if.c
fore_include.h
fore_init.c
fore_intr.c
fore_output.c
fore_receive.c Apply error and success logic consistently to the function netisr_queue() and 2004-08-27 18:33:08 +00:00
fore_slave.h
fore_stats.c
fore_stats.h
fore_timer.c
fore_transmit.c
fore_var.h
fore_vcm.c
fore.h
hfa_eisa.c
hfa_freebsd.c
hfa_freebsd.h
hfa_pci.c
hfa_sbus.c