Re: [ACPI] Re: Fw: ACPI bug causes cd-rom lock-ups (2.6.10-rc2)
From: Len Brown
Date: Wed Dec 01 2004 - 00:43:54 EST
Thanks for running the tests.
Please confirm that this patch make the problem go away in the
CONFIG_PNP_ACPI=y configuration.
-Len
===== 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;
}
/*