diff options
Diffstat (limited to 'include/linux/dmi.h')
-rw-r--r-- | include/linux/dmi.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/include/linux/dmi.h b/include/linux/dmi.h index a8a3e1ac281d..90e087f8d951 100644 --- a/include/linux/dmi.h +++ b/include/linux/dmi.h | |||
@@ -20,6 +20,7 @@ enum dmi_device_type { | |||
20 | DMI_DEV_TYPE_SAS, | 20 | DMI_DEV_TYPE_SAS, |
21 | DMI_DEV_TYPE_IPMI = -1, | 21 | DMI_DEV_TYPE_IPMI = -1, |
22 | DMI_DEV_TYPE_OEM_STRING = -2, | 22 | DMI_DEV_TYPE_OEM_STRING = -2, |
23 | DMI_DEV_TYPE_DEV_ONBOARD = -3, | ||
23 | }; | 24 | }; |
24 | 25 | ||
25 | struct dmi_header { | 26 | struct dmi_header { |
@@ -37,6 +38,14 @@ struct dmi_device { | |||
37 | 38 | ||
38 | #ifdef CONFIG_DMI | 39 | #ifdef CONFIG_DMI |
39 | 40 | ||
41 | struct dmi_dev_onboard { | ||
42 | struct dmi_device dev; | ||
43 | int instance; | ||
44 | int segment; | ||
45 | int bus; | ||
46 | int devfn; | ||
47 | }; | ||
48 | |||
40 | extern int dmi_check_system(const struct dmi_system_id *list); | 49 | extern int dmi_check_system(const struct dmi_system_id *list); |
41 | const struct dmi_system_id *dmi_first_match(const struct dmi_system_id *list); | 50 | const struct dmi_system_id *dmi_first_match(const struct dmi_system_id *list); |
42 | extern const char * dmi_get_system_info(int field); | 51 | extern const char * dmi_get_system_info(int field); |