[PATCH libdrm 1/2] xf86drm: implement drmParseSubsystemType for DragonFly
François Tigeot
ftigeot at wolfpond.org
Wed Dec 12 19:48:35 UTC 2018
Like on OpenBSD, the DragonFly BSD kernel only contains
pci drm drivers.
Signed-off-by: François Tigeot <ftigeot at wolfpond.org>
---
xf86drm.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/xf86drm.c b/xf86drm.c
index 0085bf17..5ddf9366 100644
--- a/xf86drm.c
+++ b/xf86drm.c
@@ -3016,7 +3016,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"
--
2.19.2
More information about the dri-devel
mailing list