summaryrefslogtreecommitdiff
path: root/etc
diff options
context:
space:
mode:
authorJonathan Gray <jsg@cvs.openbsd.org>2019-04-14 10:23:37 +0000
committerJonathan Gray <jsg@cvs.openbsd.org>2019-04-14 10:23:37 +0000
commit97f1909b8dbf084d16e616067a3805e7cf841f85 (patch)
tree2352d728c031aa2de1e2311fb399ea2e8f5e8d92 /etc
parent5c911b15d6429fec621ef39b0e97f88b575c0579 (diff)
create drm render node devices
Diffstat (limited to 'etc')
-rw-r--r--etc/MAKEDEV.common6
1 files changed, 4 insertions, 2 deletions
diff --git a/etc/MAKEDEV.common b/etc/MAKEDEV.common
index 9ccdd6acf69..40449ffbfb8 100644
--- a/etc/MAKEDEV.common
+++ b/etc/MAKEDEV.common
@@ -1,4 +1,4 @@
-vers(a, {-$OpenBSD: MAKEDEV.common,v 1.101 2018/08/31 02:32:29 jcs Exp $-})dnl
+vers(a, {-$OpenBSD: MAKEDEV.common,v 1.102 2019/04/14 10:23:36 jsg Exp $-})dnl
dnl
dnl Copyright (c) 2001-2006 Todd T. Fries <todd@OpenBSD.org>
dnl
@@ -340,7 +340,9 @@ _mkdev(pty, pty*, {-if [ $U -gt 15 ]; then
done-})dnl
__devitem(dc, dc*, {-4 channel serial interface (keyboard{-,-} mouse{-,-}modem{-,-} printer)-})dnl
__devitem(drm, drm*, {-Direct Rendering Manager-})dnl
-_mcdev({-drm-}, drm*, {-drm-}, {-major_drm_c-}, 600)dnl
+_mkdev(drm, drm*, {-M drm$U c major_drm_c $U 600
+ r=Add($U, 128)
+ M drmR$r c major_drm_c $r 600-})dnl
__devtitle(prn, Printers)dnl
__devitem(lpt, lpt*, IEEE 1284 centronics printer)dnl
_mkdev(lpt, lpt*|lpa*,