1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-18 10:35:55 +00:00
freebsd/sys/dev/usb
Peter Wemm 7b77e0fa50 Activate the kthread mechanism for doing usb bus discovery. This means
that device add/remove will work without usbd running.  usbd is still
used for execing stuff, but that is all now.  Ideally it could be replaced
by a devd some day.  Until now, usbd had to be running so that the
USB_DISCOVER ioctl could be called to walk the tree when an attachment
status change was noticed.

Among the changes:
- when a detach happens, remove any pending 'attach' messages or the system
suffers from whiplash from exec moused / kill moused loops if you do lots
of attach/detach and later start usbd.
- tweaks related to kthread differences
- disable the select handler for the old interface (never return success).
I have not removed it yet or old usbd's will abort.  That can get removed
later once usbd is cleaned up and things have stabilized for a few weeks.
- get Giant in the kthread.
- a couple of minor potential bug fixes (usb_nevents vs malloc failure etc)

Pre-approved by: n_hibma (ages and ages ago)
2001-06-06 22:00:03 +00:00
..
devlist2h.awk
FILES
hid.c
hid.h
if_aue.c Add an AUE device ID: USB_PRODUCT_MELCO_LUATX5 2001-03-05 02:28:58 +00:00
if_auereg.h Disable the mutex locking calls. These do not work in their present form 2001-02-27 01:05:25 +00:00
if_cue.c Since -CURRENT requires module dependencies to actually be correct for 2001-03-29 18:14:55 +00:00
if_cuereg.h Disable the mutex locking calls. These do not work in their present form 2001-02-27 01:05:25 +00:00
if_kue.c Add the Abocom URE 450 ethernet adapter. 2001-04-09 18:44:11 +00:00
if_kuereg.h Disable the mutex locking calls. These do not work in their present form 2001-02-27 01:05:25 +00:00
kue_fw.h
Makefile.usbdevs
ohci_pci.c
ohci.c Make intr_nesting_level per-process, rather than per-cpu. Setup 2001-01-21 19:25:07 +00:00
ohcireg.h
ohcivar.h
rio500_usb.h
udbp.c
udbp.h
ugen.c Send the remains (such as I have located) of "block major numbers" to 2001-03-26 12:41:29 +00:00
uhci_pci.c Add description for 82801BA controller. 2001-05-21 01:24:14 +00:00
uhci.c Mechanical change to use <sys/queue.h> macro API instead of 2001-02-04 13:13:25 +00:00
uhcireg.h
uhcivar.h
uhid.c Undo part of the tangle of having sys/lock.h and sys/mutex.h included in 2001-05-01 08:13:21 +00:00
uhub.c
ukbd.c
ulpt.c Send the remains (such as I have located) of "block major numbers" to 2001-03-26 12:41:29 +00:00
umass.c
umodem.c Send the remains (such as I have located) of "block major numbers" to 2001-03-26 12:41:29 +00:00
ums.c Send the remains (such as I have located) of "block major numbers" to 2001-03-26 12:41:29 +00:00
urio.c
usb_ethersubr.c
usb_ethersubr.h
usb_if.m
usb_mem.h
usb_port.h Activate the kthread mechanism for doing usb bus discovery. This means 2001-06-06 22:00:03 +00:00
usb_quirks.c
usb_quirks.h
usb_subr.c
usb.c Activate the kthread mechanism for doing usb bus discovery. This means 2001-06-06 22:00:03 +00:00
usb.h
usbcdc.h
usbdevs Add 4300C Id 2001-04-30 17:37:11 +00:00
usbdevs_data.h Regen. 2001-04-30 17:38:57 +00:00
usbdevs.h Regen. 2001-04-30 17:38:57 +00:00
usbdi_util.c
usbdi_util.h
usbdi.c Make intr_nesting_level per-process, rather than per-cpu. Setup 2001-01-21 19:25:07 +00:00
usbdi.h
usbdivar.h
usbhid.h
uscanner.c Remove the empty uscannerioctl() and use noioctl() instead. 2001-05-23 17:51:43 +00:00