Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 187256
b: refs/heads/master
c: 2f95d51
h: refs/heads/master
v: v3
  • Loading branch information
Bela Lubkin authored and Linus Torvalds committed Mar 12, 2010
1 parent d6fcf10 commit 09ea4ce
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 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: ae74e823cb7d4cd476f623fce9a38f625f6c09a8
refs/heads/master: 2f95d51308a72288d877c3c8dc4597c9a93f7344
5 changes: 3 additions & 2 deletions trunk/drivers/char/ipmi/ipmi_si_intf.c
Original file line number Diff line number Diff line change
Expand Up @@ -1201,7 +1201,7 @@ static int regsizes[SI_MAX_PARMS];
static unsigned int num_regsizes;
static int regshifts[SI_MAX_PARMS];
static unsigned int num_regshifts;
static int slave_addrs[SI_MAX_PARMS];
static int slave_addrs[SI_MAX_PARMS]; /* Leaving 0 chooses the default value */
static unsigned int num_slave_addrs;

#define IPMI_IO_ADDR_SPACE 0
Expand Down Expand Up @@ -1669,7 +1669,7 @@ static int hotmod_handler(const char *val, struct kernel_param *kp)
regsize = 1;
regshift = 0;
irq = 0;
ipmb = 0x20;
ipmb = 0; /* Choose the default if not specified */

next = strchr(curr, ':');
if (next) {
Expand Down Expand Up @@ -1861,6 +1861,7 @@ static __devinit void hardcode_find_bmc(void)
info->irq = irqs[i];
if (info->irq)
info->irq_setup = std_irq_setup;
info->slave_addr = slave_addrs[i];

try_smi_init(info);
}
Expand Down

0 comments on commit 09ea4ce

Please sign in to comment.