freebsd-nq/sys/dev
Bill Paul e4cd85db6f Fix the problems people have been having with the Intel 2100B Centrino
wireless ever since I added the new spinlock code. Previously, I added
a special ndis_rxeof_serial() function to insure that when we receive
a packet, we never end up calling the MiniportReturnPacket() routine
until after the receive handler has finished. I set things up so that
ndis_rxeof_serial() would only be used for serialized miniports since
they depend on this property. Well, it turns out deserialized miniports
depend on a similar property: you can't let MiniportReturnPacket() be
called from the same context as the receive handler at all. The 2100B
driver happens to use a single spinlock for all of its synchronization,
and it tries to acquire it both while in MiniportHandleInterrupt() and
in MiniportReturnPacket(), so if we call MiniportReturnPacket() from
the MiniportHandleInterrupt() context, we will end up trying to acquire
the spinlock recursively, which you can't do.

To fix this, I made the ndis_rxeof_serial() handler the default. An
alternate solution would be to make ndis_return_packet() submit
the call to MiniportReturnPacket() to the NDIS task queue thread.
I may do that in the future, after I've tested things a bit more.
2004-04-21 02:29:28 +00:00
..
aac Remove the 'timeout' argument from aac_wait_command() as it isn't used and 2004-04-14 19:11:29 +00:00
acpi_support Use METHOD_VIDEO instead of the method string itself. 2004-04-14 03:32:01 +00:00
acpica Fix several bugs where 32-bit timers and wraparound were not properly 2004-04-21 00:48:16 +00:00
adlink Convert callers to the new bus_alloc_resource_any(9) API. 2004-03-17 17:50:55 +00:00
advansys Convert callers to the new bus_alloc_resource_any(9) API. 2004-03-17 17:50:55 +00:00
agp Add register definitions for the status and command registers for AGP. 2004-04-05 02:32:07 +00:00
aha Convert callers to the new bus_alloc_resource_any(9) API. 2004-03-17 17:50:55 +00:00
ahb Convert callers to the new bus_alloc_resource_any(9) API. 2004-03-17 17:50:55 +00:00
aic Convert callers to the new bus_alloc_resource_any(9) API. 2004-03-17 17:50:55 +00:00
aic7xxx Convert callers to the new bus_alloc_resource_any(9) API. 2004-03-17 17:50:55 +00:00
amd Convert callers to the new bus_alloc_resource_any(9) API. 2004-03-17 17:50:55 +00:00
amr Convert callers to the new bus_alloc_resource_any(9) API. 2004-03-17 17:50:55 +00:00
an Convert callers to the new bus_alloc_resource_any(9) API. 2004-03-17 17:50:55 +00:00
ar Convert callers to the new bus_alloc_resource_any(9) API. 2004-03-17 17:50:55 +00:00
arl Add 354k and 512k support. 2004-04-17 20:30:05 +00:00
asr Convert callers to the new bus_alloc_resource_any(9) API. 2004-03-17 17:50:55 +00:00
ata Do not pre-allocate resources for BAR's on ATA MASTERDEV's thats on 2004-04-20 20:57:29 +00:00
ath use correct malloc type to allocate struct ieee80211_node's 2004-04-05 04:42:42 +00:00
atkbdc Don't check for device_get_softc() returning NULL, it can't happen. 2004-04-17 10:25:04 +00:00
awi Use IFF_ALLMULTI instead of if_amcount to decide if all multicast should 2004-04-18 01:05:02 +00:00
bfe Added BSD license, as requested by author. 2004-04-04 06:13:56 +00:00
bge Enable the memory arbiter before turning off the PXE restart. This 2004-04-06 18:28:15 +00:00
bktr Convert callers to the new bus_alloc_resource_any(9) API. 2004-03-17 17:50:55 +00:00
buslogic Convert callers to the new bus_alloc_resource_any(9) API. 2004-03-17 17:50:55 +00:00
cardbus Add note about why we're ignoring the below 1MB bit. 2004-04-11 19:22:25 +00:00
ciss There's no need to call ciss_report_request in the passthru ioctl 2004-04-19 17:16:06 +00:00
cm Convert callers to the new bus_alloc_resource_any(9) API. 2004-03-17 17:50:55 +00:00
cnw Convert callers to the new bus_alloc_resource_any(9) API. 2004-03-17 17:50:55 +00:00
cs Remove improper use of if_addrhead in device drivers to check 2004-04-15 20:31:10 +00:00
ct Convert callers to the new bus_alloc_resource_any(9) API. 2004-03-17 17:50:55 +00:00
ctau Nursemaid: Fix tinderbox builds by removing the shadowing of the global 2004-03-04 14:16:12 +00:00
cx These are changes to allow to use the Intel C/C++ compiler (lang/icc) 2004-03-12 21:45:33 +00:00
cy Converted the isa probe and attach to new-bus so that this driver works 2004-04-05 08:16:23 +00:00
dc First driver with user-configurable polling(4). 2004-04-11 13:47:15 +00:00
dcons Device megapatch 4/6: 2004-02-21 21:10:55 +00:00
de Convert callers to the new bus_alloc_resource_any(9) API. 2004-03-17 17:50:55 +00:00
dec Use __FBSDID(). 2003-08-24 17:55:58 +00:00
digi Convert callers to the new bus_alloc_resource_any(9) API. 2004-03-17 17:50:55 +00:00
dpt Convert callers to the new bus_alloc_resource_any(9) API. 2004-03-17 17:50:55 +00:00
drm Convert callers to the new bus_alloc_resource_any(9) API. 2004-03-17 17:50:55 +00:00
ed Fix building on L64 machines. 2004-04-16 05:34:14 +00:00
eisa Use __FBSDID(). 2003-08-24 17:55:58 +00:00
em Implemented per-interface polling(4) control. 2004-04-11 21:01:12 +00:00
en Convert callers to the new bus_alloc_resource_any(9) API. 2004-03-17 17:50:55 +00:00
ep Convert callers to the new bus_alloc_resource_any(9) API. 2004-03-17 17:50:55 +00:00
ex Remove improper use of if_addrhead in device drivers to check 2004-04-15 20:31:10 +00:00
exca Card type stuff was backwards, so assume io for the moment. mem needs 2003-10-07 04:29:04 +00:00
fatm Convert callers to the new bus_alloc_resource_any(9) API. 2004-03-17 17:50:55 +00:00
fb Remove advertising clause from University of California Regent's 2004-04-07 20:46:16 +00:00
fdc Remove advertising clause from University of California Regent's 2004-04-07 20:46:16 +00:00
fe Remove improper use of if_addrhead in device drivers to check 2004-04-15 20:31:10 +00:00
firewire MFp4: FireWire 2004-03-26 23:17:10 +00:00
fxp Implemented per-interface polling(4) control. 2004-04-11 15:35:49 +00:00
gem Let ether_ifattach() announce our MAC address. 2004-03-20 20:12:13 +00:00
gfb Convert callers to the new bus_alloc_resource_any(9) API. 2004-03-17 17:50:55 +00:00
gx Convert callers to the new bus_alloc_resource_any(9) API. 2004-03-17 17:50:55 +00:00
harp Make sure that the first mbuf in the chain passed to atm_intr 2004-02-21 13:01:54 +00:00
hatm Convert callers to the new bus_alloc_resource_any(9) API. 2004-03-17 17:50:55 +00:00
hfa Delete an unused file which no longer compiles anyway. 2004-04-20 15:33:24 +00:00
hifn Convert callers to the new bus_alloc_resource_any(9) API. 2004-03-17 17:50:55 +00:00
hme Let ether_ifattach() announce our MAC address. 2004-03-20 20:12:13 +00:00
ic Remove advertising clause from University of California Regent's 2004-04-07 20:46:16 +00:00
ichsmb Convert callers to the new bus_alloc_resource_any(9) API. 2004-03-17 17:50:55 +00:00
ida Convert callers to the new bus_alloc_resource_any(9) API. 2004-03-17 17:50:55 +00:00
idt Convert callers to the new bus_alloc_resource_any(9) API. 2004-03-17 17:50:55 +00:00
ie Convert callers to the new bus_alloc_resource_any(9) API. 2004-03-17 17:50:55 +00:00
if_ndis Fix the problems people have been having with the Intel 2100B Centrino 2004-04-21 02:29:28 +00:00
iicbus Device megapatch 4/6: 2004-02-21 21:10:55 +00:00
iir Fix the ioctl types for two ioctls. I'm not sure if the switch was my 2004-03-20 19:02:46 +00:00
ips Fix typo in the device id for the new cards. 2004-03-27 15:56:34 +00:00
isp Correct the boundary parameter to the bus_dma_tag_create() calls (it was 2004-03-23 23:41:39 +00:00
ispfw Fix $FreeBSD$. 2004-03-21 18:16:49 +00:00
joy Convert callers to the new bus_alloc_resource_any(9) API. 2004-03-17 17:50:55 +00:00
kbd style(9): return foo -> return (foo) 2004-04-02 16:41:16 +00:00
led Device megapatch 4/6: 2004-02-21 21:10:55 +00:00
lge Convert callers to the new bus_alloc_resource_any(9) API. 2004-03-17 17:50:55 +00:00
lnc Remove improper use of if_addrhead in device drivers to check 2004-04-15 20:31:10 +00:00
matcd Convert callers to the new bus_alloc_resource_any(9) API. 2004-03-17 17:50:55 +00:00
mc146818
mca Use __FBSDID(). 2003-08-24 17:55:58 +00:00
mcd Convert callers to the new bus_alloc_resource_any(9) API. 2004-03-17 17:50:55 +00:00
md Ooops, removed this acknowledgement bogusly. 2004-04-09 05:12:47 +00:00
mii Make sure set the media type in the phy, we cannot trust it to have chosen 2004-01-17 10:44:39 +00:00
mk48txx Use __FBSDID(). 2003-08-24 17:55:58 +00:00
mlx Convert callers to the new bus_alloc_resource_any(9) API. 2004-03-17 17:50:55 +00:00
mly Convert callers to the new bus_alloc_resource_any(9) API. 2004-03-17 17:50:55 +00:00
mpt Convert callers to the new bus_alloc_resource_any(9) API. 2004-03-17 17:50:55 +00:00
mse Convert callers to the new bus_alloc_resource_any(9) API. 2004-03-17 17:50:55 +00:00
musycc Convert callers to the new bus_alloc_resource_any(9) API. 2004-03-17 17:50:55 +00:00
my Convert callers to the new bus_alloc_resource_any(9) API. 2004-03-17 17:50:55 +00:00
ncv Convert callers to the new bus_alloc_resource_any(9) API. 2004-03-17 17:50:55 +00:00
nge Implemented per-interface polling(4) control. 2004-04-11 19:25:56 +00:00
nmdm Remove advertising clause from University of California Regent's 2004-04-07 20:46:16 +00:00
nsp Convert callers to the new bus_alloc_resource_any(9) API. 2004-03-17 17:50:55 +00:00
null Device megapatch 4/6: 2004-02-21 21:10:55 +00:00
ofw Remove advertising clause from University of California Regent's 2004-04-07 20:46:16 +00:00
owi Convert callers to the new bus_alloc_resource_any(9) API. 2004-03-17 17:50:55 +00:00
patm Convert callers to the new bus_alloc_resource_any(9) API. 2004-03-17 17:50:55 +00:00
pccard Improve reading of CIS cards: 2004-04-12 20:56:34 +00:00
pccbb Remove extra copy of code. 2004-04-13 14:39:26 +00:00
pcf Remove isa compat stuff. 2004-03-14 23:03:57 +00:00
pci Do not pre-allocate resources for BAR's on ATA MASTERDEV's thats on 2004-04-20 20:57:29 +00:00
pcic Convert callers to the new bus_alloc_resource_any(9) API. 2004-03-17 17:50:55 +00:00
pdq Convert callers to the new bus_alloc_resource_any(9) API. 2004-03-17 17:50:55 +00:00
ppbus Prevent the strange situation that after each load/unload of a ppbus 2004-03-18 21:10:11 +00:00
ppc Convert callers to the new bus_alloc_resource_any(9) API. 2004-03-17 17:50:55 +00:00
pst Convert callers to the new bus_alloc_resource_any(9) API. 2004-03-17 17:50:55 +00:00
puc Moved the function pointer in struct puc_device_description to the end 2004-04-18 14:37:27 +00:00
random Add a Davies-Meyer style hash to the output. This is still pure 2004-04-17 19:26:53 +00:00
ray Convert callers to the new bus_alloc_resource_any(9) API. 2004-03-17 17:50:55 +00:00
rc Convert callers to the new bus_alloc_resource_any(9) API. 2004-03-17 17:50:55 +00:00
re Implemented per-interface polling(4) control. 2004-04-11 20:34:08 +00:00
rndtest Use __FBSDID(). 2003-08-24 17:55:58 +00:00
rp Convert callers to the new bus_alloc_resource_any(9) API. 2004-03-17 17:50:55 +00:00
sab Convert callers to the new bus_alloc_resource_any(9) API. 2004-03-17 17:50:55 +00:00
safe Convert callers to the new bus_alloc_resource_any(9) API. 2004-03-17 17:50:55 +00:00
sbni Remove improper use of if_addrhead in device drivers to check 2004-04-15 20:31:10 +00:00
sbsh Convert callers to the new bus_alloc_resource_any(9) API. 2004-03-17 17:50:55 +00:00
scd Convert callers to the new bus_alloc_resource_any(9) API. 2004-03-17 17:50:55 +00:00
sf Convert callers to the new bus_alloc_resource_any(9) API. 2004-03-17 17:50:55 +00:00
si Convert callers to the new bus_alloc_resource_any(9) API. 2004-03-17 17:50:55 +00:00
sio Back out last bad commit (again!) 2004-04-07 21:56:20 +00:00
sk Use BSD spelling, no SysV. 2004-04-19 18:44:04 +00:00
smbus Device megapatch 4/6: 2004-02-21 21:10:55 +00:00
sn Remove two variables that became unused because of last commit. 2004-04-16 06:58:39 +00:00
snc Convert callers to the new bus_alloc_resource_any(9) API. 2004-03-17 17:50:55 +00:00
snp Add clone_setup() function rather than rely on lazy initialization. 2004-03-11 12:58:55 +00:00
sound The newpcm headers currently #define away INTR_MPSAFE and INTR_TYPE_AV 2004-04-14 14:57:49 +00:00
speaker Device megapatch 4/6: 2004-02-21 21:10:55 +00:00
sr Convert callers to the new bus_alloc_resource_any(9) API. 2004-03-17 17:50:55 +00:00
stg Convert callers to the new bus_alloc_resource_any(9) API. 2004-03-17 17:50:55 +00:00
streams Device megapatch 4/6: 2004-02-21 21:10:55 +00:00
sx Prefer uint16_t to ushort. 2004-04-14 02:20:01 +00:00
sym Convert callers to the new bus_alloc_resource_any(9) API. 2004-03-17 17:50:55 +00:00
syscons Rearrangements needed for syscons(4) to be used as a console device 2004-04-02 15:02:44 +00:00
tdfx Convert callers to the new bus_alloc_resource_any(9) API. 2004-03-17 17:50:55 +00:00
tga Device megapatch 4/6: 2004-02-21 21:10:55 +00:00
ti Convert callers to the new bus_alloc_resource_any(9) API. 2004-03-17 17:50:55 +00:00
trm Call trm_Interrupt() in trm_poll(). This fixes the lock at reboot time some 2004-04-10 15:38:49 +00:00
twa Unbreak LINT on 64-bit platforms. Note that this code is not style(9)- 2004-04-02 15:09:57 +00:00
twe 1. Better handle a return value of EINPROGRESS from bus_dmamap_load. 2004-03-25 19:30:35 +00:00
tx Convert callers to the new bus_alloc_resource_any(9) API. 2004-03-17 17:50:55 +00:00
txp Convert callers to the new bus_alloc_resource_any(9) API. 2004-03-17 17:50:55 +00:00
uart To quote submitter: 2004-04-04 05:06:26 +00:00
ubsec Convert callers to the new bus_alloc_resource_any(9) API. 2004-03-17 17:50:55 +00:00
usb Add support for the ADMtek AN8513 USB Ethernet adapter. 2004-04-16 05:24:45 +00:00
utopia kthread_exit() no longer requires Giant, so don't force callers to acquire 2004-03-05 22:42:17 +00:00
vinum When doing round-robin reads from a multi-plex volume, only switch to the 2004-03-19 10:28:34 +00:00
vr Implemented per-interface polling(4) control. 2004-04-11 15:18:09 +00:00
vx Convert callers to the new bus_alloc_resource_any(9) API. 2004-03-17 17:50:55 +00:00
watchdog Add a generic watchdog facility which through a single device entry 2004-02-28 20:06:59 +00:00
wds Use __FBSDID(). 2003-08-24 17:55:58 +00:00
wi radiotap updates: 2004-04-01 00:38:45 +00:00
wl Remove improper use of if_addrhead in device drivers to check 2004-04-15 20:31:10 +00:00
xe Remove improper use of if_addrhead in device drivers to check 2004-04-15 20:31:10 +00:00
zs Remove advertising clause from University of California Regent's 2004-04-07 20:46:16 +00:00