Re: /proc/pci

Richard Henderson (rth@dot.cygnus.com)
Sat, 20 Sep 1997 17:52:01 -0700 (PDT)


> Philip.Blundell@pobox.com said:
> > and the format of the `memory at...' lines has been changed
> > slightly, which breaks some applications (notably XF86_TGA).
>
> Oh... is *that* how the X servers find PCI video cards? Golly, that is
> pretty fragile. I think that my /proc/pcibus patches are an improvement
> over that, and David Howells Configuration Management patches may improve
> it even further.

Note that that comment describes an old version of XF86_TGA.
Current versions use the pciconfig_read system call.

r~