summaryrefslogtreecommitdiff
path: root/sys/conf
diff options
context:
space:
mode:
authorJonathan Gray <jsg@cvs.openbsd.org>2021-06-29 01:42:15 +0000
committerJonathan Gray <jsg@cvs.openbsd.org>2021-06-29 01:42:15 +0000
commitea040fd1ebeb27382b47051531a3c099643187a5 (patch)
treeab42b5991749afe5b5999fe784d341edb67a8812 /sys/conf
parent22b0b3aa4842e887b8d757a02f619bc24c4e5bc1 (diff)
move some config lines to ensure drm.h is always created
ok deraadt@ kettenis@
Diffstat (limited to 'sys/conf')
-rw-r--r--sys/conf/files11
1 files changed, 7 insertions, 4 deletions
diff --git a/sys/conf/files b/sys/conf/files
index 0f3b790d3c0..8ec908f3918 100644
--- a/sys/conf/files
+++ b/sys/conf/files
@@ -1,4 +1,4 @@
-# $OpenBSD: files,v 1.702 2021/04/16 08:17:35 stsp Exp $
+# $OpenBSD: files,v 1.703 2021/06/29 01:42:14 jsg Exp $
# $NetBSD: files,v 1.87 1996/05/19 17:17:50 jonathan Exp $
# @(#)files.newconf 7.5 (Berkeley) 5/10/93
@@ -96,11 +96,14 @@ file dev/ic/mk48txx.c mk48txx
# agp integrated graphics attaches at vga. defines are in dev/pci/files.agp
define agpint {}
-# DRM - Direct Rendering Manager: /dev/drm
-define drmdev {}
+# DRM - Direct Rendering Manager: /dev/dri/
+define drmbase {[primary = -1]}
+device drm: drmbase
+attach drm at drmbase
+file dev/pci/drm/drm_drv.c drm needs-flag
# VGA graphics
-device vga: wsemuldisplaydev, pcdisplayops, drmdev, agpint
+device vga: wsemuldisplaydev, pcdisplayops, agpint
file dev/ic/vga.c vga & (vga_pci | vga_isa) needs-flag
file dev/ic/vga_subr.c vga & (vga_pci | vga_isa) needs-flag