|
@@ -241,3 +241,15 @@ const struct setting asset_setting __setting ( SETTING_HOST_EXTRA, asset ) = {
|
241
|
241
|
.type = &setting_type_string,
|
242
|
242
|
.scope = &smbios_settings_scope,
|
243
|
243
|
};
|
|
244
|
+
|
|
245
|
+/** Board serial number setting (may differ from chassis serial number) */
|
|
246
|
+const struct setting board_serial_setting __setting ( SETTING_HOST_EXTRA,
|
|
247
|
+ board_serial ) = {
|
|
248
|
+ .name = "board-serial",
|
|
249
|
+ .description = "Base board serial",
|
|
250
|
+ .tag = SMBIOS_STRING_TAG ( SMBIOS_TYPE_BASE_BOARD_INFORMATION,
|
|
251
|
+ struct smbios_base_board_information,
|
|
252
|
+ serial ),
|
|
253
|
+ .type = &setting_type_string,
|
|
254
|
+ .scope = &smbios_settings_scope,
|
|
255
|
+};
|