diff options
author | Alexander Yurchenko <grange@cvs.openbsd.org> | 2004-05-30 08:11:28 +0000 |
---|---|---|
committer | Alexander Yurchenko <grange@cvs.openbsd.org> | 2004-05-30 08:11:28 +0000 |
commit | ee4c27a21204dc338aaa232a20bd428030a48d3d (patch) | |
tree | 840e68e2359cdf9c1bbaad6e69d14061129b1642 /sys/arch/amd64/conf | |
parent | 4d42d43a9db899b5548292fb2cef4513407a3971 (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/arch/amd64/conf')
-rw-r--r-- | sys/arch/amd64/conf/GENERIC | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/arch/amd64/conf/GENERIC b/sys/arch/amd64/conf/GENERIC index 572b6679f29..65c0c13caa5 100644 --- a/sys/arch/amd64/conf/GENERIC +++ b/sys/arch/amd64/conf/GENERIC @@ -1,4 +1,4 @@ -# $OpenBSD: GENERIC,v 1.18 2004/05/29 22:12:22 tom Exp $ +# $OpenBSD: GENERIC,v 1.19 2004/05/30 08:11:26 grange Exp $ # # GENERIC -- everything that's currently supported # @@ -488,6 +488,7 @@ ises* at pci? dev ? function ? # Pijnenburg PCC-ISES #pseudo-device sequencer 1 #pseudo-device raid 4 # RAIDframe disk driver #pseudo-device bio 1 # ioctl multiplexing device +#pseudo-device hotplug 1 # devices hot plugging # mouse & keyboard multiplexor pseudo-devices pseudo-device wsmux 2 |