mirror of
https://gitlab.freedesktop.org/mesa/drm.git
synced 2025-12-24 23:00:11 +01:00
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>
This commit is contained in:
parent
ba45adb2a1
commit
200e9e98a2
1 changed files with 1 additions and 1 deletions
|
|
@ -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"
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue