Re: [nico-kernel-xuaVFQXs+5hIG4jRRZ66WA@public.gmane.org: [BUG] pdc202xx_new and ACPI fails]

Nico Schottelius
2004-12-07T17:35:32Z

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

Li, Shaohua [Tue, Dec 07, 2004 at 03:13:36PM +0800]:
> Yes, it should print something. Very strange. Let us check it with
> below:

Got it:

LSH-TEST:Found IRQ -1??

(rest is like everytime)

What to do now?

Nico

> [patch from Shaohua]
> +++ drivers/acpi/pci_irq.c 2004-12-07 15:05:38.709781248 +0800
> @@ -354,6 +354,13 @@ acpi_pci_irq_enable (
> */
> irq = acpi_pci_irq_lookup(dev->bus, PCI_SLOT(dev->devfn), pin,
> &edge_level, &active_high_low);
>
> + if (!irq) {
> + printk("LSH-TEST:PCI interrupt %s[%c]: no GSI\n",
> + pci_name(dev), ('A' + pin));
> + printk("LSH-TEST:BIOS assign IRQ %d\n", dev->irq);
> + }else {
> + printk("LSH-TEST:Found IRQ %d??\n", irq);
> + }
> /*
> * If no PRT entry was found, we'll try to derive an IRQ from
> the