summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorkettenis <kettenis@openbsd.org>2013-08-08 21:13:07 +0000
committerkettenis <kettenis@openbsd.org>2013-08-08 21:13:07 +0000
commit14135982a61858f6bf799489cf7418b3e3cc13f7 (patch)
treebe4c7f10d4575d08a492b5a4979edf1c602e62b3
parentDrop the retval argument from do*at() functions which don't use it. (diff)
downloadwireguard-openbsd-14135982a61858f6bf799489cf7418b3e3cc13f7.tar.xz
wireguard-openbsd-14135982a61858f6bf799489cf7418b3e3cc13f7.zip
/dev/drmN for sparc64
-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 */