summaryrefslogtreecommitdiff
path: root/sys/arch/amd64
diff options
context:
space:
mode:
Diffstat (limited to 'sys/arch/amd64')
-rw-r--r--sys/arch/amd64/amd64/conf.c4
-rw-r--r--sys/arch/amd64/conf/GENERIC3
2 files changed, 5 insertions, 2 deletions
diff --git a/sys/arch/amd64/amd64/conf.c b/sys/arch/amd64/amd64/conf.c
index 886bfe96ec7..ffa6fb787c9 100644
--- a/sys/arch/amd64/amd64/conf.c
+++ b/sys/arch/amd64/amd64/conf.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: conf.c,v 1.5 2004/04/15 00:15:32 pvalchev Exp $ */
+/* $OpenBSD: conf.c,v 1.6 2004/05/30 08:11:26 grange Exp $ */
/*
* Copyright (c) 1994, 1995 Charles M. Hannum. All rights reserved.
@@ -190,6 +190,7 @@ cdev_decl(pci);
#endif
#include "pf.h"
+#include "hotplug.h"
struct cdevsw cdevsw[] =
{
@@ -295,6 +296,7 @@ struct cdevsw cdevsw[] =
cdev_oci_init(NBIO,bio), /* 79: ioctl tunnel */
cdev_notdef(), /* 80: gpr? XXX */
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]);
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