[haiku-commits] r42896 - in haiku/trunk: data/settings/kernel/drivers src/add-ons/kernel/bus_managers/acpi

  • From: fredrik.holmqvist@xxxxxxxxx
  • To: haiku-commits@xxxxxxxxxxxxx
  • Date: Fri, 21 Oct 2011 21:42:47 +0200 (CEST)

Author: tqh
Date: 2011-10-21 21:42:46 +0200 (Fri, 21 Oct 2011)
New Revision: 42896
Changeset: https://dev.haiku-os.org/changeset/42896

Modified:
   haiku/trunk/data/settings/kernel/drivers/kernel
   haiku/trunk/src/add-ons/kernel/bus_managers/acpi/acpi_busman.c
Log:
I was being lazy, as pointe out by mmlr. It is much better to copy DSDT always 
do you don't need to figure out if you need to toggle that switch.


Modified: haiku/trunk/data/settings/kernel/drivers/kernel
===================================================================
--- haiku/trunk/data/settings/kernel/drivers/kernel     2011-10-21 19:14:06 UTC 
(rev 42895)
+++ haiku/trunk/data/settings/kernel/drivers/kernel     2011-10-21 19:42:46 UTC 
(rev 42896)
@@ -64,10 +64,6 @@
        # Avoids running _INI and _STA methods and final object initialization,
        # which may be used to for debugging ACPI issues, false by default
 
-#acpi_copy_dsdt true
-       # Makes a copy of the DSDT during boot, to work around BIOSes that
-       # corrupt it, false by default
-
 #disable_ioapic true
        # Disables IO-APIC support, enabled by default
 

Modified: haiku/trunk/src/add-ons/kernel/bus_managers/acpi/acpi_busman.c
===================================================================
--- haiku/trunk/src/add-ons/kernel/bus_managers/acpi/acpi_busman.c      
2011-10-21 19:14:06 UTC (rev 42895)
+++ haiku/trunk/src/add-ons/kernel/bus_managers/acpi/acpi_busman.c      
2011-10-21 19:42:46 UTC (rev 42896)
@@ -90,6 +90,7 @@
                        void *settings;
                        bool acpiDisabled = false;
                        bool acpiAvoidFullInit = false;
+                       AcpiGbl_CopyDsdtLocally = true;
 
                        settings = load_driver_settings("kernel");
                        if (settings != NULL) {
@@ -97,8 +98,6 @@
                                        true, true);
                                acpiAvoidFullInit = 
get_driver_boolean_parameter(settings,
                                        "acpi_avoid_full_init", false, false);
-                               AcpiGbl_CopyDsdtLocally = 
get_driver_boolean_parameter(settings,
-                                       "acpi_copy_dsdt", false, false);
                                unload_driver_settings(settings);
                        }
 


Other related posts:

  • » [haiku-commits] r42896 - in haiku/trunk: data/settings/kernel/drivers src/add-ons/kernel/bus_managers/acpi - fredrik . holmqvist