freebsd-dev/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 Use the more appropriate vm_paddr_t in places where a physical 2004-02-21 19:08:23 +00:00
fore_command.c Unbreak after the change to use vm_paddr_t. Since vm_paddr_t is 2004-02-22 16:27:28 +00:00
fore_globals.c Use __FBSDID(). 2003-08-24 17:55:58 +00:00
fore_if.c
fore_include.h
fore_init.c Use the more appropriate vm_paddr_t in places where a physical 2004-02-21 19:08:23 +00:00
fore_intr.c
fore_output.c Unbreak after the change to use vm_paddr_t. Since vm_paddr_t is 2004-02-22 16:27:28 +00:00
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 Unbreak after the change to use vm_paddr_t. Since vm_paddr_t is 2004-02-22 16:27:28 +00:00
fore_stats.h
fore_timer.c Use __FBSDID(). 2003-08-24 17:55:58 +00:00
fore_transmit.c Unbreak after the change to use vm_paddr_t. Since vm_paddr_t is 2004-02-22 16:27:28 +00:00
fore_var.h Use the more appropriate vm_paddr_t in places where a physical 2004-02-21 19:08:23 +00:00
fore_vcm.c
fore.h
hfa_eisa.c Use __FBSDID(). 2003-08-24 17:55:58 +00:00
hfa_freebsd.c Do a pass over all modules in the kernel and make them return EOPNOTSUPP 2004-07-15 08:26:07 +00:00
hfa_freebsd.h
hfa_pci.c Use __FBSDID(). 2003-08-24 17:55:58 +00:00
hfa_sbus.c Use __FBSDID(). 2003-08-24 17:55:58 +00:00