summaryrefslogtreecommitdiff
path: root/sys/arch/i386
diff options
context:
space:
mode:
Diffstat (limited to 'sys/arch/i386')
-rw-r--r--sys/arch/i386/conf/GENERIC3
-rw-r--r--sys/arch/i386/i386/conf.c4
2 files changed, 5 insertions, 2 deletions
diff --git a/sys/arch/i386/conf/GENERIC b/sys/arch/i386/conf/GENERIC
index 1d6972480d8..3b84018218e 100644
--- a/sys/arch/i386/conf/GENERIC
+++ b/sys/arch/i386/conf/GENERIC
@@ -1,4 +1,4 @@
-# $OpenBSD: GENERIC,v 1.364 2004/05/28 02:32:19 deraadt Exp $
+# $OpenBSD: GENERIC,v 1.365 2004/05/30 08:11:26 grange Exp $
#
# GENERIC -- everything that's currently supported
#
@@ -558,6 +558,7 @@ pseudo-device mtrr 1 # Memory range attributes control
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
diff --git a/sys/arch/i386/i386/conf.c b/sys/arch/i386/i386/conf.c
index 25198bf2ebb..ec8657441bd 100644
--- a/sys/arch/i386/i386/conf.c
+++ b/sys/arch/i386/i386/conf.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: conf.c,v 1.106 2004/02/10 01:31:21 millert Exp $ */
+/* $OpenBSD: conf.c,v 1.107 2004/05/30 08:11:26 grange Exp $ */
/* $NetBSD: conf.c,v 1.75 1996/05/03 19:40:20 christos Exp $ */
/*
@@ -201,6 +201,7 @@ cdev_decl(pci);
#endif
#include "pf.h"
+#include "hotplug.h"
struct cdevsw cdevsw[] =
{
@@ -310,6 +311,7 @@ struct cdevsw cdevsw[] =
cdev_oci_init(NBIO,bio), /* 79: ioctl tunnel */
cdev_ch_init(NGPR,gpr), /* 80: GPR400 SmartCard reader */
cdev_ptm_init(NPTY,ptm), /* 81: pseudo-tty ptm device */
+ cdev_hotplug_init(NHOTPLUG,hotplug), /* 82: devices hot plugging */
};
int nchrdev = sizeof(cdevsw) / sizeof(cdevsw[0]);