|
@@ -456,7 +456,8 @@ enum dmi_field {
|
|
|
};
|
|
};
|
|
|
|
|
|
|
|
struct dmi_strmatch {
|
|
struct dmi_strmatch {
|
|
|
- unsigned char slot;
|
|
|
|
|
|
|
+ unsigned char slot:7;
|
|
|
|
|
+ unsigned char exact_match:1;
|
|
|
char substr[79];
|
|
char substr[79];
|
|
|
};
|
|
};
|
|
|
|
|
|
|
@@ -474,7 +475,8 @@ struct dmi_system_id {
|
|
|
*/
|
|
*/
|
|
|
#define dmi_device_id dmi_system_id
|
|
#define dmi_device_id dmi_system_id
|
|
|
|
|
|
|
|
-#define DMI_MATCH(a, b) { a, b }
|
|
|
|
|
|
|
+#define DMI_MATCH(a, b) { .slot = a, .substr = b }
|
|
|
|
|
+#define DMI_EXACT_MATCH(a, b) { .slot = a, .substr = b, .exact_match = 1 }
|
|
|
|
|
|
|
|
#define PLATFORM_NAME_SIZE 20
|
|
#define PLATFORM_NAME_SIZE 20
|
|
|
#define PLATFORM_MODULE_PREFIX "platform:"
|
|
#define PLATFORM_MODULE_PREFIX "platform:"
|