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

Michel Dänzer michel at daenzer.net
Mon May 31 06:58:46 PDT 2010


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?


-- 
Earthling Michel Dänzer           |                http://www.vmware.com
Libre software enthusiast         |          Debian, X and DRI developer


More information about the xorg-devel mailing list