Re: [ACPI] Re: Fw: ACPI bug causes cd-rom lock-ups (2.6.10-rc2)

Len Brown
2004-12-01T05:42:17Z

[-- Attachment #1: Type: text/plain, Size: 134 bytes --]

Thanks for running the tests.
Please confirm that this patch make the problem go away in the
CONFIG_PNP_ACPI=y configuration.

-Len

[-- Attachment #2: pnp.patch --]
[-- Type: text/plain, Size: 612 bytes --]

===== drivers/acpi/pci_link.c 1.35 vs edited =====
--- 1.35/drivers/acpi/pci_link.c 2004-11-09 03:08:36 -05:00
+++ edited/drivers/acpi/pci_link.c 2004-12-01 00:38:18 -05:00
@@ -791,9 +791,16 @@
return 1;
}

+/*
+ * We'd like PNP to call this routine for the
+ * single ISA_USED value for each legacy device.
+ * But instead it calls us with each POSSIBLE setting.
+ * There is no ISA_POSSIBLE weight, so we simply use
+ * the (small) PCI_USING penalty.
+ */
void acpi_penalize_isa_irq(int irq)
{
- acpi_irq_penalty[irq] += PIRQ_PENALTY_ISA_USED;
+ acpi_irq_penalty[irq] += PIRQ_PENALTY_PCI_USING;
}

/*