-vers(a, {-$OpenBSD: MAKEDEV.common,v 1.112 2021/01/23 05:08:33 thfr Exp $-})dnl
+vers(a, {-$OpenBSD: MAKEDEV.common,v 1.113 2021/02/12 10:26:33 jsg Exp $-})dnl
dnl
dnl Copyright (c) 2001-2006 Todd T. Fries <todd@OpenBSD.org>
dnl
n=Add($n, 1)
done-})dnl
__devitem(dc, dc*, {-4 channel serial interface (keyboard{-,-} mouse{-,-}modem{-,-} printer)-})dnl
+__devitem(dri, dri, Direct Rendering Infrastructure, drm)dnl
+_mkdev(dri, dri, {-RMlist[${#RMlist[*]}]=";mkdir -p dri;rm -f"
+ n=0
+ while [ $n -lt 4 ]
+ do
+ M dri/card$n c major_dri_c $n 600
+ r=Add($n, 128)
+ M dri/renderD$r c major_dri_c $r 600
+ n=Add($n, 1)
+ done
+ MKlist[${#MKlist[*]}]=";chmod 555 dri"-})dnl
__devitem(drm, drm*, {-Direct Rendering Manager-})dnl
_mkdev(drm, drm*, {-M drm$U c major_drm_c $U 600
r=Add($U, 128)
define(MACHINE,amd64)dnl
vers(__file__,
- {-$OpenBSD: MAKEDEV.md,v 1.77 2021/01/23 05:08:33 thfr Exp $-},
+ {-$OpenBSD: MAKEDEV.md,v 1.78 2021/02/12 10:26:33 jsg Exp $-},
etc.MACHINE)dnl
dnl
dnl Copyright (c) 2001-2006 Todd T. Fries <todd@OpenBSD.org>
_DEV(bpf, 23)
_DEV(dt, 30)
_DEV(diskmap, 90)
+_DEV(dri, 87)
_DEV(drm, 87)
_DEV(fdesc, 22)
_DEV(fuse, 92)
target(all, bktr, 0)dnl
target(all, gpio, 0, 1, 2)dnl
target(all, nvram)dnl
+target(all, dri)dnl
target(all, drm, 0, 1, 2, 3)dnl
target(all, ttyVI, 00, 10, 20, 30, 40)dnl
target(all, ipmi, 0)dnl
-/dev/ttyC0 0600 /dev/console:/dev/wskbd:/dev/wskbd0:/dev/wsmouse:/dev/wsmouse0:/dev/ttyCcfg:/dev/ttyC4:/dev/drm0:/dev/drmR128
+/dev/ttyC0 0600 /dev/console:/dev/wskbd:/dev/wskbd0:/dev/wsmouse:/dev/wsmouse0:/dev/ttyCcfg:/dev/ttyC4:/dev/drm0:/dev/drmR128:/dev/dri/card0:/dev/dri/renderD128
define(MACHINE,arm64)dnl
vers(__file__,
- {-$OpenBSD: MAKEDEV.md,v 1.11 2021/01/23 05:08:33 thfr Exp $-},
+ {-$OpenBSD: MAKEDEV.md,v 1.12 2021/02/12 10:26:34 jsg Exp $-},
etc.MACHINE)dnl
dnl
dnl Copyright (c) 2001-2006 Todd T. Fries <todd@OpenBSD.org>
_DEV(bpf, 23)
_DEV(dt, 30)
_DEV(diskmap, 90)
+_DEV(dri, 87)
_DEV(drm, 87)
_DEV(fdesc, 22)
_DEV(fuse, 92)
target(all, vnd, 0, 1, 2, 3)dnl
target(all, bktr, 0)dnl
target(all, gpio, 0, 1, 2)dnl
+target(all, dri)dnl
target(all, drm, 0, 1, 2, 3)dnl
target(all, ipmi, 0)dnl
target(all, switch, 0, 1, 2, 3)dnl
/dev/tty00 0600 /dev/console
-/dev/ttyC0 0600 /dev/console:/dev/wskbd:/dev/wskbd0:/dev/wsmouse:/dev/wsmouse0:/dev/ttyCcfg:/dev/ttyC4:/dev/drm0:/dev/drmR128
+/dev/ttyC0 0600 /dev/console:/dev/wskbd:/dev/wskbd0:/dev/wsmouse:/dev/wsmouse0:/dev/ttyCcfg:/dev/ttyC4:/dev/drm0:/dev/drmR128:/dev/dri/card0:/dev/dri/renderD128
define(MACHINE,i386)dnl
vers(__file__,
- {-$OpenBSD: MAKEDEV.md,v 1.92 2021/01/23 05:08:33 thfr Exp $-},
+ {-$OpenBSD: MAKEDEV.md,v 1.93 2021/02/12 10:26:34 jsg Exp $-},
etc.MACHINE)dnl
dnl
dnl Copyright (c) 2001-2006 Todd T. Fries <todd@OpenBSD.org>
_DEV(bpf, 23)
_DEV(dt, 30)
_DEV(diskmap, 91)
+_DEV(dri, 88)
_DEV(drm, 88)
_DEV(fdesc, 22)
_DEV(fuse, 93)
target(all, bktr, 0)dnl
target(all, gpio, 0, 1, 2)dnl
target(all, nvram)dnl
+target(all, dri)dnl
target(all, drm, 0, 1, 2, 3)dnl
target(all, amdmsr)dnl
target(all, ipmi, 0)dnl
-/dev/ttyC0 0600 /dev/console:/dev/wskbd:/dev/wskbd0:/dev/wsmouse:/dev/wsmouse0:/dev/ttyCcfg:/dev/ttyC4:/dev/drm0:/dev/drmR128
+/dev/ttyC0 0600 /dev/console:/dev/wskbd:/dev/wskbd0:/dev/wsmouse:/dev/wsmouse0:/dev/ttyCcfg:/dev/ttyC4:/dev/drm0:/dev/drmR128:/dev/dri/card0:/dev/dri/renderD128
define(MACHINE,loongson)dnl
vers(__file__,
- {-$OpenBSD: MAKEDEV.md,v 1.33 2021/01/23 05:08:33 thfr Exp $-},
+ {-$OpenBSD: MAKEDEV.md,v 1.34 2021/02/12 10:26:34 jsg Exp $-},
etc.MACHINE)dnl
dnl
dnl Copyright (c) 2001-2006 Todd T. Fries <todd@OpenBSD.org>
_DEV(bpf, 12)
_DEV(dt, 30)
_DEV(diskmap, 70)
+_DEV(dri, 87)
_DEV(drm, 87)
_DEV(fdesc, 7)
_DEV(fuse, 73)
target(all, sd, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9)dnl
target(all, vnd, 0, 1, 2, 3)dnl
target(all, switch, 0, 1, 2, 3)dnl
+target(all, dri)dnl
target(all, drm, 0, 1, 2, 3)dnl
target(ramd, pty, 0)dnl
target(ramd, bio)dnl
/dev/tty00 0600 /dev/console
-/dev/ttyC0 0600 /dev/console:/dev/wskbd:/dev/wskbd0:/dev/wsmouse:/dev/wsmouse0:/dev/ttyCcfg:/dev/ttyC4:/dev/drm0:/dev/drmR128
+/dev/ttyC0 0600 /dev/console:/dev/wskbd:/dev/wskbd0:/dev/wsmouse:/dev/wsmouse0:/dev/ttyCcfg:/dev/ttyC4:/dev/drm0:/dev/drmR128:/dev/dri/card0:/dev/dri/renderD128
define(MACHINE,macppc)dnl
vers(__file__,
- {-$OpenBSD: MAKEDEV.md,v 1.76 2021/01/23 05:08:33 thfr Exp $-},
+ {-$OpenBSD: MAKEDEV.md,v 1.77 2021/02/12 10:26:34 jsg Exp $-},
etc.MACHINE)dnl
dnl
dnl Copyright (c) 2001-2006 Todd T. Fries <todd@OpenBSD.org>
_DEV(bpf, 22)
_DEV(dt, 30)
_DEV(diskmap, 84)
+_DEV(dri, 87)
_DEV(drm, 87)
_DEV(fdesc, 21)
_DEV(fuse, 88)
target(all, vnd, 0, 1, 2, 3)dnl
target(all, gpio, 0, 1, 2)dnl
target(all, bio)dnl
+target(all, dri)dnl
target(all, drm, 0, 1, 2, 3)dnl
target(all, switch, 0, 1, 2, 3)dnl
target(ramd, ttya, 0, 1)dnl
/dev/ttya 0600 /dev/console
/dev/tty00 0600 /dev/console
-/dev/ttyC0 0600 /dev/console:/dev/wskbd:/dev/wskbd0:/dev/wsmouse:/dev/wsmouse0:/dev/ttyCcfg:/dev/ttyC4:/dev/drm0:/dev/drmR128
+/dev/ttyC0 0600 /dev/console:/dev/wskbd:/dev/wskbd0:/dev/wsmouse:/dev/wsmouse0:/dev/ttyCcfg:/dev/ttyC4:/dev/drm0:/dev/drmR128:/dev/dri/card0:/dev/dri/renderD128
define(MACHINE,powerpc64)dnl
vers(__file__,
- {-$OpenBSD: MAKEDEV.md,v 1.7 2021/01/23 05:08:33 thfr Exp $-},
+ {-$OpenBSD: MAKEDEV.md,v 1.8 2021/02/12 10:26:34 jsg Exp $-},
etc.MACHINE)dnl
dnl
dnl Copyright (c) 2001-2006 Todd T. Fries <todd@OpenBSD.org>
_DEV(bio, 80)
_DEV(bpf, 9)
_DEV(diskmap, 10)
+_DEV(dri, 87)
_DEV(drm, 87)
_DEV(dt, 13)
_DEV(fdesc, 8)
target(all, bio)dnl
target(all, cd, 0, 1)dnl
target(all, diskmap)dnl
+target(all, dri)dnl
target(all, drm, 0, 1, 2, 3)dnl
target(all, ipmi, 0)dnl
target(all, pty, 0)dnl
define(MACHINE,sparc64)dnl
vers(__file__,
- {-$OpenBSD: MAKEDEV.md,v 1.96 2021/01/23 05:08:33 thfr Exp $-},
+ {-$OpenBSD: MAKEDEV.md,v 1.97 2021/02/12 10:26:34 jsg Exp $-},
etc.MACHINE)dnl
dnl
dnl Copyright (c) 2001-2006 Todd T. Fries <todd@OpenBSD.org>
_DEV(bio, 120)
_DEV(bpf, 105)
_DEV(diskmap, 130)
+_DEV(dri, 87)
_DEV(drm, 87)
_DEV(fdesc, 24)
_DEV(dt, 30)
target(all, sd, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9)dnl
target(all, vnd, 0, 1, 2, 3)dnl
target(all, bpp, 0)dnl
+target(all, dri)dnl
target(all, drm, 0, 1, 2, 3)dnl
target(all, switch, 0, 1, 2, 3)dnl
twrget(all, s64_tzs, tty, a, b, c, d)dnl
-/dev/console 0600 /dev/ttyC0:/dev/ttyD0:/dev/ttyE0:/dev/ttyF0:/dev/wskbd:/dev/wskbd0:/dev/wsmouse:/dev/wsmouse0:/dev/tty00:/dev/ttyCcfg:/dev/ttyC4:/dev/drm0:/dev/drmR128
+/dev/console 0600 /dev/ttyC0:/dev/ttyD0:/dev/ttyE0:/dev/ttyF0:/dev/wskbd:/dev/wskbd0:/dev/wsmouse:/dev/wsmouse0:/dev/tty00:/dev/ttyCcfg:/dev/ttyC4:/dev/drm0:/dev/drmR128:/dev/dri/card0:/dev/dri/renderD128