[PATCH 5/6] xfree86: fbdevhw: remove secondary way to find fb PCI device

Vignatti Tiago (Nokia-D/Helsinki) tiago.vignatti at nokia.com
Mon May 31 07:10:27 PDT 2010


On Mon, May 31, 2010 at 03:58:46PM +0200, ext Michel Dänzer wrote:
> On Mon, 2010-05-31 at 16:16 +0300, Tiago Vignatti wrote: 
> > fbdevhw already relies in libpciaccess, which in turn relies in sysfs to probe
> > devices. If sysfs is reporting wrong values then we're doomed anyway. So we
> > totally rely on sys and this second suspicious way to match fb <-> PCI becomes
> > superfluous.
> 
> So the /sys/bus/pci/devices/%04x:%02x:%02x.%d/graphics/fb%d /
> /sys/bus/pci/devices/%04x:%02x:%02x.%d/graphics:fb%d files were already
> there in the minimum Linux kernel version required by libpciaccess?

I don't know the answer, but why you care? Sorry, I think I didn't get what
you're trying to say with this question.

             Tiago


More information about the xorg-devel mailing list