summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlan Coopersmith <alan.coopersmith@oracle.com>2011-08-01 14:09:33 -0700
committerAlan Coopersmith <alan.coopersmith@oracle.com>2011-11-23 12:15:04 -0800
commit0e6b88db7f2e94ccc8153a0e002d176440914e01 (patch)
tree6f0166b97184467913dd467e197ec1609413749e
parent7b0f53f0a5824fcd81ef505beb3e19ac7c77961f (diff)
Don't fallback to wsfb or fbdev on Solaris
We don't ship either one, so don't waste time and make confusing log entries trying to load them. Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> Reviewed-by: Daniel Stone <daniel@fooishbar.org>
-rw-r--r--hw/xfree86/common/xf86AutoConfig.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/hw/xfree86/common/xf86AutoConfig.c b/hw/xfree86/common/xf86AutoConfig.c
index 7fc6518d3..0c465682a 100644
--- a/hw/xfree86/common/xf86AutoConfig.c
+++ b/hw/xfree86/common/xf86AutoConfig.c
@@ -267,6 +267,7 @@ listPossibleVideoDrivers(char *matches[], int nmatches)
#endif
}
+#if !defined(sun)
/* Fallback to platform default frame buffer driver */
if (i < (nmatches - 1)) {
#if !defined(__linux__) && defined(__sparc__)
@@ -275,6 +276,7 @@ listPossibleVideoDrivers(char *matches[], int nmatches)
matches[i++] = xnfstrdup("fbdev");
#endif
}
+#endif /* !sun */
}
/* copy a screen section and enter the desired driver