xf86drm: implement drmParseSubsystemType for DragonFly
Like on OpenBSD, the DragonFly BSD kernel only contains pci drm drivers. Signed-off-by: François Tigeot <ftigeot@wolfpond.org>main
parent
ba45adb2a1
commit
200e9e98a2
|
@ -3014,7 +3014,7 @@ static int drmParseSubsystemType(int maj, int min)
|
||||||
}
|
}
|
||||||
|
|
||||||
return -EINVAL;
|
return -EINVAL;
|
||||||
#elif defined(__OpenBSD__)
|
#elif defined(__OpenBSD__) || defined(__DragonFly__)
|
||||||
return DRM_BUS_PCI;
|
return DRM_BUS_PCI;
|
||||||
#else
|
#else
|
||||||
#warning "Missing implementation of drmParseSubsystemType"
|
#warning "Missing implementation of drmParseSubsystemType"
|
||||||
|
|
Loading…
Reference in New Issue