freebsd-dev/sys/dev/usb
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
..
devlist2h.awk
FILES
hid.c
hid.h
if_aue.c Implement MTX_RECURSE flag for mtx_init(). 2001-01-19 01:59:14 +00:00
if_auereg.h Convert the USB ethernet drivers to use mutexes. Also convert 2000-10-24 22:38:54 +00:00
if_cue.c Implement MTX_RECURSE flag for mtx_init(). 2001-01-19 01:59:14 +00:00
if_cuereg.h Convert the USB ethernet drivers to use mutexes. Also convert 2000-10-24 22:38:54 +00:00
if_kue.c Implement MTX_RECURSE flag for mtx_init(). 2001-01-19 01:59:14 +00:00
if_kuereg.h Convert the USB ethernet drivers to use mutexes. Also convert 2000-10-24 22:38:54 +00:00
kue_fw.h
Makefile.usbdevs
ohci_pci.c Remove a couple of leftover unused variables. 2000-12-13 01:06:54 +00:00
ohci.c Use PCPU_GET, PCPU_PTR and PCPU_SET to access all per-cpu variables 2001-01-10 04:43:51 +00:00
ohcireg.h
ohcivar.h
rio500_usb.h
udbp.c select() DKI is now in <sys/selinfo.h>. 2001-01-09 04:33:49 +00:00
udbp.h
ugen.c select() DKI is now in <sys/selinfo.h>. 2001-01-09 04:33:49 +00:00
uhci_pci.c Remove a couple of leftover unused variables. 2000-12-13 01:06:54 +00:00
uhci.c Use PCPU_GET, PCPU_PTR and PCPU_SET to access all per-cpu variables 2001-01-10 04:43:51 +00:00
uhcireg.h
uhcivar.h
uhid.c select() DKI is now in <sys/selinfo.h>. 2001-01-09 04:33:49 +00:00
uhub.c Bugfix: device_resume should be connected to bus_generic_resume not 2001-01-05 10:25:47 +00:00
ukbd.c select() DKI is now in <sys/selinfo.h>. 2001-01-09 04:33:49 +00:00
ulpt.c Fix for powering off a HP DJ950C during printing. As stated by Ian: 2000-11-07 10:50:34 +00:00
umass.c Add a quirk for drives that do not handle long inquiry data. 2001-01-08 00:25:52 +00:00
umodem.c select() DKI is now in <sys/selinfo.h>. 2001-01-09 04:33:49 +00:00
ums.c select() DKI is now in <sys/selinfo.h>. 2001-01-09 04:33:49 +00:00
urio.c select() DKI is now in <sys/selinfo.h>. 2001-01-09 04:33:49 +00:00
usb_ethersubr.c Lock down the network interface queues. The queue mutex must be obtained 2000-11-25 07:35:38 +00:00
usb_ethersubr.h
usb_if.m
usb_mem.h
usb_port.h UMASS_DEBUG implemented panic(9). 2001-01-04 11:27:41 +00:00
usb_quirks.c AcerScan 320U's are braindead. Sometimes they do not return strings 2000-11-02 20:42:34 +00:00
usb_quirks.h Make the Ricochet modems work through the USB interface. 2000-11-01 17:35:57 +00:00
usb_subr.c Undo previous commit. <machine/clock.h> is needed for the prototype 2000-10-16 18:50:00 +00:00
usb.c select() DKI is now in <sys/selinfo.h>. 2001-01-09 04:33:49 +00:00
usb.h
usbcdc.h
usbdevs Nikon E990 and Nomad MP3 player Ids. 2001-01-18 00:15:49 +00:00
usbdevs_data.h Regen. 2001-01-04 11:23:21 +00:00
usbdevs.h Regen. 2001-01-04 11:23:21 +00:00
usbdi_util.c
usbdi_util.h
usbdi.c Use PCPU_GET, PCPU_PTR and PCPU_SET to access all per-cpu variables 2001-01-10 04:43:51 +00:00
usbdi.h
usbdivar.h
usbhid.h Sync with NetBSD: 2000-10-16 17:45:27 +00:00
uscanner.c select() DKI is now in <sys/selinfo.h>. 2001-01-09 04:33:49 +00:00