]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
[ACPI] Enable Embedded Controller (EC) interrupt mode by default
authorLen Brown <len.brown@intel.com>
Mon, 5 Dec 2005 21:46:36 +0000 (16:46 -0500)
committerLen Brown <len.brown@intel.com>
Mon, 5 Dec 2005 21:47:30 +0000 (16:47 -0500)
"ec_intr=0" reverts to polling
"ec_burst=" no longer exists.

Signed-off-by: Len Brown <len.brown@intel.com>
Acked-by: Luming Yu <luming.yu@intel.com>
Documentation/kernel-parameters.txt
drivers/acpi/ec.c

index 5dffcfefc3c715698eca24b519df8eab6d8a799d..2ad64efdf1833a2f28368d7fc016ee037f743c37 100644 (file)
@@ -452,6 +452,11 @@ running once the system is up.
 
        eata=           [HW,SCSI]
 
+       ec_intr=        [HW,ACPI] ACPI Embedded Controller interrupt mode
+                       Format: <int>
+                       0: polling mode
+                       non-0: interrupt mode (default)
+
        eda=            [HW,PS2]
 
        edb=            [HW,PS2]
index bb3963b49a98177f6185f03d130e778fdf604318..d4366ad4edcdf980f7618cec5f5c4f66b3f9e9bc 100644 (file)
@@ -73,7 +73,7 @@ static struct acpi_driver acpi_ec_driver = {
        .class = ACPI_EC_CLASS,
        .ids = ACPI_EC_HID,
        .ops = {
-               .add = acpi_ec_poll_add,
+               .add = acpi_ec_intr_add,
                .remove = acpi_ec_remove,
                .start = acpi_ec_start,
                .stop = acpi_ec_stop,
@@ -147,7 +147,7 @@ static union acpi_ec *ec_ecdt;
 
 /* External interfaces use first EC only, so remember */
 static struct acpi_device *first_ec;
-static int acpi_ec_poll_mode = EC_POLL;
+static int acpi_ec_poll_mode = EC_INTR;
 
 /* --------------------------------------------------------------------------
                              Transaction Management
@@ -1594,4 +1594,4 @@ static int __init acpi_ec_set_intr_mode(char *str)
        return 0;
 }
 
-__setup("ec_burst=", acpi_ec_set_intr_mode);
+__setup("ec_intr=", acpi_ec_set_intr_mode);