1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-24 11:29:10 +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
if_cue.c
if_cuereg.h
if_kue.c Add a forgotten mutex_exit()/KUE_UNLOCK() to kue_init(). 2000-11-23 05:58:48 +00:00
if_kuereg.h
kue_fw.h
Makefile.usbdevs
ohci_pci.c
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
uhci_pci.c
uhci.c
uhcireg.h
uhcivar.h
uhid.c
uhub.c
ukbd.c
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
umodem.c Make the Ricochet modems work through the USB interface. 2000-11-01 17:35:57 +00:00
ums.c
urio.c
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
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
usbdi.h
usbdivar.h
usbhid.h
uscanner.c Set OPEN Flag on open. 2000-11-15 10:36:08 +00:00