X-Git-Url: http://git.rot13.org/?p=linux-2.4.git;a=blobdiff_plain;f=drivers%2Fpci%2Fsetup-irq.c;h=da8bd90c9811339d6cd18b69b3dc4e81478b9e14;hp=4c65b2e98d78597ce634f0f419756e2aefce3bdc;hb=da2ef5559b159d81e8f57276d69ac6bc2da42943;hpb=7ee1deacdda657b71baeb3a87314d2e8d902b8d2 diff --git a/drivers/pci/setup-irq.c b/drivers/pci/setup-irq.c index 4c65b2e..da8bd90 100644 --- a/drivers/pci/setup-irq.c +++ b/drivers/pci/setup-irq.c @@ -49,15 +49,22 @@ pdev_fixup_irq(struct pci_dev *dev, slot = (*swizzle)(dev, &pin); irq = (*map_irq)(dev, slot, pin); +#if 0 //+Bing modified 01132005 if (irq == -1) irq = 0; +#endif dev->irq = irq; - DBGC((KERN_ERR "PCI fixup irq: (%s) got %d\n", dev->name, dev->irq)); - + //DBGC((KERN_ERR "PCI fixup irq: (%s) got %d\n", dev->name, dev->irq)); + printk("PCI fixup irq: (%s) got %d\n", dev->name, dev->irq); /* Always tell the device, so the driver knows what is the real IRQ to use; the device does not use it. */ +#if 0 //+Bing modified 01132005 + pcibios_update_irq(dev, irq); +#else + if( irq != -1) pcibios_update_irq(dev, irq); +#endif } void __init