diff options
Diffstat (limited to 'xserver/hw/xfree86/common/xf86AutoConfig.c')
-rw-r--r-- | xserver/hw/xfree86/common/xf86AutoConfig.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/xserver/hw/xfree86/common/xf86AutoConfig.c b/xserver/hw/xfree86/common/xf86AutoConfig.c index 944cac190..21ebd3b00 100644 --- a/xserver/hw/xfree86/common/xf86AutoConfig.c +++ b/xserver/hw/xfree86/common/xf86AutoConfig.c @@ -522,7 +522,11 @@ listPossibleVideoDrivers(char *matches[], int nmatches) /* Fallback to platform default frame buffer driver */ if (i < (nmatches - 1)) { -#if !defined(__linux__) && defined(__sparc__) +#if defined(__OpenBSD__) +# if !defined(__i386__) && !defined(__amd64__) + matches[i++] = xnfstrdup("wsfb"); +# endif +#elif !defined(__linux__) && defined(__sparc__) matches[i++] = xnfstrdup("wsfb"); #else matches[i++] = xnfstrdup("fbdev"); |