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 */
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
);
69 extern void dmi_scan_machine(void);
70 extern int dmi_get_year(int field
);
74 static inline int dmi_check_system(struct dmi_system_id
*list
) { return 0; }
75 static inline char * dmi_get_system_info(int field
) { return NULL
; }
76 static inline struct dmi_device
* dmi_find_device(int type
, const char *name
,
77 struct dmi_device
*from
) { return NULL
; }
78 static inline int dmi_get_year(int year
) { return 0; }
82 #endif /* __DMI_H__ */