freebsd-dev/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 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 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 Remove a couple of leftover unused variables. 2000-12-13 01:06:54 +00:00
ohci.c Make intr_nesting_level per-process, rather than per-cpu. Setup 2001-01-21 19:25:07 +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 Update the urio driver. It now works on NetBSD and OpenBSD as well. 2000-04-08 17:02:13 +00:00
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 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 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 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 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 Send the remains (such as I have located) of "block major numbers" to 2001-03-26 12:41:29 +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 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 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 * Factor out the object system from new-bus so that it can be used by 2000-04-08 14:17:18 +00:00
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 Activate the kthread mechanism for doing usb bus discovery. This means 2001-06-06 22:00:03 +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 Activate the kthread mechanism for doing usb bus discovery. This means 2001-06-06 22:00:03 +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 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 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 Make intr_nesting_level per-process, rather than per-cpu. Setup 2001-01-21 19:25:07 +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 Remove the empty uscannerioctl() and use noioctl() instead. 2001-05-23 17:51:43 +00:00