Re: [PATCH] pci: expose boot VGA device via sysfs.

From: Jesse Barnes
Date: Thu Mar 19 2009 - 22:12:29 EST


On Wed, 4 Mar 2009 05:57:05 +0000 (GMT)
Dave Airlie <airlied@xxxxxxxx> wrote:

>
> 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.
>
> Signed-off-by: Dave Airlie <airlied@xxxxxxxxxx>

Applied to my linux-next branch, thanks.

--
Jesse Barnes, Intel Open Source Technology Center
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/