-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
_SUN method provides the slot unique-ID in the ACPI namespace. And The value is written in Advanced Configuration and Power Interface Specification as follows: "The _SUN value is required to be unique among the slots ofthe same type. It is also recommended that this number match the slot number printed on the physical slot whenever possible." So if we can know the value, we can identify the physical position of the slot in the system. The patch creates "sun" file in sysfs for identifying physical position of the slot. Signed-off-by: Yasuaki Ishimatsu <isimatu.yasuaki@jp.fujitsu.com> Reviewed-by: Toshi Kani <toshi.kani@hp.com> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
- Loading branch information
Yasuaki Ishimatsu
authored and
Rafael J. Wysocki
committed
Nov 16, 2012
1 parent
61d8eff
commit bb74ac2
Showing
3 changed files
with
39 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
Whatt: /sys/devices/.../sun | ||
Date: October 2012 | ||
Contact: Yasuaki Ishimatsu <isimatu.yasuaki@jp.fujitsu.com> | ||
Description: | ||
The file contains a Slot-unique ID which provided by the _SUN | ||
method in the ACPI namespace. The value is written in Advanced | ||
Configuration and Power Interface Specification as follows: | ||
|
||
"The _SUN value is required to be unique among the slots of | ||
the same type. It is also recommended that this number match | ||
the slot number printed on the physical slot whenever possible." | ||
|
||
So reading the sysfs file, we can identify a physical position | ||
of the slot in the system. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters