Bugzilla – Attachment 179209 Details for
Bug 334806
Asus M6N: no battery information
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Forgot Password
[patch]
patch vs linux-2.6.22.9-0.4
patch_vs_linux-2.6.22.9-0.4 (text/plain), 1.03 KB, created by
Paolo Panto
on 2007-10-18 11:42:22 UTC
(
hide
)
Description:
patch vs linux-2.6.22.9-0.4
Filename:
MIME Type:
Creator:
Paolo Panto
Created:
2007-10-18 11:42:22 UTC
Size:
1.03 KB
patch
obsolete
>--- linux-2.6.22.9-0.4/drivers/acpi/ec.c >+++ linux-2.6.22.9-0.4/drivers/acpi/ec.c >@@ -823,18 +823,21 @@ > /* > * Generate a boot ec context > */ >- > status = acpi_get_table(ACPI_SIG_ECDT, 1, > (struct acpi_table_header **)&ecdt_ptr); >- if (ACPI_FAILURE(status)) >- goto error; >- >- ACPI_DEBUG_PRINT((ACPI_DB_INFO, "Found ECDT")); >- >- boot_ec->command_addr = ecdt_ptr->control.address; >- boot_ec->data_addr = ecdt_ptr->data.address; >- boot_ec->gpe = ecdt_ptr->gpe; >- boot_ec->handle = ACPI_ROOT_OBJECT; >+ if (ACPI_SUCCESS(status)) { >+ printk(KERN_INFO PREFIX "EC description table is found, configuring boot EC\n\n"); >+ boot_ec->command_addr = ecdt_ptr->control.address; >+ boot_ec->data_addr = ecdt_ptr->data.address; >+ boot_ec->gpe = ecdt_ptr->gpe; >+ boot_ec->handle = ACPI_ROOT_OBJECT; >+ } else { >+ printk(KERN_DEBUG PREFIX "Look up EC in DSDT\n"); >+ status = acpi_get_devices(ec_device_ids[0].id, ec_parse_device, >+ boot_ec, NULL); >+ if (ACPI_FAILURE(status)) >+ goto error; >+ } > > ret = ec_install_handlers(boot_ec); > if (!ret) {
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
Actions:
View
|
Diff
Attachments on
bug 334806
:
179209
|
181533
|
181724
|
181728
|
181736