Commit 4723ebe8 authored by Adam Belay's avatar Adam Belay

[PNPBIOS] disable if ACPI is active

As further ACPI pnp functionaility is implemented it is no longer
safe to run ACPI and PNPBIOS concurrently.

We therefore take the following approach:
- attempt to enable ACPI support
- if ACPI fails (blacklist etc.) enable pnpbios support
- if ACPI support is not compiled in the kernel enable pnpbios support
Signed-off-by: default avatarAdam Belay <ambx1@neo.rr.com>
parent 6ae62940
...@@ -538,6 +538,12 @@ int __init pnpbios_init(void) ...@@ -538,6 +538,12 @@ int __init pnpbios_init(void)
return -ENODEV; return -ENODEV;
} }
if (!acpi_disabled) {
pnpbios_disabled = 1;
printk(KERN_INFO "PnPBIOS: Disabled by ACPI\n");
return -ENODEV;
}
/* scan the system for pnpbios support */ /* scan the system for pnpbios support */
if (!pnpbios_probe_system()) if (!pnpbios_probe_system())
return -ENODEV; return -ENODEV;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment