mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-08-23 09:19:51 +00:00
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>
This commit is contained in:
parent
d9dffd2a0b
commit
9f0257b39c
1 changed files with 3 additions and 0 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue