freebsd-nq/sys/dev/ppbus
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
..
if_plip.c Apply error and success logic consistently to the function netisr_queue() and 2004-08-27 18:33:08 +00:00
immio.c Use __FBSDID(). 2003-08-24 17:55:58 +00:00
lpbb.c Prevent the strange situation that after each load/unload of a ppbus 2004-03-18 21:10:11 +00:00
lpt.c Do not bzero() the softc, as newbus does it for us. 2004-07-09 16:56:46 +00:00
lpt.h
lptio.h
pcfclock.c Do not bzero() the softc, as newbus does it for us. 2004-07-09 16:56:46 +00:00
ppb_1284.c Use __FBSDID(). 2003-08-24 17:55:58 +00:00
ppb_1284.h
ppb_base.c Use __FBSDID(). 2003-08-24 17:55:58 +00:00
ppb_msq.c Use __FBSDID(). 2003-08-24 17:55:58 +00:00
ppb_msq.h
ppbconf.c Use __FBSDID(). 2003-08-24 17:55:58 +00:00
ppbconf.h
ppbio.h
ppbus_if.m
ppi.c Do not bzero() the softc, as newbus does it for us. 2004-07-09 16:56:46 +00:00
ppi.h
pps.c Newbus returns a zeroed softc, so there's no need to call bzero() here. 2004-07-09 13:42:05 +00:00
vpo.c Do not bzero() the softc, as newbus does it for us. 2004-07-09 16:56:46 +00:00
vpoio.c Use __FBSDID(). 2003-08-24 17:55:58 +00:00
vpoio.h