summaryrefslogtreecommitdiffstats
path: root/src/interface/smbios
diff options
context:
space:
mode:
authorTimothy Stack2009-04-01 00:20:07 +0200
committerMichael Brown2009-04-15 18:23:18 +0200
commitcc4363accae82538f02621e0b91623f6d4104806 (patch)
treef66b1a8478ed85740667b30e378b5e52c41d3ac5 /src/interface/smbios
parent[gdb] Allow resynchronisation with gdb (diff)
downloadipxe-cc4363accae82538f02621e0b91623f6d4104806.tar.gz
ipxe-cc4363accae82538f02621e0b91623f6d4104806.tar.xz
ipxe-cc4363accae82538f02621e0b91623f6d4104806.zip
[smbios] Add asset tag setting
Add SMBIOS asset tag as a named setting. Signed-off-by: Michael Brown <mcb30@etherboot.org>
Diffstat (limited to 'src/interface/smbios')
-rw-r--r--src/interface/smbios/smbios_settings.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/interface/smbios/smbios_settings.c b/src/interface/smbios/smbios_settings.c
index 61c2d919..ec594c52 100644
--- a/src/interface/smbios/smbios_settings.c
+++ b/src/interface/smbios/smbios_settings.c
@@ -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,
+ },
};