freebsd-skq/sys/pci
bmilekic 37decc93f5 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 A driver for programming the AGP hardware. This is only very lightly 2000-06-09 16:04:30 +00:00
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 A driver for programming the AGP hardware. This is only very lightly 2000-06-09 16:04:30 +00:00
agp_intel.c Add i815 host to PCI bridge ID 2000-10-20 16:05:47 +00:00
agp_sis.c A driver for programming the AGP hardware. This is only very lightly 2000-06-09 16:04:30 +00:00
agp_via.c A driver for programming the AGP hardware. This is only very lightly 2000-06-09 16:04:30 +00:00
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 Add support for Intel's i810 chipset with integrated graphics. An 2000-07-12 10:13:07 +00:00
agpreg.h Add support for Intel's i810 chipset with integrated graphics. An 2000-07-12 10:13:07 +00:00
agpvar.h A driver for programming the AGP hardware. This is only very lightly 2000-06-09 16:04:30 +00:00
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 Back out the previous change to the queue(3) interface. 2000-05-26 02:09:24 +00:00
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 $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
dc21040reg.h s/Id/FreeBSD/ 1999-08-09 12:52:49 +00:00
ide_pcireg.h $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
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 Use bus_space for all register accesses. 2000-05-13 18:47:24 +00:00
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 Added support for SMC9432BTX cards. 2000-06-21 19:19:49 +00:00
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 $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
locate.pl use warnings 2000-06-27 22:41:12 +00:00
meteor_reg.h Add $FreeBSD$ 2000-05-01 20:32:07 +00:00
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 $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
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 Add $FreeBSD$ 2000-05-01 20:32:07 +00:00
simos.c Convert more malloc+bzero to malloc+M_ZERO. 2000-12-08 21:51:06 +00:00
simos.h $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
ti_fw2.h Use a custom Tigon 2 firmware image, hopefully temporarily. This is 2000-07-26 23:55:34 +00:00
ti_fw.h Update the Tigon driver to support 1000baseTX gigE over copper AceNIC 2000-07-20 22:24:43 +00:00
uhci_pci.c Remove a couple of leftover unused variables. 2000-12-13 01:06:54 +00:00
xmaciireg.h Reoganize/update the SysKonnect driver: 2000-04-22 02:16:41 +00:00
xrpu.c Do not depend on FreeBSD 2.2 compatability defines. 2000-05-28 16:18:58 +00:00