]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
devd kernel improvements:
authorWarner Losh <imp@FreeBSD.org>
Sat, 30 Nov 2002 00:49:43 +0000 (00:49 +0000)
committerWarner Losh <imp@FreeBSD.org>
Sat, 30 Nov 2002 00:49:43 +0000 (00:49 +0000)
commit304f10ce4acf905b8d554ea2d6ce7ca3a7713b36
tree750d6e0c8954ee07932ba7a00487d5f26c9d2f52
parent406259c1331cd4ea96a6a2faf5463d898293d5ab
devd kernel improvements:
1) Record all device events when devctl is enabled, rather than just when
   devd has devctl open.  This is necessary to prevent races between when
   a device arrives, and when devd starts.
2) Add hw.bus.devctl_disable to disable devctl, this can also be set as a
   tunable.
3) Fix async support. Reset nonblocking and async_td in open.  remove
   async flags.
4) Free all memory when devctl is disabled.

Approved by: re (blanket)
sys/kern/subr_bus.c