freebsd-dev/sys/dev
andre 9237057a1d 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
..
aac Add support for the Adaptec RAID-On-Chip architecture. This in turn 2004-08-13 01:44:09 +00:00
acpi_support Be sure to always unlock the sx lock when exiting the sysctl function. 2004-08-24 17:53:25 +00:00
acpica Always set the status and move a printf under bootverbose. 2004-08-27 00:53:11 +00:00
adlink
advansys
agp Add support for Intel E7205 AGP. 2004-08-22 03:55:04 +00:00
aha
ahb
aic
aic7xxx In the PCI error interrupt handler, specify the width of the PCI configuration 2004-08-22 14:02:43 +00:00
amd
amr Allow i386 binaries to do amr ioctls such as LSI's megamgr on amd64 and 2004-08-16 17:23:09 +00:00
an Second part of ALTQ driver modifications, covering: 2004-08-01 23:58:04 +00:00
ar As the if_ar driver doesn't contain locking or run its interrupt 2004-08-13 22:52:11 +00:00
arl Since if_arl doesn't contain locking or run with INTR_MPSAFE, mark 2004-08-13 22:54:19 +00:00
asr - Set the CAM status to CAM_SCSI_STATUS_ERROR rather than CAM_REQ_CMP 2004-08-02 23:32:23 +00:00
ata Fix the handling of "inflight" requests when doing reinit's. 2004-08-27 14:48:32 +00:00
ath Add missing bit of last if_start workaround: mark scan callout 2004-08-08 17:10:54 +00:00
atkbdc Defer the capture of the "expected sync bits" until the first "normal" 2004-08-17 18:12:37 +00:00
awi Since if_awi doesn't contain locking or run with INTR_MPSAFE, mark 2004-08-13 22:55:25 +00:00
bfe The whitespace crusader strikes! 2004-08-07 20:55:53 +00:00
bge Bring the advertised interface capabilities into line with the reality 2004-07-24 13:45:38 +00:00
bktr Add support AOpen VA1000 video capture card 2004-08-08 01:23:39 +00:00
buslogic
cardbus MFp4: 2004-06-27 13:07:02 +00:00
ciss ciss's interrupt handler was missing the INTR_ENTROPY flag. 2004-08-16 23:13:16 +00:00
cm Since if_cm doesn't contain locking or run with INTR_MPSAFE, mark 2004-08-13 22:57:44 +00:00
cnw
cp Fix low level code for Tau-PCI/2E1 and Tau-PCI/4E1 that was broken by previous 2004-08-16 17:28:04 +00:00
cs Since if_cs doesn't contain locking or run with INTR_MPSAFE, mark 2004-08-13 23:03:11 +00:00
ct Update for the KDB framework: 2004-07-10 20:57:43 +00:00
ctau Fix resource check while autodetection. 2004-08-13 12:35:52 +00:00
cx Fix resource check while autodetection. 2004-08-13 12:35:52 +00:00
cy Preparation commit for the tty cleanups that will follow in the near 2004-07-15 20:47:41 +00:00
dc if_dc includes locking, but that locking is disabled by a #ifdef 2004-08-25 03:37:25 +00:00
dcons Preparation commit for the tty cleanups that will follow in the near 2004-07-15 20:47:41 +00:00
de Since the if_de driver doesn't contain locking, mark it as 2004-08-13 22:48:05 +00:00
dec
digi Remove buggy (root filesystems may not have cdev) and pointless 2004-07-28 21:06:13 +00:00
dpt
drm Now that mem(4) is a kernel module, we need to add a dependency on 2004-08-05 07:20:24 +00:00
ed Since if_ed doesn't contain locking or run with INTR_MPSAFE, mark 2004-08-13 23:04:23 +00:00
eisa Remove outb to "prime" the EISA ID registers of each slot. This was 2004-08-16 22:05:53 +00:00
em Bring in the first chunk of altq driver modifications. This covers the 2004-07-02 12:16:02 +00:00
en * Add a "how" argument to uma_zone constructors and initialization functions 2004-08-02 00:18:36 +00:00
ep Remove duplicate $FreeBSD$ 2004-07-22 07:11:15 +00:00
esp - Introduce an ofw_bus kobj-interface for retrieving the OFW node and a 2004-08-12 17:41:33 +00:00
ex Since if_ex doesn't contain locking or run with INTR_MPSAFE, mark 2004-08-13 23:06:55 +00:00
exca Didn't intend to commit debugging code enabled 2004-08-16 01:57:06 +00:00
fatm
fb While we're revisiting old sins, try to clean up the code a little and 2004-08-06 21:35:51 +00:00
fdc Hide a printf under bootverbose. 2004-08-27 17:08:24 +00:00
fe Since if_fe doesn't contain locking or run with INTR_MPSAFE, mark 2004-08-13 23:08:08 +00:00
firewire Assert Giant in fwe_start(), as it is not yet MPSAFE. 2004-08-18 04:54:54 +00:00
fxp Deorbit the fxp tuning hint (hint.fxp.UNIT_NUMBER.ipcbxmit_disable) 2004-08-11 21:41:25 +00:00
gem Since if_gem doesn't contain locking or run with INTR_MPSAFE, mark 2004-08-13 23:11:24 +00:00
gfb Update for the KDB framework. Sanitize the alpha console code now that 2004-07-10 22:29:41 +00:00
gx
harp Do a pass over all modules in the kernel and make them return EOPNOTSUPP 2004-07-15 08:26:07 +00:00
hatm
hfa Apply error and success logic consistently to the function netisr_queue() and 2004-08-27 18:33:08 +00:00
hifn Consistently use __inline instead of __inline__ as the former is an empty macro 2004-07-04 16:11:03 +00:00
hme Make hme(4), i.e. the PCI-variant, MI by reading the MAC address on sytems 2004-08-14 22:38:20 +00:00
ic
ichsmb Add PCI Device ID for 6300ESB ICH. If allocating 16 bytes fails then try 32. 2004-06-24 18:21:28 +00:00
ichwd
ida
idt Apply error and success logic consistently to the function netisr_queue() and 2004-08-27 18:33:08 +00:00
ie Since if_ie doesn't contain locking or run with INTR_MPSAFE, mark 2004-08-13 23:15:44 +00:00
if_ndis Make the Texas Instruments 802.11g chipset work with the NDISulator. 2004-08-16 18:50:20 +00:00
iicbus Since if_ic doesn't contain locking or run with INTR_MPSAFE, mark 2004-08-13 23:16:44 +00:00
iir
io Add module versions. 2004-08-02 20:42:28 +00:00
ips
isp Until I can get a clearer architecture from PHK about why he wants 2004-08-23 19:04:19 +00:00
ispfw Do a pass over all modules in the kernel and make them return EOPNOTSUPP 2004-07-15 08:26:07 +00:00
ixgb Since if_ixgb doesn't contain locking or run with INTR_MPSAFE, mark 2004-08-14 00:17:04 +00:00
joy
kbd
led Remove a pointless check. 2004-07-10 15:38:27 +00:00
lge Since if_lge doesn't contain locking or run with INTR_MPSAFE, mark 2004-08-13 23:18:01 +00:00
lnc Pass a correct lowaddr to bus_dma_tag_create(), lnc(4) cards can only 2004-08-22 23:01:13 +00:00
matcd
mc146818
mca
mcd
md When creating a new md, wait for geom's event queue to become empty 2004-08-22 19:44:24 +00:00
mem Fix module builds for i386 and amd64. 2004-08-04 18:30:31 +00:00
mii Add locking to the kqueue subsystem. This also makes the kqueue subsystem 2004-08-15 06:24:42 +00:00
mk48txx
mlx
mly
mpt Correct style nit in rev 1.17. 2004-08-25 17:54:19 +00:00
mse
musycc
my
ncv Update for the KDB framework: 2004-07-10 21:05:14 +00:00
nge Since if_nge doesn't contain locking or run with INTR_MPSAFE, mark 2004-08-13 23:22:53 +00:00
nmdm Preparation commit for the tty cleanups that will follow in the near 2004-07-15 20:47:41 +00:00
nsp Update for the KDB framework: 2004-07-10 21:06:08 +00:00
null Go back to the historical minor numbers. Add a module version while 2004-08-02 19:59:41 +00:00
ofw Instead of "OpenFirmware", "openfirmware", etc. use the official spelling 2004-08-16 15:45:27 +00:00
owi
patm
pccard Some cards don't have the info entries in the CIS, so vendorstr and/or 2004-08-16 15:57:18 +00:00
pccbb Don't need to declare cbb module. don't know why I never saw 2004-08-16 06:33:58 +00:00
pcf - Introduce an ofw_bus kobj-interface for retrieving the OFW node and a 2004-08-12 17:41:33 +00:00
pci Disable native ata support for now, too much breaks 2004-07-02 13:42:36 +00:00
pdq
ppbus Apply error and success logic consistently to the function netisr_queue() and 2004-08-27 18:33:08 +00:00
ppc
pst
puc - Introduce an ofw_bus kobj-interface for retrieving the OFW node and a 2004-08-12 17:41:33 +00:00
random Perform a lockless read to test whether an entropy havesting fifo is 2004-08-11 03:33:32 +00:00
ray Since if_ray doesn't contain locking or run with INTR_MPSAFE, mark 2004-08-13 23:39:07 +00:00
rc Preparation commit for the tty cleanups that will follow in the near 2004-07-15 20:47:41 +00:00
re Eliminate unneeded return keywords. 2004-07-06 02:48:29 +00:00
rndtest
rp Preparation commit for the tty cleanups that will follow in the near 2004-07-15 20:47:41 +00:00
sab - Introduce an ofw_bus kobj-interface for retrieving the OFW node and a 2004-08-12 17:41:33 +00:00
safe
sbni Since if_sbni doesn't contain locking or run with INTR_MPSAFE, mark 2004-08-13 23:41:00 +00:00
sbsh
scd Avoid casts as lvalues. 2004-07-28 06:21:53 +00:00
sf Whitespace nit 2004-07-05 22:52:01 +00:00
si Avoid casts as lvalues. 2004-07-28 06:21:53 +00:00
sio If you insert a pccard modem and then eject it, you get a panic. This 2004-07-22 23:16:12 +00:00
sk fix LOR's in sk. Original patch from dwhite. This moves the memory 2004-08-20 06:22:04 +00:00
smbus
sn
snc Since if_snc doesn't contain locking or run with INTR_MPSAFE, mark 2004-08-13 23:47:01 +00:00
snp Preparation commit for the tty cleanups that will follow in the near 2004-07-15 20:47:41 +00:00
sound The new contigmalloc code is exposing a lot of misuses of busdma memory 2004-08-22 18:57:40 +00:00
speaker
sr Since if_sr doesn't contain locking or run with INTR_MPSAFE, mark 2004-08-13 23:49:48 +00:00
stg Update for the KDB framework: 2004-07-10 21:14:20 +00:00
streams Do a pass over all modules in the kernel and make them return EOPNOTSUPP 2004-07-15 08:26:07 +00:00
sx Preparation commit for the tty cleanups that will follow in the near 2004-07-15 20:47:41 +00:00
sym
syscons Just because we have a serial console attached does not mean we don't 2004-08-05 23:54:04 +00:00
tdfx
tga
ti Whitespace pass. 2004-07-05 22:46:28 +00:00
trm
twa Changes to make twa work on amd64. 2004-08-18 16:14:44 +00:00
twe
tx Since if_tx doesn't contain locking or run with INTR_MPSAFE, mark 2004-08-13 23:52:33 +00:00
txp Since if_txp doesn't contain locking or run with INTR_MPSAFE, mark 2004-08-13 23:53:36 +00:00
uart Don't call uart_bus_probe() for non-matching PnP-devices. Trying to probe 2004-08-25 22:15:33 +00:00
ubsec
usb Correct capitalization of DeLorme Publishing. 2004-08-26 16:59:50 +00:00
utopia Do a pass over all modules in the kernel and make them return EOPNOTSUPP 2004-07-15 08:26:07 +00:00
vinum Do a pass over all modules in the kernel and make them return EOPNOTSUPP 2004-07-15 08:26:07 +00:00
vr Revert rev 1.93 and replace it by grabbing the vr lock before calling 2004-08-11 04:30:49 +00:00
vx ss if_vx through indent, and use ANSI function definitions, prior to adding 2004-08-18 16:56:54 +00:00
watchdog
wds
wi Second part of ALTQ driver modifications, covering: 2004-08-01 23:58:04 +00:00
wl
xe Since if_xe doesn't contain locking or run with INTR_MPSAFE, mark 2004-08-14 00:15:26 +00:00
zs - Introduce an ofw_bus kobj-interface for retrieving the OFW node and a 2004-08-12 17:41:33 +00:00