[smbios] Add asset tag setting

Add SMBIOS asset tag as a named setting.

Signed-off-by: Michael Brown <mcb30@etherboot.org>
This commit is contained in:
Timothy Stack
2009-03-31 15:20:07 -07:00
committed by Michael Brown
parent 38a1d0fe3f
commit cc4363acca
2 changed files with 27 additions and 0 deletions

View File

@@ -198,4 +198,12 @@ struct setting smbios_named_settings[] __setting = {
serial ),
.type = &setting_type_string,
},
{
.name = "asset",
.description = "Asset tag",
.tag = SMBIOS_STRING_TAG ( SMBIOS_TYPE_ENCLOSURE_INFORMATION,
struct smbios_enclosure_information,
asset_tag ),
.type = &setting_type_string,
},
};