Skip to content

Commit 9f0257b

Browse files
Joe Lawrencecminyard
authored andcommitted
ipmi: do not probe ACPI devices if si_tryacpi is unset
Extend the tryacpi module parameter to turn off acpi_ipmi_probe such that hard-coded options (type, ports, address, etc.) have complete control over the smi_info data structures setup by the driver. Signed-off-by: Joe Lawrence <joe.lawrence@stratus.com> Signed-off-by: Corey Minyard <cminyard@mvista.com>
1 parent d9dffd2 commit 9f0257b

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

drivers/char/ipmi/ipmi_si_intf.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2690,6 +2690,9 @@ static int acpi_ipmi_probe(struct platform_device *dev)
26902690
unsigned long long tmp;
26912691
int rv = -EINVAL;
26922692

2693+
if (!si_tryacpi)
2694+
return 0;
2695+
26932696
handle = ACPI_HANDLE(&dev->dev);
26942697
if (!handle)
26952698
return -ENODEV;

0 commit comments

Comments
 (0)