OSDN Git Service
(root)
/
android-x86
/
external-libdrm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ba45adb
)
xf86drm: implement drmParseSubsystemType for DragonFly
author
François Tigeot
<ftigeot@wolfpond.org>
Wed, 12 Dec 2018 19:48:35 +0000
(20:48 +0100)
committer
Ilia Mirkin
<imirkin@alum.mit.edu>
Fri, 14 Dec 2018 01:39:02 +0000
(20:39 -0500)
Like on OpenBSD, the DragonFly BSD kernel only contains
pci drm drivers.
Signed-off-by: François Tigeot <ftigeot@wolfpond.org>
xf86drm.c
patch
|
blob
|
history
diff --git
a/xf86drm.c
b/xf86drm.c
index
71ad54b
..
1016a2b
100644
(file)
--- a/
xf86drm.c
+++ b/
xf86drm.c
@@
-3014,7
+3014,7
@@
static int drmParseSubsystemType(int maj, int min)
}
return -EINVAL;
-#elif defined(__OpenBSD__)
+#elif defined(__OpenBSD__)
|| defined(__DragonFly__)
return DRM_BUS_PCI;
#else
#warning "Missing implementation of drmParseSubsystemType"