freebsd-nq/sys
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
..
alpha hold the vm_mtx around vm_map_lookup_entry() and vm_map_findspace() 2001-06-06 14:07:52 +00:00
amd64 Don't hold sched_lock across addupc_task(). 2001-06-06 00:57:24 +00:00
arm/include
boot Remove vestiges of MFS. 2001-06-01 10:07:28 +00:00
cam Sorry, an "ARCHIVE Python 06408" does not need SA_QUIRK_NOCOMP. 2001-06-06 13:01:44 +00:00
coda Now works again and as a module and with devfs. 2001-06-05 19:45:16 +00:00
compat S_IFCHR is not a bit mask, it's just a value in a field. The correct 2001-06-04 03:39:14 +00:00
compile
conf Fixed missing parentheses in the definition of KTR_COMPILE. KTR_COMPILE 2001-06-06 06:58:13 +00:00
contrib/dev Remove old ACPI CA code. These will be drained from the repo at some 2001-05-29 20:22:11 +00:00
crypto
ddb o Merge contents of struct pcred into struct ucred. Specifically, add the 2001-05-25 16:59:11 +00:00
dev Activate the kthread mechanism for doing usb bus discovery. This means 2001-06-06 22:00:03 +00:00
fs The kq write filter was hooked up to the wrong socket, and thus was 2001-06-06 17:38:36 +00:00
geom
gnu new (gpl licensed) firmware image for cs4280/cs46xx sound chips 2001-05-30 22:28:30 +00:00
i4b Submitted by: Juha-Matti Liukkonen (Cubical Solutions Ltd) (jml@cubical.fi) 2001-05-25 08:43:30 +00:00
i386 Fixed missing parentheses in the definition of KTR_COMPILE. KTR_COMPILE 2001-06-06 06:58:13 +00:00
ia64 Nuke the various poorly maintained copies of ioctl_fd.h. The file is 2001-06-06 06:15:03 +00:00
isa Nuke the various poorly maintained copies of ioctl_fd.h. The file is 2001-06-06 06:15:03 +00:00
isofs/cd9660
kern Unbreak setregid(2). 2001-06-06 13:58:03 +00:00
libkern
modules - VFS_SET(msdos) -> VFS_SET(msdosfs) 2001-06-01 10:57:26 +00:00
net When looking for an interface appropriate for the (new or changing) 2001-06-04 14:13:15 +00:00
netatalk
netatm
netgraph
netinet Silby's take one on increasing FreeBSD's resistance to SYN floods: 2001-06-06 19:41:51 +00:00
netinet6 Add ``options RANDOM_IP_ID'' which randomizes the ID field of IP packets. 2001-06-01 10:02:28 +00:00
netipx
netkey
netnatm
netncp
netns
netsmb
nfs Unlock the process returned from pfind() if it does not return NULL. 2001-06-01 01:30:51 +00:00
nfsclient Unlock the process returned from pfind() if it does not return NULL. 2001-06-01 01:30:51 +00:00
nfsserver
pc98 Nuke the various poorly maintained copies of ioctl_fd.h. The file is 2001-06-06 06:15:03 +00:00
pccard If the chip isn't in power state D0, put it in power state D0. I 2001-06-04 17:14:28 +00:00
pci Fix mindo: 2001-06-05 20:51:17 +00:00
posix4 o Merge contents of struct pcred into struct ucred. Specifically, add the 2001-05-25 16:59:11 +00:00
powerpc Properly wrap mtx_intr_enable() macro in "do $bla while (0)" 2001-06-02 08:17:42 +00:00
rpc
svr4
sys Style and cosmetic cleanups. This driver is now reasonably stlye(9) 2001-06-05 05:00:17 +00:00
tools
ufs Add a wrapper for the fifo kqfilter which falls through to the ufs routine. 2001-06-06 17:40:57 +00:00
vm Change the way information about swap devices is exported to be more 2001-06-01 22:53:10 +00:00
Makefile