libdrm: Default to PCI for FreeBSD
FreeBSD have some support for DRM on !PCI device but no code is currently upstream. Default to PCI for now. Signed-off-by: Emmanuel Vadot <manu@FreeBSD.org> Reviewed-by: Eric Engestrom <eric@engestrom.ch> Reviewed-by: Emil Velikov <emil.velikov@collabora.com>main
parent
57c50cfc45
commit
41f3a7b3e5
|
@ -3109,7 +3109,7 @@ static int drmParseSubsystemType(int maj, int min)
|
||||||
subsystem_type = get_subsystem_type(path);
|
subsystem_type = get_subsystem_type(path);
|
||||||
}
|
}
|
||||||
return subsystem_type;
|
return subsystem_type;
|
||||||
#elif defined(__OpenBSD__) || defined(__DragonFly__)
|
#elif defined(__OpenBSD__) || defined(__DragonFly__) || defined(__FreeBSD__)
|
||||||
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