1
0
mirror of https://git.FreeBSD.org/src.git synced 2025-01-26 16:18:31 +00:00
freebsd/sys/dev/usb
Jonathan Lemon df5e198723 Lock down the network interface queues. The queue mutex must be obtained
before adding/removing packets from the queue.  Also, the if_obytes and
if_omcasts fields should only be manipulated under protection of the mutex.

IF_ENQUEUE, IF_PREPEND, and IF_DEQUEUE perform all necessary locking on
the queue.  An IF_LOCK macro is provided, as well as the old (mutex-less)
versions of the macros in the form _IF_ENQUEUE, _IF_QFULL, for code which
needs them, but their use is discouraged.

Two new macros are introduced: IF_DRAIN() to drain a queue, and IF_HANDOFF,
which takes care of locking/enqueue, and also statistics updating/start
if necessary.
2000-11-25 07:35:38 +00:00
..
devlist2h.awk
FILES
hid.c
hid.h
if_aue.c Close PR #21078: the aue driver was not correctly programming the 2000-11-01 18:26:36 +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 Convert the USB ethernet drivers to use mutexes. Also convert 2000-10-24 22:38:54 +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 Add a forgotten mutex_exit()/KUE_UNLOCK() to kue_init(). 2000-11-23 05:58:48 +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 Weaken a bogus dependency on <sys/proc.h> in <sys/buf.h> by #ifdef'ing 2000-10-29 14:54:55 +00:00
ohci.c Move suser() and suser_xxx() prototypes and a related #define from 2000-10-29 16:06:56 +00:00
ohcireg.h
ohcivar.h
rio500_usb.h
udbp.c Lock down the network interface queues. The queue mutex must be obtained 2000-11-25 07:35:38 +00:00
udbp.h
ugen.c Remove unneeded #include <sys/proc.h> lines. 2000-10-29 13:57:19 +00:00
uhci_pci.c Weaken a bogus dependency on <sys/proc.h> in <sys/buf.h> by #ifdef'ing 2000-10-29 14:54:55 +00:00
uhci.c Weaken a bogus dependency on <sys/proc.h> in <sys/buf.h> by #ifdef'ing 2000-10-29 14:54:55 +00:00
uhcireg.h
uhcivar.h
uhid.c
uhub.c Sync with NetBSD: 2000-10-16 17:40:59 +00:00
ukbd.c Remove unneeded #include <sys/proc.h> lines. 2000-10-29 13:57:19 +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 Remove unneeded #include <machine/clock.h> 2000-10-15 14:19:01 +00:00
umodem.c Make the Ricochet modems work through the USB interface. 2000-11-01 17:35:57 +00:00
ums.c Remove unneeded #include <sys/proc.h> lines. 2000-10-29 13:57:19 +00:00
urio.c Remove unneeded #include <sys/proc.h> lines. 2000-10-29 13:57:19 +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
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
usb.h
usbcdc.h
usbdevs Sone -> Sony 2000-11-03 15:19:00 +00:00
usbdevs_data.h Regen. 2000-11-03 15:19:42 +00:00
usbdevs.h Regen. 2000-11-03 15:19:42 +00:00
usbdi_util.c
usbdi_util.h
usbdi.c Weaken a bogus dependency on <sys/proc.h> in <sys/buf.h> by #ifdef'ing 2000-10-29 14:54:55 +00:00
usbdi.h
usbdivar.h
usbhid.h Sync with NetBSD: 2000-10-16 17:45:27 +00:00
uscanner.c Set OPEN Flag on open. 2000-11-15 10:36:08 +00:00