tech-x11 archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: libpciaccess and /dev/pci changes



On Thu, Jul 09, 2009 at 04:10:00PM -0400, Michael wrote:
> I just committed the following changes:
> - - add mmap() support to /dev/pci* ( enable it with options
> PCI_ALLOW_MMAP ) so userland has a way to map PCI devices at their
> bus addresses in a MI way instead of having to figure out where in
> the CPU's address space the PCI buses are

Unfortunately I just tried libpciaccess/dist/src/netbsd_pci.c v1.4 on a
-current/i386 with Intel(R) 855GM, and get

    (EE) intel(0): Unable to map mmio range. Invalid argument (22)

Does this mean that I have to enable PCI_ALLOW_MMAP? Reverting to v1.3 I get

    (II) intel(0): 2 display pipes available.

and X starts.


Cheers,

Patrick


Home | Main Index | Thread Index | Old Index