freebsd-nq/sys/pci
Bosko Milekic 08812b3925 Implement MTX_RECURSE flag for mtx_init().
All calls to mtx_init() for mutexes that recurse must now include
the MTX_RECURSE bit in the flag argument variable. This change is in
preparation for an upcoming (further) mutex API cleanup.
The witness code will call panic() if a lock is found to recurse but
the MTX_RECURSE bit was not set during the lock's initialization.

The old MTX_RECURSE "state" bit (in mtx_lock) has been renamed to
MTX_RECURSED, which is more appropriate given its meaning.

The following locks have been made "recursive," thus far:
eventhandler, Giant, callout, sched_lock, possibly some others declared
in the architecture-specific code, all of the network card driver locks
in pci/, as well as some other locks in dev/ stuff that I've found to
be recursive.

Reviewed by: jhb
2001-01-19 01:59:14 +00:00
..
agp_ali.c
agp_amd.c Remove unneeded #include <machine/clock.h> 2000-10-15 14:19:01 +00:00
agp_i810.c Added support for i815. 2000-10-16 08:53:00 +00:00
agp_if.m
agp_intel.c Add i815 host to PCI bridge ID 2000-10-20 16:05:47 +00:00
agp_sis.c
agp_via.c
agp.c un-staticize M_AGP so that it can be used in agp*.c 2000-12-19 08:32:37 +00:00
agppriv.h
agpreg.h
agpvar.h
alpm.c Remove unneeded (and compile-breaking) #include "alpm.h" 2001-01-17 00:38:06 +00:00
amd.c Remove unneeded #include <machine/clock.h> 2000-10-15 14:19:01 +00:00
amd.h
cy_pci.c Special case for compiling LINT - just give a warning and continue on. 2001-01-17 00:47:46 +00:00
cy_pcireg.h
dc21040reg.h
ide_pcireg.h
if_ar_p.c Special case for compiling LINT - just give a warning and continue on. 2001-01-17 00:47:46 +00:00
if_dc.c Implement MTX_RECURSE flag for mtx_init(). 2001-01-19 01:59:14 +00:00
if_dcreg.h Change the driver to allocate its own callout structure, and modify 2000-11-25 08:00:10 +00:00
if_de.c Lock down the network interface queues. The queue mutex must be obtained 2000-11-25 07:35:38 +00:00
if_devar.h
if_en_pci.c newbusify the en atm driver. 2000-11-07 09:31:28 +00:00
if_fxp.c Implement MTX_RECURSE flag for mtx_init(). 2001-01-19 01:59:14 +00:00
if_fxpreg.h Add the PCI device ID for the on-board ethernet controllers on the 2000-09-21 20:01:57 +00:00
if_fxpvar.h Removed NetBSD support, which bit-rotted long ago. 2000-09-18 21:12:19 +00:00
if_mn.c Use pci_get_revid() rather than groping around the PCI register space 2001-01-17 01:17:00 +00:00
if_pcn.c Implement MTX_RECURSE flag for mtx_init(). 2001-01-19 01:59:14 +00:00
if_pcnreg.h Update the probe some more to deal with 16/32 bit issues. If the chip 2000-11-23 00:28:43 +00:00
if_rl.c Implement MTX_RECURSE flag for mtx_init(). 2001-01-19 01:59:14 +00:00
if_rlreg.h Fix support for cardbus cards: 2000-10-30 07:54:38 +00:00
if_sf.c Implement MTX_RECURSE flag for mtx_init(). 2001-01-19 01:59:14 +00:00
if_sfreg.h First round of converting network drivers from spls to mutexes. This 2000-10-13 17:54:19 +00:00
if_sis.c Implement MTX_RECURSE flag for mtx_init(). 2001-01-19 01:59:14 +00:00
if_sisreg.h First round of converting network drivers from spls to mutexes. This 2000-10-13 17:54:19 +00:00
if_sk.c Implement MTX_RECURSE flag for mtx_init(). 2001-01-19 01:59:14 +00:00
if_skreg.h First round of converting network drivers from spls to mutexes. This 2000-10-13 17:54:19 +00:00
if_sr_p.c Special case for compiling LINT - just give a warning and continue on. 2001-01-17 00:47:46 +00:00
if_ste.c Implement MTX_RECURSE flag for mtx_init(). 2001-01-19 01:59:14 +00:00
if_stereg.h Use device_get_nameunit(dev) as the mutex string when calling 2000-10-13 18:35:49 +00:00
if_ti.c Implement MTX_RECURSE flag for mtx_init(). 2001-01-19 01:59:14 +00:00
if_tireg.h (Introduce something sitting in my repo for 3 weeks now...) 2000-10-21 00:13:35 +00:00
if_tl.c Implement MTX_RECURSE flag for mtx_init(). 2001-01-19 01:59:14 +00:00
if_tlreg.h First round of converting network drivers from spls to mutexes. This 2000-10-13 17:54:19 +00:00
if_tx.c Convert more malloc+bzero to malloc+M_ZERO. 2000-12-08 21:51:06 +00:00
if_txvar.h
if_vr.c Implement MTX_RECURSE flag for mtx_init(). 2001-01-19 01:59:14 +00:00
if_vrreg.h First round of converting network drivers from spls to mutexes. This 2000-10-13 17:54:19 +00:00
if_wb.c Implement MTX_RECURSE flag for mtx_init(). 2001-01-19 01:59:14 +00:00
if_wbreg.h First round of converting network drivers from spls to mutexes. This 2000-10-13 17:54:19 +00:00
if_wx.c Implement MTX_RECURSE flag for mtx_init(). 2001-01-19 01:59:14 +00:00
if_wxreg.h Move $FreeBSD id up to top of file for multi-OS ease of support reasons. 2000-12-06 00:50:53 +00:00
if_wxvar.h Restore a sense of cleanly supporting multiple platforms. That is, 2000-12-06 00:52:28 +00:00
if_xl.c Implement MTX_RECURSE flag for mtx_init(). 2001-01-19 01:59:14 +00:00
if_xlreg.h Add device ID for the 3c565C card. I followed exactly the 3c575c, but 2000-12-01 19:41:14 +00:00
intpm.c Remove unneeded #include <machine/clock.h> 2000-10-15 14:19:01 +00:00
intpmreg.h
locate.pl
meteor_reg.h
meteor.c Special case for compiling LINT - just give a warning and continue on. 2001-01-17 00:47:46 +00:00
ncr.c Convert more malloc+bzero to malloc+M_ZERO. 2000-12-08 21:51:06 +00:00
ncrreg.h
ohci_pci.c Remove a couple of leftover unused variables. 2000-12-13 01:06:54 +00:00
pcic_p.c Add device id for the OZ Micro 6832. I didn't try to init it like the 2001-01-02 21:42:48 +00:00
pcic_p.h Add device id for the OZ Micro 6832. I didn't try to init it like the 2001-01-02 21:42:48 +00:00
scsiiom.c
simos.c Convert more malloc+bzero to malloc+M_ZERO. 2000-12-08 21:51:06 +00:00
simos.h
ti_fw2.h
ti_fw.h
uhci_pci.c Remove a couple of leftover unused variables. 2000-12-13 01:06:54 +00:00
xmaciireg.h
xrpu.c