提交 9f0257b3 编写于 作者: J Joe Lawrence 提交者: Corey Minyard

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: NJoe Lawrence <joe.lawrence@stratus.com>
Signed-off-by: NCorey Minyard <cminyard@mvista.com>
上级 d9dffd2a
......@@ -2690,6 +2690,9 @@ static int acpi_ipmi_probe(struct platform_device *dev)
unsigned long long tmp;
int rv = -EINVAL;
if (!si_tryacpi)
return 0;
handle = ACPI_HANDLE(&dev->dev);
if (!handle)
return -ENODEV;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册