summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthieu Herrb <matthieu@cvs.openbsd.org>2009-09-11 22:12:51 +0000
committerMatthieu Herrb <matthieu@cvs.openbsd.org>2009-09-11 22:12:51 +0000
commit03fb5f662ae67256fa8754e12045c6c71d719b64 (patch)
tree9ae0e6644276830a4479371968d003b21ad0636d
parentfbb51f8e165856c9adcaf3a8e8ce71457708a790 (diff)
Don't unconditionnally add a "sunffb" device in autoconfig mode
on OpenBSD. It will be added by sparcDriverName() if a ffb card is present.
-rw-r--r--xserver/hw/xfree86/common/xf86AutoConfig.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/xserver/hw/xfree86/common/xf86AutoConfig.c b/xserver/hw/xfree86/common/xf86AutoConfig.c
index a9a1fd207..3503f49e3 100644
--- a/xserver/hw/xfree86/common/xf86AutoConfig.c
+++ b/xserver/hw/xfree86/common/xf86AutoConfig.c
@@ -514,7 +514,7 @@ listPossibleVideoDrivers(char *matches[], int nmatches)
if (i < (nmatches - 1)) {
#if defined(__i386__) || defined(__amd64__) || defined(__hurd__)
matches[i++] = xnfstrdup("vesa");
-#elif defined(__sparc__) && !defined(sun)
+#elif defined(__sparc__) && defined(__linux__)
matches[i++] = xnfstrdup("sunffb");
#endif
}