summaryrefslogtreecommitdiff
path: root/sys/conf/files
diff options
context:
space:
mode:
authorAlexander Yurchenko <grange@cvs.openbsd.org>2004-05-30 08:11:28 +0000
committerAlexander Yurchenko <grange@cvs.openbsd.org>2004-05-30 08:11:28 +0000
commitee4c27a21204dc338aaa232a20bd428030a48d3d (patch)
tree840e68e2359cdf9c1bbaad6e69d14061129b1642 /sys/conf/files
parent4d42d43a9db899b5548292fb2cef4513407a3971 (diff)
Devices hot plugging support.
The hotplug pseudo-device passes device attachment and detachment events to userland. When a device attaches or detaches, the corresponding event is queued. The events can then be obtained from the queue through the read(2) call on the /dev/hotplug device file. Each event consists of event type (attach/detach), device class (DV_*) and device name (sd1 e.g.). We have hotplug pseudo-device on alpha, amd64, i386, macppc and sparc64. Since it was tested only on i386 other archs has it commented out in GENERIC until tested. The idea liked peter@ tedu@ drahn@ millert@ marco@ henning@. Ok deraadt@.
Diffstat (limited to 'sys/conf/files')
-rw-r--r--sys/conf/files5
1 files changed, 4 insertions, 1 deletions
diff --git a/sys/conf/files b/sys/conf/files
index 86304631d5a..d4dffc50925 100644
--- a/sys/conf/files
+++ b/sys/conf/files
@@ -1,4 +1,4 @@
-# $OpenBSD: files,v 1.301 2004/05/27 23:20:27 deraadt Exp $
+# $OpenBSD: files,v 1.302 2004/05/30 08:11:26 grange Exp $
# $NetBSD: files,v 1.87 1996/05/19 17:17:50 jonathan Exp $
# @(#)files.newconf 7.5 (Berkeley) 5/10/93
@@ -411,6 +411,9 @@ file net/if_pfsync.c pfsync needs-flag
pseudo-device bio
file dev/bio.c bio needs-flag
+pseudo-device hotplug
+file dev/hotplug.c hotplug needs-flag
+
# XXX machine-independent SCSI files should live somewhere here, maybe
# kernel sources