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 <kr...@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
_______________________________________________
xorg-devel@lists.x.org: X.Org development
Archives: http://lists.x.org/archives/xorg-devel
Info: http://lists.x.org/mailman/listinfo/xorg-devel

Reply via email to