[PATCH - RESEND] Don't fallback to wsfb or fbdev on Solaris

Alan Coopersmith alan.coopersmith at oracle.com
Thu Nov 3 21:51:03 PDT 2011


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 at oracle.com>
---

Originally sent Sept. 19, no response yet.
Patch is already shipping in Solaris 11:
http://src.opensolaris.org/source/xref/x-cons/xnv-clone/open-src/xserver/xorg/trim-fallbacks.patch

 hw/xfree86/common/xf86AutoConfig.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/hw/xfree86/common/xf86AutoConfig.c b/hw/xfree86/common/xf86AutoConfig.c
index 7fc6518..0c46568 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
-- 
1.7.3.2



More information about the xorg-devel mailing list