diff options
Diffstat (limited to 'drivers/char/ipmi/ipmi_si_intf.c')
-rw-r--r-- | drivers/char/ipmi/ipmi_si_intf.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/drivers/char/ipmi/ipmi_si_intf.c b/drivers/char/ipmi/ipmi_si_intf.c index c234ada64565..4462b113ba3f 100644 --- a/drivers/char/ipmi/ipmi_si_intf.c +++ b/drivers/char/ipmi/ipmi_si_intf.c | |||
@@ -1201,7 +1201,7 @@ static int regsizes[SI_MAX_PARMS]; | |||
1201 | static unsigned int num_regsizes; | 1201 | static unsigned int num_regsizes; |
1202 | static int regshifts[SI_MAX_PARMS]; | 1202 | static int regshifts[SI_MAX_PARMS]; |
1203 | static unsigned int num_regshifts; | 1203 | static unsigned int num_regshifts; |
1204 | static int slave_addrs[SI_MAX_PARMS]; | 1204 | static int slave_addrs[SI_MAX_PARMS]; /* Leaving 0 chooses the default value */ |
1205 | static unsigned int num_slave_addrs; | 1205 | static unsigned int num_slave_addrs; |
1206 | 1206 | ||
1207 | #define IPMI_IO_ADDR_SPACE 0 | 1207 | #define IPMI_IO_ADDR_SPACE 0 |
@@ -1669,7 +1669,7 @@ static int hotmod_handler(const char *val, struct kernel_param *kp) | |||
1669 | regsize = 1; | 1669 | regsize = 1; |
1670 | regshift = 0; | 1670 | regshift = 0; |
1671 | irq = 0; | 1671 | irq = 0; |
1672 | ipmb = 0x20; | 1672 | ipmb = 0; /* Choose the default if not specified */ |
1673 | 1673 | ||
1674 | next = strchr(curr, ':'); | 1674 | next = strchr(curr, ':'); |
1675 | if (next) { | 1675 | if (next) { |
@@ -1861,6 +1861,7 @@ static __devinit void hardcode_find_bmc(void) | |||
1861 | info->irq = irqs[i]; | 1861 | info->irq = irqs[i]; |
1862 | if (info->irq) | 1862 | if (info->irq) |
1863 | info->irq_setup = std_irq_setup; | 1863 | info->irq_setup = std_irq_setup; |
1864 | info->slave_addr = slave_addrs[i]; | ||
1864 | 1865 | ||
1865 | try_smi_init(info); | 1866 | try_smi_init(info); |
1866 | } | 1867 | } |