Next step for libpciaccess

Ian Romanick idr at us.ibm.com
Thu Mar 16 16:15:39 PST 2006


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

The latest version of the libpciaccess code is available at:

http://users.freedesktop.org/~idr/pci/

It currently only supports recent Linux kernels with sysfs.  The
intention is to provide a stable proof-of-concept implementation so that
I can start the "real" work within the X server.

My intention is to add this code to the tree under lib.  I'm not going
to add it to build.sh or anything like that.  I just want it in the tree
so that people can (hint, hint) start making contributions for non-Linux
platforms.

Until folks are happy with libpciaccess across the platforms that we
support, all of my changes that use it will be made available as patches
*only*.

The first thing that I'd like to do is completely replace the scanpci
module with libpciaccess.  All of the functions provided by scanpci can
be accomplished by libpciaccess.  The only catch is that libpciaccess
uses and external file of PCI IDs.  Right now it assumes that this file
is stored /usr/share/hwdata/pci.ids.  I suspect that is not a good
assumption to make.  What *is* the right way to locate this file?

Once the scanpci module is gone (or perhaps before!), the scanpci and
pcitweak utilities can be replace with utilities (in util/) that use
libpciaccess.  Given the existence of pciutils, I'm actually not
convinced that these utilities still have a reason to exist at all.

Thoughts?  Opinions?  Dirty limericks?
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2.1 (GNU/Linux)

iD8DBQFEGf+rX1gOwKyEAw8RAtF4AJkBUX8+oA4TwHVreisjhsz9XiuqWgCeKChS
ansdzpYzFN4hTHFLeCfForY=
=KR2j
-----END PGP SIGNATURE-----



More information about the xorg mailing list