Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1391635

[PATCH v3 0/3] ACPI/device_sysfs: Add sysfs support for _HRV hardware revision

From Betty Dall <betty.dall@hpe.com>
Newsgroups linux.kernel
Subject [PATCH v3 0/3] ACPI/device_sysfs: Add sysfs support for _HRV hardware revision
Date 2016-04-30 18:10 +0200
Message-ID <rtFCV-239-5@gated-at.bofh.it> (permalink)
Organization linux.* mail to news gateway

Show all headers | View raw


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.

v1->v2
	Changed hrv_show error return to -EIO.
	Changed sun_show and status_show error return to -EIO.
	Cleaned up checkpatch errors and warnings.

v2->v3
	Left some of the checkpatch warnings in place.

Betty Dall (3):
  ACPI/device_sysfs: Add sysfs support for _HRV hardware revision    
  ACPI/device_sysfs: Change _SUN and _STA show functions error return to EIO
  ACPI/device_sysfs: Clean up checkpatch errors

 drivers/acpi/device_sysfs.c | 44 +++++++++++++++++++++++++++++++++++---------
 1 file changed, 35 insertions(+), 9 deletions(-)

-- 
1.9.1

Back to linux.kernel | Previous | NextNext in thread | Find similar | Unroll thread


Thread

[PATCH v3 0/3] ACPI/device_sysfs: Add sysfs support for _HRV hardware revision Betty Dall <betty.dall@hpe.com> - 2016-04-30 18:10 +0200
  Re: [PATCH v3 0/3] ACPI/device_sysfs: Add sysfs support for _HRV hardware revision "Rafael J. Wysocki" <rjw@rjwysocki.net> - 2016-05-06 01:40 +0200

csiph-web