projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b6d1c9a
)
IPMI: fix SI address space settings
author
Corey Minyard
<
[email protected]
>
Sat, 12 May 2007 17:36:58 +0000
(10:36 -0700)
committer
Linus Torvalds
<
[email protected]
>
Sat, 12 May 2007 17:55:40 +0000
(10:55 -0700)
Fix a rather obvious error that Patrick found in the setup routines. Need to
set the proper address space in the ACPI case.
Signed-off-by: Corey Minyard <
[email protected]
>
Cc: Patrick Schoeller <
[email protected]
>
Cc: <
[email protected]
>
Signed-off-by: Andrew Morton <
[email protected]
>
Signed-off-by: Linus Torvalds <
[email protected]
>
drivers/char/ipmi/ipmi_si_intf.c
patch
|
blob
|
history
diff --git
a/drivers/char/ipmi/ipmi_si_intf.c
b/drivers/char/ipmi/ipmi_si_intf.c
index 6c5d15de331749520036df62d646901190435312..4769cc268806ab29d21a57611b0ada00fcfe41d5 100644
(file)
--- a/
drivers/char/ipmi/ipmi_si_intf.c
+++ b/
drivers/char/ipmi/ipmi_si_intf.c
@@
-1915,10
+1915,10
@@
static __devinit int try_init_acpi(struct SPMITable *spmi)
if (spmi->addr.space_id == ACPI_ADR_SPACE_SYSTEM_MEMORY) {
info->io_setup = mem_setup;
- info->io.addr_type = IPMI_
IO
_ADDR_SPACE;
+ info->io.addr_type = IPMI_
MEM
_ADDR_SPACE;
} else if (spmi->addr.space_id == ACPI_ADR_SPACE_SYSTEM_IO) {
info->io_setup = port_setup;
- info->io.addr_type = IPMI_
MEM
_ADDR_SPACE;
+ info->io.addr_type = IPMI_
IO
_ADDR_SPACE;
} else {
kfree(info);
printk("ipmi_si: Unknown ACPI I/O Address type\n");