[PATCH RFC]: Generic Linux multi-domain PCI handling

David S. Miller davem at davemloft.net
Tue Jan 3 12:39:28 PST 2006


From: Jesse Barnes <jbarnes at virtuousgeek.org>
Date: Fri, 30 Dec 2005 18:18:32 -0800

> You want to stay out of /sys for compatibility reasons?  It already has 
> several bits of other info that the X server needs, including PCI 
> domain info, mmap'able PCI resources, per-bus I/O domains, config space 
> files, and full device information (as the kernel sees it of course).  
> Would be nice if X used it instead of /dev/mem.  There's some 
> documentation about the interfaces at 
> Documentation/filesystems/sysfs-pci.txt iirc.

No particular reason.  To be truthful the right thing to do, which I
just mentioned in another reply in this thread, is to have X link in
libpci.a from pciutils as it knows how to deal with all of the
backward-compat issue and we're reimplementing a lot of functionality
already present in that code base.



More information about the xorg mailing list