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.amd64 | |
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.amd64')
-rw-r--r-- | etc/etc.amd64/MAKEDEV.md | 4 | ||||
-rw-r--r-- | etc/etc.amd64/fbtab | 2 |
2 files changed, 4 insertions, 2 deletions
diff --git a/etc/etc.amd64/MAKEDEV.md b/etc/etc.amd64/MAKEDEV.md index 3de86d5bc2e..c90f4a7bd6a 100644 --- a/etc/etc.amd64/MAKEDEV.md +++ b/etc/etc.amd64/MAKEDEV.md @@ -1,6 +1,6 @@ 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> @@ -71,6 +71,7 @@ _DEV(bktr, 49) _DEV(bpf, 23) _DEV(dt, 30) _DEV(diskmap, 90) +_DEV(dri, 87) _DEV(drm, 87) _DEV(fdesc, 22) _DEV(fuse, 92) @@ -136,6 +137,7 @@ target(all, vnd, 0, 1, 2, 3)dnl 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 diff --git a/etc/etc.amd64/fbtab b/etc/etc.amd64/fbtab index 0369abc7239..70f13cc4098 100644 --- a/etc/etc.amd64/fbtab +++ b/etc/etc.amd64/fbtab @@ -1 +1 @@ -/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 |