PCI Express

Daniel Stone daniel at fooishbar.org
Wed Jul 9 15:43:24 PDT 2008


On Wed, Jul 09, 2008 at 08:27:58PM +0000, dave campbell wrote:
> IS there any way to auto-detect PCI-express video cards?

Yeah, just walk the capability list in config space looking for 0x10.

http://www.fooishbar.org/misc/pcibustype.c is some very shoddy code
I wrote in a hurry a couple of years ago to do this, and I vaguely
remember it actually working.  YMMV.

Of course, if your question isn't about the details of how to tell a
PCIe card from a PCI or AGP card, then this mail has been useless to
you. :)

Cheers,
Daniel
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 197 bytes
Desc: Digital signature
URL: <http://lists.x.org/archives/xorg/attachments/20080710/30a14578/attachment.pgp>


More information about the xorg mailing list