Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[xsrc/trunk]: xsrc/external/mit/xorg-server/dist/hw/xfree86/common Try wsfb b...



details:   https://anonhg.NetBSD.org/xsrc/rev/b7140f073ccd
branches:  trunk
changeset: 10422:b7140f073ccd
user:      jmcneill <jmcneill%NetBSD.org@localhost>
date:      Sun Feb 09 11:40:14 2020 +0000

description:
Try wsfb before vesa on x86. Modern video cards may not support VBE at all.

diffstat:

 external/mit/xorg-server/dist/hw/xfree86/common/xf86AutoConfig.c |  8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diffs (24 lines):

diff -r 74375cca99d8 -r b7140f073ccd external/mit/xorg-server/dist/hw/xfree86/common/xf86AutoConfig.c
--- a/external/mit/xorg-server/dist/hw/xfree86/common/xf86AutoConfig.c  Sat Feb 08 20:29:30 2020 +0000
+++ b/external/mit/xorg-server/dist/hw/xfree86/common/xf86AutoConfig.c  Sun Feb 09 11:40:14 2020 +0000
@@ -356,16 +356,16 @@
     xf86AddMatchedDriver(md, "fbdev");
 #endif
 
+#if defined(__NetBSD__)
+    xf86AddMatchedDriver(md, "wsfb");
+#endif
+
     /* Fallback to platform default hardware */
 #if defined(__i386__) || defined(__amd64__) || defined(__hurd__)
     xf86AddMatchedDriver(md, "vesa");
 #elif defined(__sparc__) && !defined(__sun)
     xf86AddMatchedDriver(md, "sunffb");
 #endif
-    
-#if defined(__NetBSD__)
-    xf86AddMatchedDriver(md, "wsfb");
-#endif
 }
 
 /* copy a screen section and enter the desired driver



Home | Main Index | Thread Index | Old Index