On Sat, Oct 15, 2011 at 6:20 PM, Mark Kettenis <[email protected]> wrote:
>> Date: Thu, 13 Oct 2011 20:26:18 -0700
>> From: Matt Kraai <[email protected]>
>>
>> > 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.
>
> This raises the question how far one should go in providing backwards
> compatibility in the drivers for older libpciaccess libraries.  Do we
> need to worry about that at all?

This particular hardware is really only XAA-capable to my knowledge. X
server 1.4.2 is significantly faster than a recent server. I don't
know if that's reason enough to maintain backward compatibility, but
it is an interesting data point.

Matt
_______________________________________________
[email protected]: X.Org development
Archives: http://lists.x.org/archives/xorg-devel
Info: http://lists.x.org/mailman/listinfo/xorg-devel

Reply via email to