Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 96736
b: refs/heads/master
c: 3b7ec11
h: refs/heads/master
v: v3
  • Loading branch information
Nate Case authored and Linus Torvalds committed May 15, 2008
1 parent 74dd0b0 commit ac4b8ad
Show file tree
Hide file tree
Showing 2 changed files with 9 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: 90898709dfca860d9550c85f0924007f4c0467ea
refs/heads/master: 3b7ec117bf6c98f5a845311c4ca5ca020a3d7689
10 changes: 8 additions & 2 deletions trunk/drivers/char/ipmi/ipmi_si_intf.c
Original file line number Diff line number Diff line change
Expand Up @@ -2352,10 +2352,16 @@ static int __devinit ipmi_of_probe(struct of_device *dev,

info->si_type = (enum si_type) match->data;
info->addr_source = "device-tree";
info->io_setup = mem_setup;
info->irq_setup = std_irq_setup;

info->io.addr_type = IPMI_MEM_ADDR_SPACE;
if (resource.flags & IORESOURCE_IO) {
info->io_setup = port_setup;
info->io.addr_type = IPMI_IO_ADDR_SPACE;
} else {
info->io_setup = mem_setup;
info->io.addr_type = IPMI_MEM_ADDR_SPACE;
}

info->io.addr_data = resource.start;

info->io.regsize = regsize ? *regsize : DEFAULT_REGSIZE;
Expand Down

0 comments on commit ac4b8ad

Please sign in to comment.