diff options
author | Markus Gaugusch <dsdt@gaugusch.at> | 2008-02-04 18:04:06 -0500 |
---|---|---|
committer | Len Brown <len.brown@intel.com> | 2008-02-06 22:07:41 -0500 |
commit | 71fc47a9adf8ee89e5c96a47222915c5485ac437 (patch) | |
tree | a2eaefbb703dde933a9726eae7e6399761d40136 /drivers/acpi/Kconfig | |
parent | 488b5ec871191359b9b79262a3d48456dae7ea5f (diff) |
ACPI: basic initramfs DSDT override support
The basics of DSDT from initramfs. In case this option is selected,
populate_rootfs() is called a bit earlier to have the initramfs content
available during ACPI initialization.
This is a very similar path to the one available at
http://gaugusch.at/kernel.shtml but with some update in the
documentation, default set to No and the change of populate_rootfs() the
"Jeff Mahony way" (which avoids reading the initramfs twice).
Signed-off-by: Thomas Renninger <trenn@suse.de>
Signed-off-by: Eric Piel <eric.piel@tremplin-utc.net>
Signed-off-by: Len Brown <len.brown@intel.com>
Diffstat (limited to 'drivers/acpi/Kconfig')
-rw-r--r-- | drivers/acpi/Kconfig | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/drivers/acpi/Kconfig b/drivers/acpi/Kconfig index ccf6ea95f68c..0442ae153a24 100644 --- a/drivers/acpi/Kconfig +++ b/drivers/acpi/Kconfig | |||
@@ -274,6 +274,23 @@ config ACPI_CUSTOM_DSDT_FILE | |||
274 | Enter the full path name to the file which includes the AmlCode | 274 | Enter the full path name to the file which includes the AmlCode |
275 | declaration. | 275 | declaration. |
276 | 276 | ||
277 | config ACPI_CUSTOM_DSDT_INITRD | ||
278 | bool "Read Custom DSDT from initramfs" | ||
279 | depends on BLK_DEV_INITRD | ||
280 | default n | ||
281 | help | ||
282 | The DSDT (Differentiated System Description Table) often needs to be | ||
283 | overridden because of broken BIOS implementations. If this feature is | ||
284 | activated you will be able to provide a customized DSDT by adding it | ||
285 | to your initramfs. If your mkinitrd tool does not support this feature | ||
286 | a script is provided in the documentation. For more details see | ||
287 | <file:Documentation/dsdt-initrd.txt> or <http://gaugusch.at/kernel.shtml>. | ||
288 | If there is no table found, it will fall-back to the custom DSDT | ||
289 | in-kernel (if activated) or to the DSDT from the BIOS. | ||
290 | |||
291 | Even if you do not need a new one at the moment, you may want to use a | ||
292 | better DSDT later. It is safe to say Y here. | ||
293 | |||
277 | config ACPI_BLACKLIST_YEAR | 294 | config ACPI_BLACKLIST_YEAR |
278 | int "Disable ACPI for systems before Jan 1st this year" if X86_32 | 295 | int "Disable ACPI for systems before Jan 1st this year" if X86_32 |
279 | default 0 | 296 | default 0 |