Re: [PATCH] PCI: create revision file in sysfs

2016-11-08 Thread Emil Velikov
[Dropping Jammy since his email bounces] On 1 November 2016 at 15:47, Alex Deucher wrote: > On Tue, Nov 1, 2016 at 11:42 AM, Emil Velikov > wrote: >> From: Emil Velikov >> >> Currently the revision isn't available via sysfs/libudev thus if one >> wants to know the value they need to read throu

Re: [PATCH] PCI: create revision file in sysfs

2016-11-01 Thread Alex Deucher
On Tue, Nov 1, 2016 at 11:42 AM, Emil Velikov wrote: > From: Emil Velikov > > Currently the revision isn't available via sysfs/libudev thus if one > wants to know the value they need to read through the config file. > > This in itself wakes/powers up the device, causing unwanted delay > since it

[PATCH] PCI: create revision file in sysfs

2016-11-01 Thread Emil Velikov
From: Emil Velikov Currently the revision isn't available via sysfs/libudev thus if one wants to know the value they need to read through the config file. This in itself wakes/powers up the device, causing unwanted delay since it can be quite costly. Expose the revision as a separate file, just