summaryrefslogtreecommitdiff
path: root/sys/arch/sgi
diff options
context:
space:
mode:
authorJasper Lievisse Adriaanse <jasper@cvs.openbsd.org>2009-06-03 18:32:25 +0000
committerJasper Lievisse Adriaanse <jasper@cvs.openbsd.org>2009-06-03 18:32:25 +0000
commit1d3fb927d73583a31f76e9379533a252b0196f1f (patch)
treeba280fb65f5002f7346b9571ef88a9c35a6712f0 /sys/arch/sgi
parentbb9ae5043659eae2955c0b95e1b4c1ab426c8a19 (diff)
- add hotplug device
ok miod@
Diffstat (limited to 'sys/arch/sgi')
-rw-r--r--sys/arch/sgi/sgi/conf.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/sys/arch/sgi/sgi/conf.c b/sys/arch/sgi/sgi/conf.c
index 1bc928959f9..798ae116e8e 100644
--- a/sys/arch/sgi/sgi/conf.c
+++ b/sys/arch/sgi/sgi/conf.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: conf.c,v 1.19 2009/06/03 14:45:53 jj Exp $ */
+/* $OpenBSD: conf.c,v 1.20 2009/06/03 18:32:24 jasper Exp $ */
/*
* Copyright (c) 1992, 1993
@@ -57,6 +57,7 @@
bdev_decl(wd);
#include "ccd.h"
#include "rd.h"
+#include "hotplug.h"
struct bdevsw bdevsw[] =
{
@@ -211,7 +212,8 @@ struct cdevsw cdevsw[] =
cdev_usbdev_init(NUGEN,ugen), /* 63: USB generic driver */
cdev_ulpt_init(NULPT,ulpt), /* 64: USB printers */
cdev_urio_init(NURIO,urio), /* 65: USB Diamond Rio 500 */
- cdev_tty_init(NUCOM,ucom) /* 66: USB tty */
+ cdev_tty_init(NUCOM,ucom), /* 66: USB tty */
+ cdev_hotplug_init(NHOTPLUG,hotplug) /* 67: devices hotplugging */
};
int nchrdev = sizeof (cdevsw) / sizeof (cdevsw[0]);