diff options
author | Jonathan Gray <jsg@cvs.openbsd.org> | 2021-02-12 10:26:35 +0000 |
---|---|---|
committer | Jonathan Gray <jsg@cvs.openbsd.org> | 2021-02-12 10:26:35 +0000 |
commit | 82af99a8c15244070f101226023a29fb32e79109 (patch) | |
tree | 2f377fa261262ec5d5a55555b32587bb2b2cca9a /etc/etc.powerpc64 | |
parent | 3777cb7b0368ec75cbcfaddb668e1323c8b80250 (diff) |
create /dev/ drm nodes with the same names as linux
This was proposed by Emil Velikov to simplify libdrm and will remove the
need for some patches in ports.
/dev/drm0 -> /dev/dri/card0
/dev/drmR128 -> /dev/dri/renderD128
The previous names will remain for a period of time and will later be
removed. Major and minor numbers remain the same.
libdrm will not be changed to use the new names until known privsep
and sandbox use has been updated to allow the new names.
ok deraadt@
Diffstat (limited to 'etc/etc.powerpc64')
-rw-r--r-- | etc/etc.powerpc64/MAKEDEV.md | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/etc/etc.powerpc64/MAKEDEV.md b/etc/etc.powerpc64/MAKEDEV.md index 12dbee30d85..408fde7f30a 100644 --- a/etc/etc.powerpc64/MAKEDEV.md +++ b/etc/etc.powerpc64/MAKEDEV.md @@ -1,6 +1,6 @@ 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> @@ -60,6 +60,7 @@ _DEV(au, 32) _DEV(bio, 80) _DEV(bpf, 9) _DEV(diskmap, 10) +_DEV(dri, 87) _DEV(drm, 87) _DEV(dt, 13) _DEV(fdesc, 8) @@ -103,6 +104,7 @@ twrget(all, au, audio, 0, 1, 2, 3)dnl 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 |