freebsd-dev/sys
peter d11c650051 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 Make _BSD_TIME_T_ (time_t) an int' rather than long'. This will help 2001-05-18 01:43:25 +00:00
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 Remove old ACPI CA code. These will be drained from the repo at some 2001-05-29 20:22:11 +00:00
crypto Kernel crypto need binary key material, not symbolic ascii. 2001-03-10 13:02:58 +00:00
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 Polish error handling with biofinish(). 2001-05-08 09:10:27 +00:00
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 - FDESC, FIFO, NULL, PORTAL, PROC, UMAP and UNION file 2001-05-23 09:42:29 +00:00
kern Unbreak setregid(2). 2001-06-06 13:58:03 +00:00
libkern Make the rcsid and FreeBSD IDs more sane in the wcs* and wmem* files. 2001-05-24 08:47:42 +00:00
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 Mechanical change to use <sys/queue.h> macro API instead of 2001-02-04 13:13:25 +00:00
netatm Silence some warnings 2001-03-20 10:42:49 +00:00
netgraph Fix a range checking bug in ng_int32_parse which affected 64-bit 2001-05-19 19:36:32 +00:00
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 Undo part of the tangle of having sys/lock.h and sys/mutex.h included in 2001-05-01 08:13:21 +00:00
netkey Remove unneeded includes of sys/ipl.h and machine/ipl.h. 2001-05-15 23:22:29 +00:00
netnatm Change a couple of M_WAITOKs used in M_PREPEND() to M_TRYWAITs, which 2001-04-05 04:20:48 +00:00
netncp Use new kernel_sysctlbyname function. Remove private copy. 2001-05-19 05:48:07 +00:00
netns * Rename M_WAIT mbuf subsystem flag to M_TRYWAIT. 2000-12-21 21:44:31 +00:00
netsmb Back out scanning file descriptors with holding a process lock. 2001-05-15 10:19:57 +00:00
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 Introduce a global lock for the vm subsystem (vm_mtx). 2001-05-19 01:28:09 +00:00
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 Bring in a hybrid of SunSoft's transport-independent RPC (TI-RPC) and 2001-03-19 12:50:13 +00:00
svr4
sys Style and cosmetic cleanups. This driver is now reasonably stlye(9) 2001-06-05 05:00:17 +00:00
tools replace calls to non-existant bail() subroutine with calls to 2001-03-23 11:48:50 +00:00
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