From: Dave Airlie Date: Wed, 4 Mar 2009 05:57:05 +0000 (+0000) Subject: PCI: expose boot VGA device via sysfs. X-Git-Tag: v2.6.30-rc1~419^2~33 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=217f45de3d2f68b6d0b646bb4f2a155a71648396;p=pandora-kernel.git PCI: expose boot VGA device via sysfs. X really would like to know which VGA device was considered the boot device by the system. The x86 PCI fixups have support for discovering this but we provide no way to expose it to userspace. This adds a sysfs file per VGA class device which has the value 0 for non the boot device or unknown, and 1 if the VGA device is the boot device. Acked-by: Greg Kroah-Hartman Signed-off-by: Dave Airlie Signed-off-by: Jesse Barnes --- Reading git-diff-tree failed