[PATCH] xfree86: Add Loongson MIPS support

Matt Kraai kraai at ftbfs.org
Sun Oct 16 07:31:30 PDT 2011


On Sun, Oct 16, 2011 at 12:20:42AM +0200, Mark Kettenis wrote:
> > Date: Thu, 13 Oct 2011 20:26:18 -0700
> > From: Matt Kraai <kraai at ftbfs.org>
> >
> > > Also, that code is pretty much going to be made obsolete by Jeremy
> > > Huddleston's pci bus cleanup diff.  A better approach would be to
> > > convert the relevant drivers for loongson to use the new pci_io_xxx
> > > interfaces in libpciaccess instead of the raw in/out calls.
> > 
> > My system uses the siliconmotion driver.  Would I need to start with
> > the instructions at
> > 
> >  http://www.x.org/wiki/PciReworkHowto
> 
> The work described there has already been done some time ago.
> 
> > and then replace the raw in/out calls?
> 
> Yes.  You'd want something like the (untested) diff below.  Should
> work if you have a recent enough libpciaccess.

Thanks, your patch works on my Loongson Yeelong.

-- 
Matt Kraai
https://ftbfs.org/kraai


More information about the xorg-devel mailing list