|
@@ -156,3 +156,31 @@ struct setting uuid_setting __setting = {
|
156
|
156
|
struct smbios_system_information, uuid ),
|
157
|
157
|
.type = &setting_type_uuid,
|
158
|
158
|
};
|
|
159
|
+
|
|
160
|
+/** Other SMBIOS named settings */
|
|
161
|
+struct setting smbios_named_settings[] __setting = {
|
|
162
|
+ {
|
|
163
|
+ .name = "manufacturer",
|
|
164
|
+ .description = "Manufacturer",
|
|
165
|
+ .tag = SMBIOS_STRING_TAG ( SMBIOS_TYPE_SYSTEM_INFORMATION,
|
|
166
|
+ struct smbios_system_information,
|
|
167
|
+ manufacturer ),
|
|
168
|
+ .type = &setting_type_string,
|
|
169
|
+ },
|
|
170
|
+ {
|
|
171
|
+ .name = "product",
|
|
172
|
+ .description = "Product name",
|
|
173
|
+ .tag = SMBIOS_STRING_TAG ( SMBIOS_TYPE_SYSTEM_INFORMATION,
|
|
174
|
+ struct smbios_system_information,
|
|
175
|
+ product ),
|
|
176
|
+ .type = &setting_type_string,
|
|
177
|
+ },
|
|
178
|
+ {
|
|
179
|
+ .name = "serial",
|
|
180
|
+ .description = "Serial number",
|
|
181
|
+ .tag = SMBIOS_STRING_TAG ( SMBIOS_TYPE_SYSTEM_INFORMATION,
|
|
182
|
+ struct smbios_system_information,
|
|
183
|
+ serial ),
|
|
184
|
+ .type = &setting_type_string,
|
|
185
|
+ },
|
|
186
|
+};
|