#define pr_fmt(fmt) …
#define dev_fmt …
#include <linux/ipmi.h>
#include <linux/init.h>
#include <linux/dmi.h>
#include <linux/platform_device.h>
#include <linux/property.h>
#include "ipmi_dmi.h"
#include "ipmi_plat_data.h"
#define IPMI_DMI_TYPE_KCS …
#define IPMI_DMI_TYPE_SMIC …
#define IPMI_DMI_TYPE_BT …
#define IPMI_DMI_TYPE_SSIF …
struct ipmi_dmi_info { … };
static struct ipmi_dmi_info *ipmi_dmi_infos;
static int ipmi_dmi_nr __initdata;
static void __init dmi_add_platform_ipmi(unsigned long base_addr,
unsigned int space,
u8 slave_addr,
int irq,
int offset,
int type)
{ … }
int ipmi_dmi_get_slave_addr(enum si_type si_type, unsigned int space,
unsigned long base_addr)
{ … }
EXPORT_SYMBOL(…);
#define DMI_IPMI_MIN_LENGTH …
#define DMI_IPMI_VER2_LENGTH …
#define DMI_IPMI_TYPE …
#define DMI_IPMI_SLAVEADDR …
#define DMI_IPMI_ADDR …
#define DMI_IPMI_ACCESS …
#define DMI_IPMI_IRQ …
#define DMI_IPMI_IO_MASK …
static void __init dmi_decode_ipmi(const struct dmi_header *dm)
{ … }
static int __init scan_for_dmi_ipmi(void)
{ … }
subsys_initcall(scan_for_dmi_ipmi);