summaryrefslogtreecommitdiff
path: root/sys/arch
diff options
context:
space:
mode:
authorMark Kettenis <kettenis@cvs.openbsd.org>2013-08-08 21:13:08 +0000
committerMark Kettenis <kettenis@cvs.openbsd.org>2013-08-08 21:13:08 +0000
commite30f61a8e97b71c57ba75bfe173d777ec44f537a (patch)
treec6ddbb0b6f6e84e0338a2c85d9f08dea735695a3 /sys/arch
parent8884976a3ed2daf51d90640d28598e0a727697af (diff)
/dev/drmN for sparc64
Diffstat (limited to 'sys/arch')
-rw-r--r--sys/arch/sparc64/sparc64/conf.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/sys/arch/sparc64/sparc64/conf.c b/sys/arch/sparc64/sparc64/conf.c
index 9f6e87e3be7..5d76cb6b504 100644
--- a/sys/arch/sparc64/sparc64/conf.c
+++ b/sys/arch/sparc64/sparc64/conf.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: conf.c,v 1.67 2013/06/03 15:54:47 tedu Exp $ */
+/* $OpenBSD: conf.c,v 1.68 2013/08/08 21:13:07 kettenis Exp $ */
/* $NetBSD: conf.c,v 1.17 2001/03/26 12:33:26 lukem Exp $ */
/*
@@ -86,6 +86,9 @@
#include "fdc.h" /* has NFDC and NFD; see files.sparc */
+#include "drm.h"
+cdev_decl(drm);
+
#include "wsdisplay.h"
#include "wskbd.h"
#include "wsmouse.h"
@@ -244,7 +247,7 @@ struct cdevsw cdevsw[] =
cdev_notdef(), /* 84 */
cdev_notdef(), /* 85 */
cdev_notdef(), /* 86 */
- cdev_notdef(), /* 87 */
+ cdev_drm_init(NDRM,drm), /* 87: drm */
cdev_notdef(), /* 88 */
cdev_notdef(), /* 89 */
cdev_usb_init(NUSB,usb), /* 90: USB controller */