Implement drmParseSubsystemType for OpenBSD.

Always return DRM_BUS_PCI for now.  No non-pci drm drivers are in the
kernel and this is unlikely to change anytime soon as the existing ones
aren't permissively licensed.

ok kettenis@
This commit is contained in:
jsg 2016-11-25 23:44:40 +00:00
parent 038e48492e
commit ed28609b08

View File

@ -2905,6 +2905,8 @@ static int drmParseSubsystemType(int maj, int min)
return DRM_BUS_PCI;
return -EINVAL;
#elif defined(__OpenBSD__)
return DRM_BUS_PCI;
#else
#warning "Missing implementation of drmParseSubsystemType"
return -EINVAL;