freebsd-dev/sys/dev
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
..
aac Make the disk mini-layer check for and handle zero-length transfers 2001-05-06 21:55:22 +00:00
acpica What I get for "fixing" at the last minute. Correct a mis-merge of takawata's 2001-05-30 05:34:10 +00:00
advansys Restore I/O port resources to the condition before adv_isa_probe() is 2001-05-06 09:28:18 +00:00
agp Introduce a global lock for the vm subsystem (vm_mtx). 2001-05-19 01:28:09 +00:00
aha
ahb
aic
aic7xxx ahc_eisa.c: 2001-05-15 19:41:12 +00:00
amd Move unused functions into #if 0 ... #endif. 2001-05-06 08:07:10 +00:00
amr Make the disk mini-layer check for and handle zero-length transfers 2001-05-06 21:55:22 +00:00
an Currently, each wireless networking driver has it's own control program 2001-05-26 09:27:08 +00:00
ar Move the isa parts to a separate file. 2001-04-16 13:20:39 +00:00
asr
ata Dont try to play tracks outside whats on the media. 2001-05-30 08:06:57 +00:00
atkbdc
awi Currently, each wireless networking driver has it's own control program 2001-05-26 09:27:08 +00:00
bktr Undo part of the tangle of having sys/lock.h and sys/mutex.h included in 2001-05-01 08:13:21 +00:00
buslogic
cardbus Use bus_space when reading CIS. This allows us to access it in 8 bit 2001-06-05 23:42:51 +00:00
ccd Polish error handling with biofinish(). 2001-05-08 09:10:27 +00:00
cnw Use enumeration types for CARD_SET_RES_FLAGS. 2001-05-08 23:57:32 +00:00
cs
ct
cy Remove unneeded includes of sys/ipl.h and machine/ipl.h. 2001-05-15 23:22:29 +00:00
dc
de
dec
dgb New-busify and ansify. 2001-04-14 15:32:16 +00:00
digi MALLOC -> malloc, FREE -> free 2001-05-22 18:10:57 +00:00
dpt
ed
eisa
en
ep Commit part of the patch that I have for card eject problems with the 2001-06-05 22:29:16 +00:00
ex
fb
fdc Nuke the various poorly maintained copies of ioctl_fd.h. The file is 2001-06-06 06:15:03 +00:00
fe
fxp While in the interrupt loop, check for a bogus interrupt value of 0xff. 2001-06-04 22:01:44 +00:00
hea
hfa
ic
ichsmb
ida Make the disk mini-layer check for and handle zero-length transfers 2001-05-06 21:55:22 +00:00
ie
iicbus
isp Fix botch for state levels. Role minor release. Start adding code for a 2001-06-05 17:11:06 +00:00
ispfw
joy
kbd
lge Use LGE_INC() macro to increment tx producer index in lge_encap(). 2001-06-06 19:16:02 +00:00
lmc
lnc
mc146818
mca
mcd
md Remove MFS compat bits. 2001-05-29 18:49:23 +00:00
mii Only touch the PCR register in order to set bits for the fxp driver. 2001-06-02 19:51:02 +00:00
mlx Make the disk mini-layer check for and handle zero-length transfers 2001-05-06 21:55:22 +00:00
mly Avoid divide-by-zero for devices that the adapter has not negotiated a 2001-04-21 04:08:26 +00:00
mse
musycc Dang, I lost the sign in that brucification. DTRT with PCATCH. 2001-05-26 09:37:42 +00:00
ncv
nge Disable extra TCP/UCP checksum checking in nge_rxeof() for now. 2001-06-06 19:17:10 +00:00
nmdm
nsp
null
ofw
pccard Fix the panics for real this time. When something can't be allocated, 2001-05-10 06:55:39 +00:00
pccbb Separate out pci cardbus bridge definitions to a common file for use 2001-05-25 19:12:58 +00:00
pcf
pci Fix reversed arguments to pci_write_config() 2001-06-03 09:45:40 +00:00
pcic Add IBM3765 to newcard's pcic pnp device list 2001-04-11 20:22:16 +00:00
pdq Undo part of the tangle of having sys/lock.h and sys/mutex.h included in 2001-05-01 08:13:21 +00:00
ppbus Style fixes from Sascha 2001-06-06 21:00:01 +00:00
ppc
random Undo part of the tangle of having sys/lock.h and sys/mutex.h included in 2001-05-01 08:13:21 +00:00
ray Primary purpose of this commit is to enable support for the Aviator 2001-05-17 22:23:49 +00:00
rc Remove unneeded includes of sys/ipl.h and machine/ipl.h. 2001-05-15 23:22:29 +00:00
rp
scd
sf
si
sio Close the line displine on detach. Lots of folks have submittd this, and 2001-06-05 05:58:57 +00:00
sk The sk driver developed a bug when the multicast code was changed to 2001-05-09 18:22:42 +00:00
smbus
sn
snc
snp Add a line discipline close routine which restores some functionality 2001-06-05 05:07:53 +00:00
sound Move out the files from src/sys/isa/ic/ to src/sys/dev/ic/, so they 2001-06-04 21:04:14 +00:00
speaker
sr
stg
streams
sym
syscons Make the beep duration independent of HZ. 2001-05-28 21:11:38 +00:00
tdfx
ti Vlan tags are 12 bits, mask off anything above since the chip doesn't 2001-05-23 19:25:14 +00:00
twe Minor updates: 2001-05-07 21:46:44 +00:00
tx
usb Activate the kthread mechanism for doing usb bus discovery. This means 2001-06-06 22:00:03 +00:00
vinum Change #if VINUMDEBUG to #ifdef VINUMDEBUG. This is a flag, not a variable. 2001-05-23 23:24:05 +00:00
vr Close PR 22208: bring chip out of suspend mode, because Windows might 2001-05-14 19:13:02 +00:00
vx
wds
wi Currently, each wireless networking driver has it's own control program 2001-05-26 09:27:08 +00:00
wl
xe