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 Remove __P prototypes to reduce diffs between the NetBSD and FreeBSD 2000-07-17 18:41:20 +00:00
hid.h Remove __P prototypes to reduce diffs between the NetBSD and FreeBSD 2000-07-17 18:41:20 +00:00
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 Change Lennart's e-mail address. 2000-05-14 16:43:10 +00:00
ohcivar.h Remove __P prototypes to reduce diffs between the NetBSD and FreeBSD 2000-07-17 18:41:20 +00:00
rio500_usb.h
udbp.c select() DKI is now in <sys/selinfo.h>. 2001-01-09 04:33:49 +00:00
udbp.h The USB double bulk pipe driver (Host to host cables). Currently there 2000-05-01 22:48:23 +00:00
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 Change Lennart's e-mail address. 2000-05-14 16:43:10 +00:00
uhcivar.h Save and restore the registers SOF and FRAMENUMBER on suspend. In some 2000-08-07 00:04:53 +00:00
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 Remove __P prototypes to reduce diffs between the NetBSD and FreeBSD 2000-07-17 18:41:20 +00:00
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 Don't check for ohci/uhci to be loaded, check for the usb module. 2000-09-02 10:17:58 +00:00
usbcdc.h Add more CDC defines. 2000-08-13 18:23:07 +00:00
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 Remove __P prototypes to reduce diffs between the NetBSD and FreeBSD 2000-07-17 18:41:20 +00:00
usbdi_util.h Remove __P prototypes to reduce diffs between the NetBSD and FreeBSD 2000-07-17 18:41:20 +00:00
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 Remove __P prototypes to reduce diffs between the NetBSD and FreeBSD 2000-07-17 18:41:20 +00:00
usbdivar.h Remove __P prototypes to reduce diffs between the NetBSD and FreeBSD 2000-07-17 18:41:20 +00:00
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