4 #include <linux/list.h>
21 enum dmi_device_type
{
27 DMI_DEV_TYPE_ETHERNET
,
28 DMI_DEV_TYPE_TOKENRING
,
30 DMI_DEV_TYPE_IPMI
= -1
40 * DMI callbacks for problem boards
47 struct dmi_system_id
{
48 int (*callback
)(struct dmi_system_id
*);
50 struct dmi_strmatch matches
[4];
54 #define DMI_MATCH(a, b) { a, b }
57 struct list_head list
;
60 void *device_data
; /* Type specific data */
63 #if defined(CONFIG_X86_32)
65 extern int dmi_check_system(struct dmi_system_id
*list
);
66 extern char * dmi_get_system_info(int field
);
67 extern struct dmi_device
* dmi_find_device(int type
, const char *name
,
68 struct dmi_device
*from
);
71 static inline int dmi_check_system(struct dmi_system_id
*list
) { return 0; }
72 static inline char * dmi_get_system_info(int field
) { return NULL
; }
73 static inline struct dmi_device
* dmi_find_device(int type
, const char *name
,
74 struct dmi_device
*from
) { return NULL
; }
78 #endif /* __DMI_H__ */