$OpenBSD$

hardcode /dev/drm0

Index: detect.c
--- detect.c.orig
+++ detect.c
@@ -97,6 +97,7 @@ void init_pci(unsigned char *bus, unsigned int *device
 	if (drm_fd < 0 && access("/dev/ati/card0", F_OK) == 0) // fglrx path
 		drm_fd = open("/dev/ati/card0", O_RDWR);
 
+	drm_fd = open("/dev/drm0", O_RDWR);
 	use_ioctl = 0;
 	if (drm_fd >= 0) {
 		authenticate_drm(drm_fd);
