opnsense-src/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 $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
lptio.h Match the include protection with the install location. 2000-05-20 05:45:04 +00:00
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 ppi needs to use a bus method to get this rather than peering inside the 2000-01-14 08:03:15 +00:00
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 Fix instances of macros with improperly parenthasized arguments. 2002-11-09 12:55:07 +00:00
ppbconf.c Use __FBSDID(). 2003-08-24 17:55:58 +00:00
ppbconf.h Consistently use the BSD u_int and u_short instead of the SYSV uint and 2003-08-07 15:04:27 +00:00
ppbio.h Port of ppbus standalone framework to the newbus system. 2000-01-14 00:18:06 +00:00
ppbus_if.m * Factor out the object system from new-bus so that it can be used by 2000-04-08 14:17:18 +00:00
ppi.c Do not bzero() the softc, as newbus does it for us. 2004-07-09 16:56:46 +00:00
ppi.h Change #ifdef KERNEL to #ifdef _KERNEL in the public headers. "KERNEL" 1999-12-29 04:46:21 +00:00
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 Cleanup and improve mode detection. Now, you should get what you actually 2001-01-02 21:29:06 +00:00