[PATCH] try the newport driver on mips
Matt Turner
mattst88 at gmail.com
Sat Mar 6 10:03:35 PST 2010
On Sat, Mar 6, 2010 at 3:23 AM, Brice Goglin <brice.goglin at gmail.com> wrote:
> *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
> }
Seems like a good idea.
Reviewed-by: Matt Turner <mattst88 at gmail.com>
More information about the xorg-devel
mailing list