freebsd-src/sys/dev/an
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
..
if_aironet_ieee.h Fixes to the Aironet driver to clear up some WEP issues. 2000-12-08 19:00:10 +00:00
if_an_isa.c
if_an_pccard.c Catch up to moving headers: 2000-10-20 07:58:15 +00:00
if_an_pci.c Catch up to moving headers: 2000-10-20 07:58:15 +00:00
if_an.c Implement MTX_RECURSE flag for mtx_init(). 2001-01-19 01:59:14 +00:00
if_anreg.h Fixes to the Aironet driver to clear up some WEP issues. 2000-12-08 19:00:10 +00:00