tech-x11 archive

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

Re: libpciaccess and /dev/pci changes



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hello,

On Jul 14, 2009, at 6:28 AM, Patrick Welche wrote:

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?

Yes.

have fun
Michael

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (Darwin)

iQEVAwUBSlzF68pnzkX8Yg2nAQJPkQf/d3o2uUOT4a63b3uSqOY8i0+uhh7ccoz9
/5yFZ9rGGvBWZoQ7FBssU6vPUujvIvywqmxuB1ai1wNjlUHn3O2chEb3fdMMNLFp
pDS9nIqzlkQAgLyi0AAhD49pIxyINlfIU2W7yPgtKhfTl3JBVFmfEMtVpUjiDnlG
2ukFy37fqo1Oculf5nR1LxAEpiCQ5MKjzCtvGYxsWnF86PP2r2jHzeRgLYl/aPZp
8j1LNLXMgCd+iZZ/ehHBsk7sgi2EUmkiISNgNq5/+9+p7la1RjcmNsEyPwlJdcqo
7wuo+LJUETImDXrBcyXb1IIRIKvysvVVlAzGyxigndSxGFlwpiGMBA==
=3p+m
-----END PGP SIGNATURE-----


Home | Main Index | Thread Index | Old Index