]> git.karo-electronics.de Git - linux-beck.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)
commit95be58df74a5b21e5a78e45fddb2fd59112524c5
treedef4bffeb711096b0d0e084edc3d8859f79b783d
parent9eccca0843205f87c00404b663188b88eb248051
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