]> git.baikalelectronics.ru Git - kernel.git/commit
firmware: dmi_scan: Use full dmi version for SMBIOS3
authorIvan Khoronzhuk <ivan.khoronzhuk@linaro.org>
Wed, 18 Feb 2015 11:33:20 +0000 (13:33 +0200)
committerMatt Fleming <matt.fleming@intel.com>
Thu, 26 Mar 2015 13:48:15 +0000 (13:48 +0000)
commitd79cff1b3d9994afc3fe95fcd30befbe8766bdd6
treedef4bffeb711096b0d0e084edc3d8859f79b783d
parent048509a32a5445b6d6ea284dbb400133944c6213
firmware: dmi_scan: Use full dmi version for SMBIOS3

New SMBIOS3 spec adds additional field for versioning - docrev.
The docrev identifies the revision of a specification implemented in
the table structures, so display SMBIOSv3 versions in format,
like "3.22.1".

In case of only 32 bit entry point for versions > 3 display
dmi version like "3.22.x" as we don't know the docrev.

In other cases display version like it was.

Signed-off-by: Ivan Khoronzhuk <ivan.khoronzhuk@linaro.org>
Signed-off-by: Matt Fleming <matt.fleming@intel.com>
drivers/firmware/dmi_scan.c