summaryrefslogtreecommitdiffstats
path: root/drivers/pci/quirks.c
diff options
context:
space:
mode:
authorDave Airlie <airlied@linux.ie>2009-03-04 06:57:05 +0100
committerJesse Barnes <jbarnes@virtuousgeek.org>2009-03-20 18:48:17 +0100
commit217f45de3d2f68b6d0b646bb4f2a155a71648396 (patch)
tree8994d8e8e76d5a339ba9e9e3f6403b8005083e11 /drivers/pci/quirks.c
parentPCI/x86: detect host bridge config space size w/o using quirks (diff)
downloadlinux-217f45de3d2f68b6d0b646bb4f2a155a71648396.tar.xz
linux-217f45de3d2f68b6d0b646bb4f2a155a71648396.zip
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 <gregkh@suse.de> Signed-off-by: Dave Airlie <airlied@redhat.com> Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
Diffstat (limited to 'drivers/pci/quirks.c')
0 files changed, 0 insertions, 0 deletions