Re: libpciaccess problem with new IO interface

2010-02-18 Thread Michael Cree
On 16/02/10 05:57, Adam Jackson wrote: On Sat, 2010-02-13 at 16:23 +1300, Michael Cree wrote: The trouble with this implementation is that reading and writing the PCI resource files in the Linux sysfs does not appear to be supported by the kernel. Only memory mapping the resource files is

Re: libpciaccess problem with new IO interface

2010-02-18 Thread Adam Jackson
On Thu, 2010-02-18 at 21:58 +1300, Michael Cree wrote: Thanks for that. That explains quite a bit. Maybe I should step back to explain what I am trying to solve which, in short, is to get the Xserver going on old Alpha architectures that cannot do byte and word accesses to I/O ports via

Re: libpciaccess problem with new IO interface

2010-02-15 Thread Adam Jackson
On Sat, 2010-02-13 at 16:23 +1300, Michael Cree wrote: I have been trying out the new IO interface routines (pci_device_open_io, etc.) in libpciaccess with a view that they might solve the problem of MMIO on idiosyncratic architectures such as the old Alphas. In short, those routines do

libpciaccess problem with new IO interface

2010-02-12 Thread Michael Cree
I have been trying out the new IO interface routines (pci_device_open_io, etc.) in libpciaccess with a view that they might solve the problem of MMIO on idiosyncratic architectures such as the old Alphas. In short, those routines do not work, at least not in the Linux sysfs implementation.