Commit fea5b72f authored by Len Brown's avatar Len Brown Committed by Len Brown

[ACPI] add boot parameters "acpi_osi=" and "acpi_serialize"

  acpi_osi= will disable the _OSI method -- which by default
	tells the BIOS to behave as if Windows is the OS.
  acpi_serialize is for debugging AE_ALREADY_EXISTS failures
parent 954c9189
...@@ -116,6 +116,10 @@ running once the system is up. ...@@ -116,6 +116,10 @@ running once the system is up.
acpi_irq_isa= [HW,ACPI] If irq_balance, Mark listed IRQs used by ISA acpi_irq_isa= [HW,ACPI] If irq_balance, Mark listed IRQs used by ISA
Format: <irq>,<irq>... Format: <irq>,<irq>...
acpi_osi= [HW,ACPI] empty param disables _OSI
acpi_serialize [HW,ACPI] force serialization of AML methods
ad1816= [HW,OSS] ad1816= [HW,OSS]
Format: <io>,<irq>,<dma>,<dma2> Format: <io>,<irq>,<dma>,<dma2>
See also Documentation/sound/oss/AD1816. See also Documentation/sound/oss/AD1816.
......
...@@ -1012,3 +1012,39 @@ acpi_os_name_setup(char *str) ...@@ -1012,3 +1012,39 @@ acpi_os_name_setup(char *str)
} }
__setup("acpi_os_name=", acpi_os_name_setup); __setup("acpi_os_name=", acpi_os_name_setup);
/*
* _OSI control
* empty string disables _OSI
* TBD additional string adds to _OSI
*/
int __init
acpi_osi_setup(char *str)
{
if (str == NULL || *str == '\0') {
printk(KERN_INFO PREFIX "_OSI method disabled\n");
acpi_gbl_create_osi_method = FALSE;
} else
{
/* TBD */
printk(KERN_ERR PREFIX "_OSI additional string ignored -- %s\n", str);
}
return 1;
}
__setup("acpi_osi=", acpi_osi_setup);
/* enable serialization to combat AE_ALREADY_EXISTS errors */
int __init
acpi_serialize_setup(char *str)
{
printk(KERN_INFO PREFIX "serialize enabled\n");
acpi_gbl_all_methods_serialized = TRUE;
return 1;
}
__setup("acpi_serialize", acpi_serialize_setup);
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