提交 695cca87 编写于 作者: M Mike Waychison 提交者: Greg Kroah-Hartman

firmware: Fix grammar in sysfs-firmware-dmi doc

Fix the grammar in describing the position attribute of DMI entries in
the dmi-sysfs module.  While here, make a couple other small clarifying
fixups to the docs.

Reported-by: <Valdis.Kletnieks@vt.edu>
Signed-off-by: NMike Waychison <mikew@google.com>
Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
上级 3116aabc
...@@ -14,14 +14,15 @@ Description: ...@@ -14,14 +14,15 @@ Description:
DMI is structured as a large table of entries, where DMI is structured as a large table of entries, where
each entry has a common header indicating the type and each entry has a common header indicating the type and
length of the entry, as well as 'handle' that is length of the entry, as well as a firmware-provided
supposed to be unique amongst all entries. 'handle' that is supposed to be unique amongst all
entries.
Some entries are required by the specification, but many Some entries are required by the specification, but many
others are optional. In general though, users should others are optional. In general though, users should
never expect to find a specific entry type on their never expect to find a specific entry type on their
system unless they know for certain what their firmware system unless they know for certain what their firmware
is doing. Machine to machine will vary. is doing. Machine to machine experiences will vary.
Multiple entries of the same type are allowed. In order Multiple entries of the same type are allowed. In order
to handle these duplicate entry types, each entry is to handle these duplicate entry types, each entry is
...@@ -67,25 +68,24 @@ Description: ...@@ -67,25 +68,24 @@ Description:
and the two terminating nul characters. and the two terminating nul characters.
type : The type of the entry. This value is the same type : The type of the entry. This value is the same
as found in the directory name. It indicates as found in the directory name. It indicates
how the rest of the entry should be how the rest of the entry should be interpreted.
interpreted.
instance: The instance ordinal of the entry for the instance: The instance ordinal of the entry for the
given type. This value is the same as found given type. This value is the same as found
in the parent directory name. in the parent directory name.
position: The position of the entry within the entirety position: The ordinal position (zero-based) of the entry
of the entirety. within the entirety of the DMI entry table.
=== Entry Specialization === === Entry Specialization ===
Some entry types may have other information available in Some entry types may have other information available in
sysfs. sysfs. Not all types are specialized.
--- Type 15 - System Event Log --- --- Type 15 - System Event Log ---
This entry allows the firmware to export a log of This entry allows the firmware to export a log of
events the system has taken. This information is events the system has taken. This information is
typically backed by nvram, but the implementation typically backed by nvram, but the implementation
details are abstracted by this table. This entries data details are abstracted by this table. This entry's data
is exported in the directory: is exported in the directory:
/sys/firmware/dmi/entries/15-0/system_event_log /sys/firmware/dmi/entries/15-0/system_event_log
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册