Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 17910
b: refs/heads/master
c: a9fad4c
h: refs/heads/master
v: v3
  • Loading branch information
Matt Domsch authored and Linus Torvalds committed Jan 12, 2006
1 parent 1d23768 commit 6f724b7
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 5c908a74d90e693d9079f4238012d43b06231a70
refs/heads/master: a9fad4cc3975573a359a92ad047f5995d8391631
10 changes: 5 additions & 5 deletions trunk/drivers/char/ipmi/ipmi_si_intf.c
Original file line number Diff line number Diff line change
Expand Up @@ -1056,7 +1056,7 @@ MODULE_PARM_DESC(slave_addrs, "Set the default IPMB slave address for"
#define IPMI_MEM_ADDR_SPACE 1
#define IPMI_IO_ADDR_SPACE 2

#if defined(CONFIG_ACPI) || defined(CONFIG_X86) || defined(CONFIG_PCI)
#if defined(CONFIG_ACPI) || defined(CONFIG_DMI) || defined(CONFIG_PCI)
static int is_new_interface(int intf, u8 addr_space, unsigned long base_addr)
{
int i;
Expand Down Expand Up @@ -1669,7 +1669,7 @@ static int try_init_acpi(int intf_num, struct smi_info **new_info)
}
#endif

#ifdef CONFIG_X86
#ifdef CONFIG_DMI
typedef struct dmi_ipmi_data
{
u8 type;
Expand Down Expand Up @@ -1829,7 +1829,7 @@ static int try_init_smbios(int intf_num, struct smi_info **new_info)
ipmi_data->slave_addr);
return 0;
}
#endif /* CONFIG_X86 */
#endif /* CONFIG_DMI */

#ifdef CONFIG_PCI

Expand Down Expand Up @@ -2222,7 +2222,7 @@ static int init_one_smi(int intf_num, struct smi_info **smi)
if (rv && si_trydefaults)
rv = try_init_acpi(intf_num, &new_smi);
#endif
#ifdef CONFIG_X86
#ifdef CONFIG_DMI
if (rv && si_trydefaults)
rv = try_init_smbios(intf_num, &new_smi);
#endif
Expand Down Expand Up @@ -2433,7 +2433,7 @@ static __init int init_ipmi_si(void)

printk(KERN_INFO "IPMI System Interface driver.\n");

#ifdef CONFIG_X86
#ifdef CONFIG_DMI
dmi_find_bmc();
#endif

Expand Down

0 comments on commit 6f724b7

Please sign in to comment.