]> git.baikalelectronics.ru Git - kernel.git/commit
ACPI / device_sysfs: Add sysfs support for _HRV hardware revision
authorBetty Dall <betty.dall@hpe.com>
Sat, 30 Apr 2016 16:03:37 +0000 (10:03 -0600)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Wed, 4 May 2016 21:47:31 +0000 (23:47 +0200)
commit70a25051cf3293abdced6e1941d91767b1022c53
tree94aaf61a8cd41f9779103adf9d7b6e309358cd60
parent50975cbdd07bf45331e35abda86c67eeba0c6165
ACPI / device_sysfs: Add sysfs support for _HRV hardware revision

The ACPI _HRV object on the device is used to supply Linux with the
device's hardware revision. This is an optional object. Add sysfs support
for the _HRV object if it exists on the device.

This change allows users to easily find the hardware version of non-PCI
hardware by looking at the sysfs 'hrv' file. It is most useful for
non-PCI devices because lspci can list the hardware version for PCI
devices.

Signed-off-by: Betty Dall <betty.dall@hpe.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/acpi/device_sysfs.c