Re: [PATCH] Patches for tiny 386 kernels, again. Linux kernel 2.6.22.7

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Andrey Panin
Date: Monday, September 24, 2007 - 9:45 pm

On 267, 09 24, 2007 at 03:09:17PM -0400, Dave Jones wrote:

Let take a look at linux/dmi.h:

#ifdef CONFIG_DMI

extern int dmi_check_system(struct dmi_system_id *list);
extern char * dmi_get_system_info(int field);
extern struct dmi_device * dmi_find_device(int type, const char *name,
	struct dmi_device *from);
extern void dmi_scan_machine(void);
extern int dmi_get_year(int field);
extern int dmi_name_in_vendors(char *str);

#else

static inline int dmi_check_system(struct dmi_system_id *list) { return 0; }
static inline char * dmi_get_system_info(int field) { return NULL; }
static inline struct dmi_device * dmi_find_device(int type, const char *nam=
e,
	struct dmi_device *from) { return NULL; }
static inline int dmi_get_year(int year) { return 0; }
static inline int dmi_name_in_vendors(char *s) { return 0; }

#endif

--=20
Andrey Panin		| Linux and UNIX system administrator
pazke@donpac.ru		| PGP key: wwwkeys.pgp.net
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH] Patches for tiny 386 kernels, again. Linux kernel ..., Jonathan Campbell, (Mon Sep 24, 1:51 am)
Re: [PATCH] Patches for tiny 386 kernels, again. Linux ker ..., Andrey Panin, (Mon Sep 24, 9:45 pm)
Re: [PATCH] Patches for tiny 386 kernels, again. Linux ker ..., Jonathan Campbell, (Wed Sep 26, 11:42 am)
Re: [PATCH] Patches for tiny 386 kernels, again. Linux ker ..., Jonathan Campbell, (Wed Sep 26, 4:44 pm)