[PATCH] try the newport driver on mips

Brice Goglin brice.goglin at gmail.com
Sat Mar 6 00:23:23 PST 2010


*From:* "Bernhard R. Link" <brlink at debian.org>
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=566545

Attached patch should tell the autodection code that mips machines can
have newport cards so they get tested and used.

(Untested, but it looks trivally enough to fix the first of the three
problems in http://bugs.debian.org/566490).

diff --git a/hw/xfree86/common/xf86AutoConfig.c b/hw/xfree86/common/xf86AutoConfig.c
index a6199b0..ff6107e 100644
--- a/hw/xfree86/common/xf86AutoConfig.c
+++ b/hw/xfree86/common/xf86AutoConfig.c
@@ -507,6 +507,8 @@ listPossibleVideoDrivers(char *matches[], int nmatches)
 	matches[i++] = xnfstrdup("vesa");
 #elif defined(__sparc__) && !defined(sun)
 	matches[i++] = xnfstrdup("sunffb");
+#elif defined(__mips__)
+	matches[i++] = xnfstrdup("newport");
 #endif
     }




More information about the xorg-devel mailing list